Back to Search
Start Over
An algebraic treatment of procedure refinement to support mechanical verification
- Source :
- Formal Aspects of Computing. 17:69-90
- Publication Year :
- 2005
- Publisher :
- Association for Computing Machinery (ACM), 2005.
-
Abstract
- We introduce a new algebraic model for program variables, suitable for reasoning about recursive procedures with parameters and local variables in a mechanical verification setting. We give a predicate transformer semantics to recursive procedures and prove refinement rules for introducing recursive procedure calls, procedure parameters, and local variables. We also prove, based on the refinement rules, Hoare total correctness rules for recursive procedures, and parameters. We introduce a special form of Hoare specification statement which alone is enough to fully specify a procedure. Moreover, we prove that this Hoare specification statement is equivalent to a refinement specification. We implemented this theory in the PVS theorem prover.
- Subjects :
- Statement (computer science)
Correctness
Computer science
Semantics (computer science)
Programming language
Local variable
Hoare logic
computer.software_genre
Theoretical Computer Science
Predicate transformer semantics
Automated theorem proving
TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES
Refinement calculus
TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS
Computer Science::Logic in Computer Science
Computer Science::Programming Languages
computer
Software
Subjects
Details
- ISSN :
- 1433299X and 09345043
- Volume :
- 17
- Database :
- OpenAIRE
- Journal :
- Formal Aspects of Computing
- Accession number :
- edsair.doi...........6f41578f8a02305be4ba1561007dad41