用导数判定KAT和霍尔逻辑
Deciding KAT and Hoare Logic with Derivatives
摘要:
带测试的Kleene代数(KAT)是布尔代数(BA)和正则表达式代数Kleene代数(KA)的结合,是一个用于程序验证的方程系统。特别地,KAT包含了霍尔逻辑(PHL)的命题片段,该逻辑是用于程序的规范和验证的形式化系统,并且是当前大多数用于检查程序正确性的工具的基础。KAT的方程理论和PHL在KAT中的编码都是可判定的。在本文中,我们提出了一个新的决策过程的基础上的概念偏导数的两个KAT表达式的等价性。我们还介绍的概念,衍生模特定的方程组。有了这个,我们扩展了以前的程序来决定PHL。最后给出了一些实验结果。
英文摘要:
Kleene algebra with tests (KAT) is an equational system for program verification, which is the combination of Boolean algebra (BA) and Kleene algebra (KA), the algebra of regular expressions. In particular, KAT subsumes the propositional fragment of Hoare logic (PHL) which is a formal system for the specification and verification of programs, and that is currently the base of most tools for checking program correctness. Both the equational theory of KAT and the encoding of PHL in KAT are known to be decidable. In this paper we present a new decision procedure for the equivalence of two KAT expressions based on the notion of partial derivatives. We also introduce the notion of derivative modulo particular sets of equations. With this we extend the previous procedure for deciding PHL. Some experimental results are also presented.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。