NMR - Default Logic

Nonmonotonic Reasoning

Motivation: When Classical Logic Falls Short

In classical logic, a conclusion that is once derived remains valid regardless of additional information. This property, known as monotonicity, often fails to reflect how real-world reasoning works.

Consider the following two statements:

Classical logic has no built-in mechanism for accommodating exceptions like penguins. Once you accept the rule that all birds can fly, the system cannot revise this conclusion without contradiction. This is where non-monotonic logic — and in particular, default logic — becomes useful.

What Is Default Logic?

Default logic, introduced by Raymond Reiter (1980), is a formalism that extends classical logic with the ability to draw conclusions tentatively — that is, as long as no contradictory evidence is discovered. The core idea is to express generalizations in a way that allows for exceptions, without requiring explicit enumeration of every exception.

Default logic introduces a new construct: the default rule, written in the following form:

\[\frac{\phi : \psi_1, \dots, \psi_n}{\chi}\]

Where:

Example: Birds and Tweety

Let’s encode the assumption that Tweety is a bird by default, unless evidence to the contrary is known.

We can express this as a default rule:

\[\frac{\text{true} : \text{Bird}(\text{Tweety})}{\text{Bird}(\text{Tweety})}\]

This rule says:
“Assume Tweety is a bird, unless you know otherwise.”

Comparison with Circumscription

In circumscription, exceptions are managed using explicit abnormality predicates:

\[\text{Bird}(x) \land \neg \text{Abnormal}(x) \rightarrow \text{Flies}(x)\]

The abnormal predicate $\text{Abnormal}(x)$ is then circumscribed (minimized), so that as few things as possible are considered exceptions.

In contrast, default logic does not require introducing abnormal predicates. Instead, exceptions are handled using the justification part of the default rule. A default rule may apply if its justification is consistent — but it is not forced to be evaluated unless challenged.

Key Difference:

Aspect Circumscription Default Logic
Mechanism Minimize exception predicate (e.g., $\text{Abnormal}(x)$) Use justification to check consistency
Exception handling Must be explicitly represented Implicitly blocked by contradictory evidence
Evaluation Mandatory evaluation of abnormality Conditional: justification only evaluated when contradicted

Circumscription is more syntactic — requiring abnormality conditions to be embedded in logical form. Default logic is more procedural — applying inference only when no contradiction arises.

Optionality of Justifications

One of the key insights in default logic is that justifications are not mandatory evaluations. A rule with justification $\psi$ can be applied as long as $\neg \psi$ is not provable — not necessarily that $\psi$ is provable.

This mirrors human reasoning:
“I will assume this is true unless I see a reason to doubt it.”

If a later statement contradicts the justification, then the rule is rejected.

If you want the justification to be strictly enforced, you can include it directly in the prerequisite, turning the default rule:

\[\frac{\phi : \psi}{\chi}\]

into a classical rule:

\[\phi \land \psi \rightarrow \chi\]

This collapses the non-monotonic behavior into classical inference.

Integration with Classical Logic

Another advantage of Reiter’s framework is that default logic does not discard classical logic. Instead, it builds on top of it.

Given a set of known facts $W$, the classical consequences are defined as:

\[Th(W)\]

— the deductive closure under classical first-order logic.

Default rules are applied only when needed, and their conclusions are added to $Th(W)$ only if their justifications remain consistent.

This preserves the modularity and reliability of classical inference while introducing non-monotonic flexibility through default rules.

Caution: Conceptual Gaps and Intuition

While default logic adds expressive power, it can also lead to results that diverge from human intuition. A system might apply a default rule that is formally valid but semantically misleading.

For example, if a default applies in an unintended context (e.g., due to missing exceptions), it might derive a conclusion that seems obviously wrong to a human observer, yet is consistent in the logic.

This highlights the importance of carefully crafting default rules, especially in systems that aim to align with human expectations.

Historical Notes and Development

Default logic was first proposed by Raymond Reiter in 1980 and has since inspired extensive work in:

It also relates to other non-monotonic frameworks such as:

Conclusion

Default logic offers a flexible and powerful framework for encoding real-world knowledge that is inherently defeasible. It enables systems to reason in the presence of incomplete information, handle exceptions gracefully, and revise beliefs when contradictions arise.

By separating prerequisites, justifications, and conclusions, default logic allows for structured and robust inference that aligns more closely with human commonsense reasoning. Its ongoing development continues to shape the field of AI reasoning and logic-based knowledge systems.


Technical Foundations of Default Logic

Default Logic, introduced by Raymond Reiter in 1980, offers a formal framework for representing commonsense reasoning—especially in scenarios where classical logic falls short in handling uncertainty or exceptions. In this post, we explore its technical foundations and the philosophical implications behind its structure.

Structure of a Default Theory

A Default Theory is generally represented as:

Each default rule $\delta$ has the following form:

\[\delta = \frac{\pi : \psi_1, \cdots, \psi_n}{X}\]

Where:

A special case of defaults is the normal default, expressed as:

\[\pi : \psi / \psi\]

Here, the justification and the consequent are identical.

Grounded Defaults and Default Schemas

Defaults must be ground, meaning they contain no variables and are either true or false. For example:

\[\text{Bird(Tweety)} : \text{Flies(Tweety)} / \text{Flies(Tweety)}\]

If a default contains variables (e.g., $\text{Bird}(X) : \text{Flies}(X) / \text{Flies}(X)$), it is called an open default or default schema. These are instantiated using ground substitutions $\sigma$ that assign values to all free variables. For example, given facts like $\text{Bird(Tweety)}$ and $\text{Bird(Sam)}$, the schema is grounded for each constant to form usable default rules.

Properties of Extensions

A key concept in Default Logic is the extension, representing a possible world state generated by applying applicable defaults to the base facts.

Property 1: Inclusion of Known Facts

An extension $E$ must always include $W$, since it represents known truths.
That is: $W \subseteq E$

Applicability of a Default

A default $\delta$ is applicable to a deductively closed set $E$ iff:

This implies that classical inference is first performed (ensuring deductive closure), and then defaults are applied.

Closure Under Defaults

An extension $E$ must be closed under the application of defaults in $D$:
If a default is applicable, its consequent $X$ must be included in $E$.
This results in an extension being a maximally expanded set of beliefs under the given defaults.

Note: Not all default theories guarantee the existence of an extension. Conflicting defaults or contradictory justifications may prevent one from forming.

Application Order and In/Out Sets

The order in which defaults are applied can affect the resulting extension.
Let $\Pi = (\delta_0, \delta_1, \cdots)$ represent the sequence of applied defaults. We define:

Nonmonotonicity and Constrained Default Logic

The separation between In($\Pi$) and Out($\Pi$) reflects the nonmonotonic nature of Default Logic: A justification may be accepted when first applied but later contradicted by derived information. Surprisingly, this does not invalidate the inference in basic default logic. However, this leads to results that may conflict with human commonsense reasoning.
To address this, Constrained Default Logic was introduced. It removes the Out set and ensures consistency between justifications and consequences directly within the consequence set—resulting in more coherent and logically consistent reasoning.

Default Logic elegantly captures how we often reason by default in daily life:
“If nothing says otherwise, go ahead and assume it.” It integrates classical logic with flexible, context-sensitive rules, making it a powerful tool for modeling intelligent reasoning systems.

In future posts, we’ll explore real applications, complexity results, and comparisons with other nonmonotonic systems like Circumscription and Autoepistemic Logic.

Reference


Default Logic and Bounded Treewidth, Johannes

Large-Scale Commonsense Knowledge for Default Logic Reasoning, Järv