The horn theory of relational kleene algebra
Dexter Kozen, Christopher S. Hardin
Abstract
Dexter Kozen, Christopher S. Hardin
Abstract
Kleene algebra arises in many areas of computer science. In particular, Kleene algebra with tests provides an algebraic way of representing and studying programs. When using Kleene algebra for this purpose, one generally wishes to restrict attention to algebras built from binary relations on some set of states, since they capture a common model for computation; these are called relational Kleene algebras. The equivalence of two programs, which is useful for verifying program correctness or compiler optimizations, can be expressed as an equation in Kleene algebra. The equational theory of relational Kleene algebra is already well understood, and decidable. One often needs to reason about programs under certain hypotheses about the semantics of individual program fragments, however, and this requires the use of Horn formulas. We show that the Horn theory of relational Kleene algebra is P11 -complete (highly undecidable). We then exhibit special types of Horn formulas for which the complexity is much lower. We give an infinitary proof system for the Horn theory of relational Kleene algebra that is sound and complete, along with a closely related system that is sound and complete for the Horn theory of *-continuous Kleene algebras. Despite being infinitary, these systems have practical applications; in particular, proof theoretic arguments over these systems can yield new decidability results.
OpenAlex reports 3 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Kleene algebra arises in many areas of computer science. In particular, Kleene algebra with tests provides an algebraic way of representing and studying programs. When using Kleene algebra for this purpose, one generally wishes to restrict attention to algebras built from binary relations on some set of states, since they capture a common model for computation; these are called relational Kleene algebras. The equivalence of two programs, which is useful for verifying program correctness or compiler optimizations, can be expressed as an equation in Kleene algebra. The equational theory of relational Kleene algebra is already well understood, and decidable. One often needs to reason about programs under certain hypotheses about the semantics of individual program fragments, however, and this requires the use of Horn formulas. We show that the Horn theory of relational Kleene algebra is P11 -complete (highly undecidable). We then exhibit special types of Horn formulas for which the complexity is much lower. We give an infinitary proof system for the Horn theory of relational Kleene algebra that is sound and complete, along with a closely related system that is sound and complete for the Horn theory of *-continuous Kleene algebras. Despite being infinitary, these systems have practical applications; in particular, proof theoretic arguments over these systems can yield new decidability results.
Key concepts: Kleene algebra, Kleene's recursion theorem, Decidability, Undecidable problem, Algebra over a field, Equivalence (formal languages), Mathematics, Term algebra