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

基于不变量引导同步的关系验证

Relational Verification via Invariant-Guided Synchronization

Qi Zhou, David Heath, William Harris

摘要:

关系属性描述了一个或多个程序的多次执行之间的关系,例如功能等价。用于自动验证这些属性的常规方法通常依赖于基于语法的启发式策略,用于在输入程序中找到同步点。然后,这些同步点用适当的关系不变量进行注释,以完成证明。然而,当选择次优同步点时,所需的不变量可能是复杂的,甚至在目标理论中是无法表达的。在这项工作中,我们提出了一种新的方法来验证关系属性。该方法搜索同步点,同时合成关系不变量。具体来说,该方法使用合成的不变量作为指导,找到适当的同步点,导致一个完整的证明。我们实现了我们的方法作为一个名为PEQUOD的工具,它的目标是Java虚拟机(JVM)字节码。我们评估PEQUOD使用它来解决来自研究文献的验证挑战,并通过验证学生提交的解决方案的在线挑战问题的属性。结果表明,PEQUOD解决验证问题,不能解决目前的技术。

英文摘要:

Relational properties describe relationships that hold over multiple executions of one or more programs, such as functional equivalence. Conventional approaches for automatically verifying such properties typically rely on syntax-based, heuristic strategies for finding synchronization points among the input programs. These synchronization points are then annotated with appropriate relational invariants to complete the proof. However, when suboptimal synchronization points are chosen the required invariants can be complicated or even inexpressible in the target theory. In this work, we propose a novel approach to verifying relational properties. This approach searches for synchronization points and synthesizes relational invariants simultaneously. Specifically, the approach uses synthesized invariants as a guide for finding proper synchronization points that lead to a complete proof. We implemented our approach as a tool named PEQUOD, which targets Java Virtual Machine (JVM) bytecode. We evaluated PEQUOD by using it to solve verification challenges drawn from the from the research literature and by verifying properties of student-submitted solutions to online challenge problems. The results show that PEQUOD solve verification problems that cannot be addressed by current techniques.

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

↑