arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1501.04100cs.LOcs.PL
收藏

空间插值

Spatial Interpolants

Aws Albarghouthi, Josh Berdine, Byron Cook, Zachary Kincaid

摘要:

我们提出了分裂,一种新的技术证明堆操作程序的属性,婚姻(1)一个新的分离逻辑为基础的分析堆推理与(2)一个插值为基础的技术,用于精炼堆形状不变量与数据不变量。Splinter是属性导向的,精确的,当属性不成立时会产生反例跟踪。使用空间插值模理论的新概念,Splinter可以推断出一般递归谓词上的复杂不变量,例如,链表中的所有元素都是偶数或二叉树排序的形式。此外,我们将插值视为黑盒,这使我们能够自由地在任何合适的理论中为给定程序编码数据操作(例如,位向量、数组或线性算术),因此我们的技术立即受益于SMT求解和插值的任何未来进展。

英文摘要:

We propose Splinter, a new technique for proving properties of heap-manipulating programs that marries (1) a new separation logic-based analysis for heap reasoning with (2) an interpolation-based technique for refining heap-shape invariants with data invariants. Splinter is property directed, precise, and produces counterexample traces when a property does not hold. Using the novel notion of spatial interpolants modulo theories, Splinter can infer complex invariants over general recursive predicates, e.g., of the form all elements in a linked list are even or a binary tree is sorted. Furthermore, we treat interpolation as a black box, which gives us the freedom to encode data manipulation in any suitable theory for a given program (e.g., bit vectors, arrays, or linear arithmetic), so that our technique immediately benefits from any future advances in SMT solving and interpolation.

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

↑