Adding Decision Procedures to SMT Solvers using Axioms with Triggers - Archive ouverte HAL Access content directly
Journal Articles Journal of Automated Reasoning Year : 2016

Adding Decision Procedures to SMT Solvers using Axioms with Triggers


Satisfiability Modulo Theories (SMT) solvers are efficient tools to decide the satisfiability of ground formulas, including a number of built-in theories such as congruence, linear arithmetic, arrays, and bit-vectors. Adding a theory to that list requires delving into the implementation details of a given SMT solver, and is done mainly by the developers of the solver itself. For many useful theories, one can alternatively provide a first-order axiomatization. However, in the presence of quantifiers, SMT solvers are incomplete and exhibit unpredictable behavior. Consequently, this approach can not provide us with a complete and terminating treatment of the theory of interest. In this paper, we propose a framework to solve this problem, based on the notion of in-stantiation patterns, also known as triggers. Triggers are annotations that suggest instances which are more likely to be useful in proof search. They are implemented in all SMT solvers that handle first-order logic and are included in the SMT-LIB format. In our framework, the user provides a theory axiomatization with triggers, along with a proof of completeness and termination properties of this axiomatization, and obtains a sound, complete, and terminating solver for her theory in return. We describe and prove a corresponding extension of the traditional Abstract DPLL Modulo Theory framework. Implementing this mechanism in a given SMT solver requires a one-time development effort. We have implemented the proposed extension in the Alt-Ergo prover and we discuss some implementation details in the paper. To show that our framework can handle complex theories, we prove completeness and termination of a feature-rich axiomatization of doubly-linked lists. Our tests show that our approach results in a better performance of the solver on goals that stem from the verification of programs manipulating doubly-linked lists and sets.
Fichier principal
Vignette du fichier
main.pdf (755.56 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01221066 , version 1 (27-10-2015)





Claire Dross, Sylvain Conchon, Johannes Kanig, Andrei Paskevich. Adding Decision Procedures to SMT Solvers using Axioms with Triggers. Journal of Automated Reasoning, 2016, 56 (4), pp.387-457. ⟨10.1007/s10817-015-9352-2⟩. ⟨hal-01221066⟩
500 View
331 Download



Gmail Facebook X LinkedIn More