Algorithm Search⌘K

Modelcore

Circumscription

Also called McCarthy circumscription.

Entails what holds in all models that minimize the extension of chosen predicates, such as abnormality, with others fixed or varying.

Circumscription is the logic of "nothing is abnormal unless it has to be". McCarthy (1980) proposed it to formalize common-sense rules such as "birds fly": write bird∧¬ab⊃flies\mathit{bird} \wedge \neg\mathit{ab} \supset \mathit{flies} and then keep only the models in which the predicate ab\mathit{ab} is as small as the facts allow. A formula follows by circumscription when it is true in all these minimal models. Adding facts can make more things abnormal and so remove conclusions, which makes the logic nonmonotonic. In the propositional case, inference is Π2p\Pi_2^p-complete (Eiter and Gottlob 1993).

The machine

For a logic, the machine is its syntax and its semantics. This section gives the propositional case, which is the one with exact complexity results. McCarthy's original form is first-order, with the minimization written as a second-order axiom.

Syntax. An input is a finite set AA of propositional formulas and a partition of its atoms into three sets:

  • PP, the atoms to minimize (typically the abnormality atoms),
  • ZZ, the atoms that may vary during the minimization,
  • QQ, the atoms that stay fixed.

The circumscription is written Circ(A;P;Z)\mathrm{Circ}(A; P; Z).

Semantics. Identify a model with the set of atoms that it makes true. For two models MM and NN of AA, write M<P;ZNM <_{P;Z} N when

M∩Q=N∩QandM∩P⊊N∩P.M \cap Q = N \cap Q \quad\text{and}\quad M \cap P \subsetneq N \cap P.

The atoms of ZZ may differ freely. A model MM of AA is (P;Z)(P;Z)-minimal when no model NN of AA has N<P;ZMN <_{P;Z} M. The models of Circ(A;P;Z)\mathrm{Circ}(A; P; Z) are the (P;Z)(P;Z)-minimal models of AA. In the first-order case the same condition is the second-order formula

A(P,Z)∧¬∃P′∃Z′(A(P′,Z′)∧P′<P),A(P, Z) \wedge \neg \exists P' \exists Z' \bigl(A(P', Z') \wedge P' < P\bigr),

where P′<PP' < P says that the predicates P′P' have strictly smaller extensions than PP.

With finitely many atoms the order is well-founded, so every model of AA lies above a minimal one. Thus Circ(A;P;Z)\mathrm{Circ}(A; P; Z) is consistent whenever AA is.

What it counts

The central task is inference: given AA, PP, ZZ and a formula φ\varphi, decide whether φ\varphi is true in every (P;Z)(P;Z)-minimal model of AA, written Circ(A;P;Z)⊨φ\mathrm{Circ}(A; P; Z) \models \varphi. The secondary task is model checking: decide whether a given model of AA is minimal. Costs are measured as usual for propositional reasoning, in the size of AA and φ\varphi, with SAT as the basic oracle.

Relation to other models

  • Classical logic. Every model of the circumscription is a model of AA, so circumscription only adds conclusions: Th(A)⊆Th(Circ(A;P;Z))\mathrm{Th}(A) \subseteq \mathrm{Th}(\mathrm{Circ}(A;P;Z)).
  • Closed-world assumption. Minimizing all atoms with Z=Q=∅Z = Q = \emptyset is minimal-model reasoning. For a set of Horn clauses it gives the unique least model, which is what the CWA gives. For A={a∨b}A = \{a \vee b\} the CWA adds ¬a\neg a and ¬b\neg b and becomes inconsistent, while circumscription gives the two minimal models {a}\{a\} and {b}\{b\} and so concludes ¬(a∧b)\neg(a \wedge b). Extended closed-world reasoning is propositional circumscription under another name, which is why Eiter and Gottlob treat both together.
  • Default logic. Default logic gives several extensions and lets the reasoner choose, while circumscription always gives one theory. The default bird:flies/flies\mathit{bird} : \mathit{flies} / \mathit{flies} and the circumscription of ab\mathit{ab} in bird∧¬ab⊃flies\mathit{bird} \wedge \neg\mathit{ab} \supset \mathit{flies} draw the same conclusions on simple inputs, and skeptical default reasoning and circumscription agree on the Nixon diamond below. They do not agree in general.
  • Preferential models. For a fixed AA, PP and ZZ, define α∣ ⁣∼β\alpha \mathrel{|\!\sim} \beta to mean Circ(A∪{α};P;Z)⊨β\mathrm{Circ}(A \cup \{\alpha\}; P; Z) \models \beta. The models of AA, ordered by <P;Z<_{P;Z}, form a preferential model in which each state is a model, and the order is smooth because it is a strict partial order on a finite set. So this relation satisfies all the rules of System P. It need not satisfy Rational Monotonicity, because the order is not ranked.
  • Stable models. Every stable model of a normal logic program is a minimal model of the program read as classical clauses, but not every minimal model is stable. Stable models add a groundedness condition that minimal models lack.
  • Diagnosis. Minimizing the atoms AB(c)\mathit{AB}(c) in a system description and observations, with all other atoms varying, gives exactly the minimal diagnoses as the PP-parts of the minimal models.

Known results in the model

  • Inference is Π2p\Pi_2^p-complete for propositional circumscription (Eiter and Gottlob 1993). The upper bound: φ\varphi fails exactly when some model MM of AA falsifies φ\varphi and no model NN of AA has N<P;ZMN <_{P;Z} M, which is an NP guess followed by a coNP check. The lower bound holds by a reduction from ∀∃\forall\exists quantified Boolean formulas, see QBF.
  • Model checking is coNP-complete (Cadoli 1992). A model MM is not minimal exactly when a smaller model exists, which is an NP question.
  • Minimal models exist and the logic is consistent in the finite case, as shown above. So, unlike default logic, there is no existence problem.
  • First-order circumscription is second-order. In general the circumscription axiom is not equivalent to any first-order formula. For some classes of theories it is, and then a first-order theorem prover can be used.
  • The Yale shooting problem. Hanks and McDermott (1987) showed that minimizing abnormality over all time points gives an unintended minimal model in a simple action scenario. The fixes, such as chronological minimization and the separation of causal and inertial rules, changed how circumscription is used for the frame problem.

Examples

Tweety. A={bird, bird∧¬ab⊃flies}A = \{\mathit{bird},\ \mathit{bird} \wedge \neg\mathit{ab} \supset \mathit{flies}\}, P={ab}P = \{\mathit{ab}\}, Z={flies}Z = \{\mathit{flies}\}. The minimal models have ab\mathit{ab} false, so they make flies\mathit{flies} true, and Circ(A;P;Z)⊨flies\mathrm{Circ}(A; P; Z) \models \mathit{flies}. Add ¬flies\neg\mathit{flies} to AA. Now every model has ab\mathit{ab} true, and flies\mathit{flies} no longer follows. If flies\mathit{flies} were fixed instead of varying, the model with ab\mathit{ab} and ¬flies\neg\mathit{flies} could not be compared with the one with ¬ab\neg\mathit{ab} and flies\mathit{flies}, and the conclusion would be lost. The choice of ZZ matters.

Nixon diamond. A={q, r, q∧¬ab1⊃p, r∧¬ab2⊃¬p}A = \{q,\ r,\ q \wedge \neg\mathit{ab}_1 \supset p,\ r \wedge \neg\mathit{ab}_2 \supset \neg p\} with P={ab1,ab2}P = \{\mathit{ab}_1, \mathit{ab}_2\} and Z={p}Z = \{p\}. No model has both abnormality atoms false. The minimal models have ab\mathit{ab}-parts {ab1}\{\mathit{ab}_1\} (with ¬p\neg p) and {ab2}\{\mathit{ab}_2\} (with pp). So the circumscription entails ab1∨ab2\mathit{ab}_1 \vee \mathit{ab}_2 and ¬(ab1∧ab2)\neg(\mathit{ab}_1 \wedge \mathit{ab}_2), and it entails neither pp nor ¬p\neg p.

References

  1. John McCarthy, Circumscription, a form of non-monotonic reasoning, Artificial Intelligence 13(1-2), 27 to 39 (1980), the circumscription schema for a predicate and its model-theoretic reading as truth in all minimal models
  2. Thomas Eiter and Georg Gottlob, Propositional circumscription and extended closed-world reasoning are Pi2P-complete, Theoretical Computer Science 114(2), 231 to 245 (1993), the main theorem (inference from propositional circumscription with minimized, fixed and varying atoms is Pi2P-complete); addendum in Theoretical Computer Science 118, 315 (1993), doi:10.1016/0304-3975(93)90113-8
  3. Marco Cadoli, The complexity of model checking for circumscriptive formulae, Information Processing Letters 44(3), 113 to 118 (1992), the coNP-completeness of deciding whether a model is minimal
  4. Steve Hanks and Drew McDermott, Nonmonotonic logic and temporal projection, Artificial Intelligence 33(3), 379 to 412 (1987), the Yale shooting scenario and its two minimal models under circumscription of abnormality

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/8AEYF7/text.yaml