Truth Maintenance Systems for Non-Monotonic Reasoning

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 232 papers36 conceptsfrozen 2026-10-04

In classical logic, knowledge is "monotonic": once a fact is proven true, it remains true forever. However, real-world intelligence requires the ability to change one's mind. When a robot discovers a door is locked, it must retract its previous assumption that the path was clear. When a scheduler learns a machine has broken down, it must invalidate every task dependent on that machine.

Truth Maintenance Systems (TMS) provide the computational "bookkeeping" necessary for this flexibility. Rather than just storing what is true, a TMS records the justifications—the "why"—behind every belief. This allows a system to automatically propagate changes, resolve contradictions, and reason about multiple hypothetical worlds simultaneously.

The Bookkeeping of Belief

At its core, a TMS is a cache of logical dependencies. As David A. McAllester formalized in Truth Maintenance, the system treats reasoning as a collaboration between two modules: an Inference Engine, which discovers new implications, and the TMS, which manages the current set of beliefs based on those implications.

When the inference engine concludes that $A$ and $B$ imply $C$, it doesn't just add $C$ to a database. It tells the TMS: "$C$ is justified by $\{A, B\}$." If $A$ is later retracted, the TMS automatically marks $C$ as "out" (no longer believed). This mechanism, known as dependency tracking, ensures that the knowledge base remains internally consistent even as external facts shift. Bradley P. Allen and J. Mark Wright demonstrated in HSRL that this is essential for integrating structured data (like frames or schemata) with logical deduction, preventing "stale" data from polluting the system.

Non-Monotonicity and Default Reasoning

The true power of a TMS lies in non-monotonic reasoning, where a conclusion can be based on the absence of evidence. Jon Doyle, who introduced the foundational Truth Maintenance System in 1977, enabled this by allowing justifications to include "out-nodes."

For example, a system might believe "The car will start" justified by "The battery is charged" AND the absence of "The starter is broken." If the system later learns the starter is broken, the justification for the car starting is immediately invalidated. This allows agents to make "reasoned assumptions" Doyle (1983) and maintain a "current proof" that evolves over time James W. Goodwin (1985).

Efficiency through Dependency-Directed Backtracking

In complex problem-solving, like planning or scheduling, systems often hit "dead ends" where constraints are violated. Traditional systems use "chronological backtracking," undoing the very last step taken, even if that step had nothing to do with the conflict.

A TMS enables dependency-directed backtracking. Because the system tracks the rationale behind every decision, it can trace a contradiction back to the specific set of assumptions that caused it. Charles J. Petrie showed in Constrained Decision Revision how this allows planners to revise only the problematic choices while leaving the rest of a complex plan intact. Similarly, William S. Havens used this in the Platypus system to isolate and retract only the specific user choices that led to an inconsistent hardware configuration.

From Justifications to Assumptions

While early systems (Justification-based TMS or JTMS) tracked a single consistent worldview, Johan de Kleer introduced the Assumption-based Truth Maintenance System (ATMS) to handle multiple contexts simultaneously.

As explored in A Comparison of ATMS and CSP Techniques, an ATMS labels each fact with the minimal sets of assumptions (environments) under which it is true. This is particularly useful for:

  • Diagnosis: Tracking multiple competing hypotheses about which component in a circuit is failing Molineaux et al. (2010).
  • Logic Programming: Computing "stable models" by treating negations as assumptions Kave Eshghi (1990).
  • Qualitative Reasoning: Exploring "what-if" scenarios in thermodynamics education without recomputing the entire physical model Forbus & Whalley (1994).

Bridging Logic and Reality

The TMS serves as a bridge between abstract logic and the messy requirements of industrial AI. It prevents the "double counting" of evidence in probabilistic reasoning by tracking the lineage of conclusions Laskey & Lehner (1988), and it allows "articulate" software to explain its reasoning to users by reading back the recorded justifications Forbus & Whalley (1994).

By shifting the focus from static truth to dynamic justification, Truth Maintenance Systems allow AI to function in environments where information is incomplete, assumptions are necessary, and change is the only constant.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 39 papers
  2. Version 1 · 2026-10-04 · 32 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_dependency_tracking_3c7bdbcc,
  title = {dependency tracking},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dependency-tracking/rdr_3c7bdbcc4490404c954de14e3b4279b1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_truth_maintenance_systems_for_non_monoto_3c7bdbcc_v1,
  title = {Truth Maintenance Systems for Non-Monotonic Reasoning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/truth-maintenance-systems-for-non-monotonic-reasoning/rdr_3c7bdbcc4490404c954de14e3b4279b1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}