arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.08128cs.LOcs.PL
收藏

检验Kleene代数上的局部完备性逻辑

Local Completeness Logic on Kleene Algebra with Tests

Marco Milanese, Francesco Ranzato

摘要:

局部完备性逻辑(LCL)是一种用来证明程序规格说明正确性和不正确性的程序逻辑。LCL是一种抽象逻辑,由抽象域参数化,允许组合程序行为的过近似和欠近似。事实证明,实例化为简单的单例抽象的LCL归结为O 'Hearn不正确逻辑,它允许我们证明程序错误的存在。最近已经证明,适当的扩展Kleene代数与测试(KAT)允许表示O 'Hearn不正确性和Hoare正确性程序逻辑在同一个等式框架内。在这项工作中,我们推广了这一结果,展示了如何KAT扩展无论是与模态钻石运营商或顶部元素能够代表本地完整性逻辑LCL。这是通过研究这些扩展的KAT如何可以被赋予一个抽象的域,以定义正确性/不正确性LCL三元组的有效性,并表明LCL证明系统是逻辑上健全的,在一些假设下,完整的。

英文摘要:

Local Completeness Logic (LCL) has been put forward as a program logic for proving both the correctness and incorrectness of program specifications. LCL is an abstract logic, parameterized by an abstract domain that allows combining over- and under-approximations of program behaviors. It turns out that LCL instantiated to the trivial singleton abstraction boils down to O'Hearn incorrectness logic, which allows us to prove the presence of program bugs. It has been recently proved that suitable extensions of Kleene algebra with tests (KAT) allow representing both O'Hearn incorrectness and Hoare correctness program logics within the same equational framework. In this work, we generalize this result by showing how KATs extended either with a modal diamond operator or with a top element are able to represent the local completeness logic LCL. This is achieved by studying how these extended KATs can be endowed with an abstract domain so as to define the validity of correctness/incorrectness LCL triples and to show that the LCL proof system is logically sound and, under some hypotheses, complete.

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

↑