The Algebra of Non-deterministic Programs: Demonic Operations, Orders and Axioms

被引:0
作者
Hirsch, Robin [1 ]
Mikulas, Szabolcs [2 ]
Stokes, Tim [3 ]
机构
[1] UCL, Dept Comp Sci, London WC1E 6BTE, England
[2] Birkbeck Coll, Dept Comp Sci & Informat Syst, London WC1E 7HX, England
[3] Univ Waikato, Dept Math, Hamilton 3240, New Zealand
关键词
demonic composition; demonic refinement; binary relation; non-deterministic program; total correctness; axiomatization; REFINEMENT;
D O I
10.1093/jigpal/jzab026
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Demonic composition, demonic refinement and demonic union are alternatives to the usual 'angelic' composition, angelic refinement (inclusion) and angelic (usual) union defined on binary relations. We first motivate both the angelic and the demonic via an analysis of the behaviour of non-deterministic programs, with the angelic associated with partial correctness and demonic with total correctness, both cases emerging from a richer algebraic model of non-deterministic programs incorporating both aspects. Zareckii has shown that the isomorphism class of algebras of binary relations under angelic composition and inclusion is finitely axiomatized as the class of ordered semigroups. The proof can be used to establish that the same axiomatization applies to binary relations under demonic composition and refinement, and a further modification of the proof can be used to incorporate a zero element representing the empty relation in the angelic case and the full relation in the demonic case. For the signature of angelic composition and union, it is known that no finite axiomatization exists, and we show the analogous result for demonic composition and demonic union by showing that the same axiomatization holds for both. We show that the isomorphism class of algebras of binary relations with the 'mixed' signature of demonic composition and angelic inclusion has no finite axiomatization. As a contrast, we show that the isomorphism class of partial algebras of binary relations with the partial operation of constellation product and inclusion (also a 'mixed' signature) is finitely axiomatizable.
引用
收藏
页码:886 / 906
页数:21
相关论文
共 14 条