arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.12081cs.LOcs.CL
收藏

非确定性程序的代数:恶魔算子、序和公理

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

Robin Hirsch, Szabolcs Mikulás, Tim Stokes

摘要:

恶魔组合、恶魔精炼和恶魔联盟是通常的“天使”组合、天使精炼(包含)和天使(通常)联盟的替代品。我们首先激励天使和恶魔通过非确定性程序的行为分析,与天使与部分正确性和恶魔与总正确性,这两种情况下出现的非确定性程序的一个更丰富的代数模型,将这两个方面。Zareckii证明了二元关系代数在天使合成和包含下的同构类被公理化为序半群类。这个证明可以用来建立同样的公理化适用于恶魔合成和细化下的二元关系,并且证明的进一步修改可以用来包含一个零元素,代表天使情况下的空关系和恶魔情况下的全关系。对于签名的天使组成和工会,它是已知的,没有有限的公理化存在,我们显示了类似的结果,恶魔组成和恶魔工会显示,相同的公理化持有两者。我们表明,同构类代数的二元关系的“混合”签名的恶魔组成和天使般的包含没有有限axiomatisation。作为对比,我们证明了具有星座积和包含(也是一个“混合”签名)的部分运算的二元关系的部分代数的同构类是可公理化的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑