Algorithm Search⌘K

Problemcore

Concept satisfiability

Also called concept consistency.

Decide whether a concept can have an instance in some model of the TBox.

Concept satisfiability is the problem of deciding whether a concept CC can have an instance: whether some model II of a TBox TT has CI≠∅C^I \neq \emptyset. A concept that cannot is a modelling error, and many other reasoning tasks reduce to this one. For ALC it is PSPACE-complete without a TBox and EXPTIME-complete with a general TBox.

In plain words

You have a set of background rules and a description of a kind of thing. The question is whether the description can be true of anything at all, in some world where every rule holds. "A parent with no children" cannot be true of anything, because a parent has a child by definition. Such a description is a mistake in the rules or in the description. A program finds these mistakes by trying to build a small world in which some object fits the description, and it reports success or a proof that no such world exists.

Definition

The logic is ALC, with interpretations I=(ΔI,⋅I)I = (\Delta^I, \cdot^I) as on its page, and a TBox is a finite set of GCIs C⊑DC \sqsubseteq D (see TBox and ABox).

  • Input. An ALC concept CC and a TBox TT. The size nn of the input is ∣C∣|C| plus the sizes of the concepts in TT.
  • Question. Is there a model II of TT with CI≠∅C^I \neq \emptyset?

If the answer is yes, CC is satisfiable with respect to TT. If T=∅T = \emptyset, CC is satisfiable. The input has no ABox, so the complexity on this page is combined complexity: it is measured in the size of the concept and the TBox together.

Variants

  • Empty TBox. Satisfiability of a single concept.
  • Acyclic TBox. The TBox holds only definitions A≡CA \equiv C and A⊑CA \sqsubseteq C without cycles.
  • General TBox. Any finite set of GCIs.
  • Knowledge base consistency. The input also has an ABox, and the question is whether (T,A)(T, A) has a model.
  • Finite satisfiability. The model must be finite. For ALC this is the same problem, because ALC has the finite model property, also with general TBoxes.
  • Other logics. In EL without ⊥\bot every concept is satisfiable, so the problem is trivial. In larger logics the cost rises: SROIQ, the logic of OWL 2 DL, is N2EXPTIME-complete (Kazakov 2008).

Examples

  • ∃r.A⊓∀r.(¬A⊔B)⊓∀r.¬B\exists r.A \sqcap \forall r.(\neg A \sqcup B) \sqcap \forall r.\neg B is not satisfiable. An instance has an rr-successor yy in AA, and yy must also be in ¬A⊔B\neg A \sqcup B and in ¬B\neg B. Both choices for the disjunction fail.
  • A⊓¬B⊓∃r.(¬A⊓B⊓∃r.(¬A⊓¬B⊓∃r.(A⊓B)))A \sqcap \neg B \sqcap \exists r.(\neg A \sqcap B \sqcap \exists r.(\neg A \sqcap \neg B \sqcap \exists r.(A \sqcap B))) is satisfiable by an rr-chain of 4 elements. An instance and the successors that the concept asks for have the 4 different combinations of AA and BB, so they are 4 different elements, and no model has 3 elements. A search over small interpretations cannot prove that a concept is unsatisfiable.
  • With T={A⊑∃r.A}T = \{A \sqsubseteq \exists r.A\}, AA is satisfiable, for example by one element in AA with an rr-edge to itself. Each model of TT in which AA is not empty has an rr-cycle or an infinite rr-chain.
  • With T={A⊑∃r.A, A⊑∀r.¬A}T = \{A \sqsubseteq \exists r.A,\ A \sqsubseteq \forall r.\neg A\}, AA is not satisfiable: an element in AA needs an rr-successor in AA, and all its rr-successors must be outside AA.

Known algorithms

  • The tableau algorithm for ALC. It tries to build a tree-shaped model. Without a TBox it runs in polynomial space. With a general TBox it needs blocking, and its simple form takes double exponential time.
  • Tableaux with caching. EXPTIME tableaux share the result of each label that was seen. They match the EXPTIME bound for general TBoxes.
  • Optimized reasoners. Practical reasoners use tableaux or the hypertableau calculus, with absorption, backjumping and caching.
  • For EL. Satisfiability with ⊥\bot falls out of EL classification in polynomial time.
AlgorithmTimeSpacePropertiesCode
Tableau algorithm for ALC2^O(n^2) worstO(n^3) extrabuilds modeldeterministicexactrecursive1 language
Hypertableau calculus2^2^2^O(n) worst2^2^O(n) extrabacktrackingbuilds modeldeterministicexact1 language

Bounds

logic and TBox complexity source
ALC, empty TBox PSPACE-complete Schmidt-Schauß and Smolka 1991
ALC, acyclic TBox PSPACE-complete Lutz 1999
ALC, general TBox EXPTIME-complete Schild 1991, with Fischer and Ladner 1979
EL with ⊥\bot, general TBox in P see EL classification
SROIQ N2EXPTIME-complete Kazakov 2008

The proofs for ALC are on the pages ALC is PSPACE-complete and ALC with general TBoxes is EXPTIME-complete. The upper bound without a TBox comes from a tableau that keeps one branch at a time. The EXPTIME lower bound comes from the hardness of propositional dynamic logic. So the problem with a general TBox is not in PSPACE unless PSPACE = EXPTIME, and it has no polynomial-time algorithm, because P is a proper subset of EXPTIME.

Reductions

  • To and from subsumption. CC is satisfiable with respect to TT if and only if C⊑T⊥C \sqsubseteq_T \bot does not hold. In the other direction, C⊑TDC \sqsubseteq_T D holds if and only if C⊓¬DC \sqcap \neg D is not satisfiable with respect to TT. See concept subsumption.
  • To consistency. CC is satisfiable with respect to TT if and only if the knowledge base (T,{C(a)})(T, \{C(a)\}) is consistent, for a new individual name aa.
  • To and from modal logic. ALC concepts are formulas of the multimodal logic K, and a general TBox acts as a universal modality. See ALC and modal logic K.

Applications

  • Finding modelling errors. An ontology editor reports each concept name that is unsatisfiable with respect to the TBox, since no instance can ever have that name.
  • Subsumption and classification. By the reduction above, a satisfiability procedure answers subsumption questions, and so builds the class hierarchy of an ontology (ontology classification).

References

  1. Manfred Schmidt-Schauß and Gert Smolka, Attributive concept descriptions with complements, Artificial Intelligence 48(1), 1991, pages 1 to 26 (satisfiability and subsumption of ALC concepts are PSPACE-complete)
  2. Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 2 (reasoning tasks and their reductions), Chapter 4 (tableau algorithms) and Chapter 5 (the complexity of ALC with and without TBoxes)
  3. Franz Baader, Diego Calvanese, Deborah L. McGuinness, Daniele Nardi and Peter F. Patel-Schneider (eds.), The Description Logic Handbook, second edition, Cambridge University Press, 2007, Chapter 3, Complexity of Reasoning, by Francesco M. Donini (the complexity results for the AL family)
  4. Klaus Schild, A correspondence theory for terminological logics: preliminary report, Proceedings of the 12th International Joint Conference on Artificial Intelligence (IJCAI), 1991, the correspondence with modal logic K and propositional dynamic logic, and the EXPTIME bound for general inclusions (general locator)
  5. Michael J. Fischer and Richard E. Ladner, Propositional dynamic logic of regular programs, Journal of Computer and System Sciences 18(2), 1979, pages 194 to 211 (the EXPTIME lower bound for propositional dynamic logic)
  6. Carsten Lutz, Complexity of terminological reasoning revisited, Proceedings of the 6th International Conference on Logic for Programming and Automated Reasoning (LPAR'99), LNAI 1705, Springer, 1999, ALC satisfiability with respect to acyclic TBoxes stays in PSPACE (general locator)
  7. Yevgeny Kazakov, RIQ and SROIQ are harder than SHOIQ, Proceedings of the 11th International Conference on Principles of Knowledge Representation and Reasoning (KR 2008), SROIQ satisfiability is N2EXPTIME-complete (general locator)

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)
WritingW2 basic
  • a contract.yaml