Kleene Algebra with Tests and Coq Tools for while Programs
Kleene Algebra with Tests and Coq Tools for while Programs
复制标题
Kleene 代数以及用于 while 程序的测试和 Coq 工具
DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
D. Pous
中科院分区:
文献类型:
--
作者:
D. Pous
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 certain kind in such a theory.
Kleene algebra with tests make it possible to represent if-then-else statements and while loops in imperative programming languages. They were actually introduced 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.