A generalization of Dijkstra's calculus
- 1 October 1989
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 11 (4), 517-561
- https://doi.org/10.1145/69558.69559
Abstract
Dijsktra's calculus of guarded commands can be generalized and simplified by dropping the law of the excluded miracle. This paper gives a self-contained account of the generalized calculus from first principles through the semantics of recursion. The treatment of recursion uses the fixpoint method from denotational semantics. The paper relies only on the algebraic properties of predicates; individual states are not mentioned (except for motivation). To achieve this, we apply the correspondence between programs and predicates that underlies predicative programming. The paper is written from the axiomatic semantic point of view, but its contents can be described from the denotational semantic point of view roughly as follows: The Plotkin-Apt correspondence between wp semantics and the Smyth powerdomain is extended to a correspondence between the full wp/wlp semantics and the Plotkin powerdomain extended with the empty set.Keywords
This publication has 7 references indexed in Scilit:
- Predicate-transformer semantics of general recursionActa Informatica, 1989
- A generalized iterative construct and its semanticsACM Transactions on Programming Languages and Systems, 1987
- Countable nondeterminism and random assignmentJournal of the ACM, 1986
- Technical correspondenceCommunications of the ACM, 1985
- Predicative programming Part ICommunications of the ACM, 1984
- A generalized control structure and its formal definitionCommunications of the ACM, 1983
- Concurrent Processes and Their SyntaxJournal of the ACM, 1979