Countable nondeterminism and random assignment
- 10 August 1986
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 33 (4) , 724-767
- https://doi.org/10.1145/6490.6494
Abstract
Four semantics for a small programming language involving unbounded (but countable) nondeterminism are provided. These comprise an operational semantics, two state transformation semantics based on the Egli-Milner and Smyth orders, respectively, and a weakest precondition semantics. Their equivalence is proved. A Hoare-like proof system for total correctness is also introduced and its soundness and completeness in an appropriate sense are shown. Finally, the recursion theoretic complexity of the notions introduced is studied. Admission of countable nondeterminism results in a lack of continuity of various semantic functions, and this is shown to be necessary for any semantics satisfying appropriate conditions. In proofs of total correctness, one resorts to the use of (countable) ordinals, and it is shown that all recursive ordinals are needed.This publication has 21 references indexed in Scilit:
- A programming language for the inductive sets, and applicationsInformation and Control, 1984
- A continuous semantics for unbounded nondeterminismTheoretical Computer Science, 1983
- Proof rules and transformations dealing with fairnessScience of Computer Programming, 1983
- Ten years of Hoare's logic: A survey— part II: NondeterminismTheoretical Computer Science, 1983
- A Weaker Precondition for LoopsACM Transactions on Programming Languages and Systems, 1982
- Semantic ModelsPublished by Springer Nature ,1982
- Ten Years of Hoare's Logic: A Survey—Part IACM Transactions on Programming Languages and Systems, 1981
- Concurrent Processes and Their SyntaxJournal of the ACM, 1979
- A Powerdomain ConstructionSIAM Journal on Computing, 1976
- Second order arithmetic and related topicsAnnals of Mathematical Logic, 1974