arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.19028cs.LO
收藏

带量词的基于 SMT 的系统的不变式检查

Invariant Checking for SMT-based Systems with Quantifiers

Gianluca Redondi, Alessandro Cimatti, Alberto Griggio, Kenneth McMillan

AI总结:

针对由 SMT 理论与量词定义的符号迁移系统,论文提出两种结合 IC3、隐式谓词抽象及下近似推广的全称归纳不变式检查算法,实验显示其统一处理能力和性能均具竞争力。

摘要:

本文解决了为一大类符号迁移系统检查不变式性质的问题,这类系统由 SMT 理论与量词组合定义。状态变量可以是从不可解释排序(有限但无界)到可解释排序的函数,例如线性算术理论下的整数。该形式化方法表达能力很强,可用于对参数化系统、数组操作程序等进行建模。我们提出了两种用于为此类系统寻找全称归纳不变式的算法。第一种算法将 IC3 风格的循环与一种隐式谓词抽象相结合,以增量方式构造不变式。第二种算法构造原始问题的一个下近似,并搜索一个在该情形下作为归纳不变式的公式;随后,将该不变式推广到原始情形,并使用一组技术组合进行检查。我们实现了这两种算法,并开展了广泛的实验评估,考虑了各种基准以及文献中的不同工具。据我们所知,我们的方法是首个能够以统一方式处理一大类系统的方法。实验表明,两种算法都与当前最先进技术具有竞争力。

英文摘要:

This paper addresses the problem of checking invariant properties for a large class of symbolic transition systems, defined by a combination of SMT theories and quantifiers. State variables can be functions from an uninterpreted sort (finite, but unbounded) to an interpreted sort, such as the the integers under the theory of linear arithmetic. This formalism is very expressive and can be used for modeling parameterized systems, array-manipulating programs, and more. We propose two algorithms for finding universal inductive invariants for such systems. The first algorithm combines an IC3-style loop with a form of implicit predicate abstraction to construct an invariant in an incremental manner. The second algorithm constructs an under-approximation of the original problem, and searches for a formula which is an inductive invariant for this case; then, the invariant is generalized to the original case, and checked with a portfolio of techniques. We have implemented the two algorithms and conducted an extensive experimental evaluation, considering various benchmarks and different tools from the literature. As far as we know, our method is the first capable of handling in a large class of systems in a uniform way. The experiment shows that both algorithms are competitive with the state of the art.

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

↑