pith. sign in

arxiv: 1302.1737 · v1 · pith:NSOPQ2XKnew · submitted 2013-02-07 · 💻 cs.LO · cs.MS· cs.PL

Kleene Algebra with Tests and Coq Tools for While Programs

classification 💻 cs.LO cs.MScs.PL
keywords algebrakleeneteststoolswhilecorrectnesshoarelanguages
0
0 comments X
read the original abstract

We present a Coq library about Kleene algebra with tests, including a proof of their completeness over the appropriate notion of languages, a decision procedure for their equational theory, and tools for exploiting hypotheses of a particular shape in such a theory. Kleene algebra with tests make it possible to represent if-then-else statements and while loops in most imperative programming languages. They were actually introduced by Kozen as an alternative to propositional Hoare logic. We show how to exploit the corresponding Coq tools in the context of program verification by proving equivalences of while programs, correctness of some standard compiler optimisations, Hoare rules for partial correctness, and a particularly challenging equivalence of flowchart schemes.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.