Algorithm Search⌘K

Theoremadvanced

Nebel-Bürckert theorem

Also called ORD-Horn tractability theorem, maximality of ORD-Horn.

For interval networks whose labels are ORD-Horn, algebraic closure decides consistency in O(n^3) time, and adding any other relation makes the problem NP-complete.

The Nebel-Bürckert theorem says that the ORD-Horn subclass H\mathcal{H} of Allen's interval algebra is tractable and as large as a tractable class with all base relations can be: algebraic closure decides consistency of every network whose labels are in H\mathcal{H}, and for every relation outside H\mathcal{H}, allowing it too makes consistency NP-complete. The page ORD-Horn subclass defines the class; this page states and proves the theorem. It turns the general NP-completeness of the interval algebra into a precise line between easy and hard labels.

Statement

A network over H\mathcal{H} is a qualitative constraint network of the interval algebra in which every label is in H\mathcal{H}, the 868 relations (counting the empty one) that are conjunctions of ORD-Horn clauses on the endpoints.

Theorem 1 (tractability). Let NN be a network over H\mathcal{H} on nn intervals that is algebraically closed, Cij⊆Cik⋄CkjC_{ij} \subseteq C_{ik} \diamond C_{kj} for all i,j,ki, j, k, and has no empty label. Then NN has a solution. So a network over H\mathcal{H} is consistent exactly when its algebraic closure has no empty label, which is decided in O(n3)O(n^3) time.

Theorem 2 (maximality). For every interval relation R∉HR \notin \mathcal{H}, consistency of networks whose labels are in H∪{R}\mathcal{H} \cup \{R\} is NP-complete.

Theorem 1 needs that the closure of a network over H\mathcal{H} is again over H\mathcal{H}. This holds because H\mathcal{H} is closed under converse, intersection and composition, which can be checked on the 868 relations.

In plain words

Each allowed relation between two intervals can be written as a few simple rules about their four endpoints, where each rule says "if these pairs of endpoints coincide, then this endpoint is not after that one". Rules of this shape can be followed forward, one step at a time, and they never force a choice between two ways. The theorem shows that the three-at-a-time check of algebraic closure already does all the forward steps that matter. So if that check finds no empty label, the rules have no contradiction, and the intervals can be placed. The second half says that the class cannot grow: any further relation lets you encode hard puzzles.

Proof

Proof of Theorem 1. Give each interval ii the endpoint variables i−i^- and i+i^+. For a pair (i,j)(i, j), let Φij\Phi_{ij} be a set of ORD-Horn clauses over i−,i+,j−,j+i^-, i^+, j^-, j^+ that defines CijC_{ij}, and let Φii\Phi_{ii} be the clauses i−≤i+i^- \le i^+ and i−≠i+i^- \ne i^+. Say that a clause or a literal over these endpoints holds on CijC_{ij} when it is true for every pair of intervals in one of the base relations of CijC_{ij}.

Step 1 (to propositional Horn). Introduce a propositional atom apqa_{pq} for "p≤qp \le q" for every two endpoints p,qp, q. Write p=qp = q as apq∧aqpa_{pq} \land a_{qp} and p≠qp \ne q as ¬apq∨¬aqp\lnot a_{pq} \lor \lnot a_{qp}. Each ORD-Horn clause becomes one or two propositional Horn clauses. Add the order axioms appa_{pp} and ¬apq∨¬aqr∨apr\lnot a_{pq} \lor \lnot a_{qr} \lor a_{pr}. Call the result Ψ\Psi.

If Ψ\Psi has a model, its true atoms form a preorder on the endpoints that satisfies all clauses. Merging equivalent endpoints gives a partial order, and any linear extension keeps every ≤\le that held and keeps distinct endpoints distinct, so it satisfies every ORD-Horn literal that held. Numbering the linear order gives reals that satisfy all Φij\Phi_{ij}, hence a solution of NN. So it suffices to show that Ψ\Psi is satisfiable.

Step 2 (forward chaining). A Horn formula is satisfiable exactly when forward chaining, the computation of its least model by unit propagation, never makes every atom of a clause without a positive literal true. We show by induction on the order in which forward chaining derives atoms:

(Invariant.) If apqa_{pq} is derived, with pp an endpoint of ii and qq an endpoint of jj, then p≤qp \le q holds on CijC_{ij}.

  • An axiom appa_{pp} holds on every label.
  • A clause of Φij\Phi_{ij} with negative atoms a1,…,ata_1, \ldots, a_t and positive atom aa fires when a1,…,ata_1, \ldots, a_t are derived. Its atoms are about endpoints of ii and jj only, so by the invariant each asa_s holds on CijC_{ij}, and so does the clause. On every base relation of CijC_{ij} all negative literals are false, so aa is true; aa holds on CijC_{ij}.
  • A transitivity step derives apra_{pr} from apqa_{pq} and aqra_{qr}, with p,q,rp, q, r endpoints of i,k,ji, k, j. Take a base relation c∈Cijc \in C_{ij}. Closure gives c∈Cik⋄Ckjc \in C_{ik} \diamond C_{kj}, so there are b1∈Cikb_1 \in C_{ik}, b2∈Ckjb_2 \in C_{kj} and three intervals X,Y,ZX, Y, Z with Xb1YX \mathrel{b_1} Y, Yb2ZY \mathrel{b_2} Z and XcZX \mathrel{c} Z. By the invariant, p≤qp \le q holds for X,YX, Y and q≤rq \le r for Y,ZY, Z, so p≤rp \le r for X,ZX, Z. This is true for every c∈Cijc \in C_{ij}, so p≤rp \le r holds on CijC_{ij}. The cases with k=ik = i or k=jk = j use Cii={eq}C_{ii} = \{eq\}.

Step 3 (no contradiction). Suppose forward chaining makes all atoms of a clause without a positive literal true. That clause comes from some Φij\Phi_{ij}, possibly with i=ji = j, so its atoms concern endpoints of ii and jj, and by the invariant they all hold on CijC_{ij}. The clause also holds on CijC_{ij}, since Φij\Phi_{ij} defines CijC_{ij}. On a base relation of CijC_{ij} the clause would then be both true and false, so CijC_{ij} has no base relation and is empty, which the hypothesis excludes. So Ψ\Psi is satisfiable, and NN has a solution. Computing the closure takes O(n3)O(n^3) time by algebraic closure. □\square

Proof sketch of Theorem 2 (Nebel and Bürckert 1995). Membership in NP holds for all interval networks. For hardness, a relation RR outside H\mathcal{H} is combined with relations of H\mathcal{H} by intersection, converse and composition; these operations can be simulated in a network with extra intervals, so consistency over H∪{R}\mathcal{H} \cup \{R\} is at least as hard as over the relations they generate. A case analysis over all relations outside H\mathcal{H}, done with a computer, shows that each generates a relation for which consistency is NP-hard, by a reduction from 3-SAT in the style of the proof of NP-completeness of the interval algebra. The details are in Nebel and Bürckert (1995). □\square

Consequences

  • An exact cubic test. Any network over H\mathcal{H}, including all pointisable and all atomic networks, is decided by algebraic closure or by Allen's constraint propagation, in O(n3)O(n^3) time.
  • A solution, not only an answer. The proof builds one: compute the least model of Ψ\Psi, merge equal endpoints, and sort the rest topologically. This is the same idea as point algebra consistency, extended with Horn clauses.
  • Faster complete search. For general networks, backtracking can split a label into ORD-Horn pieces instead of single base relations, and stop as soon as every label is in H\mathcal{H}. Nebel (1997) showed that this cuts the search a lot.
  • Atomic networks. All 13 base relations are in H\mathcal{H}, so an atomic interval network is consistent exactly when it is algebraically closed.

Tightness

  • The ORD-Horn hypothesis is needed. The network 0{o,si}10 \mathrel{\{o, si\}} 1, 0{fi,si}20 \mathrel{\{fi, si\}} 2, 0{o,fi}30 \mathrel{\{o, fi\}} 3, 1{m,mi}21 \mathrel{\{m, mi\}} 2, 1{b,f}31 \mathrel{\{b, f\}} 3, 2{b,s}32 \mathrel{\{b, s\}} 3 is closed with no empty label and has no solution; five of its six labels are not in H\mathcal{H}.
  • Closure is needed. Without the closure condition, a network over H\mathcal{H} with no empty label can be inconsistent, for example 0{m}10 \mathrel{\{m\}} 1, 1{m}21 \mathrel{\{m\}} 2, 0{m}20 \mathrel{\{m\}} 2.
  • Maximal, but not the only class. Theorem 2 shows that no relation can be added to H\mathcal{H}. There are other maximal tractable classes that do not contain all base relations; Krokhin, Jeavons and Jonsson (2003) found all 18, and H\mathcal{H} is the only one that contains all 13 base relations. See tractable subclasses of the interval algebra.

History

Van Beek (1992) and Vilain, Kautz and van Beek (1990) showed that the pointisable relations, 188 counting the empty one, are tractable. Nebel and Bürckert (1995) defined the ORD-Horn relations, proved this theorem, and checked maximality with a computer. Ligozat (1996) gave a geometric proof via preconvex relations, which are the same class. Krokhin, Jeavons and Jonsson (2003) completed the picture with the full classification of tractable subclasses.

References

  1. Bernhard Nebel and Hans-Jürgen Bürckert, Reasoning about temporal relations, a maximal tractable subclass of Allen's interval algebra, Journal of the ACM 42(1), 1995, pages 43 to 66 (the translation to ORD-Horn clauses, positive unit resolution, the theorem that path consistency decides networks over H, and the maximality of H)
  2. Andrei Krokhin, Peter Jeavons and Peter Jonsson, Reasoning about temporal relations, the tractable subalgebras of Allen's interval algebra, Journal of the ACM 50(5), 2003, pages 591 to 640 (H is the only maximal tractable subalgebra that contains all base relations)
  3. Gérard Ligozat, A new proof of tractability for ORD-Horn relations, Proceedings of AAAI-96, AAAI Press, 1996, a geometric proof through preconvex relations
  4. Peter van Beek, Reasoning about qualitative temporal information, Artificial Intelligence 58(1-3), 1992, pages 297 to 326 (the pointisable subclass, which H extends)

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/KP8408/text.yaml