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

09/25/2020
by   Robin Hirsch, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/15/2020

Finite Representability of Semigroups with Demonic Refinement

Composition and demonic refinement ⊑ of binary relations are defined by ...
research
07/24/2019

Free Kleene algebras with domain

First we identify the free algebras of the class of algebras of binary r...
research
05/18/2023

Determinism of Multirelations

Binary multirelations can model alternating nondeterminism, for instance...
research
05/14/2021

Demonic Lattices and Semilattices in Relational Semigroups with Ordinary Composition

Relation algebra and its reducts provide us with a strong tool for reaso...
research
05/08/2023

Preservation theorems for Tarski's relation algebra

We investigate a number of semantically defined fragments of Tarski's al...
research
07/18/2023

Complete representation by partial functions for signatures containing antidomain restriction

We investigate notions of complete representation by partial functions, ...
research
06/13/2018

Simple Laws about Nonprominent Properties of Binary Relations

We checked each binary relation on a 5-element set for a given set of pr...

Please sign up or login with your details

Forgot password? Click here to reset