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.
翻译:在二进制关系中,我们首先通过分析非非确定性程序的行为来激励天使和恶魔两者。我们首先通过分析非确定性程序的行为来激励天使和恶魔两种行为,与部分正确性和魔鬼和完全正确性相联系,这两种情况都来自包含这两个方面的非确定性程序较富的代数模型。Zareckii已经表明,在天使构成和包容下,二进制关系中的二进制代数的异形学代数等级(包含)和天使(常态)结合的分层代数(包含)和天使(常态)结合的分层代数(包含)的分层代数(包含)是一定的。我们可以用证据的进一步修改来包含一个零元素,代表天使案例中的空性关系和恶魔案例的完整关系。对于天使构成和结合的分层代数,众所周知,没有固定的分层代数的代数,而我们展示了恶魔结合的分层结构是“我们所展示的内化的内分层正性。