UPDF AI

Guarded Kleene algebra with tests: verification of uninterpreted programs in nearly linear time

S. Smolka,Nate Foster,3 Authors,Alexandra Silva

2019 · DOI: 10.1145/3371129
51 Citations

TLDR

The (co)algebraic theory of GKAT is developed and it is shown how it can be efficiently used to reason about imperative programs and provide a full Kleene theorem and prove completeness for an analogue of Salomaa's axiomatization of Kleene Algebra.

Abstract

Guarded Kleene Algebra with Tests (GKAT) is a variation on Kleene Algebra with Tests (KAT) that arises by restricting the union (+) and iteration (*) operations from KAT to predicate-guarded versions. We develop the (co)algebraic theory of GKAT and show how it can be efficiently used to reason about imperative programs. In contrast to KAT, whose equational theory is PSPACE-complete, we show that the equational theory of GKAT is (almost) linear time. We also provide a full Kleene theorem and prove completeness for an analogue of Salomaa’s axiomatization of Kleene Algebra.