4.0 Article Proceedings Paper

Building program construction and verification tools from algebraic principles

Journal

FORMAL ASPECTS OF COMPUTING
Volume 28, Issue 2, Pages 265-293

Publisher

SPRINGER
DOI: 10.1007/s00165-015-0343-1

Keywords

Program construction; Program verification; Semantics of imperative programs; Algebras of programs; Formalised mathematics; Interactive theorem proving; Automated theorem proving

Funding

  1. Engineering and Physical Sciences Research Council [1625073] Funding Source: researchfish

Ask authors/readers for more resources

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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.0
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available