[Paper Review] An Unfolding-Based Semantics for Logic Programming with Aggregates
This paper proposes an unfolding-based semantics for logic programs with aggregates, translating them into normal logic programs via aggregate solution enumeration. It introduces two equivalent definitions of answer sets—one aligning with existing semantics and another supporting aggregates in rule heads—enabling implementation using standard answer set solvers, with the system $Δ\mathbb{ASP}^{A}$ demonstrating effective computation of answer sets for recursive and arbitrary aggregates.
The paper presents two equivalent definitions of answer sets for logic programs with aggregates. These definitions build on the notion of unfolding of aggregates, and they are aimed at creating methodologies to translate logic programs with aggregates to normal logic programs or positive programs, whose answer set semantics can be used to defined the semantics of the original programs. The first definition provides an alternative view of the semantics for logic programming with aggregates described by Pelov et al. The second definition is similar to the traditional answer set definition for normal logic programs, in that, given a logic program with aggregates and an interpretation, the unfolding process produces a positive program. The paper shows how this definition can be extended to consider aggregates in the head of the rules. The proposed views of logic programming with aggregates are simple and coincide with the ultimate stable model semantics, and with other semantic characterizations for large classes of program (e.g., programs with monotone aggregates and programs that are aggregate-stratified). Moreover, it can be directly employed to support an implementation using available answer set solvers. The paper describes a system, called ASP^A, that is capable of computing answer sets of programs with arbitrary (e.g., recursively defined) aggregates.
Motivation & Objective
- To develop a semantics for logic programs with aggregates that supports recursive and non-monotone aggregates without syntactic restrictions.
- To provide a translation mechanism that reduces programs with aggregates to normal or positive logic programs using unfolding.
- To ensure compatibility with existing answer set semantics and solvers through a modular, extensible framework.
- To enable the use of aggregates in rule heads, extending the applicability of answer set programming.
- To implement and evaluate a system ($\mathbb{ASP}^{A}$) capable of computing answer sets for programs with arbitrary aggregates.
Proposed method
- The paper defines answer sets via the unfolding of aggregate atoms into their solutions, transforming a program with aggregates into a positive logic program.
- It introduces a two-step unfolding process: first, generating all solutions of aggregate atoms; second, constructing a reduct-like positive program for verification.
- The semantics uses the notion of aggregate solutions, where each solution corresponds to a set of atoms satisfying the aggregate condition.
- For aggregates in rule heads, the method unfolds the program with respect to a candidate answer set, producing a positive program whose minimal model determines validity.
- The approach is implemented in $\mathbb{ASP}^{A}$, which leverages off-the-shelf answer set solvers to compute answer sets.
- The system computes solutions of aggregate atoms and applies unfolding to generate equivalent normal logic programs for evaluation.
Experimental results
Research questions
- RQ1How can a semantics for logic programs with aggregates be defined that supports arbitrary aggregates, including recursive and non-monotone ones?
- RQ2Can the unfolding of aggregates into solutions provide an equivalent and intuitive semantics that aligns with established answer set semantics?
- RQ3How can aggregates be meaningfully used in the head of rules within an answer set semantics framework?
- RQ4What is the computational complexity of checking answer sets under this unfolding-based semantics?
- RQ5Can the proposed semantics be efficiently implemented using existing answer set solvers?
Key findings
- The proposed semantics is equivalent to the ultimate stable model semantics and coincides with other established semantics for monotone and aggregate-stratified programs.
- The unfolding process transforms programs with aggregates into normal logic programs, enabling use of standard answer set solvers.
- The system $\mathbb{ASP}^{A}$ successfully computes answer sets for programs with recursively defined aggregates, including infinite solutions.
- The complexity of answer set checking is tractable for standard aggregate functions (e.g., Sum, Min), with the existence problem in NP for large classes of programs.
- The semantics handles aggregates in rule heads by unfolding with respect to a candidate interpretation, extending the applicability of answer set programming.
- The approach avoids syntactic restrictions and provides a general, intuitive, and implementable framework for aggregates in logic programming.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.