Theoremresearch
Sigma2P-completeness of default logic
Also called Gottlob default logic complexity.
Deciding whether a propositional default theory has an extension, or credulous entailment, is Sigma2P-complete.
Reasoning with defaults is harder than classical reasoning by exactly one level of the polynomial hierarchy. Gottlob (1992) proved that, for finite propositional default theories, deciding whether an extension exists and deciding whether a formula is in some extension are -complete, and deciding whether a formula is in every extension is -complete. The upper bound comes from guessing which defaults fire and checking the guess with polynomially many calls to a SAT oracle. The lower bound encodes a quantified Boolean formula with one pair of defaults per variable of .
Statement
A finite propositional default theory is a pair of a finite set of propositional formulas and a finite set of defaults over finitely many atoms. The input size is the total length of , and the query .
Theorem (Gottlob 1992). For finite propositional default theories:
- EXT, deciding whether has an extension, is -complete.
- CRED, deciding whether is in some extension of , is -complete.
- SKEP, deciding whether is in every extension of , is -complete.
CRED and SKEP are already hard for theories with and only normal, prerequisite-free defaults. EXT is already hard for such theories plus one default that is not normal. Hardness is under polynomial-time many-one reductions.
In plain words
A default reasoner has to do two things. It must choose which rules with exceptions to use, and for each choice it must check, with ordinary logic, that the choice is stable: every rule used is allowed and every rule left out is really blocked. The choosing is like an NP search, and each check is a set of satisfiability tests. Gottlob showed that this "search over choices, each checked with a SAT solver" pattern is not only enough but needed: unless the polynomial hierarchy collapses, no method can turn default reasoning into a single SAT problem of polynomial size.
Proof
Write for the classical consequences of , for the conclusions of a set of defaults, and for let .
Lemma. For a set , define and . The sets grow, so they become constant at some . Then .
Proof. Let . It contains and is closed. If a default has its prerequisite in and its justifications consistent with , it is in , so its conclusion is in . As is the least such set, . Conversely, by induction on , every conclusion of is in : a default of has its prerequisite in and passes the justification test, so its conclusion is in . Hence .
So every extension equals for a subset of .
Membership. For EXT, guess and accept when is an extension. To check this, compute for by the iteration of the lemma. Each round makes at most tests "" (one coNP question) and one test " is satisfiable" (one NP question) for each justification in , and there are at most rounds. Then test by checking that each side entails each formula of the other, again polynomially many coNP questions. By the lemma, the test succeeds exactly when . A nondeterministic polynomial-time machine with an NP oracle does all of this, so EXT is in . For CRED, also check . For the complement of SKEP, check instead. So CRED is in and SKEP is in .
The gadget. Let be a formula over disjoint sets of atoms and . Put and . For an assignment of let be the set of the literals over that makes true. Let be plus extra defaults whose conclusions are or a fresh atom. Claim: in every extension of , exactly one of the two defaults for each applies, so for one . Indeed, if is inconsistent, every justification fails, so , which is consistent, a contradiction. As is consistent, or is consistent with , so at least one of the two defaults applies, and both cannot apply, since then .
CRED is -hard. Reduce from the truth of , which is -complete (see QBF). Take . By the claim and the lemma, each extension is , and for every the set is one, because exactly the defaults for pass the test. Now exactly when holds for and every assignment of . So is in some extension exactly when is true.
SKEP is -hard. Reduce from . Take . By the claim, an extension is or . If is satisfiable, the default is not blocked by either set, so only is a fixed point, and it is one. If it is unsatisfiable, the default is blocked, and the extension is , which does not contain . So is in every extension exactly when is satisfiable together with every , that is, when is true.
EXT is -hard. Reduce from . Take a fresh atom and with . If applies in an extension , then , so its own justification is inconsistent with , which is a contradiction. So does not apply, and by the claim . This is an extension exactly when is blocked, that is, when . As does not occur in or , this holds exactly when . So an extension exists exactly when is true.
Each reduction builds defaults of total size in polynomial time.
Consequences
- No polynomial encoding into SAT. If any of the three tasks had a polynomial-time reduction to SAT, then and the polynomial hierarchy would collapse to its first level. Practical default reasoners therefore use a QBF solver, or a guess-and-check loop in which one SAT solver proposes generating sets and another refutes them, in the style of CEGAR.
- Autoepistemic logic. The same three results hold for stable expansions of finite propositional autoepistemic theories (Niemelä 1990, Gottlob 1992; Thomas and Vollmer 2010, Theorem 4.6). Membership uses Niemelä's finite characterization of expansions by full sets of subformulas .
- Related second-level problems. Propositional circumscription inference is -complete, the existence of an abductive explanation is -complete, and so is the existence of an answer set of a disjunctive program. All of these come from the same pattern: a minimality or fixed-point test that needs a coNP check inside an NP guess.
- The program fragment. When the justifications are negated atoms, the prerequisites are conjunctions of atoms, the conclusions are atoms and , the theory is a normal logic program, and the entailment checks become polynomial. Existence then drops to NP, as the page on stable model existence shows.
- Model checking. Deciding whether a given interpretation is a model of some extension stays on the second level: Liberatore and Schaerf (2005) showed that this model-checking problem is -complete (Thomas and Vollmer 2010, Section 3).
Tightness
The upper bounds match the lower bounds, so the classes are exact. The hardness also survives strong restrictions: in the proof, is empty, every default for CRED and SKEP is normal and prerequisite-free, and only one default is not normal for EXT. That one default cannot be removed: every normal theory has an extension (Reiter 1980), so EXT is trivial for normal theories. The hardness disappears only when the formulas themselves are restricted, for example to literals and Horn clauses. Kautz and Selman (1991) and Stillman (1990) found such fragments in which some tasks drop to NP or to polynomial time (Thomas and Vollmer 2010, Section 3).
History
Reiter (1980) defined default logic and observed that it is not semi-decidable in the first-order case. The exact propositional complexity was open until 1992. Gottlob (1992) proved the and completeness results for default logic and for autoepistemic logic, and Stillman (1992) obtained results for default logic independently. Earlier, Kautz and Selman (1991) and Stillman (1990) had shown NP-completeness and polynomial cases for restricted default theories, and Niemelä (1990) had placed autoepistemic reasoning in the second level. Liberatore and Schaerf (2005) later settled the complexity of model checking.
References
- Georg Gottlob, Complexity results for nonmonotonic logics, Journal of Logic and Computation 2(3), 397 to 425 (1992), the results for default logic (Sigma2P-completeness of existence and credulous reasoning, Pi2P-completeness of skeptical reasoning) and for autoepistemic logic
- Raymond Reiter, A logic for default reasoning, Artificial Intelligence 13(1-2), 81 to 132 (1980), Section 2 (the definition of extensions and the characterization by generating defaults)
- Michael Thomas and Heribert Vollmer, Complexity of non-monotonic logics, Bulletin of the EATCS 102 (2010), arXiv:1009.1990, Theorem 3.5 (default logic, citing Gottlob 1992 and Stillman 1992), Theorem 4.6 (autoepistemic logic), Theorem 6.1 (abduction) and the remarks on model checking (Liberatore and Schaerf 2005) and on the fragments of Kautz and Selman and of Stillman
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 5VZ41P Edit this page History Report an error Markdown