Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
435430 | Theoretical Computer Science | 2009 | 18 Pages |
Abstract
Using a predicate transformer semantics of programs, we introduce statements for heap operations and separation logic operators for specifying programs that manipulate pointers. We prove a powerful Hoare total correctness rule for mutually recursive procedures manipulating pointers. The rule combines earlier proof rules for (mutually) recursive procedures with the frame rule for pointer programs. The theory, including the proofs, is implemented in the theorem prover PVS. In this implementation program variables and addresses can store values of almost any type of the theorem prover.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics