Theory propagation and reification

被引:5
|
作者
Robbins, Ed [1 ]
Howe, Jacob M. [2 ]
King, Andy [1 ]
机构
[1] Univ Kent, Sch Comp, Canterbury CT2 7NF, Kent, England
[2] City Univ London, Dept Comp Sci, London EC1V 0HB, England
基金
英国工程与自然科学研究理事会;
关键词
SMT; SAT; Satisfiability Modulo Theories; Reification; DPLL; Rational tree unification; Type recovery; Reverse engineering; Difference logic; SAT; PROGRAM; PEARL;
D O I
10.1016/j.scico.2014.05.013
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
SAT Modulo Theories (SMT) is the problem of determining the satisfiability of a formula in which constraints, drawn from a given constraint theory T, are composed with logical connectives. The DPLL(T) approach to SMT has risen to prominence as a technique for solving these quantifier-free problems. The key idea in DPLL(T) is to couple unit propagation in the propositional part of the problem with theory propagation in the constraint component. In this paper it is demonstrated how reification provides a natural way for orchestrating this in the setting of logic programming. This allows an elegant implementation of DPLL(T) solvers in Prolog. The work is motivated by a problem in reverse engineering, that of type recovery from binaries. The solution to this problem requires an SMT solver where the theory is that of rational-tree constraints, a theory not supported in off-the-shelf SMT solvers, but realised as unification in Prolog systems. The approach is also illustrated with SMT solvers for linear constraints and integer difference constraints. The rational-tree solver is benchmarked against a number of type recovery problems, and compared against a lazy-basic SMT solver built on PicoSAT, while the integer difference logic solver is benchmarked against CVC3 and CVC4, both of which are implemented in C++. (C) 2014 Published by Elsevier B.V.
引用
收藏
页码:3 / 22
页数:20
相关论文
共 50 条