object

atms

Portable incremental Assumption-based Truth Maintenance System.

Availability:
logtalk_load(atms(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-10-18
Compilation flags:
static, context_switching_calls
Implements:
Uses:
Remarks:
  • Algorithm: A label is an antichain of minimal environments. New label environments are propagated as deltas through a reverse justification index.

  • Nogoods: Nogoods are also maintained as an antichain and immediately prune every affected label.

  • Retraction: General removals rebuild derived state from surviving assumptions and stored justifications. Batch removals rebuild at most once; isolated non-assumption node removals preserve the other derived indexes.

  • Portability: The implementation is purely functional and uses the portable AVL tree dictionary for its state indexes.

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)