Introduction
In the field of Answer Set Programming (ASP), the efficiency of solvers is heavily dependent on a preprocessing phase known as "grounding." During this stage, logic programs are simplified to reduce the search space for finding answer sets. Traditionally, the Well-Founded Model (WFM) has served as the standard for this simplification, identifying literals that are necessarily true or false to prune redundant rules. However, the WFM often fails to capture all possible consequences, particularly in Disjunctive Logic Programs (DLPs) where rules may have multiple atoms in their heads. This paper introduces the concept of "reliable sets" to provide a more robust framework for program simplification.
Methodology: Strong and Weak Reliable Sets
The authors propose two new notions to generalize program simplification:
- Strong Reliable Set: A set of atoms that, when used for simplification, results in a program strongly equivalent to the original. This ensures the programs behave identically even when additional rules are introduced.
- Weak Reliable Set: A set of atoms that preserves the exact same answer sets as the original program, allowing for more aggressive reduction when the program is treated as a standalone unit.
To implement these concepts, the authors introduce the Reliable Set Under a Consequence ($L$). While finding the absolute greatest reliable set is coNP-complete, the authors provide Algorithm 1 ($RS_{P,L}$), a monotonic operator that iteratively identifies atoms that must be true based on existing consequences. For Normal Logic Programs (NLPs), they demonstrate that the greatest reliable set can be computed in polynomial time.
Experimental Evaluation
The proposed method, implemented as $GRS^*$, was evaluated against standard ASP competition benchmarks, including both Normal (N) and Disjunctive (D) programs. The performance was compared to the Well-Founded Model approximations used in the well-known grounding engine gringo (version 4.4.0).
Key Results
The experimental data indicates that the $GRS^*$ method frequently identifies a larger number of facts than the standard WFM, particularly in normal logic programs.
As shown in Table 1, the improvements are most notable in benchmarks like Factoring (N), where the WFM found no facts while $GRS^*$ identified 148. Similarly, in SchurNumbers (N), $GRS^*$ increased the number of identified facts from 48 to 91. Crucially, the computational overhead for $GRS^*$ was found to be negligible in most cases, often taking less than a second to execute.
Discussion and Future Work
While the theory of reliable sets encompasses and extends the Well-Founded Model, the current implementation shows limitations with Disjunctive Logic Programs. In benchmarks such as Mutex and RQBF, the algorithm did not yield additional facts beyond standard methods and proved more computationally expensive.
Future research will focus on optimizing the algorithm for disjunctive programs and extending the reliability framework to other forms of equivalence, such as relativized or uniform equivalence, to bridge the gap between strong and weak reliability definitions.
Summary updated