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

阵列理论中的有效插值

Efficient Interpolation for the Theory of Arrays

Jochen Hoenicke, Tanja Schindler

摘要:

现有的Craig插值技术对于计算序列和树插值的数组理论的无量词片段是低效的:求解器需要为插值问题的每个分区$(A, B)$运行,以避免创建$AB$ -混合项。我们提出了一种新的方法,使用证明树保持插值和阵列求解器的基础上弱等价阵列。我们给出了一个插值算法的引理阵列求解器。计算的插值有最坏情况下的指数大小的扩张性引理和最坏情况下的平方大小,否则。我们表明,这些界限是严格的意义上说,有引理没有更小的插值。我们实现了该算法,并表明所产生的插值是有用的,以证明内存安全的C程序。

英文摘要:

Existing techniques for Craig interpolation for the quantifier-free fragment of the theory of arrays are inefficient for computing sequence and tree interpolants: the solver needs to run for every partitioning $(A, B)$ of the interpolation problem to avoid creating $AB$-mixed terms. We present a new approach using Proof Tree Preserving Interpolation and an array solver based on Weak Equivalence on Arrays. We give an interpolation algorithm for the lemmas produced by the array solver. The computed interpolants have worst-case exponential size for extensionality lemmas and worst-case quadratic size otherwise. We show that these bounds are strict in the sense that there are lemmas with no smaller interpolants. We implemented the algorithm and show that the produced interpolants are useful to prove memory safety for C programs.

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

↑