Abstract
Reiter’s Default Logic is a cornerstone of nonmonotonic reasoning, yet its computational complexity—being $\Sigma_2^P$-complete in the propositional case—has long hindered its practical application. This paper presents a novel decision procedure for default logic that avoids the exponential memory requirements of previous approaches. By introducing a compact representation of logical extensions based on "full sets" of justifications and utilizing a backtracking algorithm that operates within polynomial space, this work provides a theoretically sound and practically optimized framework for building efficient nonmonotonic reasoners.
Introduction
In classical logic, the addition of new information never invalidates existing conclusions. However, human reasoning is inherently nonmonotonic; we frequently make "default" assumptions that are retracted upon the discovery of new facts. While Reiter’s Default Logic provides a formal framework for this behavior, it is computationally demanding. Determining whether a conclusion holds is significantly harder than standard SAT solving, often requiring either exponential memory or reliance on sub-tasks that exceed the complexity of the original problem. This paper aims to bridge the gap between theoretical formalization and practical implementation through the extensionsDL algorithm.
The Computational Challenge of Default Logic
Default logic allows for rules of the form "if $A$ is known and it is consistent to assume $B$, then conclude $C$." The difficulty lies in the "consistency" check, which requires considering the entire set of conclusions (the extension). Because extensions are self-referential and potentially numerous, previous automation attempts often struggled with memory explosion. The problem is $\Sigma_2^P$-complete, placing it at the second level of the polynomial hierarchy, necessitating an approach that is more sophisticated than simple backtracking search.
The extensionsDL Algorithm
The core contribution of this work is the extensionsDL algorithm, a backtracking search method designed to find extensions efficiently. The algorithm is built upon three primary pillars:
1. Compact Representation via Full Sets
Rather than tracking every possible conclusion within an extension, the method focuses exclusively on the "negative antecedents" (the justifications) of the default rules. These are represented as "full sets." The insight here is that an extension is uniquely determined by its justifications; if one identifies which justifications are not believed, the rest of the extension follows logically. This dramatically reduces the state space the algorithm must navigate.
2. Separation of Concerns
The algorithm decouples the search process from the logical deduction process. It treats the classical reasoning task as a "black box" theorem prover. This modularity allows the search task to focus on finding valid full sets while the theorem prover handles the underlying propositional logic checks.
3. Pruning and Optimization
To maintain efficiency, the algorithm employs two specialized functions:
expand: This function cautiously adds formulas to the current set if they are "grounded" or logically forced by current assumptions. This reduces the number of choice points where the algorithm must guess.conflict: This function detects early contradictions. If a branch of the search tree cannot possibly result in a valid extension, the algorithm backtracks immediately, preventing unnecessary computation.
Key Insights and Results
Groundedness and Search Space
The paper exploits the property that default logic extensions must be "grounded." By utilizing the expand function to fill in parts of the extension automatically, the algorithm minimizes the branching factor of the search tree. This focus on justifications ($nb(\phi)$) rather than prerequisites ensures that the search remains focused on the most critical constraints of the theory.
Theoretical Soundness and Complexity
The author provides theoretical proofs that extensionsDL is both sound and complete: it will always find a valid extension if one exists and will never return a false positive. Furthermore, the algorithm is guaranteed to operate within polynomial space. This is a significant improvement over tableau-based or truth-maintenance systems that risk memory exhaustion on complex rule sets.
Performance Optimizations
Initial experiments indicated that the optimized versions of the expand and conflict functions (E-I1 and C-I1) allow the system to handle theories with several hundred rules by detecting contradictions much earlier than naive implementations. The method aligns correctly with the known $\Sigma_2^P$ complexity of propositional default logic, ensuring no unnecessary overhead is introduced.
Limitations and Future Directions
While the algorithm represents a significant step forward, its performance is inherently tied to the speed of the underlying classical theorem prover used as a subroutine. Additionally, the current implementation relies on heuristic choices at branching points; the development of more sophisticated heuristics to determine which formulas to branch on first remains a priority for future research.
Finally, the author suggests that moving toward "goal-directed" reasoning—where the search focuses only on rules relevant to a specific query rather than constructing an entire extension—could further enhance the practical utility of the system in large-scale knowledge bases.
Summary updated