Coming to Terms with Quantified Reasoning

被引:24
|
作者
Kovacs, Laura [1 ]
Robillard, Simon [2 ]
Voronkov, Andrei [2 ,3 ]
机构
[1] TU Wien, Vienna, Austria
[2] Chalmers Univ Technol, Gothenburg, Sweden
[3] Univ Manchester, Manchester, Lancs, England
基金
英国工程与自然科学研究理事会; 欧洲研究理事会;
关键词
Program analysis and verification; algebraic data types; automated reasoning; first-order theorem proving; superposition proving;
D O I
10.1145/3093333.3009887
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The theory of finite term algebras provides a natural framework to describe the semantics of functional languages. The ability to efficiently reason about term algebras is essential to automate program analysis and verification for functional or imperative programs over algebraic data types such as lists and trees. However, as the theory of finite term algebras is not finitely axiomatizable, reasoning about quantified properties over term algebras is challenging. In this paper we address full first-order reasoning about properties of programs manipulating term algebras, and describe two approaches for doing so by using first-order theorem proving. Our first method is a conservative extension of the theory of term algebras using a finite number of statements, while our second method relies on extending the superposition calculus of first-order theorem provers with additional inference rules. We implemented our work in the first-order theorem prover Vampire and evaluated it on a large number of algebraic data type benchmarks, as well as game theory constraints. Our experimental results show that our methods are able to find proofs for many hard problems previously unsolved by state-of-the-art methods. We also show that Vampire implementing our methods outperforms existing SMT solvers able to deal with algebraic data types.
引用
收藏
页码:260 / 270
页数:11
相关论文
共 50 条