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

约束Horn子句的堆理论(扩展技术报告)

A Theory of Heap for Constrained Horn Clauses (Extended Technical Report)

Zafer Esen, Philipp Rümmer

摘要:

约束Horn子句(CHC)是一种中间程序表示,可以由几个验证工具生成,并且可以由许多Horn求解器处理和求解。在验证中使用CHC时的主要挑战之一是堆分配的数据结构的编码:这种数据结构今天要么使用数组理论显式表示,要么在不变量或细化类型的帮助下转换,击败CHC作为语言独立的表示以及Horn求解器实现的算法的不可知性。本文提出了一种适用于CHC的SMT-LIB堆理论,目的是为具有堆数据结构的程序提供一种标准的交换格式。我们介绍了堆理论的语法,定义其语义的公理和使用减少SMT-LIB数组和数据类型,并讨论其属性和大纲可能的扩展和未来的工作。

英文摘要:

Constrained Horn Clauses (CHCs) are an intermediate program representation that can be generated by several verification tools, and that can be processed and solved by a number of Horn solvers. One of the main challenges when using CHCs in verification is the encoding of heap-allocated data-structures: such data-structures are today either represented explicitly using the theory of arrays, or transformed away with the help of invariants or refinement types, defeating the purpose of CHCs as a representation that is language-independent as well as agnostic of the algorithm implemented by the Horn solver. This paper presents an SMT-LIB theory of heap tailored to CHCs, with the goal of enabling a standard interchange format for programs with heap data-structures. We introduce the syntax of the theory of heap, define its semantics in terms of axioms and using a reduction to SMT-LIB arrays and data-types, and discuss its properties and outline possible extensions and future work.

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

↑