Answer Set Programming Based on Propositional Satisfiability

  • Enrico Giunchiglia
  • Yuliya Lierler
  • Marco Maratea
Article

DOI: 10.1007/s10817-006-9033-2

Cite this article as:
Giunchiglia, E., Lierler, Y. & Maratea, M. J Autom Reasoning (2006) 36: 345. doi:10.1007/s10817-006-9033-2

Abstract

Answer set programming (ASP) emerged in the late 1990s as a new logic programming paradigm that has been successfully applied in various application domains. Also motivated by the availability of efficient solvers for propositional satisfiability (SAT), various reductions from logic programs to SAT were introduced. All these reductions, however, are limited to a subclass of logic programs or introduce new variables or may produce exponentially bigger propositional formulas. In this paper, we present a SAT-based procedure, called ASPSAT, that (1) deals with any (nondisjunctive) logic program, (2) works on a propositional formula without additional variables (except for those possibly introduced by the clause form transformation), and (3) is guaranteed to work in polynomial space. From a theoretical perspective, we prove soundness and completeness of ASPSAT. From a practical perspective, we have (1) implemented ASPSAT in Cmodels, (2) extended the basic procedures in order to incorporate the most popular SAT reasoning strategies, and (3) conducted an extensive comparative analysis involving other state-of-the-art answer set solvers. The experimental analysis shows that our solver is competitive with the other solvers we considered and that the reasoning strategies that work best on ‘small but hard’ problems are ineffective on ‘big but easy’ problems and vice versa.

Key words

answer set programmingpropositional satisfiability

Copyright information

© Springer Science + Business Media B.V. 2006

Authors and Affiliations

  • Enrico Giunchiglia
    • 1
  • Yuliya Lierler
    • 2
  • Marco Maratea
    • 1
    • 3
  1. 1.STAR-Lab, DISTUniversity of GenovaGenovaItaly
  2. 2.Institut für InformatikErlangen-Nürnberg-UniversitätErlangenGermany
  3. 3.Department of MathematicsUniversity of CalabriaRendeItaly