arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.06494cs.LO
收藏

霍尔逻辑证明表到重写归纳推理序列的转换

Transforming Proof Tableaux of Hoare Logic into Inference Sequences of Rewriting Induction

Shinnosuke Mizutani, Naoki Nishida

摘要:

霍尔逻辑的证明表是一个带有前置和后置条件的带注释程序,它对应于霍尔逻辑的一棵推理树。在本文中,我们证明了部分正确性的证明表可以转化为一个推理序列的重写归纳约束重写。我们还表明,如果从程序获得的约束重写系统正在终止,则所得序列是对应于霍尔三重组的归纳定理的有效证明。这样一个有效的证明与终止的约束重写系统意味着完全正确的程序w.r.t.霍尔三人组转换,使我们能够应用技术证明终止约束重写证明总正确性的程序连同证明表格的部分正确性。

英文摘要:

A proof tableau of Hoare logic is an annotated program with pre- and post-conditions, which corresponds to an inference tree of Hoare logic. In this paper, we show that a proof tableau for partial correctness can be transformed into an inference sequence of rewriting induction for constrained rewriting. We also show that the resulting sequence is a valid proof for an inductive theorem corresponding to the Hoare triple if the constrained rewriting system obtained from the program is terminating. Such a valid proof with termination of the constrained rewriting system implies total correctness of the program w.r.t. the Hoare triple. The transformation enables us to apply techniques for proving termination of constrained rewriting to proving total correctness of programs together with proof tableaux for partial correctness.

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

↑