A Well-Founded Semantics for Basic Logic Programs with Arbitrary Abstract Constraint Atoms

Yisong Wang, Fangzhen Lin, Mingyi Zhang, Jia-Huai You

Authors: Mingyi Zhang (Guizhou Academy of Sciences) and Jia-Huai You (University of Alberta)

Introduction

Answer Set Programming (ASP) is a powerful declarative paradigm used to solve complex combinatorial problems. However, computing "answer sets" (solutions) is generally NP-complete, which can lead to performance bottlenecks as problem sizes increase. For standard logic programs, well-founded semantics (WFS) serves as a critical optimization technique. It identifies atoms that are definitively true or false in every possible solution, allowing solvers to simplify the problem before performing more intensive computations.

Problem Statement

Modern logic programming has evolved to include complex constraints, such as aggregates (e.g., "the sum of values must exceed a threshold") and description logic atoms (linking logic programs to external ontologies). These are generalized as "abstract constraint atoms" (c-atoms). Until this research, there was no unified, efficient way to apply WFS to these generalized c-atoms. The authors aimed to bridge this gap by creating a robust, tractable semantics for these complex programs, enabling the same simplification benefits seen in standard ASP.

Methodology

The authors focus on basic logic programs, where each rule has a single atom in its head but can have complex c-atoms in its body. Their approach centers on three components:

  1. Unfounded Sets: They redefined the concept of an "unfounded set" for c-atoms. This identifies a collection of atoms that can never be proven true given current knowledge, effectively marking logical "dead ends."
  2. MaxUnfoundedSet Algorithm: They presented a polynomial-time algorithm to find the largest possible unfounded set by iteratively pruning atoms that might still have support.
  3. The $W_P$ Operator: They defined a fixed-point operator that combines a standard consequence operator (finding truth) with their new unfounded set operator (finding falsehood). Repeated application of this operator leads to the unique Well-Founded Model.

Key Results and Insights

As a theoretical contribution to computer science logic, the paper's findings are supported by mathematical proofs and complexity analysis rather than empirical datasets. Key results include:

  • Universal Generality: The framework works across various sub-fields, including database aggregates and Semantic Web ontologies, providing a unified mathematical foundation.
  • Polynomial Efficiency: Despite the inherent complexity of the constraints, the authors proved that the well-founded model can be computed in polynomial time. This ensures it is a viable pre-processing step for any ASP solver.
  • Correctness Guarantee: The paper proves that their WFS is sound relative to answer set semantics. Any atom the WFS identifies as true must be in every answer set, and any atom identified as unfounded cannot be in any answer set.
  • Simplification Power: Theorem 5 provides a formal method for simplifying a program $P$ into a smaller program $R(P)$. This reduced program maintains the same solutions as the original but offers a significantly smaller search space.

Limitations and Future Work

The current work is restricted to "basic" programs with a single atom in the rule head. It does not yet extend to disjunctive logic programs, where a rule might conclude that one of several atoms is true (e.g., "A or B"). The authors identify the extension of this well-founded semantics to disjunctive programs with abstract constraints as the next major challenge in logical simplification.

Summary updated

BibTeX
@inproceedings{wang2012well,
  author = {Yisong Wang and Fangzhen Lin and Mingyi Zhang and Jia-Huai You},
  title = {{A Well-Founded Semantics for Basic Logic Programs with Arbitrary Abstract Constraint Atoms}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2012},
  doi = {10.1609/aaai.v26i1.8213},
}
Figure