Symmetric Splitting in the General Theory of Stable Models

Paolo Ferraris, Joohyung Lee, Vladimir Lifschitz, Ravi PallaIJCAI 2009

Abstract

Answer Set Programming (ASP) relies on the computation of stable models to solve complex combinatorial problems. However, as programs grow in complexity, reasoning about and computing these models becomes increasingly difficult. This paper generalizes the "splitting" technique—a method for decomposing logic programs into independent components—to the general theory of stable models. By extending symmetric splitting to arbitrary first-order sentences, the authors provide a rigorous mathematical framework that handles variables, constraints, and non-hierarchical dependencies more naturally than previous iterations.

Introduction

In the field of Knowledge Representation, Answer Set Programming (ASP) has emerged as a dominant paradigm for solving search problems. The efficiency of ASP solvers often depends on the structural properties of the logic programs they process. One of the most effective techniques for analyzing these structures is "splitting." Traditionally, splitting allows a programmer to divide a program into a "bottom" component and a "top" component, where the bottom can be solved independently and its results passed to the top.

While powerful, traditional splitting theorems—largely rooted in propositional logic—suffer from two primary limitations. First, they are inherently directional, requiring a strict hierarchy that cannot easily accommodate symmetric or mutually dependent components. Second, they often struggle with the high expressivity of modern ASP, which includes first-order variables, choice rules, and cardinality constraints. This paper, originally presented at IJCAI 2009, addresses these limitations by situating symmetric splitting within the "General Theory of Stable Models."

The General Theory and the SM Operator

The authors base their work on the SM operator, a second-order logic transformation that defines the stable models of a first-order sentence. By treating logic programs as arbitrary first-order formulas rather than mere sets of rules, the authors can apply the full power of mathematical logic to the problem of decomposition.

The core of their approach involves the Predicate Dependency Graph (DG). In this graph, vertices represent predicates, and edges represent dependencies. For instance, if a predicate $p$ appears in the head of a rule and $q$ appears in the body, a dependency edge is drawn from $p$ to $q$. The structure of this graph determines how a program can be split.

The Splitting Lemma and Symmetric Decomposition

The paper’s primary contribution is a series of Splitting Lemmas. These lemmas prove that if a set of predicates can be partitioned such that no "loop"—defined as a strongly connected component (SCC) in the dependency graph—straddles the partition, the stable model calculation can be mathematically decomposed.

This leads to the Symmetric Splitting Theorem, which describes how a conjunction of formulas ($F \wedge G$) can be split into separate stable model calculations. Unlike earlier theorems, this version allows for a more nuanced relationship between $F$ and $G$. It formalizes the intuition of "input atoms"—predicates whose truth values are not determined by the rules within a specific component but are instead treated as external inputs. This allows two program components to effectively treat each other’s outputs as inputs, facilitating a symmetric decomposition.

Key Insights

Several significant insights emerge from this theoretical framework:

  1. Loops as Atomic Units: The fundamental unit of a logic program that cannot be split is the loop. As long as the integrity of strongly connected components is maintained, the program can be partitioned.
  2. First-Class Variables: By operating within a first-order framework, the authors demonstrate that splitting remains valid even in the presence of variables and complex constraints. This eliminates the need to "ground" a program (convert it to propositional logic) before applying splitting techniques.
  3. The "Input" Atom Intuition: The paper formalizes how predicates can be chosen arbitrarily rather than determined by rules, allowing for symmetric decomposition where components interact without a strict hierarchy.
  4. Simplification of Double Negation: A surprising result of this framework is a theorem showing that under specific conditions, double negation ($\neg\neg F$) can be removed without altering the stable models. In the context of stable model semantics, where $ eg\neg F$ is typically not equivalent to $F$, this provides a powerful tool for formula simplification.

Applications: The Event Calculus

To demonstrate the practical utility of their theorems, the authors apply them to the Event Calculus, a complex framework used for reasoning about actions and change. Traditionally, the Event Calculus is expressed through multiple interrelated parts. Using the splitting theorem, the authors show that these parts can be collapsed into a single, streamlined stable model expression. This simplification is crucial for translating abstract logical frameworks into executable and efficient ASP code.

Furthermore, the paper illustrates how to use the splitting theorem to prove the correctness of abstract programs. For example, they show that a general program designed to find a "Large Clique" in a graph remains mathematically sound when combined with specific facts representing a concrete dataset.

Conclusion and Future Directions

The generalization of symmetric splitting provides a robust foundation for the next generation of ASP tools. By moving beyond simple propositional rules to arbitrary first-order sentences, the authors have bridged the gap between high-level logical theory and practical computation.

However, challenges remain. The application of these theorems is currently a manual process, and the effectiveness of any split is highly sensitive to the density of the dependency graph. In programs with large, highly interconnected components, meaningful splitting may still be difficult. Future research may focus on automating these decompositions and integrating them directly into ASP solvers to optimize the search for stable models in increasingly complex systems.

Summary updated

BibTeX
@inproceedings{ferraris2009symmetric,
  author = {Paolo Ferraris and Joohyung Lee and Vladimir Lifschitz and Ravi Palla},
  title = {{Symmetric Splitting in the General Theory of Stable Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
}
Figure