Back to Search
Start Over
Building program construction and verification tools from algebraic principles
- Source :
- Formal Aspects of Computing. 28:265-293
- Publication Year :
- 2016
- Publisher :
- Association for Computing Machinery (ACM), 2016.
-
Abstract
- We present a principled modular approach to the development of construction and verification tools for imperative programs, in which the control flow and the data flow are cleanly separated. Our simplest verification tool uses Kleene algebra with tests for the control flow of while-programs and their standard relational semantics for the data flow. It is expanded to a basic program construction tool by adding an operation for the specification statement and one single axiom. To include recursive procedures, Kleene algebras with tests are expanded further to quantales with tests. In this more expressive setting, iteration and the specification statement can be defined explicitly and stronger program transformation rules can be derived. Programming our approach in the Isabelle/HOL interactive theorem prover yields simple lightweight mathematical components as well as program construction and verification tools that are correct by construction themselves. Verification condition generation and program construction rules are based on equational reasoning and supported by powerful Isabelle tactics and automated theorem proving. A number of examples shows our tools at work.
- Subjects :
- Statement (computer science)
Computer science
Programming language
Proof assistant
Program transformation
HOL
020207 software engineering
0102 computer and information sciences
02 engineering and technology
computer.software_genre
01 natural sciences
Theoretical Computer Science
Kleene algebra
Automated theorem proving
Control flow
010201 computation theory & mathematics
Computer Science::Logic in Computer Science
Software construction
0202 electrical engineering, electronic engineering, information engineering
Computer Science::Programming Languages
computer
Software
Subjects
Details
- ISSN :
- 1433299X and 09345043
- Volume :
- 28
- Database :
- OpenAIRE
- Journal :
- Formal Aspects of Computing
- Accession number :
- edsair.doi...........dcdb98f0c9ded5cadcac43ce04acfb43
- Full Text :
- https://doi.org/10.1007/s00165-015-0343-1