Theoremadvanced
EXPTIME-completeness of ALC with general TBoxes
Also called ALC general TBox complexity.
Concept satisfiability in ALC with respect to general concept inclusions is EXPTIME-complete.
Once a TBox may contain arbitrary inclusions , deciding whether an ALC concept is satisfiable becomes EXPTIME-complete. Without a TBox the problem is in PSPACE (the PSPACE theorem). A cyclic inclusion such as forces infinite paths, so models no longer have bounded depth, and the problem can encode a machine that runs for exponentially many steps. The upper bound is an elimination of types in exponential time; the lower bound encodes an alternating Turing machine with polynomial space.
Statement
ALC concepts use concept names, , , , , , and . A general TBox is a finite set of general concept inclusions , where and are any ALC concepts, so cycles are allowed. The input size is the number of symbols of the concept and of all the inclusions. There are no number restrictions, so the coding of numbers does not matter. is satisfiable with respect to if some model of has .
Theorem. Each of the following problems is EXPTIME-complete under polynomial-time reductions.
- Given and a general TBox , decide whether is satisfiable with respect to .
- Given , and , decide whether , that is, in every model of .
- Given , decide whether has a model.
Satisfiability is decided in time . Hardness holds already when is a conjunction of concept names.
In plain words
A TBox with general rules can say things like "every person has a parent who is a person". Rules like this can force models that never end. The question is then much harder than without rules. An algorithm can still answer it in exponential time: it lists every possible kind of object, described by the set of subconcepts that the object makes true, and it throws away kinds that need a neighbor that does not exist, until nothing changes. On the other side, rules can describe the steps of a machine that branches and uses a polynomial amount of memory. Such machines can solve every problem that takes exponential time, so no faster general method is expected.
Proof
The full proof is in the proof file below. Here is its plan.
Upper bound. Let be the negation normal form of the conjunction of over the inclusions. A model of is an interpretation in which every element is in . Let be the subconcepts of and , closed under negation in normal form, so . A type is a subset of that contains , holds exactly one of each concept and its negation, and respects and . Start with all types, at most of them. Remove, again and again, each type with some for which no remaining type contains and all with . Accept if a remaining type contains . There are at most rounds of steps each. The remaining types, with an -edge from to when contains every with , form a model of in which each type is in exactly its own concepts. In the other direction, the set of concepts that hold at an element of a model is a type, and it is never removed, because the successors of the element give it its witnesses.
Lower bound. By the theorem of Chandra, Kozen and Stockmeyer, every language in EXPTIME is decided by an alternating machine in polynomial space , and we may assume that every branch halts. For an input , concept names , and describe the state, the head position and the content of each of the cells, and a role stands for each move . The TBox says that each element is one configuration, that an existential configuration has a successor for some applicable move and a universal one for every applicable move, that each move changes the state, the head and the cell under it as says, that the other cells keep their contents, and that the rejecting state is empty. A model of the TBox that contains the initial configuration contains an accepting computation tree, by induction on the height of the computation from each configuration. In the other direction, the set of accepting configurations is a model. The TBox has axioms of size .
Subsumption and consistency. if and only if is unsatisfiable with respect to . is satisfiable with respect to if and only if has a model, for a new role name .
For example, take and . A type is fixed by its choice of , , , and , and the inclusions leave 9 types, none with . The first round removes the 6 types that contain , among them every type with . The second round removes the 2 types that contain , among them every type with . One type is left, with none of the five concepts, and is unsatisfiable.
Consequences
- Tableau algorithms. The ALC tableau with blocking is a decision procedure for general TBoxes, but its standard worst-case bound is doubly exponential, so it is not optimal. Tableaux that reach the EXPTIME bound cache the results of node labels that were seen before; see Donini and Massacci (2000) and the global caching of Goré and Nguyen (2013). Practical reasoners, for example those based on the hypertableau calculus, put their effort into the cases that occur in real ontologies.
- Classification. Subsumption between all pairs of names, and so classification of a TBox, takes exponential time in the worst case.
- Tractable fragments. The hardness shows why tractable description logics restrict the constructors. In EL subsumption with respect to general TBoxes is in polynomial time.
- Modal logic. By Schild's correspondence, the theorem is the same as the EXPTIME-completeness of multimodal K with the universal modality.
Tightness
- Acyclic TBoxes. If the TBox only defines concept names, without cycles, the problem stays in PSPACE (Lutz 1999), so general inclusions are what raise the complexity.
- Bound. The time bound cannot be improved to a polynomial, because P is a proper subset of EXPTIME by the time hierarchy theorem.
- Larger logics. Some extensions of ALC are harder. For example, SROIQ, the logic of OWL 2 DL, is N2EXPTIME-complete (Kazakov 2008).
Proof: ALC concept satisfiability with respect to general TBoxes is EXPTIME-completefull
ALC concepts are built from concept names, and with , , , and . A general TBox is a finite set of inclusions between arbitrary concepts. An interpretation is a model of if for each inclusion. is satisfiable with respect to if for some model of . The input size is plus the sum of the sizes of the inclusions.
For a concept in negation normal form (NNF), write for the NNF of . Let be the NNF of the conjunction of the concepts for in , and when is empty. A model of is the same as an interpretation in which every element is in .
Upper bound by type elimination
Let be the smallest set that contains the NNF of and and is closed under subconcepts and under . Since maps the subconcepts of to the subconcepts of , .
A type is a set such that
- and , and when ;
- for every , exactly one of and is in ;
- if and only if and ;
- if and only if or .
There are at most types. For a type and a role , let . Given a set of types, a type is bad in if some has no with . The algorithm is
S := the set of all types
while some type is bad in S: remove all bad types from S
accept if the NNF of C is in some type of S
Each round removes at least one type, so there are at most rounds. A round looks at each pair of types and each existential restriction, which is steps. The total time is .
Lemma 1 (soundness). Let be the final set. Define with domain , , and if and only if . Then if and only if , for every and .
Proof. By induction on . For it is the definition. For , if and only if , if and only if by the second condition. The cases , , and follow from the conditions on types.
: if , then is not bad in , so some has and . Then , and by induction. Conversely, let with , so by induction. If , then , so , which is impossible together with .
: if , every -successor of has , so by induction. If , then , and as above there is with and . Then , so by induction, and .
Every type contains , so by Lemma 1 every element of is in and is a model of . If the algorithm accepts, some contains and .
Lemma 2 (completeness). Let be a model of . For each element , the set is a type, and it is never removed.
Proof. satisfies the conditions on types by the semantics, and it contains because is a model of . Suppose that before some round every is in . If , then has an -successor in , and is in for every . So , and is not bad. By induction on the rounds no is removed.
If is satisfiable with respect to in a model with , then stays in and contains , so the algorithm accepts. Together with Lemma 1, the algorithm decides satisfiability with respect to in time .
Lower bound by alternating machines
By the theorem of Chandra, Kozen and Stockmeyer, alternating polynomial space equals EXPTIME. Fix a language EXPTIME and an alternating Turing machine that decides in space . We use these standard assumptions on :
- its states are existential states, universal states, and the halting states (accept) and (reject);
- for each state that does not halt and each symbol , the set of moves , with new state , written symbol and head step , is not empty;
- the head stays on the cells ;
- every branch of every computation halts.
The last assumption costs nothing. A configuration that has an accepting computation tree has one in which no configuration repeats on a branch, so its depth is below the number of configurations. A binary counter of cells can stop each branch at that depth and reject.
For an input of length , write . Use the concept names (the state is ), (the head is on cell ) and (cell holds ), and one role name for each move . The TBox contains, for all , , and moves :
- axioms that say that exactly one , exactly one , and for each exactly one hold at each element, such as and for ;
- ;
- for existential , and the same with for universal ;
- for each ;
- for .
The concept is , with the blank symbol for . is fixed, so has axioms of size , and and are built in polynomial time.
An element encodes the configuration with state , head position and tape if . In a model of each element encodes exactly one configuration, by item 1. For a configuration and a move that applies to it, write for the configuration that produces.
Lemma 3. If is a model of and encodes , then is accepting.
Proof. All branches from halt and each configuration has finitely many successors, so by König's lemma the computation tree from has a finite height . We use induction on . If , halts. Its state is not by item 2, so it is , and accepts. Otherwise let , and be the state, the head position and the symbol under the head. If has an -successor for some , then encodes , by item 4 for the changed cell, state and head, and by item 5 for the other cells. If is existential, item 3 gives such a successor for some ; accepts by induction, so accepts. If is universal, item 3 gives one for each ; all accept, so accepts.
Lemma 4. If accepts , then is satisfiable with respect to .
Proof. Let the domain of be the set of accepting configurations, interpret , and by reading them off, and put when does not halt, applies to , and accepts. Item 1 holds by construction, and item 2 because no accepting configuration is in state . An accepting existential configuration has an accepting successor, and all successors of an accepting universal configuration accept, so item 3 holds. Each -edge goes from to , so items 4 and 5 hold. The initial configuration accepts and is in .
By Lemmas 3 and 4, if and only if is satisfiable with respect to . So the problem is EXPTIME-hard.
Subsumption and consistency
holds if and only if is unsatisfiable with respect to , and is satisfiable with respect to if and only if . EXPTIME is closed under complement, so subsumption with respect to general TBoxes is EXPTIME-complete. has a model if and only if is satisfiable with respect to , which is in EXPTIME. Conversely, for a role name that does not occur in or , is satisfiable with respect to if and only if has a model: from a model of with an element , add the edge to for every element . So consistency of a general TBox is EXPTIME-complete too.
History
Fischer and Ladner proved in 1979 that propositional dynamic logic (PDL) is EXPTIME-hard, by an encoding of alternating machines with linear space. In the same year Pratt gave a decision procedure for PDL in exponential time, by eliminating Hintikka sets that cannot be satisfied. Chandra, Kozen and Stockmeyer published the theory of alternation in 1981. Schild showed in 1991 that ALC is a notational variant of multimodal K and that terminological logics with general inclusions can be translated into PDL, so these bounds apply. The textbook of Baader, Horrocks, Lutz and Sattler (2017) proves the theorem directly for ALC. Optimal tableau procedures came later, from Donini and Massacci in 2000 and from Goré and Nguyen with global caching.
References
- 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)
- Vaughan R. Pratt, Models of program logics, Proceedings of the 20th Annual Symposium on Foundations of Computer Science (FOCS), 1979, pages 115 to 122 (an exponential time decision procedure for propositional dynamic logic)
- Ashok K. Chandra, Dexter C. Kozen and Larry J. Stockmeyer, Alternation, Journal of the ACM 28(1) (1981), pp. 114 to 133 (alternating polynomial space equals deterministic exponential time)
- Klaus Schild, A correspondence theory for terminological logics: preliminary report, Proceedings of the 12th International Joint Conference on Artificial Intelligence (IJCAI), 1991, the translation of terminological logics into propositional dynamic logic and the complexity results that follow (general locator)
- Francesco M. Donini and Fabio Massacci, EXPTIME tableaux for ALC, Artificial Intelligence 124(1), 2000, pages 87 to 138, tableau calculi for ALC with general TBoxes that run in exponential time
- Rajeev Goré and Linh Anh Nguyen, ExpTime tableaux for ALC using sound global caching, Journal of Automated Reasoning 50(4), 2013, pages 355 to 381 (global caching of node labels, and the exponential time bound)
- 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)
- Yevgeny Kazakov, RIQ and SROIQ are harder than SHOIQ, Proceedings of the 11th International Conference on Principles of Knowledge Representation and Reasoning (KR), 2008, pages 274 to 284 (SROIQ is N2EXPTIME-complete)
- Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 5 (the complexity of ALC with and without TBoxes)
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 7HWPD2 Edit this page History Report an error Markdown