计算机科学 > 计算机科学中的逻辑
[提交于 2018年4月19日]
标题:Efficient Interpolation for the Theory of Arrays
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Jochen Hoenicke[v1] 2018年4月19日 星期四 13:53:37 UTC