Towards a theory of consistency enforcement

Citation
Kd. Schewe et B. Thalheim, Towards a theory of consistency enforcement, ACT INFORM, 36(2), 1999, pp. 97-141
Citations number
36
Categorie Soggetti
Information Tecnology & Communication Systems
Journal title
ACTA INFORMATICA
ISSN journal
00015903 → ACNP
Volume
36
Issue
2
Year of publication
1999
Pages
97 - 141
Database
ISI
SICI code
0001-5903(199902)36:2<97:TATOCE>2.0.ZU;2-T
Abstract
State oriented specifications with invariants occur in almost all formal sp ecification languages. Hence the problem is to prove the consistency of the specified operations with respect to the invariants. Whilst the problem se ems to be easily solvable in predicative specifications, it usually require s sophisticated verification efforts, when specifications in the style of D ijkstra's guarded commands as e.g. in the specification language B are used . As an alternative consistency enforcement will be discussed in this paper. The basic idea is to replace inconsistent operations by new consistent ones preserving at the same time the intention of the old one. More precisely, this can be formalized by consistent spezializations, where specialization is a specific partial order on operations defined via predicate transformer s. It will be shown that greatest consistent specializations (GCSs) always exi st and are compatible with conjunctions of invariants. Then under certain m ild restrictions the general construction of such GCSs is possible. Precise ly, given the GCSs of simple basic assignments the GCS of a complex operati on results from replacing involved assignments by their GCSs and the invest igation of a guard. In general, GCS construction can be embedded in refinement calculi and ther efore strengthens the systematic development of correct programs.