Predicate Calculus and Program Semantics

Front Cover
Springer Science & Business Media, Dec 6, 2012 - Computers - 220 pages
This booklet presents a reasonably self-contained theory of predicate trans former semantics. Predicate transformers were introduced by one of us (EWD) as a means for defining programming language semantics in a way that would directly support the systematic development of programs from their formal specifications. They met their original goal, but as time went on and program derivation became a more and more formal activity, their informal introduction and the fact that many of their properties had never been proved became more and more unsatisfactory. And so did the original exclusion of unbounded nondeterminacy. In 1982 we started to remedy these shortcomings. This little monograph is a result of that work. A possible -and even likely- criticism is that anyone sufficiently versed in lattice theory can easily derive all of our results himself. That criticism would be correct but somewhat beside the point. The first remark is that the average book on lattice theory is several times fatter (and probably less self contained) than this booklet. The second remark is that the predicate transformer semantics provided only one of the reasons for going through the pains of publication.
 

Contents

On structures
1
On substitution and replacement
11
On functions and equality
17
On our proof format
21
The calculus of boolean structures
30
Some properties of predicate transformers
81
Semantics of straightline programs
121
Equations in predicates and their extreme solutions
147
Semantics of repetitions
170
Operational considerations
190
Converse predicate transformers
201
The strongest postcondition
209
Index
216
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information