Theoremadvanced
PSPACE-completeness of ALC concept satisfiability
Also called Schmidt-Schauss-Smolka complexity theorem.
Satisfiability of ALC concepts with no TBox is PSPACE-complete, by a depth-first tableau and a reduction from QBF.
Schmidt-Schauß and Smolka proved in 1991 that it is PSPACE-complete to decide whether an ALC concept is satisfiable when there is no TBox. The upper bound comes from a tableau that explores a tree model depth first and keeps only one branch in memory. The lower bound is a reduction from the truth of quantified Boolean formulas. The same bound holds for subsumption, and it is the bound of the modal logic K that Ladner proved in 1977.
Statement
ALC concepts are built from concept names, and with negation , conjunction , disjunction , existential restriction and universal restriction , for role names . The size of a concept is the number of symbols in it. The constructors have no numbers, so there is no question of unary or binary coding. The TBox is empty: is satisfiable if for some interpretation , and if for every .
Theorem. The following problems are PSPACE-complete under polynomial-time many-one reductions.
- Given an ALC concept , decide whether is satisfiable.
- Given ALC concepts and , decide whether .
Both problems are PSPACE-hard already when there is only one role name. Satisfiability is decided in space.
The upper bound stays true for satisfiability with respect to an acyclic TBox, in which every concept name is defined at most once and no name depends on itself (Lutz 1999). This extension is not proved here. With a general TBox the problem is EXPTIME-complete; see the general TBox theorem.
In plain words
To check whether an ALC concept can be true of anything, you build a tree of objects that the concept forces to exist. That tree can be very large, but its depth is at most the nesting depth of the concept. You can explore it one path at a time and forget each path when you are done, so the memory you need grows only with the depth. In the other direction, any puzzle about formulas of the form "for every x there is a y such that ..." can be written as one ALC concept. So ALC is exactly as hard as those puzzles, which are believed to need more than polynomial time.
Proof
The full proof is in the proof file below. Here is its plan.
Upper bound. Put in negation normal form. A completion of a set of subconcepts of is a superset that contains both conjuncts of each conjunction in it, one disjunct of each disjunction in it, and no clash (, or together with ). The procedure tries every completion of . For each it calls itself on the successor set , and it accepts if all these calls accept. A successor set has smaller role depth than , so the recursion has at most levels. Each level stores one completion as a bit vector over the at most subconcepts, which also counts the loop, and the position of the current existential restriction. This gives space. Soundness builds a tree model from the accepting calls: a new root with an -edge to the model of each successor set. Completeness reads the completion off a model: the set of subconcepts that hold at an element is a completion, and each -witness of an existential restriction is in every concept of the successor set.
Lower bound. Let be a closed quantified Boolean formula with propositional. With one role and concept names , the concept says, for each depth along :
- if , there is an -successor in and one in ; if , there is an -successor;
- every -successor keeps the values of ;
and at depth , the concept obtained from by reading as holds. Each condition at depth is put under nested . There are conjuncts of size . A winning strategy for the existential player in gives a tree model of . Conversely, in any model of , induction from depth up to the root shows that the formula that remains after the first quantifiers is true under the values at any element at depth . So is true if and only if is satisfiable.
Subsumption. holds if and only if is unsatisfiable, and is satisfiable if and only if . PSPACE is closed under complement, so the two problems have the same complexity.
For example, is true, because can be chosen as the negation of . Its concept has four conjuncts:
A model has five elements: a root, a child in with a child in and not in , and a child not in with a child in only. If the two quantifiers are both , or are swapped to , the formula is false and the concept is unsatisfiable.
Consequences
- Subsumption, equivalence and disjointness of ALC concepts without a TBox are PSPACE-complete, by the reductions above.
- ALC is a notational variant of the multimodal logic (Schild's correspondence). The theorem is the description logic form of Ladner's result that satisfiability in K is PSPACE-complete, and either proof gives the other.
- A satisfiable ALC concept can need a model of exponential size. When all quantifiers of are , the elements at depth of any model of realize all assignments, and elements with different assignments are different. The upper bound avoids this size because it never keeps more than one path of the tree.
- The procedure is deterministic and uses polynomial space. A nondeterministic version that guesses one completion per level also works, and Savitch's theorem turns it into a deterministic one, but this is not needed here.
Tightness
- General TBoxes. With a general TBox the problem is EXPTIME-complete, so it is not in PSPACE unless PSPACE = EXPTIME. A cyclic inclusion such as removes the bound on the depth of the models.
- Bounded role depth. If the role depth of the input is at most a fixed , the tree model built in the upper bound has at most nodes, a polynomial. A nondeterministic machine can guess it and check it, so the problem is in NP. It is NP-hard already for , which is propositional satisfiability, so it is NP-complete.
- Fewer constructors. The hardness proof uses disjunction, both kinds of restriction and negation of names. Donini and coauthors classified the sublanguages of ALC. For example, ALE has existential and universal restrictions but no disjunction, and its satisfiability problem is in coNP. ALU has disjunction but only the unqualified restriction , and its satisfiability problem is in NP. So neither is PSPACE-hard unless NP = PSPACE. The handbook chapter by Donini gives the full table.
- One role is enough. The reduction uses a single role name, so the hardness does not come from having many roles.
Proof: ALC concept satisfiability without a TBox is PSPACE-completefull
ALC concepts are built from concept names , and with , , , and for role names . The size is the number of symbols. There is no TBox. A concept is satisfiable if in some interpretation .
Upper bound
Put in negation normal form; this is linear time and at most doubles the size. Let be its set of subconcepts, so . For a set , a completion of is a set with such that
- implies and ;
- implies or ;
- , and there is no name with both and in .
For , the successor set is . The procedure is
SAT(S): for each completion S' of S, in a fixed order:
if SAT(succ(S', ∃r.D)) holds for every ∃r.D in S', return true
return false
Every concept of a successor set has smaller role depth than the existential or value restriction it came from, so the recursion depth is at most the role depth of plus one, and SAT stops.
Lemma 1 (soundness). If SAT returns true, some interpretation has an element in every concept of .
Proof. By induction on the largest role depth in . Let be the completion that succeeded, and for each let be an interpretation with an element in every concept of the successor set, given by induction. Take the disjoint union of the , add a new element , put in exactly when , and add the edges to . Then for every , by induction on . A name holds at by construction; for , because has no clash, so . Conjunctions and disjunctions follow from the first two conditions. For the element is an -successor in . For , the -successors of are exactly the elements , and each of them is in because is in its successor set. The concepts of the parts do not change in the union, because has no incoming edges.
Lemma 2 (completeness). If some interpretation has an element in every concept of , then SAT returns true.
Proof. By induction on the largest role depth in . The set is a completion of : it contains , it satisfies the two closure conditions by the semantics of and , and it has no clash. The loop reaches unless an earlier completion succeeds. For , has an -successor , and for every , so is in every concept of the successor set, and by induction SAT returns true on it.
By the two lemmas, is satisfiable if and only if SAT returns true.
Space. A call keeps its current completion as a bit vector of length , which also serves as the counter of the loop over all subsets, and the position of the current existential restriction. That is bits for each of the at most active calls, so the procedure runs in space. The problem is in PSPACE.
Lower bound
We reduce the truth of quantified Boolean formulas, which is PSPACE-complete, to concept satisfiability. Let with and propositional over . Use one role , concept names , and write for under nested . Let be the conjunction of
- for each with , and for each with ;
- for each and each ;
- , where is with each replaced by , by , by and negation by .
There are conjuncts of size , so is built in polynomial time.
Lemma 3. is true if and only if is satisfiable.
Proof. Suppose is true. Build a tree of depth in which a node at depth stands for an assignment to under which the rest of the formula, , is true. The root stands for the empty assignment. A node at depth gets two children, with true and false, when , and one child with a value of that keeps the rest true when ; edges are in . Put a node in when its assignment makes true. The root is in every conjunct: the nodes at depth have the children that item 1 asks for, children keep the values of the parent as item 2 asks, and the leaves satisfy , which is item 3.
Conversely, let . Say that is at depth if some -path of length leads from to ; then satisfies every concept for which is a conjunct. For at depth , let assign to , , the value of . We show by induction on that is true under . For , , so is true under . For , every -successor of is at depth , and by item 2 at it agrees with on , so extends . If , item 1 gives successors with true and with false, and the formula is true under both extensions by induction. If , item 1 gives one successor, and the formula is true under its extension. At , and is true.
So concept satisfiability is PSPACE-hard, already with a single role name.
Subsumption
holds if and only if is unsatisfiable, and is satisfiable if and only if . These are polynomial reductions both ways between satisfiability and the complement of subsumption. PSPACE is closed under complement, so subsumption is PSPACE-complete too.
History
Schmidt-Schauß and Smolka introduced ALC in their journal paper of 1991. They gave a tableau-style calculus for it and proved that satisfiability and subsumption are PSPACE-complete. Ladner had proved in 1977 that satisfiability in the modal logics K, T and S4 is PSPACE-complete. Schild observed in 1991 that ALC is a syntactic variant of multimodal K, so Ladner's results apply directly. Lutz showed in 1999 that acyclic TBoxes do not raise the complexity, if the algorithm expands defined names lazily instead of unfolding the TBox first. The textbook of Baader, Horrocks, Lutz and Sattler (2017) gives the upper bound and a lower bound by reduction from QBF.
References
- Manfred Schmidt-Schauß and Gert Smolka, Attributive concept descriptions with complements, Artificial Intelligence 48(1), 1991, pages 1 to 26 (the tableau calculus for ALC, and the proof that satisfiability and subsumption are PSPACE-complete)
- Richard E. Ladner, The computational complexity of provability in systems of modal propositional logic, SIAM Journal on Computing 6(3), 1977, pages 467 to 480 (satisfiability in the modal logic K is PSPACE-complete)
- 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)
- Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 5 (the complexity of ALC concept satisfiability without a TBox, the PSPACE upper bound and the lower bound)
- 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 of ALC and of its sublanguages, general locator)
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag VX9NF7 Edit this page History Report an error Markdown