On Hoare Logic and Kleene Algebra with Tests
Dexter Kozen
Cornell University
Weshow that Kleene algebra with tests KAT subsumes prop ositional Hoare logic PHL Thus
the sp ecialized syntax and deductive apparatus of Hoare logic are inessential and can b e replaced
by simple equational reasoning In addition weshow that all relationally valid inference rules are
derivable in KAT and that deciding the relational validity of suchrulesisPSPACE complete
Categories and Sub ject Descriptors D Software Engineering To ols and Techniques
structured programming D Software Engineering Program Veri cation correctness
proofs D Software Engineering Language Constructs and Features control structures
F Logics and Meanings of Programs Sp ecifying and Verifying and Reasoning ab out
chanical veri cation pre and postcon Programs assertions invariants logics of programs me
ditions speci cation techniques F Logics and Meanings of Programs Semantics of
Programming Languages algebraic approaches to semantics F Logics and Meanings of
Programs Studies of Program Constructs control primitives I Algebraic Manipula
tion Expressions and Their Representations simpli cation of expressions I Algebraic
Manipulation Languages and Systems special purpose algebraic systems I Algebraic
Manipulation Automatic Programming program modi cation program synthesis program
transformation program veri cation
General Terms Design Languages Theory Veri cation
Additional Key W ords and Phrases Dynamic logic Hoare logic Kleene algebra Kleene algebra
with tests sp eci cation