Predicate Calculus and Program Semantics

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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.

Author(s): Edsger W. Dijkstra, Carel S. Scholten
Series: Texts and Monographs in Computer Science
Publisher: Springer
Year: 1990

Language: English
Pages: 233
Tags: Logics and Meanings of Programs; Mathematical Logic and Formal Languages

Front Matter....Pages i-xi
On structures....Pages 1-9
On substitution and replacement....Pages 11-16
On functions and equality....Pages 17-20
On our proof format....Pages 21-29
The calculus of boolean structures....Pages 30-80
Some properties of predicate transformers....Pages 81-120
Semantics of straight-line programs....Pages 121-146
Equations in predicates and their extreme solutions....Pages 147-170
Semantics of repetitions....Pages 170-189
Operational considerations....Pages 190-200
Converse predicate transformers....Pages 201-208
The strongest postcondition....Pages 209-215
Back Matter....Pages 216-222