A mechanically verified verification condition generator
Open Access
- 1 January 1995
- journal article
- Published by Oxford University Press (OUP) in The Computer Journal
- Vol. 38 (2) , 131-141
- https://doi.org/10.1093/comjnl/38.2.131
Abstract
Verification Condition Generator (VCG) tools have been effective in simplifying the task of proving programs correct. However, in the past these VCG tools have in general not themselves been mechanically proven, so any proof using and depending on these VCGs might not be sound. In our work, we define and rigorously prove correct a VCG tool within the HOL theorem proving system, for a standard while-loop language, with one new feature not usually treated: expressions with side effects. Starting from a structural operational semantics of this programming language, we prove as theorems the axioms and rules of inference of a Hoare-style axiomatic semantics, verifying their soundness. This axiomatic semantics is then used to define and prove correct a VCG tool for this language. Finally, this verified VCG is applied to an example program to verify its correctness.Keywords
This publication has 0 references indexed in Scilit: