On the relation among answer set solvers

In this paper, we study the relation among Answer Set Programming (ASP) systems from a computational point of view. We consider smodels, dlv, and cmodels ASP systems based on stable model semantics, the first two being native ASP systems and the last being a SAT-based system. We first show that smodels, dlv, and cmodels explore search trees with the same branching nodes (assuming, of course, a same branching heuristic) on the class of tight logic programs. Leveraging on the fact that SAT-based systems rely on the deeply studied Davis–Logemann–Loveland (dll) algorithm, we derive new complexity results for the ASP procedures. We also show that on nontight programs the SAT-based systems are computationally different from native procedures, and the latter have computational advantages. Moreover, we show that native procedures can guarantee the “correctness” of a reported solution when reaching the leaves of the search trees (i.e., no stability check is needed), while this is not the case for SAT-based procedures on nontight programs. A similar advantage holds for dlv in comparison with smodels if the “well-founded” operator is disabled and only Fitting’s operator is used for negative inferences. We finally study the “cost” of achieving such advantages and comment on to what extent the results presented extend to other systems.

[1]  Martin Gebser,et al.  What's a Head Without a Body? , 2006, ECAI.

[2]  Vladimir Lifschitz,et al.  Computing answer sets using program completion , 2003 .

[3]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[4]  Li-Yan Yuan,et al.  Lookahead in Smodels Compared to Local Consistencies in CSP , 2005, LPNMR.

[5]  Alexander A. Razborov,et al.  Why are there so many loop formulas? , 2006, TOCL.

[6]  Endre Szemerédi,et al.  Many hard examples for resolution , 1988, JACM.

[7]  Keith L. Clark,et al.  Negation as Failure , 1987, Logic and Data Bases.

[8]  Enrico Giunchiglia,et al.  On the Relation Between Answer Set and SAT Procedures (or, Between cmodels and smodels) , 2005, ICLP.

[9]  Wolfgang Faber,et al.  Pushing Goal Derivation in DLP Computations , 1999, LPNMR.

[10]  Martin Gebser,et al.  Tableau Calculi for Answer Set Programming , 2006, ICLP.

[11]  Fangzhen Lin,et al.  ASSAT: computing answer sets of a logic program by SAT solvers , 2002, Artif. Intell..

[12]  Torsten Schaub Tableaux Calculi for Answer Set Programming , 2006, WLP.

[13]  Enrico Giunchiglia,et al.  Evaluating Search Strategies and Heuristics for Efficient Answer Set Programming , 2005, AI*IA.

[14]  Jack Minker,et al.  Logic and Data Bases , 1978, Springer US.

[15]  Martin Gebser,et al.  The nomore++ Approach to Answer Set Solving , 2005, LPAR.

[16]  Francesco Scarcello,et al.  Disjunctive Stable Models: Unfounded Sets, Fixpoint Semantics, and Computation , 1997, Inf. Comput..

[17]  John S. Schlipf,et al.  Answer Set Programming with Clause Learning , 2004, LPNMR.

[18]  Ilkka Niemelä,et al.  Logic programs with stable model semantics as a constraint programming paradigm , 1999, Annals of Mathematics and Artificial Intelligence.

[19]  Enrico Giunchiglia,et al.  Applying the Davis-Putnam Procedure to Non-clausal Formulas , 1999, AI*IA.

[20]  Wolfgang Faber,et al.  The DLV system for knowledge representation and reasoning , 2002, TOCL.

[21]  Yuliya Lierler,et al.  Answer Set Programming Based on Propositional Satisfiability , 2006, Journal of Automated Reasoning.

[22]  Wolfgang Faber,et al.  Experimenting with Heuristics for Answer Set Programming , 2001, IJCAI.

[23]  Yuliya Lierler,et al.  Abstract Answer Set Solvers , 2008, ICLP.

[24]  Miroslaw Truszczynski,et al.  The aspps System , 2002, JELIA.

[25]  Miroslaw Truszczynski,et al.  Pbmodels - Software to Compute Stable Models by Pseudoboolean Solvers , 2005, LPNMR.

[26]  Miroslaw Truszczynski,et al.  The First Answer Set Programming System Competition , 2007, LPNMR.

[27]  Martin Gebser,et al.  Conflict-Driven Answer Set Solving , 2007, IJCAI.

[28]  David G. Mitchell Resolution and Constraint Satisfaction , 2003, CP.

[29]  Timo Soininen,et al.  Extending and implementing the stable model semantics , 2000, Artif. Intell..

[30]  Wolfgang Faber,et al.  Pruning Operators for Disjunctive Logic Programming Systems , 2006, Fundam. Informaticae.

[31]  Remi Monasson,et al.  On the Analysis of Backtrack Procedures for the Colouring of Random Graphs , 2004 .

[32]  Martin Gebser,et al.  Generic Tableaux for Answer Set Programming , 2007, ICLP.

[33]  Michael Gelfond,et al.  Classical negation in logic programs and disjunctive databases , 1991, New Generation Computing.

[34]  Tomi Janhunen,et al.  Some (in)translatability results for normal logic programs and propositional theories , 2006, J. Appl. Non Class. Logics.

[35]  Wolfgang Faber,et al.  Recursive Aggregates in Disjunctive Logic Programs: Semantics and Complexity , 2004, JELIA.

[36]  Wolfgang Faber,et al.  Look-back techniques and heuristics in DLV: Implementation, evaluation, and comparison to QBF solvers , 2008, J. Algorithms.

[37]  Danny De Schreye,et al.  Answer Set Planning , 1999 .

[38]  Sharad Malik,et al.  Chaff: engineering an efficient SAT solver , 2001, Proceedings of the 38th Design Automation Conference (IEEE Cat. No.01CH37232).

[39]  Matthew L. Ginsberg,et al.  Generalizing Boolean Satisfiability III: Implementation , 2011, J. Artif. Intell. Res..

[40]  TinelliCesare,et al.  Solving SAT and SAT Modulo Theories , 2006 .

[41]  Esra Erdem,et al.  Tight logic programs , 2003, Theory and Practice of Logic Programming.

[42]  V. Wiktor Marek,et al.  Nonmonotonic Logic , 1993, Artificial Intelligence.

[43]  Cesare Tinelli,et al.  Solving SAT and SAT Modulo Theories: From an abstract Davis--Putnam--Logemann--Loveland procedure to DPLL(T) , 2006, JACM.

[44]  Tomi Janhunen,et al.  Representing Normal Programs with Clauses , 2004, ECAI.

[45]  Armin Haken,et al.  The Intractability of Resolution , 1985, Theor. Comput. Sci..

[46]  Michael Molloy,et al.  A sharp threshold in proof complexity , 2001, STOC '01.

[47]  Clifford Stein,et al.  Introduction to Algorithms, 2nd edition. , 2001 .

[48]  R. K. Shyamasundar,et al.  Introduction to algorithms , 1996 .

[49]  Wolfgang Faber,et al.  A backjumping technique for Disjunctive Logic Programming , 2006, AI Commun..

[50]  Paolo Liberatore,et al.  On the complexity of choosing the branching literal in DPLL , 2000, Artif. Intell..

[51]  Matti Järvisalo,et al.  Extended ASP Tableaux and rule redundancy in normal logic programs1 , 2008, Theory and Practice of Logic Programming.

[52]  Toby Walsh,et al.  SAT v CSP , 2000, CP.

[53]  François Fages,et al.  Consistency of Clark's completion and existence of stable models , 1992, Methods Log. Comput. Sci..