用于等价性检验的程序对齐自动机的直接构造
Direct Construction of Program Alignment Automata for Equivalence Checking
摘要:
检查两个程序在语义上是否等价的问题有着广泛的应用,因此具有非常重要的意义。有几种技术可以解决这个问题,主要是通过构建一个产品程序,使其更容易获得有用的不变量。一个新的除了这些是一种技术,使用对齐谓词来对齐两个程序的痕迹,以构建一个程序对齐自动机。由谓词引导不仅有利于处理句法差异,而且有利于保持与属性的相关性。然而,基于跟踪的技术也存在缺点。获得覆盖所有程序行为的跟踪是困难的,并且任何欠近似都可能导致不完整的产品程序。此外,这种间接结构不知道缺失的行为,并且无法控制上述不完整性。针对这些问题,本文提出了一种直接构造程序对齐自动机的算法。
英文摘要:
The problem of checking whether two programs are semantically equivalent or not has a diverse range of applications, and is consequently of substantial importance. There are several techniques that address this problem, chiefly by constructing a product program that makes it easier to derive useful invariants. A novel addition to these is a technique that uses alignment predicates to align traces of the two programs, in order to construct a program alignment automaton. Being guided by predicates is not just beneficial in dealing with syntactic dissimilarities, but also in staying relevant to the property. However, there are also drawbacks of a trace-based technique. Obtaining traces that cover all program behaviors is difficult, and any under-approximation may lead to an incomplete product program. Moreover, an indirect construction of this kind is unaware of the missing behaviors, and has no control over the aforesaid incompleteness. This paper, addressing these concerns, presents an algorithm to construct the program alignment automaton directly instead of relying on traces.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。