Modelcore
Default logic
Also called Reiter's default logic.
Extends first-order logic with default rules of the form a:b/c, read as from a, if b is consistent, conclude c.
Default logic adds rules with exceptions to classical logic. A default reads "if holds and it is consistent to assume , conclude ". Reiter (1980) gave it a fixed-point semantics: a set of beliefs is acceptable, an extension, when it is exactly what the facts and the defaults that it does not block derive. A theory can have one extension, several or none, so a reasoner must choose between credulous consequence (in some extension) and skeptical consequence (in every extension). For finite propositional theories both questions sit on the second level of the polynomial hierarchy.
The machine
For a logic, the machine is its syntax and its semantics.
Syntax. A default is an expression
where the prerequisite , the justifications and the conclusion are formulas. A prerequisite is often left out, as in . A default theory is a pair of a set of formulas (the facts) and a set of defaults. Reiter allows first-order formulas, and a default with free variables stands for all its ground instances. The rest of this page uses the propositional case: finitely many atoms, and finite.
Important special forms:
- normal defaults , where the justification is the conclusion,
- semi-normal defaults ,
- prerequisite-free defaults .
Semantics. Write for the classical consequences of . For a set of formulas, is the smallest set that contains , is closed under , and contains for each default whose prerequisite is in and none of whose justifications has its negation in . An extension is a set with . So is used only to test the justifications, and everything in must be derived from . The page on extensions gives Reiter's iterative test, the generating defaults and a brute-force algorithm.
Steps. A derivation in an extension has two kinds of steps: classical inference, and the application of a default whose prerequisite is already derived and whose justifications are consistent with the final extension. The second kind refers to the end result. This is why a default step cannot be checked locally, and why the logic is nonmonotonic: a new fact can make a justification inconsistent and so remove a conclusion.
What it counts
Default logic defines three decision tasks for a finite propositional theory and a formula :
- Existence: does have an extension?
- Credulous reasoning: is in some extension?
- Skeptical reasoning: is in every extension? A theory with no extension skeptically entails every formula.
The relation " is in every extension of " gives a consequence relation . It is not monotonic: Tweety the bird flies by the default , but not after the fact , or the facts and , are added.
The cost measure is the usual one for propositional reasoning: the time as a function of the size of , and , with an oracle for classical satisfiability when the tasks are placed in the polynomial hierarchy.
Relation to other models
- Classical logic. With the unique extension is , and default logic is classical logic.
- Closed-world assumption. The defaults for every atom give a form of the closed-world assumption. Unlike the classical CWA, they cannot make a consistent theory inconsistent: for there are two extensions, and .
- Logic programs. The rule reads as the default . Under this reading, the stable models of a normal program are exactly the atoms of the extensions of the default theory with . Answer set programming is therefore a restricted, decidable and fast fragment of default logic.
- Autoepistemic logic. It expresses "consistent to assume " as inside the object language. Extensions and stable expansions are similar fixed points, but a premise such as has an expansion that contains , while the default has no extension that contains .
- Circumscription. It works with minimal models instead of fixed points, and it always gives one theory instead of a family of extensions. Skeptical default reasoning and circumscription agree on many small examples, such as the Nixon diamond, but not in general.
- Preferential logics. Skeptical default consequence fails Cautious Monotonicity even for normal defaults (Makinson's example in Kraus, Lehmann and Magidor 1990, Section 3.1, worked out on the extension page). So it is not a System P relation.
Known results in the model
- Normal theories always have an extension (Reiter 1980, Section 3). They are also semi-monotonic: adding a normal default keeps each old extension inside a new one. Two different extensions of a normal theory are inconsistent with each other. Reiter used these facts to give a goal-directed proof procedure for normal defaults.
- Non-normal defaults can destroy all extensions. The single default has none. Add it to any theory with consistent facts in which no formula mentions , and the new theory has no extension: if is in a candidate , the default that is the only source of is blocked, and if is not in , the default applies and puts in.
- First-order default logic is not semi-decidable. A default step needs a consistency test, and consistency in first-order logic is not semi-decidable. As Reiter (1980) observed, the consequences of a first-order default theory therefore need not form a recursively enumerable set.
- Exact complexity in the propositional case (Gottlob 1992; see the theorem page): existence and credulous reasoning are -complete, and skeptical reasoning is -complete. Credulous and skeptical reasoning are already hard for normal theories with . Existence is trivial for normal theories, and its hardness needs one non-normal default.
- Fragments. Kautz and Selman (1991) and Stillman (1990) studied default theories built from literals and Horn clauses, where some tasks drop to NP or to polynomial time (Thomas and Vollmer 2010, Section 3).
- Algorithms. For small theories, the brute-force search over the generating defaults decides every task. Larger propositional theories are handled by reduction to QBF or by a guess-and-check loop with a SAT solver, which matches the upper bound. The program fragment is handled by ASP solvers.
References
- Raymond Reiter, A logic for default reasoning, Artificial Intelligence 13(1-2), 81 to 132 (1980), Section 2 (defaults, default theories, the operator Gamma and extensions), Section 3 (normal default theories, existence, semi-monotonicity and orthogonality) and Section 4 (proof theory for normal defaults)
- Georg Gottlob, Complexity results for nonmonotonic logics, Journal of Logic and Computation 2(3), 397 to 425 (1992), the Sigma2P-completeness of extension existence and credulous reasoning and the Pi2P-completeness of skeptical reasoning for finite propositional default theories
- Sarit Kraus, Daniel Lehmann and Menachem Magidor, Nonmonotonic reasoning, preferential models and cumulative logics, Artificial Intelligence 44(1-2), 167 to 207 (1990), Section 3.1 (default logic, even with normal defaults only, fails Cautious Monotonicity)
- Michael Thomas and Heribert Vollmer, Complexity of non-monotonic logics, Bulletin of the EATCS 102 (2010), arXiv:1009.1990, Section 3, Theorem 3.5 (the complexity of default logic) and the discussion of the fragments studied by Kautz and Selman and by Stillman
Where this leads
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 Z1MD5D Edit this page History Report an error Markdown