paper-with-me

홈 › Papers

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

2020-09-25 · Robin Hirsch, Szabolcs Mikulás, Tim Stokes

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.

📄 PDF Abstract BibTeX arXiv:2009.12081

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Non-deterministic approximation operators: ultimate operators, semi-equilibrium semantics and aggregates (full version)

2023-05-18 · Jesse Heyninck, Bart Bogaerts

Approximation fixpoint theory (AFT) is an abstract and general algebraic framework for studying the semantics of non-monotonic logics. In recent work, AFT was generalized to non-deterministic operators, i.e.\ operators w…

Sequential composition of answer set programs

2021-04-25 · Christian Antić

This paper contributes to the mathematical foundations of logic programming by introducing and studying the sequential composition of answer set programs. On the semantic side, we show that the immediate consequence oper…

Operational Calculus for Differentiable Programming

2016-10-25 · Žiga Sajovic, Martin Vuk

In this work we present a theoretical model for differentiable programming. We construct an algebraic language that encapsulates formal semantics of differentiable programs by way of Operational Calculus. The algebraic n…

ASP(AC): Answer Set Programming with Algebraic Constraints

2020-08-10 · Thomas Eiter, Rafael Kiesel

Weighted Logic is a powerful tool for the specification of calculations over semirings that depend on qualitative information. Using a novel combination of Weighted Logic and Here-and-There (HT) Logic, in which this depe…

Axon: A Synthesizing Superoptimizer for Tensor Programs

2026-06-24 · Akash Kothari, Shaowei Zhu, Daniel Kroening, Chungha Sung arxiv

Writing high performance kernels for AI accelerators requires deep expertise in tiling, instruction selection, data layout, and operator fusion placing a significant burden on programmers. In this paper, we focus on tile…

Program Synthesis