Paper record
W2110846749Laws of programming
C. A. R. Hoare, Ian J. Hayes, He Jifeng, Carroll C. Morgan, Andrew William Roscoe, Jeff W. Sanders, Ib Holm Sørensen, Justin M Spivey, Bernard Sufrin
- Year
- 1987
- Venue
- Communications of the ACM
- References
- 8
- Cited by
- 430
Details and counts from OpenAlex.
Abstract
A complete set of algebraic laws is given for Dijkstra's nondeterministic sequential programming language. Iteration and recursion are explained in terms of Scott's domain theory as fixed points of continuous functionals. A calculus analogous to weakest preconditions is suggested as an aid to deriving programs from their specifications.