Kleene Algebra with Tests and Demonic Refinement Algebras

We formalise Kleene algebra with tests (KAT) and demonic refinement algebra (DRA) with tests in Isabelle/HOL. KAT is relevant for program verification and correctness proofs in the partial correctness setting. DRA targets similar applications in the context of total correctness. Our formalisation contains the two most important models of these algebras: binary relations in the case of KAT and predicate transformers in the case of DRA. In addition, we derive the inference rules for Hoare logic in KAT and its relational model.

[1]  Ernie Cohen,et al.  Separation and Reduction , 2000, MPC.

[2]  Dexter Kozen,et al.  Kleene algebra with tests , 1997, TOPL.

[3]  Georg Struth,et al.  Automated verification of refinement laws , 2009, Annals of Mathematics and Artificial Intelligence.

[4]  J. Conway Regular algebra and finite machines , 1971 .

[5]  Viorel Preoteasa,et al.  Algebra of Monotonic Boolean Transformers , 2011, SBMF.

[6]  Georg Struth,et al.  Kleene Algebra , 2013, Arch. Formal Proofs.

[7]  Joakim von Wright,et al.  From Kleene Algebra to Refinement Algebra , 2002, MPC.

[8]  Kim Solin,et al.  Normal forms in total correctness for while programs and action systems , 2011, J. Log. Algebraic Methods Program..