• Media type: E-Article
  • Title: Computing Loops with at Most One External Support Rule
  • Contributor: Chen, Xiaoping; Ji, Jianmin; Lin, Fangzhen
  • Published: Association for Computing Machinery (ACM), 2013
  • Published in: ACM Transactions on Computational Logic, 14 (2013) 1, Seite 1-34
  • Language: English
  • DOI: 10.1145/2422085.2422088
  • ISSN: 1529-3785; 1557-945X
  • Keywords: Computational Mathematics ; Logic ; General Computer Science ; Theoretical Computer Science
  • Origination:
  • Footnote:
  • Description: <jats:p>A consequence of a logic program under answer set semantics is one that is true for all answer sets. This article considers using loop formulas to compute some of these consequences in order to increase the efficiency of answer set solvers. Since computing loop formulas are in general intractable, we consider only loops with either no external support or at most one external support, as their loop formulas are either unit or binary clauses. We show that for disjunctive logic programs, loop formulas of loops with no external support can be computed in polynomial time, and that an iterative procedure using unit propagation on these formulas and the program completion computes the well-founded models in the case of normal logic programs and the least fixed point of a simplification operator used by DLV for disjunctive logic programs. For loops with at most one external support, their loop formulas can be computed in polynomial time for normal logic programs, but are NP-hard for disjunctive programs. So for normal logic programs, we have a procedure similar to the iterative one for loops without any external support, but for disjunctive logic programs, we present a polynomial approximation algorithm. All these algorithms have been implemented, and our experiments show that for certain logic programs, the consequences computed by our algorithms can significantly speed up current ASP solvers cmodels, clasp, and DLV.</jats:p>
  • Access State: Open Access