arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1302.1737cs.LOcs.MScs.PL
收藏

Kleene Algebra with Tests and Coq Tools for While程序

Kleene Algebra with Tests and Coq Tools for While Programs

Damien Pous

摘要:

我们提出了一个Coq库Kleene代数与测试,包括证明他们的完整性在适当的概念的语言,他们的方程理论的决策程序,并利用在这样的理论的一个特定形状的假设的工具。带有测试的Kleene代数使得在大多数命令式程序设计语言中表示if-then-else语句和while循环成为可能。它们实际上是由Kozen引入的,作为命题霍尔逻辑的替代。我们展示了如何利用相应的Coq工具的程序验证的上下文中证明等价的,而程序,正确的一些标准的编译器优化,霍尔规则的部分正确性,以及一个特别具有挑战性的等价流程图计划。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑