arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.00192cs.PLcs.FLcs.LO
收藏

未解释程序的可判定验证

Decidable Verification of Uninterpreted Programs

Umang Mathur, P. Madhusudan, Mahesh Viswanathan

摘要:

我们研究的问题是完全自动验证未解释的程序--程序工作在任意的数据模型,提供了一个解释的常数,功能和程序使用的关系。验证问题询问给定的程序是否满足使用无量词公式编写的后置条件,在最终状态上具有相等性,没有提供循环不变式,合同等。我们证明了这个问题在一般情况下是不可判定的。本文的主要贡献是一个子类的程序,称为一致的程序,承认可判定的验证,并可以决定在PSPACE。然后,我们扩展这类程序的程序,是$k$ -连贯的,其中$k \in \mathbb{N}$,通过(自动)添加$k$鬼变量和分配,使它们连贯。我们还扩展了可判定性的结果与递归函数调用的程序,并证明了几个不可判定性的结果,表明为什么我们的限制,以获得可判定性似乎是必要的。

英文摘要:

We study the problem of completely automatically verifying uninterpreted programs---programs that work over arbitrary data models that provide an interpretation for the constants, functions and relations the program uses. The verification problem asks whether a given program satisfies a postcondition written using quantifier-free formulas with equality on the final state, with no loop invariants, contracts, etc. being provided. We show that this problem is undecidable in general. The main contribution of this paper is a subclass of programs, called coherent programs that admits decidable verification, and can be decided in PSPACE. We then extend this class of programs to classes of programs that are $k$-coherent, where $k \in \mathbb{N}$, obtained by (automatically) adding $k$ ghost variables and assignments that make them coherent. We also extend the decidability result to programs with recursive function calls and prove several undecidability results that show why our restrictions to obtain decidability seem necessary.

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

↑