LOCLSep 25, 2020

The algebra of non-deterministic programs: demonic operators, orders and axioms

arXiv:2009.12081v26 citations
Originality Incremental advance
AI Analysis

This provides foundational algebraic results for formal methods in computer science, particularly in program verification and semantics, though it is incremental as it extends known axiomatization proofs to demonic operators.

The paper tackles the algebraic axiomatization of binary relations under demonic operators for non-deterministic programs, showing that demonic composition and refinement are finitely axiomatizable like their angelic counterparts, while demonic composition and union are not finitely axiomatizable, and mixed signatures yield varied axiomatizability results.

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 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 axiomatised as the class of ordered semigroups. The proof can be used to establish that the same axiomatisation 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 axiomatisation exists, and we show the analogous result for demonic composition and demonic union by showing that the same axiomatisation 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 axiomatisation. 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 axiomatisable.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes