English

Deciding KAT and Hoare Logic with Derivatives

Formal Languages and Automata Theory 2012-10-10 v1 Logic in Computer Science

Abstract

Kleene algebra with tests (KAT) is an equational system for program verification, which is the combination of Boolean algebra (BA) and Kleene algebra (KA), the algebra of regular expressions. In particular, KAT subsumes the propositional fragment of Hoare logic (PHL) which is a formal system for the specification and verification of programs, and that is currently the base of most tools for checking program correctness. Both the equational theory of KAT and the encoding of PHL in KAT are known to be decidable. In this paper we present a new decision procedure for the equivalence of two KAT expressions based on the notion of partial derivatives. We also introduce the notion of derivative modulo particular sets of equations. With this we extend the previous procedure for deciding PHL. Some experimental results are also presented.

Cite

@article{arxiv.1210.2456,
  title  = {Deciding KAT and Hoare Logic with Derivatives},
  author = {Ricardo Almeida and Sabine Broda and Nelma Moreira},
  journal= {arXiv preprint arXiv:1210.2456},
  year   = {2012}
}

Comments

In Proceedings GandALF 2012, arXiv:1210.2028

R2 v1 2026-06-21T22:18:24.696Z