Skip to main content
QUICK REVIEW

[Paper Review] Unfounded Sets and Well-Founded Semantics of Answer Set Programs with Aggregates

Mario Alviano, Francesco Calimeri|arXiv (Cornell University)|Jan 18, 2014
Logic, Reasoning, and KnowledgeComputer Science54 references22 citations
TL;DR

This paper introduces a novel unfounded set and well-founded semantics for answer set programs with monotone and antimonotone aggregates (LPAma programs), generalizing classical logic programming semantics. It proves the well-founded model is uniquely defined and computable in polynomial time, with a prototype system demonstrating significant performance gains over aggregate-free encodings, while showing that general aggregates lead to coNP-completeness, justifying the restriction to monotone/antimonotone cases.

ABSTRACT

Logic programs with aggregates (LPA) are one of the major linguistic extensions to Logic Programming (LP). In this work, we propose a generalization of the notions of unfounded set and well-founded semantics for programs with monotone and antimonotone aggregates (LPAma programs). In particular, we present a new notion of unfounded set for LPAma programs, which is a sound generalization of the original definition for standard (aggregate-free) LP. On this basis, we define a well-founded operator for LPAma programs, the fixpoint of which is called well-founded model (or well-founded semantics) for LPAma programs. The most important properties of unfounded sets and the well-founded semantics for standard LP are retained by this generalization, notably existence and uniqueness of the well-founded model, together with a strong relationship to the answer set semantics for LPAma programs. We show that one of the D-well-founded semantics, defined by Pelov, Denecker, and Bruynooghe for a broader class of aggregates using approximating operators, coincides with the well-founded model as defined in this work on LPAma programs. We also discuss some complexity issues, most importantly we give a formal proof of tractable computation of the well-founded model for LPA programs. Moreover, we prove that for general LPA programs, which may contain aggregates that are neither monotone nor antimonotone, deciding satisfaction of aggregate expressions with respect to partial interpretations is coNP-complete. As a consequence, a well-founded semantics for general LPA programs that allows for tractable computation is unlikely to exist, which justifies the restriction on LPAma programs. Finally, we present a prototype system extending DLV, which supports the well-founded semantics for LPAma programs, at the time of writing the only implemented system that does so. Experiments with this prototype show significant computational advantages of aggregate constructs over equivalent aggregate-free encodings.

Motivation & Objective

  • To extend unfounded sets and well-founded semantics to logic programs with aggregates, particularly monotone and antimonotone ones.
  • To ensure the well-founded model remains uniquely defined and computable in polynomial time for LPAma programs.
  • To establish a strong connection between the new well-founded semantics and answer set semantics for LPAma programs.
  • To demonstrate that tractable well-founded semantics for general aggregates is unlikely due to coNP-completeness of aggregate satisfaction.
  • To implement and evaluate the new semantics in a prototype system, showing computational advantages over aggregate-free encodings.

Proposed method

  • Introduces a new definition of unfounded sets for LPAma programs that generalizes the standard notion from aggregate-free logic programs.
  • Defines a well-founded operator based on the new unfounded set concept, whose fixpoint yields the well-founded model.
  • Proves existence and uniqueness of the well-founded model for LPAma programs, preserving key properties from standard logic programming.
  • Establishes a formal correspondence between the proposed well-founded semantics and the D-well-founded semantics of Pelov et al. for a broader class of aggregates.
  • Provides a formal proof of tractable computation (polynomial time) for the well-founded model of LPAma programs.
  • Develops and evaluates a prototype system extending DLV to support the new semantics, using real-world and synthetic benchmarks.

Experimental results

Research questions

  • RQ1Can unfounded sets and well-founded semantics be meaningfully generalized to logic programs with monotone and antimonotone aggregates?
  • RQ2Is the well-founded model for LPAma programs uniquely defined and computable in polynomial time?
  • RQ3How does the proposed well-founded semantics relate to existing semantics such as the D-well-founded semantics?
  • RQ4Is it feasible to compute a well-founded semantics for general aggregates in polynomial time?
  • RQ5What are the practical performance benefits of using aggregate constructs over equivalent aggregate-free encodings?

Key findings

  • The well-founded model for LPAma programs is uniquely defined and computable in polynomial time, ensuring tractable semantics.
  • The proposed well-founded semantics coincides with the D-well-founded semantics of Pelov et al. on LPAma programs, validating its correctness.
  • Deciding aggregate satisfaction in partial interpretations for general LPA programs is coNP-complete, implying that tractable well-founded semantics for general aggregates is unlikely.
  • The prototype system extending DLV successfully implements the new semantics and shows significant performance improvements over aggregate-free encodings in experiments.
  • The use of aggregates leads to more concise and efficient encodings, with measurable computational advantages in practice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.