Domain Reasoning in TopKAT

Cheng Zhang,Arthur Azevedo de Amorim,Marco Gaboardi
DOI: https://doi.org/10.4230/LIPIcs.ICALP.2024.133
2024-04-29
Abstract:TopKAT is the algebraic theory of Kleene algebra with tests (KAT) extended with a top element. Compared to KAT, one pleasant feature of TopKAT is that, in relational models, the top element allows us to express the domain and codomain of a relation. This enables several applications in program logics, such as proving under-approximate specifications or reachability properties of imperative programs. However, while TopKAT inherits many pleasant features of KATs, such as having a decidable equational theory, it is incomplete with respect to relational models. In other words, there are properties that hold true of all relational TopKATs but cannot be proved with the axioms of TopKAT. This issue is potentially worrisome for program-logic applications, in which relational models play a key role.
Programming Languages,Logic in Computer Science
What problem does this paper attempt to address?