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

图程序的不正确逻辑

Incorrectness Logic for Graph Programs

Christopher M. Poskitt

摘要:

程序逻辑通常会推理程序行为的过度近似,以证明没有错误。最近,程序逻辑已经被提出,而不是证明存在的缺陷,通过下近似推理,这有更好的可扩展性的承诺。在本文中,我们提出了一个下近似的程序逻辑的不确定性图形程序设计语言,并展示了它如何可以被用来推断程序不正确,是否被禁止的图形结构的存在下定义的或由故障执行。我们证明了这种不正确逻辑是健全的和完整的,并推测它的一些可能的未来应用。

英文摘要:

Program logics typically reason about an over-approximation of program behaviour to prove the absence of bugs. Recently, program logics have been proposed that instead prove the presence of bugs by means of under-approximate reasoning, which has the promise of better scalability. In this paper, we present an under-approximate program logic for a nondeterministic graph programming language, and show how it can be used to reason deductively about program incorrectness, whether defined by the presence of forbidden graph structure or by finitely failing executions. We prove this incorrectness logic to be sound and complete, and speculate on some possible future applications of it.

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

↑