Back to Search Start Over

Invariant diagrams with data refinement.

Authors :
Preoteasa, Viorel
Back, Ralph-Johan
Source :
Formal Aspects of Computing. Jan2012, Vol. 24 Issue 1, p67-95. 29p.
Publication Year :
2012

Abstract

Invariant based programming is an approach where we start to construct a program by first identifying the basic situations (pre- and post-conditions as well as invariants) that could arise during the execution of the algorithm. These situations are identified before any code is written. After that, we identify the transitions between the situations, which will give us the flow of control in the program. Data refinement is a technique of building correct programs working on concrete data structures as refinements of more abstract programs working on abstract data types. We study in this paper data refinement for invariant based programs and we apply it to the construction of the classical Deutsch-Schorr-Waite graph marking algorithm. Our results are formalized and mechanically proved in the Isabelle/HOL theorem prover. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
09345043
Volume :
24
Issue :
1
Database :
Academic Search Index
Journal :
Formal Aspects of Computing
Publication Type :
Academic Journal
Accession number :
70069393
Full Text :
https://doi.org/10.1007/s00165-011-0195-2