Introduction
Context. Let C \mathcal{C} C be a hereditary class of graphs. The C \mathcal{C} C Vertex Deletion problem asks, given a graph G G G and an integer k k k , whether there is a set X ⊆ V ( G ) X\subseteq V(G) X ⊆ V ( G ) of size at most k k k such that G − X G-X G − X belongs to C \mathcal{C} C . When the class C \mathcal{C} C is polynomial-time recognizable, it is a logical next step to ask whether the C \mathcal{C} C Vertex Deletion problem is fixed-parameter tractable for parameter k k k . This is always the case when C \mathcal{C} C is characterized by a finite number of obstructions [3 ] , but the question is non-trivial for classes having unbounded obstructions. In this setting, there are many positive results (see e.g. [4 ] for some recent results) but also a number of negative results [5 , 6 ] as well as prominent classes for which the question remains open.
Perhaps the simplest and most studied problem in this category is the Feedback Vertex Set (FVS) problem, which corresponds to C \mathcal{C} C Vertex Deletion when C \mathcal{C} C is the class of forests. The problem is a test bed for several standard approaches in parameterized complexity, such as bounded-search, treewidth and iterative compression. The FVS problem admits several single-exponential FPT algorithms [7 , 8 , 9 , 10 , 11 ] . Arguably, the class of chordal graphs can be seen as an extension of forests that enjoy similar characterizations: the existence of simplicial orderings [12 , 13 ] , the layout of the separators provided by the clique tree [14 , 15 ] , and the obstructions provided by chordless cycles. However, the fixed-parameter tractability of ChVD proved much more challenging than FVS. The first FPT algorithm for the ChVD, due to [1 ] , uses treewidth reduction and Courcelle theorem. An improvement due to [2 ] gives a bounded-search O ∗ ( k O ( k ) ) O^*(k^{O(k)}) O ∗ ( k O ( k ) ) time algorithm for a more general problem allowing edge editing in addition to vertex deletion.
Email address: guillemo@free.fr (Sylvain Guillemot)
Polynomial kernels for ChVD were also obtained by [16 , 17 ] . It should be noted that the previous algorithms use iterative compression, which is now a standard technique in FPT algorithms for graph modification problems. Since the FVS problem admits single-exponential FPT algorithms using iterative compression, this raises the question of whether the same holds for the more general ChVD problem.
Our result. While we do not resolve this question, we make progress towards a positive resolution. We recall that in the setting of iterative compression, we have to solve the Disjoint ChVD Compression (D-ChVD) problem. An instance of D-ChVD is a tuple I = ( G , k , X ) I=(G,k,X) I = ( G , k , X ) consisting of a chordal graph G G G , of an integer k k k , and of a chordal modulator1 X ⊆ V ( G ) X\subseteq V(G) X ⊆ V ( G ) of size k k k . The instance I I I is positive iff there exists a chordal modulator S ⊆ V ( G ) S\subseteq V(G) S ⊆ V ( G ) disjoint of X X X and having size at most k − 1 k-1 k − 1 . We let L L L denote the maximum length of a chordless path in G − X G-X G − X . Since a chordless cycle in G G G can have length at most ( L + 1 ) k (L+1)k ( L + 1 ) k , we can trivially solve D-ChVD in O ∗ ( ( ( L + 1 ) k ) k ) O^*(((L+1)k)^k) O ∗ ((( L + 1 ) k ) k ) time by branching. However, improving this to single-exponential proves challenging already when L = 1 L=1 L = 1 , i.e. when G − X G-X G − X is edgeless. In this paper, we present the following algorithmic result.
Theorem 1. The D-ChVD problem can be solved in O ( ( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) O((L+1)^{3k}k^2|V(G)|^4) O (( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) time.
High-level description. Let us explain the high-level idea behind our algorithm. We solve the following auxiliary problem D-ChVD2. An instance of the problem is a tuple I = ( G , k , X , Y ) I=(G,k,X,Y) I = ( G , k , X , Y ) where X , Y X,Y X , Y are disjoint subsets of V ( G ) V(G) V ( G ) and ∣ X ∣ = k |X|=k ∣ X ∣ = k . A solution for instance I I I is a set S ⊆ V ( G ) S\subseteq V(G) S ⊆ V ( G ) disjoint from X ∪ Y X\cup Y X ∪ Y such that ∣ S ∣ < k |S|<k ∣ S ∣ < k and G − S G-S G − S is chordal. Here, X X X is the original chordal modulator, and Y Y Y is a set of forced vertices which must be absent from a solution. We also let W ′ = X ∪ Y W'=X\cup Y W ′ = X ∪ Y , Z = V ( G ) − W ′ Z=V(G)-W' Z = V ( G ) − W ′ and V ′ = Y ∪ Z V'=Y\cup Z V ′ = Y ∪ Z . We solve D-ChVD2 by branching in the following way. If G [ W ′ ] G[W'] G [ W ′ ] is not chordal, we reject. Otherwise, we identify a specific chordless path P P P in G − X G-X G − X called a candidate path , and we branch on at most L + 1 L+1 L + 1 possibilities: ( B 1 ) (B_1) ( B 1 ) for each v ∈ V ( P ) ∩ Z v\in V(P)\cap Z v ∈ V ( P ) ∩ Z , we take v v v in a solution, ( B 2 ) (B_2) ( B 2 ) we add V ( P ) V(P) V ( P ) to Y Y Y . There are two types of candidate paths, called paths of type 1 and type 2 .
We proceed to define these two types of candidate paths. Let us first define the candidate paths of type 1. A hole in G G G is a chordless cycle H H H of length at least 4. A V ′ V' V ′ -fragment of H H H is a maximal subpath of H H H included in V ′ V' V ′ . Recall that since X X X is a chordal modulator, we have V ( H ) ∩ X ≠ ∅ V(H)\cap X\ne\varnothing V ( H ) ∩ X = ∅ and thus H H H cannot be included in V ′ V' V ′ . A candidate path P P P is of type 1 if there is a hole H H H in G G G such that (a) P P P is a V ′ V' V ′ -fragment of H H H , (b) for each Q Q Q V ′ V' V ′ -fragment of H H H distinct from P P P , we have V ( Q ) ⊆ Y V(Q)\subseteq Y V ( Q ) ⊆ Y . Let us now define the candidate paths of type 2. Consider a pair p = ( x , x ′ ) p=(x,x') p = ( x , x ′ ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X non adjacent. We say that p p p is Y Y Y -connected in I I I if there is a Q Q Q chordless ( x , x ′ ) (x,x') ( x , x ′ ) -path in G [ W ′ ] G[W'] G [ W ′ ] such that V ( Q ) ∩ Y ≠ ∅ V(Q)\cap Y\ne\varnothing V ( Q ) ∩ Y = ∅ . We let S I S_I S I be the set of pairs ( x , x ′ ) (x,x') ( x , x ′ ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X non adjacent and that are not Y Y Y -connected in I I I . A candidate path P P P is of type 2 iff V ( P ) ⊆ V ′ V(P)\subseteq V' V ( P ) ⊆ V ′ and there exists ( x , x ′ ) ∈ S I (x,x')\in S_I ( x , x ′ ) ∈ S I such that x P x ′ xPx' x P x ′ is a chordless path in G G G .
Specifics of the algorithm. The choice of a candidate path at each step is made by the following criterion. Recall that if G = ( V , E ) G=(V,E) G = ( V , E ) is chordal, an enumeration σ = \sigma= σ = v 1 v 2 … v n v_1v_2\ldots v_n v 1 v 2 … v n of G G G is a perfect elimination ordering of G G G iff for each p , q , r ∈ [ n ] p,q,r \in[n] p , q , r ∈ [ n ] with p , q > r p,q>r p , q > r , if v p v r ∈ E v_pv_r \in E v p v r ∈ E and v q v r ∈ E v_qv_r \in E v q v r ∈ E then v p v q ∈ E v_pv_q \in E v p v q ∈ E . We suppose in the following that we have σ \sigma σ fixed perfect elimination ordering of G [ V ′ ] G[V'] G [ V ′ ] . We then define the labelling l l l by l ( v i ) = i l(v_i)=i l ( v i ) = i for each i ∈ [ n ] i \in[n] i ∈ [ n ] , and given a set S ⊆ V ′ S \subseteq V' S ⊆ V ′ , we let l ( S ) = max v ∈ S l ( v ) l(S)=\max_{v\in S} l(v) l ( S ) = max v ∈ S l ( v ) . If there is a candidate path of type 1, we choose one arbitrarily. On the other hand, if there is a candidate path of type 2, we choose one such path P P P with l ( V ( P ) ) l(V(P)) l ( V ( P )) minimum. We show in § 4 that finding such a candidate path can be carried out in polynomial time. We note that while there can be an exponential number of such paths, we can give a compact description of them that allows to find one in O ( k 2 n 4 ) O(k^2n^4) O ( k 2 n 4 ) time.
Let us explain the rationale behind the definition of candidate paths of type 2. Let us suppose that G [ W ′ ] G[W'] G [ W ′ ] is chordal, and consider H H H hole in G G G . In this case, H H H must contain a V ′ V' V ′ -fragment P P P such that V ( P ) ∩ Z ≠ ∅ V(P)\cap Z\ne\emptyset V ( P ) ∩ Z = ∅ . Moreover, (a) either P P P is a candidate path of type 1, or (b) there exists x , x ′ ∈ X x,x'\in X x , x ′ ∈ X nonadjacent such that x P x ′ xPx' x P x ′ is a subpath of H H H . However, in case (b), P P P may fail to be a candidate path of type 2 because ( x , x ′ ) ∉ S I (x,x')\notin S_I ( x , x ′ ) ∈ / S I . In this case, since x , x ′ x,x' x , x ′ are Y Y Y -connected in I I I , we find a chordless ( x , x ′ ) (x,x') ( x , x ′ ) -path Q Q Q in G [ W ′ ] G[W'] G [ W ′ ] containing a vertex of Y Y Y . We argue that for a proper choice of H H H and P P P , we may then "shorten" the hole H H H using the path Q Q Q to obtain H ′ H' H ′ hole in G G G such that ∣ V ( H ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ |V(H')\cap Z|<|V(H)\cap Z| ∣ V ( H ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ . This is the purpose of Theorem 3 proved in § 4.4 . The criterion for choosing a candidate path is essential here, and ultimately it guarantees that as long as G G G is not chordal we may find a candidate path of type 1 or 2.
The measure. Obviously, in each branching step ( B 1 ) (B_1) ( B 1 ) the parameter k k k drops by 1, but it is not immediate whether we make progress in branching step ( B 2 ) (B_2) ( B 2 ) . Let us explain this in detail. Observe that if P P P is a candidate path of type 1, the branch ( B 2 ) (B_2) ( B 2 ) will directly reject as after adding V ( P ) V(P) V ( P ) to Y Y Y we obtain H H H hole in G [ X ∪ Y ] G[X\cup Y] G [ X ∪ Y ] . On the other hand, if P P P is a candidate path of type 2 and ( B 2 ) (B_2) ( B 2 ) considers the new instance I ′ I' I ′ , we have a pair ( x , x ′ ) ∈ S I (x,x')\in S_I ( x , x ′ ) ∈ S I that was not Y Y Y -connected in I I I but becomes Y Y Y -connected in I ′ I' I ′ . This allows us to define a measure s ( I ) s(I) s ( I ) which drops by at least 1 in each branch ( B 2 ) (B_2) ( B 2 ) , so that the global measure m ( I ) = s ( I ) + k m(I)=s(I)+k m ( I ) = s ( I ) + k drops by at least 1 in each branch ( B 1 ) (B_1) ( B 1 ) or ( B 2 ) (B_2) ( B 2 ) . A crude upper bound gives s ( I ) = O ( k 2 ) s(I)=O(k^2) s ( I ) = O ( k 2 ) , but we can actually give a bound s ( I ) ≤ 2 k s(I)\le2k s ( I ) ≤ 2 k as shown by Theorem 4 in § 5 . This yields a global measure m ( I ) ≤ 3 k m(I)\le3k m ( I ) ≤ 3 k that drops by at least 1 in each branch. Since we branch in at most L + 1 L+1 L + 1 directions at each step, this readily gives the claimed O ∗ ( ( L + 1 ) 3 k ) O^*((L+1)^{3k}) O ∗ (( L + 1 ) 3 k ) running time.
Definitions
We use the notation [ n ] [n] [ n ] to denote the set of integers from 1 to n n n , and the notation N \mathbb{N} N to denote the set of integers.
Graphs. We denote a graph by G = ( V , E ) G=(V,E) G = ( V , E ) where V V V is its set of vertices and E E E is its set of edges. We use the notation V ( G ) V(G) V ( G ) , resp. E ( G ) E(G) E ( G ) , to refer to the set V V V , resp. E E E . We say that u , v ∈ V u,v\in V u , v ∈ V are adjacent in G G G iff u v ∈ E uv\in E uv ∈ E . Let G ′ = ( V ′ , E ′ ) G'=(V',E') G ′ = ( V ′ , E ′ ) be another graph. We say that G ′ G' G ′ is a subgraph of G G G iff V ′ ⊆ V V'\subseteq V V ′ ⊆ V and E ′ ⊆ E E'\subseteq E E ′ ⊆ E . We say that G ′ G' G ′ is an induced subgraph of G G G iff V ′ ⊆ V V'\subseteq V V ′ ⊆ V and E ′ = { e ∈ E : e ⊆ V ′ } E'=\{e\in E:e\subseteq V'\} E ′ = { e ∈ E : e ⊆ V ′ } . Given S ⊆ V S\subseteq V S ⊆ V , we denote by G [ S ] G[S] G [ S ] the induced subgraph of G G G with vertex set S S S , and we denote by G − S G-S G − S the induced subgraph of G G G with vertex set V − S V-S V − S . Given S ⊆ V S\subseteq V S ⊆ V , the contraction of S S S in G G G produces the subgraph G / S G/S G / S with vertex set V ′ = V − S + { z } V'=V-S+\{z\} V ′ = V − S + { z } and with edge set E ′ = { u v ∈ E : u , v ∈ V − S } ∪ { u z : u ∈ V − S and there exists v ∈ S such that u v ∈ E } E' = \{uv \in E : u,v \in V-S\} \cup\{uz : u \in V-S \text{ and there exists } v \in S \text{ such that } uv \in E\} E ′ = { uv ∈ E : u , v ∈ V − S } ∪ { u z : u ∈ V − S and there exists v ∈ S such that uv ∈ E } .
A walk in G G G is a sequence W = z 1 z 2 … z L W = z_1z_2 \ldots z_L W = z 1 z 2 … z L of vertices such that z i z i + 1 ∈ E z_i z_{i+1} \in E z i z i + 1 ∈ E holds for each i ∈ [ L − 1 ] i \in[L-1] i ∈ [ L − 1 ] ; we denote V ( W ) = { z 1 , z 2 , … , z L } V(W) = \{z_1,z_2,\ldots,z_L\} V ( W ) = { z 1 , z 2 , … , z L } the set of vertices in W W W , I ( W ) = { z 2 , … , z L − 1 } I(W) = \{z_2,\ldots,z_{L-1}\} I ( W ) = { z 2 , … , z L − 1 } the set of internal vertices in W W W , and E ( W ) = { z i z i + 1 : 1 ≤ i < L } E(W) = \{z_i z_{i+1} : 1 \le i < L\} E ( W ) = { z i z i + 1 : 1 ≤ i < L } the set of edges in W W W . If the vertices z 1 , … , z L z_1,\ldots,z_L z 1 , … , z L are distinct, then W W W is a path in G G G of length ∣ W ∣ = L |W| = L ∣ W ∣ = L . If the vertices z 1 , … , z L − 1 z_1,\ldots,z_{L-1} z 1 , … , z L − 1 are distinct and z L = z 1 z_L = z_1 z L = z 1 , then W W W is a cycle in G G G of length ∣ W ∣ = L − 1 |W| = L-1 ∣ W ∣ = L − 1 . A chord of W W W is an edge of the form z i z j z_i z_j z i z j with i , j i,j i , j not consecutive; we say that W W W is chordless if it has no chord. Given two vertices u , v ∈ V u,v \in V u , v ∈ V , an ( u , v ) (u,v) ( u , v ) -path in G G G is a path in G G G starting with u u u and ending with v v v . If W = z 1 z 2 … z L W = z_1z_2 \ldots z_L W = z 1 z 2 … z L is a path or a cycle and $1 \le i \le j \le L$, we define the subpath W [ z i , z j ] W[z_i,z_j] W [ z i , z j ] as the path z i z i + 1 … z j z_i z_{i+1} \ldots z_j z i z i + 1 … z j .
Given S ⊆ V S \subseteq V S ⊆ V , we define the neighborhood N G ( S ) = { u ∈ V − S : there exists an edge u v ∈ E with v ∈ S } N_G(S) = \{u \in V-S : \text{there exists an edge } uv \in E \text{ with } v \in S\} N G ( S ) = { u ∈ V − S : there exists an edge uv ∈ E with v ∈ S } , and we define the extended neighborhood N G [ S ] = S ∪ N G ( S ) N_G[S] = S \cup N_G(S) N G [ S ] = S ∪ N G ( S ) . If v ∈ V v \in V v ∈ V , we abbreviate N G ( { v } ) N_G(\{v\}) N G ({ v }) by N G ( v ) N_G(v) N G ( v ) , and N G [ { v } ] N_G[\{v\}] N G [{ v }] by N G [ v ] N_G[v] N G [ v ] . A clique of G G G is a set of pairwise adjacent vertices of G G G . A separation of G G G is an ordered partition ( A , S , B ) (A,S,B) ( A , S , B ) of V V V such that A , B A,B A , B are nonempty and there is no edge a b ∈ E ab \in E ab ∈ E with a ∈ A , b ∈ B a \in A,b \in B a ∈ A , b ∈ B . The graph G G G is disconnected iff it admits a separation of the form ( A , ∅ , B ) (A,\varnothing,B) ( A , ∅ , B ) , and it is connected otherwise. A connected component of G G G is a maximal connected subgraph of G G G . A graph is a tree iff it is connected and contains no cycle.
Chordal graphs
A hole in G G G is a chordless cycle in G G G of length at least 4. The graph G G G is chordal iff there is no hole in G G G . A vertex v ∈ V v \in V v ∈ V is simplicial in G G G iff N G [ v ] N_G[v] N G [ v ] is a clique of G G G . Let σ = v 1 v 2 … v n \sigma= v_1v_2 \ldots v_n σ = v 1 v 2 … v n be an ordering of V V V . We say that σ \sigma σ is a perfect elimination ordering of G G G iff for each i ∈ [ n ] i \in[n] i ∈ [ n ] , v i v_i v i is simplicial in G [ { v i , v i + 1 , … , v n } ] G[\{v_i,v_{i+1},\ldots,v_n\}] G [{ v i , v i + 1 , … , v n }] . Equivalently, σ \sigma σ is a perfect elimination ordering iff for each p , q , r ∈ [ n ] p,q,r \in[n] p , q , r ∈ [ n ] with p , q > r p,q > r p , q > r , if v p v r ∈ E v_pv_r \in E v p v r ∈ E and v q v r ∈ E v_qv_r \in E v q v r ∈ E then v p v q ∈ E v_pv_q \in E v p v q ∈ E . It is known that a graph is chordal iff it admits a perfect elimination ordering [12 , 13 ] . Moreover, finding a perfect elimination ordering of a chordal graph can be done in linear time [18 ] .
A tree family is a tuple T = ( T , { T v : v ∈ V } ) \mathcal{T} = (T,\{T_v : v \in V\}) T = ( T , { T v : v ∈ V }) where T T T is a tree and each T v T_v T v is a subtree of T T T , namely a connected subgraph of T T T . We say that T \mathcal{T} T is a clique tree of G G G if the following condition holds: for each u , v ∈ V u,v \in V u , v ∈ V , we have u v ∈ E uv \in E uv ∈ E iff V ( T u ) ∩ V ( T v ) ≠ ∅ V(T_u) \cap V(T_v) \ne\varnothing V ( T u ) ∩ V ( T v ) = ∅ . It is known that a graph is chordal iff it admits a clique tree [13 , 15 ] . Suppose that T \mathcal{T} T is a clique tree of G G G . For each x ∈ V ( T ) x \in V(T) x ∈ V ( T ) , we let C x T = { v ∈ V : x ∈ V ( T v ) } C_x^\mathcal{T} = \{v \in V : x \in V(T_v)\} C x T = { v ∈ V : x ∈ V ( T v )} , then each set C x T C_x^\mathcal{T} C x T is a clique of G G G , and each maximal clique of G G G has the form C x T C_x^\mathcal{T} C x T for some x ∈ V ( T ) x \in V(T) x ∈ V ( T ) . Consider an edge e = x y e = xy e = x y of T T T , and let C C C (resp. C ′ C' C ′ ) be the connected component of T − e T-e T − e containing x x x (resp. y y y ). We then define the separation S x y T = ( A , S , B ) S_{xy}^\mathcal{T} = (A,S,B) S x y T = ( A , S , B ) of G G G where A = { v ∈ V : T v ⊆ C } A = \{v \in V : T_v \subseteq C\} A = { v ∈ V : T v ⊆ C } , B = { v ∈ V : T v ⊆ C ′ } B = \{v \in V : T_v \subseteq C'\} B = { v ∈ V : T v ⊆ C ′ } and S = { v ∈ V : T v contains x , y } S = \{v \in V : T_v \text{ contains } x,y\} S = { v ∈ V : T v contains x , y } .
The algorithm
Auxiliary results
For the needs of the algorithm, we consider the following auxiliary problem where a set Y Y Y of forced vertices is provided in addition to the chordal modulator X X X .
Name: D-ChVD2
Input: an instance I = ( G , k , X , Y ) I = (G,k,X,Y) I = ( G , k , X , Y ) where G = ( V , E ) G = (V,E) G = ( V , E ) is a graph, k ∈ N k \in\mathbb{N} k ∈ N is an integer, X , Y X,Y X , Y are disjoint subsets of V V V such that ∣ X ∣ = k |X| = k ∣ X ∣ = k and G − X G-X G − X is chordal
Solution: a set S ⊆ V S \subseteq V S ⊆ V disjoint from X ∪ Y X \cup Y X ∪ Y such that ∣ S ∣ < k |S| < k ∣ S ∣ < k and G − S G-S G − S is chordal
Fix an instance I = ( G , k , X , Y ) I = (G,k,X,Y) I = ( G , k , X , Y ) of D-ChVD2. We let W ′ = X ∪ Y W' = X \cup Y W ′ = X ∪ Y , Z = V − W ′ Z = V - W' Z = V − W ′ and V ′ = Y ∪ Z V' = Y \cup Z V ′ = Y ∪ Z . We assume in the following that we have σ = v 1 … v n \sigma= v_1 \ldots v_n σ = v 1 … v n fixed perfect elimination ordering of G [ V ′ ] G[V'] G [ V ′ ] . We define the labelling l l l by l ( v i ) = i l(v_i) = i l ( v i ) = i for each i ∈ [ n ] i \in[n] i ∈ [ n ] . Given S ⊆ V ′ S \subseteq V' S ⊆ V ′ we let l ( S ) = max v ∈ S l ( v ) l(S) = \max_{v \in S} l(v) l ( S ) = max v ∈ S l ( v ) . If P P P is a path we abbreviate l ( V ( P ) ) l(V(P)) l ( V ( P )) as l ( P ) l(P) l ( P ) . If H H H is a hole in G G G and S ⊆ V S \subseteq V S ⊆ V , a S S S -fragment of H H H is a maximal subpath of H H H included in S S S . Given a set F \mathcal{F} F of S S S -fragments of H H H , a fragment P ∈ F P \in\mathcal{F} P ∈ F is l l l -minimal iff l ( P ) < l ( P ′ ) l(P) < l(P') l ( P ) < l ( P ′ ) for each P ′ ∈ F − { P } P' \in\mathcal{F} - \{P\} P ′ ∈ F − { P } .
Given two vertices x , x ′ ∈ X x,x' \in X x , x ′ ∈ X and a set S ⊆ V S \subseteq V S ⊆ V , we say that x , x ′ x,x' x , x ′ are S S S -connected in G G G iff there is Q Q Q chordless ( x , x ′ ) (x,x') ( x , x ′ ) -path in G G G containing an internal vertex in S S S . If y ∈ V y \in V y ∈ V , we use the formulation y y y -connected to mean { y } \{y\} { y } -connected. Note that x , x ′ x,x' x , x ′ are S S S -connected in G G G iff they are y y y -connected in G G G for some y ∈ S y \in S y ∈ S . Let P I \mathcal{P}_I P I be the set of pairs ( x , x ′ ) (x,x') ( x , x ′ ) such that x , x ′ ∈ X x,x' \in X x , x ′ ∈ X and x , x ′ x,x' x , x ′ are not adjacent, and let S I \mathcal{S}_I S I be the set of pairs ( x , x ′ ) ∈ P I (x,x') \in\mathcal{P}_I ( x , x ′ ) ∈ P I such that x , x ′ x,x' x , x ′ are not Y Y Y -connected in G [ W ′ ] G[W'] G [ W ′ ] .
Let P P P be a chordless path in G [ V ′ ] G[V'] G [ V ′ ] . We say that P P P is a candidate path of type 1 (in I I I ) iff there is H H H hole in G G G such that (a) P P P is a V ′ V' V ′ -fragment of H H H , (b) for each Q Q Q V ′ V' V ′ -fragment of H H H distinct of P P P , we have V ( Q ) ⊆ Y V(Q) \subseteq Y V ( Q ) ⊆ Y . We say that P P P is a candidate path of type 2 (in I I I ) iff there exists ( x , x ′ ) ∈ S I (x,x') \in\mathcal{S}_I ( x , x ′ ) ∈ S I such that x P x ′ xPx' x P x ′ is a chordless path in G G G . We say that P P P is a candidate path (in I I I ) if it is a candidate path of type 1 or 2. In the following, we will simply refer to a candidate path when the instance I I I is clear from the context.
We first consider the problem of finding a candidate path. This is the aim of the following theorem proved in Section 4.
Theorem 2. We have an algorithm FindCandidatePath that takes an instance I = ( G , k , X , Y ) I = (G,k,X,Y) I = ( G , k , X , Y ) of D-ChVD2, and in O ( k 2 ∣ V ( G ) ∣ 4 ) O(k^2|V(G)|^4) O ( k 2 ∣ V ( G ) ∣ 4 ) time, either finds P P P candidate path of type 1, or finds Q Q Q candidate path of type 2 with l ( Q ) l(Q) l ( Q ) minimum, or concludes that there is no candidate path.
We need to ensure that as long as G G G is not chordal, we may find a candidate path. We say that the instance I I I is well-formed if: for each ( x , x ′ ) ∈ P I − S I (x,x') \in\mathcal{P}_I - \mathcal{S}_I ( x , x ′ ) ∈ P I − S I , for each path P P P in G [ V ′ ] G[V'] G [ V ′ ] such that x P x ′ xPx' x P x ′ is chordless, we have y ∈ Y y \in Y y ∈ Y such that x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] and l ( y ) ≤ l ( P ) l(y) \leq l(P) l ( y ) ≤ l ( P ) . Essentially, the way we choose a minimum candidate path of type 2 will ensure that our instance is well-formed at each step. We will rely on the following theorem proved in Section 5.
Theorem 3. Suppose that I I I is well-formed and that G [ W ′ ] G[W'] G [ W ′ ] is chordal. Let H H H be a hole in G G G with ∣ V ( H ) ∩ Z ∣ |V(H) \cap Z| ∣ V ( H ) ∩ Z ∣ minimum. Let F \mathcal{F} F be the set of paths P P P that are V ′ V' V ′ -fragments of H H H and such that V ( P ) ∩ Z ≠ ∅ V(P) \cap Z \ne\varnothing V ( P ) ∩ Z = ∅ . Either: (a) F = { P } \mathcal{F} = \{P\} F = { P } and P P P is a candidate path of type 1, or (b) ∣ F ∣ ≥ 2 |\mathcal{F}| \geq2 ∣ F ∣ ≥ 2 , and for P ∈ F P \in\mathcal{F} P ∈ F l l l -minimal we have P P P candidate path of type 2.
We need to justify that the recursion depth is at most 3 k 3k 3 k . A model is a tuple M = ( X , G , T ) \mathcal{M} = (X,G,\mathcal{T}) M = ( X , G , T ) with G = ( V , E ) G = (V,E) G = ( V , E ) chordal graph, X ⊆ V X \subseteq V X ⊆ V and T \mathcal{T} T clique tree for G G G . Let Y = V − X Y = V - X Y = V − X and suppose that we have P = ( C 1 , C 2 , … , C p ) \mathcal{P} = (C_1,C_2,\ldots,C_p) P = ( C 1 , C 2 , … , C p ) ordered partition of Y Y Y . The length of P \mathcal{P} P is ∣ P ∣ = p |\mathcal{P}| = p ∣ P ∣ = p . Let Y 0 = ∅ Y_0 = \varnothing Y 0 = ∅ and for each i ∈ [ p ] i \in[p] i ∈ [ p ] , let Y i = ⋃ j ≤ i C j Y_i = \bigcup_{j \leq i} C_j Y i = ⋃ j ≤ i C j . We say that P \mathcal{P} P is a progressive partition of M \mathcal{M} M iff for each i ∈ [ p ] i \in[p] i ∈ [ p ] , there exists x , x ′ ∈ X x,x' \in X x , x ′ ∈ X such that x , x ′ x,x' x , x ′ are not Y i − 1 Y_{i-1} Y i − 1 -connected in G [ X ∪ Y i − 1 ] G[X \cup Y_{i-1}] G [ X ∪ Y i − 1 ] and x , x ′ x,x' x , x ′ are Y i Y_i Y i -connected in G [ X ∪ Y i ] G[X \cup Y_i] G [ X ∪ Y i ] . We will need the following theorem proved in Section 6.
Theorem 4. Let M = ( X , G , T ) \mathcal{M} = (X, G, \mathcal{T}) M = ( X , G , T ) be a model and let P \mathcal{P} P be a progressive partition of M \mathcal{M} M . Then ∣ P ∣ ≤ 2 ∣ X ∣ |\mathcal{P}| \le2|X| ∣ P ∣ ≤ 2∣ X ∣ .
Statement and proof of the algorithm
We are now ready to complete the proof of Theorem 1 stated in the introduction. We say that the instance I = ( G , k , X , Y ) I = (G, k, X, Y) I = ( G , k , X , Y ) is trivially negative if k = 0 k = 0 k = 0 or G [ X ∪ Y ] G[X \cup Y] G [ X ∪ Y ] is not chordal. We solve the D-ChVD2 problem by the following recursive algorithm.
Algorithm 1 SolveDChVD(I I I )
1: suppose that I = (G, k, X, Y) with G = (V, E) and k ∈ ℕ
2: let W′ = X ∪ Y and let Z = V − W′
3: if k = 0 or G[X ∪ Y] is not chordal then return false
4: P ← FindCandidatePath(I)
5: if P = ⊥ then return true
6: let I′ = (G, k, X, Y ∪ V(P))
7: r ← SolveDChVD(I′)
8: if r then return true
9: for v ∈ V(P) ∩ Z do
10: let I′ = (G − v, k − 1, X, Y)
11: r ← SolveDChVD(I′)
12: if r then return true
13: end for
14: return false
We prove the correctness of Algorithm 1 in the three following lemmas, concluding with the proof of Theorem 1.
Lemma 1. Suppose that we consider a call SolveDChVD(I I I ) with I I I well-formed, and let us consider a subcall SolveDChVD(I ′ I' I ′ ) with I ′ I' I ′ not trivially negative. Then I ′ I' I ′ is well-formed.
Proof. This is clear for a subcall in Line 11. Consider a subcall in Line 7. Let I ′ = ( G , k , X , Y ′ ) I' = (G, k, X, Y') I ′ = ( G , k , X , Y ′ ) with Y ′ = Y ∪ V ( P ) Y' = Y \cup V(P) Y ′ = Y ∪ V ( P ) , and let W ′ ′ = X ∪ Y ′ W'' = X \cup Y' W ′′ = X ∪ Y ′ . Note that if P P P was a candidate path of type 1, we would have I ′ I' I ′ trivially negative; hence, P P P is a candidate path of type 2. Consider a pair ( x , x ′ ) ∈ P I ′ − S I ′ (x, x') \in P_{I'} - S_{I'} ( x , x ′ ) ∈ P I ′ − S I ′ . We then have x , x ′ ∈ X x, x' \in X x , x ′ ∈ X non adjacent in G G G , and x , x ′ x, x' x , x ′ are Y ′ Y' Y ′ -connected in G [ W ′ ′ ] G[W''] G [ W ′′ ] .
Case 1: x , x ′ x, x' x , x ′ are Y Y Y -connected in G [ W ′ ] G[W'] G [ W ′ ] . We then have ( x , x ′ ) ∈ P I − S I (x, x') \in P_I - S_I ( x , x ′ ) ∈ P I − S I . Consider a path R R R in G [ V ′ ] G[V'] G [ V ′ ] such that x R x ′ xRx' x R x ′ is chordless. Since I I I is well-formed, we have y ∈ Y y \in Y y ∈ Y such that x , x ′ x, x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] and l ( y ) ≤ l ( R ) l(y) \le l(R) l ( y ) ≤ l ( R ) . Since W ′ ⊆ W ′ ′ W' \subseteq W'' W ′ ⊆ W ′′ and Y ⊆ Y ′ Y \subseteq Y' Y ⊆ Y ′ , we also have y ∈ Y ′ y \in Y' y ∈ Y ′ such that x , x ′ x, x' x , x ′ are y y y -connected in G [ W ′ ′ ] G[W''] G [ W ′′ ] and l ( y ) ≤ l ( R ) l(y) \le l(R) l ( y ) ≤ l ( R ) .
Case 2: x , x ′ x, x' x , x ′ are not Y Y Y -connected in G [ W ′ ] G[W'] G [ W ′ ] . Since they are Y ′ Y' Y ′ -connected in G [ W ′ ′ ] G[W''] G [ W ′′ ] , we find y ∈ V ( P ) y \in V(P) y ∈ V ( P ) such that x , x ′ x, x' x , x ′ are y y y -connected in G [ W ′ ′ ] G[W''] G [ W ′′ ] . Consider a path R R R in G [ V ′ ] G[V'] G [ V ′ ] such that x R x ′ xRx' x R x ′ is chordless. Since ( x , x ′ ) ∈ S I (x, x') \in S_I ( x , x ′ ) ∈ S I , we have R R R candidate path of type 2 for instance I I I . By choice of P P P , we have l ( P ) ≤ l ( R ) l(P) \le l(R) l ( P ) ≤ l ( R ) , and thus l ( y ) ≤ l ( R ) l(y) \le l(R) l ( y ) ≤ l ( R ) .
Lemma 2. Suppose that we consider a call SolveDChVD(I I I ) with I I I well-formed and such that the call terminates. If SolveDChVD(I I I ) returns true, then I I I is a positive instance of D-ChVD2.
Proof. We reason by induction on the height the call tree.
Suppose the call exits in Line 5. By Theorem 2, we know that there is no candidate path for I I I . By Theorem 3, it must follow that G G G is chordal. Therefore S = ∅ S = \varnothing S = ∅ is a solution for I I I .
Suppose that the call exits in Line 8. We have considered the instance I ′ = ( G , k , X , Y ′ ) I' = (G,k,X,Y') I ′ = ( G , k , X , Y ′ ) with Y ′ = Y ∪ V ( P ) Y' = Y \cup V(P) Y ′ = Y ∪ V ( P ) . Since SolveDChVD(I ′ I' I ′ ) returned true, it is not trivially negative, and by Lemma 1 we infer that I ′ I' I ′ is well-formed. By induction hypothesis we obtain S S S solution for I ′ I' I ′ . Since S S S is disjoint from X ∪ Y ′ X \cup Y' X ∪ Y ′ , we also have S S S disjoint from X ∪ Y X \cup Y X ∪ Y , and thus S S S is a solution for I I I .
Suppose that the call exits in Line 12. We have considered the instance I ′ = ( G − v , k − 1 , X , Y ) I' = (G-v,k-1,X,Y) I ′ = ( G − v , k − 1 , X , Y ) . Since SolveDChVD(I ′ I' I ′ ) returned true, it is not trivially negative, and by Lemma 1 we infer that I ′ I' I ′ is well-formed. By induction hypothesis we obtain S S S solution for I ′ I' I ′ . Let S ′ = S ∪ { v } S' = S \cup\{v\} S ′ = S ∪ { v } . Since v ∈ Z v \in Z v ∈ Z , we have S ′ ⊆ V S' \subseteq V S ′ ⊆ V disjoint from X ∪ Y X \cup Y X ∪ Y such that ∣ S ′ ∣ < k |S'| < k ∣ S ′ ∣ < k and G − S ′ G-S' G − S ′ is chordal. We conclude that S ′ S' S ′ is a solution for I I I .
Lemma 3
Lemma 3. Suppose that we consider a call SolveDChVD(I I I ) with I I I well-formed and such that the call terminates. If I I I is a positive instance of D-ChVD2, then SolveDChVD(I I I ) returns true.
Proof. We reason by induction on the height of the call tree.
Let S S S be a solution for I I I , we then have S ⊆ V S \subseteq V S ⊆ V disjoint from X ∪ Y X \cup Y X ∪ Y such that ∣ S ∣ < k |S| < k ∣ S ∣ < k and G − S G-S G − S is chordal. Since ∣ S ∣ < k |S| < k ∣ S ∣ < k , we have k > 0 k > 0 k > 0 . Since S S S is disjoint from X ∪ Y X \cup Y X ∪ Y , we have G [ X ∪ Y ] G[X \cup Y] G [ X ∪ Y ] induced subgraph of G − S G-S G − S and thus chordal. It follows that the current call cannot exit in Line 3. If the algorithm exits in Line 5, we have the desired conclusion. Suppose now that the algorithm reaches Line 6.
Case 1: S S S is disjoint from V ( P ) V(P) V ( P ) . Consider the instance I ′ = ( G , k , X , Y ∪ V ( P ) ) I' = (G,k,X,Y \cup V(P)) I ′ = ( G , k , X , Y ∪ V ( P )) . Then S S S is a solution for I ′ I' I ′ , and thus I ′ I' I ′ is not trivially negative. By Lemma 1, I ′ I' I ′ is well-formed. Since I ′ I' I ′ is positive, by induction hypothesis the subcall SolveDChVD(I ′ I' I ′ ) returns true.
Case 2: S S S contains a vertex v ∈ V ( P ) v \in V(P) v ∈ V ( P ) . Consider the instance I ′ = ( G − v , k − 1 , X , Y ) I' = (G-v,k-1,X,Y) I ′ = ( G − v , k − 1 , X , Y ) . Then S − v S-v S − v is a solution for I ′ I' I ′ , and thus I ′ I' I ′ is not trivially negative. By Lemma 1, I ′ I' I ′ is well-formed. Since I ′ I' I ′ is positive, by induction hypothesis the subcall SolveDChVD(I ′ I' I ′ ) returns true.
We are now ready to complete the proof of Theorem 1. Given an instance I = ( G , k , X , Y ) I = (G,k,X,Y) I = ( G , k , X , Y ) of D-ChVD2, we let L ( I ) L(I) L ( I ) denote the maximum length of a chordless path in G − X G-X G − X .
Theorem 5. (Theorem 1 restated ) Consider an instance of D-ChVD2 of the form I = ( G , k , X , ∅ ) I = (G,k,X,\varnothing) I = ( G , k , X , ∅ ) and let L = L ( I ) L = L(I) L = L ( I ) . Algorithm 1 correctly solves instance I I I in O ( ( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) O((L+1)^{3k}k^2|V(G)|^4) O (( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) time.
Proof. Clearly, I I I is well-formed. Lemmas 2 and 3 prove that the algorithm correctly solves the instance I I I , assuming that it terminates. We now justify the running time of the algorithm. Let T T T be the tree formed by the recursive calls issued by SolveDChVD(I I I ). Each node u u u of T T T is labelled by an instance I u I_u I u , and we have disjoint sets R u , Y u ⊆ V ′ R_u,Y_u \subseteq V' R u , Y u ⊆ V ′ such that I u = ( G − R u , k − ∣ R u ∣ , X , Y u ) I_u = (G-R_u,k-|R_u|,X,Y_u) I u = ( G − R u , k − ∣ R u ∣ , X , Y u ) . Moreover, the set Y u Y_u Y u results by a sequence of additions C 1 , C 2 , … , C l C_1,C_2,\ldots,C_l C 1 , C 2 , … , C l to Y Y Y . We may then define an ordered partition P u = ( C 1 , C 2 , … , C l ) \mathcal{P}_u=(C_1,C_2,\ldots,C_l) P u = ( C 1 , C 2 , … , C l ) of Y u Y_u Y u corresponding to this sequence; by Theorem 4, we always have ∣ P u ∣ ≤ 2 ∣ X ∣ = 2 k |\mathcal{P}_u|\le2|X|=2k ∣ P u ∣ ≤ 2∣ X ∣ = 2 k . We then define the measure of a subinstance as m ( I u ) = 3 k − ∣ R u ∣ − ∣ P u ∣ m(I_u)=3k-|R_u|-|\mathcal{P}_u| m ( I u ) = 3 k − ∣ R u ∣ − ∣ P u ∣ . Note that for an instance I u I_u I u we always have m ( I u ) ≥ 3 k − k − 2 k ≥ 0 m(I_u)\ge3k-k-2k\ge0 m ( I u ) ≥ 3 k − k − 2 k ≥ 0 . Moreover, for each child v v v of u u u we have m ( I v ) ≤ m ( I u ) − 1 m(I_v)\le m(I_u)-1 m ( I v ) ≤ m ( I u ) − 1 . Finally, for each subinstance I u I_u I u we have L ( I u ) = L L(I_u)=L L ( I u ) = L , and thus the node u u u has at most L + 1 L+1 L + 1 children. It follows that the recursion tree T T T has total size at most ( L + 1 ) 3 k (L+1)^{3k} ( L + 1 ) 3 k . Since each recursive call takes O ( k 2 ∣ V ( G ) ∣ 4 ) O(k^2|V(G)|^4) O ( k 2 ∣ V ( G ) ∣ 4 ) by Theorem 2, we conclude that the main call S o l v e D C h V D ( I ) \mathsf{SolveDChVD}(I) SolveDChVD ( I ) takes O ( ( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) O((L+1)^{3k}k^2|V(G)|^4) O (( L + 1 ) 3 k k 2 ∣ V ( G ) ∣ 4 ) time. □ \square □
Proof of Theorem 2
Auxiliary results
The following lemma provides an efficient algorithm to decide the w w w -connectedness of a pair of vertices u , v u,v u , v in a chordal graph.
Lemma 4. Let G G G be a chordal graph with n n n vertices, and let u , v , w ∈ V ( G ) u,v,w\in V(G) u , v , w ∈ V ( G ) . We may decide in O ( n 3 ) O(n^3) O ( n 3 ) time if u , v u,v u , v are w w w -connected in G G G .
Proof. Suppose that G = ( V , E ) G=(V,E) G = ( V , E ) is chordal. We first compute in O ( n 2 ) O(n^2) O ( n 2 ) time a clique tree T = ( T , { T v : v ∈ V } ) \mathcal{T}=(T,\{T_v:v\in V\}) T = ( T , { T v : v ∈ V }) for G G G e.g. using the algorithm of [18 ] . We may suppose that T = ( W , F ) T=(W,F) T = ( W , F ) with ∣ W ∣ ≤ n |W|\le n ∣ W ∣ ≤ n . For each edge x y xy x y of T T T , we compute the separation S x y T = ( A , S , B ) S^{\mathcal{T}}_{xy}=(A,S,B) S x y T = ( A , S , B ) . If w ∈ S w\in S w ∈ S , we test whether there is an ( u , w ) (u,w) ( u , w ) -path in G [ A ∪ { w } ] G[A\cup\{w\}] G [ A ∪ { w }] and a ( v , w ) (v,w) ( v , w ) -path in G [ B ∪ { w } ] G[B\cup\{w\}] G [ B ∪ { w }] , and we accept if this is the case. If no such edge x y xy x y is found, we reject. The correctness of the algorithm is easy to see, and its time complexity is O ( n 3 ) O(n^3) O ( n 3 ) since ∣ F ∣ ≤ n |F|\le n ∣ F ∣ ≤ n , and since each inspection of an edge of F F F takes O ( n 2 ) O(n^2) O ( n 2 ) time. □ \square □
We now define some specific set of paths in a graph. Let G = ( V , E ) G=(V,E) G = ( V , E ) be a graph. Consider three sets A , B , C ⊆ V A,B,C\subseteq V A , B , C ⊆ V . We denote by Π G 1 ( A ) \Pi^1_G(A) Π G 1 ( A ) the set of paths of length 1 in G G G that have the form P = z P=z P = z with z ∈ A z\in A z ∈ A . We denote by Π G 2 ( A , B ) \Pi^2_G(A,B) Π G 2 ( A , B ) the set of paths of length 2 in G G G that have the form P = z 1 z 2 P=z_1z_2 P = z 1 z 2 with z 1 ∈ A z_1\in A z 1 ∈ A , z 2 ∈ B z_2\in B z 2 ∈ B . We denote by Π G ≥ 3 ( A , B , C ) \Pi^{\geq3}_G(A,B,C) Π G ≥ 3 ( A , B , C ) the set of chordless paths of length at least 3 in G G G that have the form P = z 1 z 2 … z L P=z_1z_2\ldots z_L P = z 1 z 2 … z L with z 1 ∈ A z_1\in A z 1 ∈ A , z L ∈ B z_L\in B z L ∈ B and for each i i i (1 < i < L 1<i<L 1 < i < L ) z i ∈ C z_i\in C z i ∈ C .
Note that the set Π G ≥ 3 ( A , B , C ) \Pi^{\geq3}_G(A,B,C) Π G ≥ 3 ( A , B , C ) has exponential size in general. However, we will only need to find a minimum-weight path in the set, which can be done efficiently as follows.
Lemma 5. Consider a graph G G G with n n n vertices, a weight function w : V ( G ) → N w:V(G)\to\mathbb{N} w : V ( G ) → N , and three sets A , B , C ⊆ V ( G ) A,B,C\subseteq V(G) A , B , C ⊆ V ( G ) . Given a path P P P in G G G , let w ( P ) = max v ∈ V ( P ) w ( v ) w(P)=\max_{v\in V(P)}w(v) w ( P ) = max v ∈ V ( P ) w ( v ) . In O ( n 3 ) O(n^3) O ( n 3 ) time we can compute a path P ∈ Π G ≥ 3 ( A , B , C ) P\in\Pi^{\geq3}_G(A,B,C) P ∈ Π G ≥ 3 ( A , B , C ) with w ( P ) w(P) w ( P ) minimum, or report that no such path exists.
Proof. Fix a ∈ A a\in A a ∈ A . Let B ′ = B − N G [ a ] B'=B-N_G[a] B ′ = B − N G [ a ] and let S = { a } ∪ B ′ ∪ C S=\{a\}\cup B'\cup C S = { a } ∪ B ′ ∪ C . We construct the weighted graph H = ( G ′ , w ′ ) \mathcal{H}=(G',w') H = ( G ′ , w ′ ) where G ′ = G [ S ] G'=G[S] G ′ = G [ S ] and w ′ = w ∣ S w'=w|S w ′ = w ∣ S . Using Dijkstra algorithm [19 ] adapted to the (max, min)-setting, we compute the distances d H ( a , v ) d_{\mathcal{H}}(a,v) d H ( a , v ) for v ∈ S v\in S v ∈ S in O ( n 2 ) O(n^2) O ( n 2 ) time. We choose b ∈ B ′ b\in B' b ∈ B ′ such that d H ( a , b ) d_{\mathcal{H}}(a,b) d H ( a , b ) is minimum, and this gives the weight of a minimum path in Π G ≥ 3 ( { a } , B , C ) \Pi^{\geq3}_G(\{a\},B,C) Π G ≥ 3 ({ a } , B , C ) . By iterating over the vertices a ∈ A a\in A a ∈ A and by selecting the vertex that gives the minimum result, we find the weight of a minimum path in Π G ≥ 3 ( A , B , C ) \Pi^{\geq3}_G(A,B,C) Π G ≥ 3 ( A , B , C ) in O ( n 3 ) O(n^3) O ( n 3 ) time. Using appropriate chaining, we can recover such a minimum path in O ( n 2 ) O(n^2) O ( n 2 ) time. □ \square □
Proof of the main result
Consider an instance I = ( G , k , X , Y ) I=(G,k,X,Y) I = ( G , k , X , Y ) of D-ChVD2. As above, we have G = ( V , E ) G=(V,E) G = ( V , E ) , W ′ = X ∪ Y W'=X\cup Y W ′ = X ∪ Y , Z = V − W ′ Z=V-W' Z = V − W ′ and V ′ = Y ∪ Z V'=Y\cup Z V ′ = Y ∪ Z . We define the following notions.
A 1-anchor in I I I is a tuple ( x ) (x) ( x ) with x ∈ X x\in X x ∈ X .
A 2-anchor in I I I is a tuple ( x , x ′ ) (x,x') ( x , x ′ ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X adjacent in G G G .
A 3-anchor in I I I is a tuple ( x , x ′ , y ) (x,x',y) ( x , x ′ , y ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X nonadjacent in G G G , and y ∈ W ′ y\in W' y ∈ W ′ such that x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] .
A 4-anchor in I I I is a tuple ( x , x ′ ) (x,x') ( x , x ′ ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X nonadjacent in G G G , such that x , x ′ x,x' x , x ′ are not Y Y Y -connected in G [ W ′ ] G[W'] G [ W ′ ] .
For i ∈ [ 4 ] i\in[4] i ∈ [ 4 ] , we define S I i S_I^i S I i as the set of i i i -anchors in I I I . Note that S I 4 S_I^4 S I 4 coincides with the set S I S_I S I considered in Section 3. For each t ∈ S I i t\in S_I^i t ∈ S I i , we define a set of paths P I , t i \mathcal{P}_{I,t}^i P I , t i as follows.
Let t = ( x ) t=(x) t = ( x ) be a 1-anchor in I I I . Let A t = { z ∈ V ′ : N G ( z ) ∩ { x } = { x } } A_t=\{z\in V':N_G(z)\cap\{x\}=\{x\}\} A t = { z ∈ V ′ : N G ( z ) ∩ { x } = { x }} and B t = { z ∈ V ′ : N G ( z ) ∩ { x } = ∅ } B_t=\{z\in V':N_G(z)\cap\{x\}=\varnothing\} B t = { z ∈ V ′ : N G ( z ) ∩ { x } = ∅ } . We define P I , t 1 = Π G ≥ 3 ( A t , A t , B t ) \mathcal{P}_{I,t}^1=\Pi_G^{\geq3}(A_t,A_t,B_t) P I , t 1 = Π G ≥ 3 ( A t , A t , B t ) .
Let t = ( x , x ′ ) t=(x,x') t = ( x , x ′ ) be a 2-anchor in I I I . Let A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x } } A_t=\{z\in V':N_G(z)\cap\{x,x'\}=\{x\}\} A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x }} , B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x ′ } } B_t=\{z\in V':N_G(z)\cap\{x,x'\}=\{x'\}\} B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x ′ }} and C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = ∅ } C_t=\{z\in V':N_G(z)\cap\{x,x'\}=\varnothing\} C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = ∅ } . We define P I , t 2 = Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) \mathcal{P}_{I,t}^2=\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P I , t 2 = Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) .
Let t = ( x , x ′ , y ) t=(x,x',y) t = ( x , x ′ , y ) be a 3-anchor in I I I . Let A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x } } A_t=\{z\in V':N_G(z)\cap\{x,x',y\}=\{x\}\} A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x }} , B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x ′ } } B_t=\{z\in V':N_G(z)\cap\{x,x',y\}=\{x'\}\} B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x ′ }} , C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = ∅ } C_t=\{z\in V':N_G(z)\cap\{x,x',y\}=\varnothing\} C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = ∅ } and D t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x , x ′ } } D_t=\{z\in V':N_G(z)\cap\{x,x',y\}=\{x,x'\}\} D t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ , y } = { x , x ′ }} . We define P I , t 3 = Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) \mathcal{P}_{I,t}^3=\Pi_G^1(D_t)\cup\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P I , t 3 = Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) .
Let t = ( x , x ′ ) t=(x,x') t = ( x , x ′ ) be a 4-anchor in I I I . Let A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x } } A_t=\{z\in V':N_G(z)\cap\{x,x'\}=\{x\}\} A t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x }} , B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x ′ } } B_t=\{z\in V':N_G(z)\cap\{x,x'\}=\{x'\}\} B t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x ′ }} , C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = ∅ } C_t=\{z\in V':N_G(z)\cap\{x,x'\}=\varnothing\} C t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = ∅ } and D t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x , x ′ } } D_t=\{z\in V':N_G(z)\cap\{x,x'\}=\{x,x'\}\} D t = { z ∈ V ′ : N G ( z ) ∩ { x , x ′ } = { x , x ′ }} . We define P I , t 4 = Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) \mathcal{P}_{I,t}^4=\Pi_G^1(D_t)\cup\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P I , t 4 = Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) .
The following two lemmas prove that, in order to find a candidate path, we may restrict ourselves to the sets P I , t i \mathcal{P}_{I,t}^i P I , t i .
Lemma 6. Let P P P be a chordless path in G [ V ′ ] G[V'] G [ V ′ ] .
If P P P is a candidate path of type 1 in I I I , then P ∈ P I , t i P\in\mathcal{P}_{I,t}^i P ∈ P I , t i for some i ∈ [ 3 ] i\in[3] i ∈ [ 3 ] and t ∈ S I i t\in S_I^i t ∈ S I i .
If P ∈ P I , t i P\in\mathcal{P}_{I,t}^i P ∈ P I , t i for some i ∈ [ 3 ] i\in[3] i ∈ [ 3 ] and t ∈ S I i t\in S_I^i t ∈ S I i , then we can find P ′ P' P ′ candidate path of type 1 in I I I .
Proof. Point 1. Suppose that P P P is a candidate path of type 1 in I I I . We then find H H H hole in G G G such that (a) P P P is a V ′ V' V ′ -fragment of H H H , (b) for each Q Q Q V ′ V' V ′ -fragment of H H H distinct of P P P , we have V ( Q ) ⊆ Y V(Q)\subseteq Y V ( Q ) ⊆ Y . Suppose that H = z 1 z 2 … z L z 1 H=z_1z_2\ldots z_Lz_1 H = z 1 z 2 … z L z 1 and suppose w.l.o.g. that P = z 1 z 2 … z p P=z_1z_2\ldots z_p P = z 1 z 2 … z p . We then have z L ∈ X z_L\in X z L ∈ X . If p = L − 1 p=L-1 p = L − 1 , we obtain that t = ( z L ) ∈ S I 1 t=(z_L)\in S_I^1 t = ( z L ) ∈ S I 1 and that P ∈ Π G ≥ 3 ( A t , A t , B t ) P\in\Pi_G^{\geq3}(A_t,A_t,B_t) P ∈ Π G ≥ 3 ( A t , A t , B t ) , hence P ∈ P I , t 1 P\in\mathcal{P}_{I,t}^1 P ∈ P I , t 1 . If p = L − 2 p=L-2 p = L − 2 , we obtain that t = ( z L , z L − 1 ) ∈ S I 2 t=(z_L,z_{L-1})\in S_I^2 t = ( z L , z L − 1 ) ∈ S I 2 and that P ∈ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) P\in\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P ∈ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) , hence P ∈ P I , t 2 P\in\mathcal{P}_{I,t}^2 P ∈ P I , t 2 . Suppose now that p < L − 2 p<L-2 p < L − 2 . Let x = z L x=z_L x = z L , x ′ = z p + 1 x'=z_{p+1} x ′ = z p + 1 and y = z p + 2 y=z_{p+2} y = z p + 2 . Observe that the path z p + 1 z p + 2 … z L z_{p+1}z_{p+2}\ldots z_L z p + 1 z p + 2 … z L contains y y y and is included in W ′ W' W ′ . It follows that x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] , and thus t = ( x , x ′ , y ) t=(x,x',y) t = ( x , x ′ , y ) is in S I 3 S_I^3 S I 3 . Moreover, we have P ∈ Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) P\in\Pi_G^1(D_t)\cup\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P ∈ Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) and thus P ∈ P I , t 3 P\in\mathcal{P}_{I,t}^3 P ∈ P I , t 3 .
Point 2. Suppose that P ∈ P I , t i P\in\mathcal{P}_{I,t}^i P ∈ P I , t i for some i ∈ [ 3 ] i\in[3] i ∈ [ 3 ] and t ∈ S I i t\in S_I^i t ∈ S I i . If i = 1 i=1 i = 1 , we have t = ( x ) t=(x) t = ( x ) with x ∈ X ′ x\in X' x ∈ X ′ , and since P ∈ P I , t 1 P\in\mathcal{P}_{I,t}^1 P ∈ P I , t 1 we have H = x P x H=xPx H = x P x hole in G G G and thus P P P is a candidate path of type 1 in I I I . If i = 2 i=2 i = 2 , we have t = ( x , x ′ ) t=(x,x') t = ( x , x ′ ) with x , x ′ ∈ X ′ x,x'\in X' x , x ′ ∈ X ′ adjacent in G G G , and since P ∈ P I , t 2 P\in\mathcal{P}_{I,t}^2 P ∈ P I , t 2 we have H = x P x ′ x H=xPx'x H = x P x ′ x hole in G G G and thus P P P is a candidate path of type 2 in I I I . Suppose now that i = 3 i=3 i = 3 . We then have t = ( x , x ′ , y ) t=(x,x',y) t = ( x , x ′ , y ) with x , x ′ ∈ X x,x'\in X x , x ′ ∈ X nonadjacent in G G G and y ∈ W ′ y\in W' y ∈ W ′ such that x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] . We find Q Q Q chordless ( x , x ′ ) (x,x') ( x , x ′ ) -path in G [ W ′ ] G[W'] G [ W ′ ] containing y y y . Suppose that P = z 1 z 2 … z p P=z_1z_2\ldots z_p P = z 1 z 2 … z p and suppose that Q = z 1 ′ z 2 ′ … z q ′ Q=z'_1z'_2\ldots z'_q Q = z 1 ′ z 2 ′ … z q ′ . We then have z 1 ′ = x z'_1=x z 1 ′ = x , z q ′ = x ′ z'_q=x' z q ′ = x ′ and z r ′ = y z'_r=y z r ′ = y for some r r r (1 < r < q 1<r<q 1 < r < q ). Let J J J be the set of pairs ( α , β ) (\alpha,\beta) ( α , β ) (1 ≤ α ≤ p , 1 ≤ β ≤ r 1\leq\alpha\leq p,1\leq\beta\leq r 1 ≤ α ≤ p , 1 ≤ β ≤ r ) such that z α z β ′ ∈ E z_\alpha z'_\beta\in E z α z β ′ ∈ E ; observe that J J J contains ( 1 , 1 ) (1,1) ( 1 , 1 ) . Let us choose ( α , β ) ∈ J (\alpha,\beta)\in J ( α , β ) ∈ J with α + β \alpha+\beta α + β maximum. Let J ′ J' J ′ be the set of pairs ( γ , δ ) (\gamma,\delta) ( γ , δ ) (α ≤ γ ≤ p , r ≤ δ ≤ q \alpha\leq\gamma\leq p,r\leq\delta\leq q α ≤ γ ≤ p , r ≤ δ ≤ q ) such that z γ z δ ′ ∈ E z_\gamma z'_\delta\in E z γ z δ ′ ∈ E ; observe that J ′ J' J ′ contains ( p , q ) (p,q) ( p , q ) . Choose ( γ , δ ) ∈ J ′ (\gamma,\delta)\in J' ( γ , δ ) ∈ J ′ with γ + δ \gamma+\delta γ + δ minimum. Since the vertices of P P P are not adjacent to y y y , we have β < r < δ \beta<r<\delta β < r < δ . Let P ′ = P [ z α , z γ ] P'=P[z_\alpha,z_\gamma] P ′ = P [ z α , z γ ] and Q ′ = Q [ z β ′ , z δ ′ ] Q'=Q[z'_\beta,z'_\delta] Q ′ = Q [ z β ′ , z δ ′ ] , then E ( P ′ ) ∪ E ( Q ′ ) E(P')\cup E(Q') E ( P ′ ) ∪ E ( Q ′ ) form a hole H ′ H' H ′ in G G G . Hence, P ′ P' P ′ is included in a V ′ V' V ′ -fragment R R R of H ′ H' H ′ , and for each R ′ R' R ′ V ′ V' V ′ -fragment of H ′ H' H ′ distinct of R R R we have V ( R ′ ) ⊆ V ( Q ′ ) ⊆ Y V(R')\subseteq V(Q')\subseteq Y V ( R ′ ) ⊆ V ( Q ′ ) ⊆ Y . We conclude that P ′ P' P ′ is a candidate path of type 1 in I I I . □
Lemma 7
Lemma 7. Let P P P be a chordless path in G [ V ′ ] G[V'] G [ V ′ ] .
If P P P is a candidate path of type 2 in I I I , then P ∈ P I , t 4 P\in\mathcal{P}_{I,t}^4 P ∈ P I , t 4 for some t ∈ S I 4 t\in S_I^4 t ∈ S I 4 .
If P ∈ P I , t 4 P\in\mathcal{P}_{I,t}^4 P ∈ P I , t 4 for some t ∈ S I 4 t\in S_I^4 t ∈ S I 4 , then P P P is a candidate path of type 2 in I I I .
Proof. Point 1. Suppose that P P P is a candidate path of type 2 in I I I . We then find ( x , x ′ ) ∈ S I (x,x')\in S_I ( x , x ′ ) ∈ S I such that x P x ′ xPx' x P x ′ is a chordless path in G [ V ′ ] G[V'] G [ V ′ ] . Let t = ( x , x ′ ) t=(x,x') t = ( x , x ′ ) , we then have t ∈ S I 4 t\in S_I^4 t ∈ S I 4 . Suppose that P = z 1 z 2 … z p P=z_1z_2\ldots z_p P = z 1 z 2 … z p . If p = 1 p=1 p = 1 , we have z 1 ∈ D t z_1\in D_t z 1 ∈ D t . If p > 1 p>1 p > 1 , we have z 1 ∈ A t z_1\in A_t z 1 ∈ A t , z p ∈ B t z_p\in B_t z p ∈ B t , and z i ∈ C t z_i\in C_t z i ∈ C t (1 < i < p 1<i<p 1 < i < p ). It follows that: P ∈ Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) P\in\Pi_G^1(D_t)\cup\Pi_G^2(A_t,B_t)\cup\Pi_G^{\geq3}(A_t,B_t,C_t) P ∈ Π G 1 ( D t ) ∪ Π G 2 ( A t , B t ) ∪ Π G ≥ 3 ( A t , B t , C t ) . We conclude that P ∈ P I , t 4 P\in\mathcal{P}_{I,t}^4 P ∈ P I , t 4 .
Point 2. Suppose that P ∈ P I , t 4 P\in\mathcal{P}_{I,t}^4 P ∈ P I , t 4 for some t = ( x , x ′ ) ∈ S I 4 t=(x,x')\in S_I^4 t = ( x , x ′ ) ∈ S I 4 . Suppose that P = z 1 z 2 … z p P=z_1z_2\ldots z_p P = z 1 z 2 … z p . If P ∈ Π G 1 ( D t ) P\in\Pi_G^1(D_t) P ∈ Π G 1 ( D t ) , then z 1 ∈ D t z_1\in D_t z 1 ∈ D t and x P x ′ xPx' x P x ′ is a chordless path in G G G . If P ∈ Π G 2 ( A t , B t ) P\in\Pi_G^2(A_t,B_t) P ∈ Π G 2 ( A t , B t ) , then z 1 ∈ A t z_1\in A_t z 1 ∈ A t , z 2 ∈ B t z_2\in B_t z 2 ∈ B t , hence x P x ′ xPx' x P x ′ is a chordless path in G G G . If P ∈ Π G ≥ 3 ( A t , B t , C t ) P\in\Pi_G^{\geq3}(A_t,B_t,C_t) P ∈ Π G ≥ 3 ( A t , B t , C t ) , then z 1 ∈ A t z_1\in A_t z 1 ∈ A t , z p ∈ B t z_p\in B_t z p ∈ B t , and z i ∈ C t z_i\in C_t z i ∈ C t ($1<i<p$), hence x P x ′ xPx' x P x ′ is a chordless path in G G G . Since ( x , x ′ ) ∈ S I (x,x')\in S_I ( x , x ′ ) ∈ S I , we conclude that P P P is a candidate path of type 2 in $I.
We are now ready to complete the proof of Theorem 2.
Theorem 6. (Theorem 2 restated ) We have an algorithm FindCandidatePath that takes an instance I = ( G , k , X , Y ) I=(G,k,X,Y) I = ( G , k , X , Y ) of D-CₕVD2, and in O ( k 2 ∣ V ( G ) ∣ 4 ) O(k^2|V(G)|^4) O ( k 2 ∣ V ( G ) ∣ 4 ) time, either finds P P P candidate path of type 1, or finds Q Q Q candidate path of type 2 with l ( Q ) l(Q) l ( Q ) minimum, or concludes that there is no candidate path.
Proof. Let n = ∣ V ( G ) ∣ n=|V(G)| n = ∣ V ( G ) ∣ .
The algorithm first constructs the set of anchors. We can test in constant time whether a tuple is a 1-anchor or a 2-anchor. To decide if a tuple ( x , x ′ , y ) (x,x',y) ( x , x ′ , y ) is a 3-anchor, we use Lemma 4 to decide in O ( n 3 ) O(n^3) O ( n 3 ) time if x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] . To decide if a tuple ( x , x ′ ) (x,x') ( x , x ′ ) is a 4-anchor, we use Lemma 4 to decide in O ( n 4 ) O(n^4) O ( n 4 ) time are Y Y Y -connected in G [ W ′ ] G[W'] G [ W ′ ] . Hence, we can list the anchors in O ( k 2 n 4 ) O(k^2n^4) O ( k 2 n 4 ) time. Suppose now that the set of anchors is available. To find a candidate path of type 1, by Lemma 6 it suffices to test if there is some i ∈ [ 3 ] i \in[3] i ∈ [ 3 ] and some t ∈ S i 3 t \in S_i^3 t ∈ S i 3 such that P i , t 1 \mathcal{P}_{i,t}^1 P i , t 1 is non-empty. Similarly, to find a minimum candidate path of type 2, by Lemma 7 it suffices to compute the minimum of l ( P ) l(P) l ( P ) over each tuple t ∈ S 4 4 t \in S_4^4 t ∈ S 4 4 and each path P ∈ P I , t 4 P \in\mathcal{P}_{I,t}^4 P ∈ P I , t 4 . By Lemma 5, for a given t t t the computation can be done in O ( n 3 ) O(n^3) O ( n 3 ) time. As there are O ( k 2 n 3 ) O(k^2n^3) O ( k 2 n 3 ) 3-anchors and O ( k 2 ) O(k^2) O ( k 2 ) 4-anchors, we may find the desired result in O ( k 2 n 4 ) O(k^2n^4) O ( k 2 n 4 ) time.
Proof of Theorem 3
We will need the following standard property of chordal graphs.
Lemma 8. Suppose that G G G is chordal. Let P = z 1 z 2 … z L P = z_1z_2 \ldots z_L P = z 1 z 2 … z L a chordless path in G G G with L ≥ 3 L \ge3 L ≥ 3 and let R ⊆ V ( G ) R \subseteq V(G) R ⊆ V ( G ) such that (a) G [ R ] G[R] G [ R ] is connected, (b) z 1 , z L ∈ N G [ R ] z_1, z_L \in N_G[R] z 1 , z L ∈ N G [ R ] . Then for each i ∈ [ L ] i \in[L] i ∈ [ L ] we have z i ∈ N G [ R ] z_i \in N_G[R] z i ∈ N G [ R ] .
Proof. By way of contradiction, suppose that z i ∉ N G [ R ] z_i \notin N_G[R] z i ∈ / N G [ R ] for some i i i (1 < i < L 1 < i < L 1 < i < L ). Let J = { p : 1 ≤ p < i and z i ∈ N G [ R ] } J = \{p : 1 \le p < i \text{ and } z_i \in N_G[R]\} J = { p : 1 ≤ p < i and z i ∈ N G [ R ]} and J ′ = { p : i < p ≤ L and z i ∈ N G [ R ] } J' = \{p : i < p \le L \text{ and } z_i \in N_G[R]\} J ′ = { p : i < p ≤ L and z i ∈ N G [ R ]} . We have J ≠ ∅ J \ne\varnothing J = ∅ since z 1 ∈ N G [ R ] z_1 \in N_G[R] z 1 ∈ N G [ R ] , and we have J ′ ≠ ∅ J' \ne\varnothing J ′ = ∅ since z L ∈ N G [ R ] z_L \in N_G[R] z L ∈ N G [ R ] . Choose p p p maximum element of J J J , and q q q minimum element of J ′ J' J ′ . Since G [ R ] G[R] G [ R ] is connected, we find Q Q Q chordless ( z p , z q ) (z_p,z_q) ( z p , z q ) -path which internal vertices are in R R R . Then Q z q − 1 … z p Qz_{q-1}\ldots z_p Q z q − 1 … z p is a hole in G G G , contradiction.
We are now in a position to prove Theorem 3.
Theorem 7. (Theorem 3 restated ) Suppose that I I I is well-formed and that G [ W ′ ] G[W'] G [ W ′ ] is chordal. Let H H H be a hole in G G G with ∣ V ( H ) ∩ Z ∣ |V(H) \cap Z| ∣ V ( H ) ∩ Z ∣ minimum. Let F \mathcal{F} F be the set of paths P P P that are V ′ V' V ′ -fragments of H H H and such that V ( P ) ∩ Z ≠ ∅ V(P) \cap Z \ne\varnothing V ( P ) ∩ Z = ∅ . Either: (a) F = { P } \mathcal{F} = \{P\} F = { P } and P P P is a candidate path of type 1, or (b) ∣ F ∣ ≥ 2 |\mathcal{F}| \ge2 ∣ F ∣ ≥ 2 , and for P ∈ F P \in\mathcal{F} P ∈ F l l l -minimal we have P P P candidate path of type 2.
Proof. Using the perfect elimination ordering σ \sigma σ , we may construct a clique tree for G [ V ′ ] G[V'] G [ V ′ ] of the form T = ( T , { T v : v ∈ V ′ } ) T=(T,\{T_v:v\in V'\}) T = ( T , { T v : v ∈ V ′ }) . Suppose that T = ( W , F ) T=(W,F) T = ( W , F ) , and that T T T is rooted at some node r T ∈ W r_T\in W r T ∈ W . Given two nodes u , v ∈ W u,v\in W u , v ∈ W , we denote u ≤ T v u\le_T v u ≤ T v if v v v is closer to r T r_T r T than u u u . Given a connected subset S S S of T T T , we let r ( S ) r(S) r ( S ) denote the element of S S S maximal for ≤ T \le_T ≤ T . Given v ∈ V ′ v\in V' v ∈ V ′ , we let r ( v ) = r ( T v ) r(v)=r(T_v) r ( v ) = r ( T v ) . We may assume that: given u , v ∈ V ′ u,v\in V' u , v ∈ V ′ , if r ( u ) ≤ T r ( v ) r(u)\le_T r(v) r ( u ) ≤ T r ( v ) then l ( u ) ≤ l ( v ) l(u)\le l(v) l ( u ) ≤ l ( v ) .
Since G [ W ′ ] G[W'] G [ W ′ ] is chordal, the hole H H H must intersect Z Z Z , hence F \mathcal{F} F is non-empty. Clearly, if F = { P } \mathcal{F}=\{P\} F = { P } then P P P is a candidate path of type 1. Suppose now that ∣ F ∣ ≥ 2 |\mathcal{F}|\ge2 ∣ F ∣ ≥ 2 , and let P ∈ F P\in\mathcal{F} P ∈ F be l l l -minimal. Suppose that H = z 1 z 2 … z L z 1 H=z_1z_2\ldots z_Lz_1 H = z 1 z 2 … z L z 1 and that P = z 1 z 2 … z p P=z_1z_2\ldots z_p P = z 1 z 2 … z p with p < L p<L p < L . Consider x = z L x=z_L x = z L and x ′ = z p + 1 x'=z_{p+1} x ′ = z p + 1 , we then have x , x ′ ∈ X x,x'\in X x , x ′ ∈ X nonadjacent. Consider P ′ ∈ F P'\in\mathcal{F} P ′ ∈ F distinct from P P P , then V ( P ′ ) ∩ Z V(P')\cap Z V ( P ′ ) ∩ Z contains some vertex z s z_s z s with p + 1 < s < L p+1<s<L p + 1 < s < L .
If P P P is a candidate path of type 2, we're done. Suppose the contrary. Since x P x ′ xPx' x P x ′ is a chordless path in G G G , we have ( x , x ′ ) ∉ S I (x,x')\notin\mathcal{S}_I ( x , x ′ ) ∈ / S I . As I I I is well-formed, we have y ∈ Y y\in Y y ∈ Y such that x , x ′ x,x' x , x ′ are y y y -connected in G [ W ′ ] G[W'] G [ W ′ ] and l ( y ) ≤ l ( P ) l(y)\le l(P) l ( y ) ≤ l ( P ) . We then find Q Q Q chordless ( x , x ′ ) (x,x') ( x , x ′ ) -path in G [ W ′ ] G[W'] G [ W ′ ] containing y y y . Let us suppose that Q = z 1 ′ z 2 ′ … z q ′ Q=z'_1z'_2\ldots z'_q Q = z 1 ′ z 2 ′ … z q ′ , with z 1 ′ = x z'_1=x z 1 ′ = x , z q ′ = x ′ z'_q=x' z q ′ = x ′ and z r ′ = y z'_r=y z r ′ = y for some r r r ( 1 < r < q ) (1<r<q) ( 1 < r < q ) .
Claim 1. r ( y ) ≤ T r ( P ) r(y)\le_T r(P) r ( y ) ≤ T r ( P ) .
Proof. If we had r ( P ) < T r ( y ) r(P)<_T r(y) r ( P ) < T r ( y ) it would follow that l ( P ) < l ( y ) l(P)<l(y) l ( P ) < l ( y ) , contradiction. Thus, we have either (a) r ( y ) ≤ T r ( P ) r(y)\le_T r(P) r ( y ) ≤ T r ( P ) or (b) r ( y ) r(y) r ( y ) and r ( P ) r(P) r ( P ) are incomparable under ≤ T \le_T ≤ T . Towards a contradiction, suppose that we are in case (b). For each u ∈ V ( P ) u\in V(P) u ∈ V ( P ) , we have r ( u ) ≤ T r ( P ) r(u)\le_T r(P) r ( u ) ≤ T r ( P ) , which implies that r ( u ) r(u) r ( u ) and r ( y ) r(y) r ( y ) are incomparable under ≤ T \le_T ≤ T ; hence, y ∉ N G [ V ( P ) ] y\notin N_G[V(P)] y ∈ / N G [ V ( P )] . Consider G ′ = G [ V ( P ) ∪ V ( Q ) ] G'=G[V(P)\cup V(Q)] G ′ = G [ V ( P ) ∪ V ( Q )] . Since ∣ V ( G ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ |V(G')\cap Z|<|V(H)\cap Z| ∣ V ( G ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ , we have G ′ G' G ′ chordal by choice of H H H . Consider R = V ( P ) R=V(P) R = V ( P ) . We then have G ′ [ R ] G'[R] G ′ [ R ] connected and z 1 ′ , z q ′ ∈ N G ′ [ R ] z'_1,z'_q\in N_{G'}[R] z 1 ′ , z q ′ ∈ N G ′ [ R ] . By Lemma 8, we have z r ′ ∈ N G ′ [ R ] z'_r\in N_{G'}[R] z r ′ ∈ N G ′ [ R ] . But we have seen that y ∉ N G ′ [ R ] y\notin N_{G'}[R] y ∈ / N G ′ [ R ] , contradiction. □
We infer from Claim 1 that y , z s y,z_s y , z s are distinct and not adjacent in G G G . Indeed, suppose by contradiction that y = z s y=z_s y = z s or y z s ∈ E yz_s\in E y z s ∈ E . By minimality of P P P , we have either r ( P ) < T r ( P ′ ) r(P)<_T r(P') r ( P ) < T r ( P ′ ) or r ( P ) , r ( P ′ ) r(P),r(P') r ( P ) , r ( P ′ ) incomparable under ≤ T \le_T ≤ T . Since r ( y ) ≤ T r ( P ) r(y)\le_T r(P) r ( y ) ≤ T r ( P ) , we must have z s z_s z s adjacent to r ( P ) r(P) r ( P ) , contradiction.
Claim 2. (a) For each i , j i,j i , j ( 2 ≤ i < q − 1 , p + 1 ≤ j < s ) (2\le i<q-1,p+1\le j<s) ( 2 ≤ i < q − 1 , p + 1 ≤ j < s ) , we have z i ′ z j ∉ E z'_iz_j\notin E z i ′ z j ∈ / E ; (b) For each i , j i,j i , j ( 2 < i ≤ q − 1 , s < j ≤ L ) (2<i\le q-1,s<j\le L) ( 2 < i ≤ q − 1 , s < j ≤ L ) , we have z i ′ z j ∉ E z'_iz_j\notin E z i ′ z j ∈ / E .
Proof. We only prove (a) as (b) follows by symmetry. Towards a contradiction, assume that z i ′ z j ∈ E z'_iz_j\in E z i ′ z j ∈ E for some i , j i,j i , j ( 2 ≤ i < q − 1 , p + 1 ≤ j < s ) (2\le i<q-1,p+1\le j<s) ( 2 ≤ i < q − 1 , p + 1 ≤ j < s ) . Refer to Figure 1 for an illustration. Consider G ′ = G [ { z L , z 1 , z 2 , … , z j } ∪ V ( Q ) ] G'=G[\{z_L,z_1,z_2,\ldots,z_j\}\cup V(Q)] G ′ = G [{ z L , z 1 , z 2 , … , z j } ∪ V ( Q )] . Since ∣ V ( G ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ |V(G')\cap Z|<|V(H)\cap Z| ∣ V ( G ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ , we have G ′ G' G ′ chordal by choice of H H H . Consider P ′ = z L z 1 … z j P'=z_Lz_1\ldots z_j P ′ = z L z 1 … z j and R = { z 2 ′ , z 3 ′ , … , z i ′ } R=\{z'_2,z'_3,\ldots,z'_i\} R = { z 2 ′ , z 3 ′ , … , z i ′ } , then P ′ P' P ′ is a chordless path in G ′ G' G ′ and R R R is a connected subset of G ′ G' G ′ . Since z L , z j ∈ N G ′ [ R ] z_L,z_j\in N_{G'}[R] z L , z j ∈ N G ′ [ R ] and since G ′ G' G ′ is chordal, it follows from Lemma 8 that z p + 1 ∈ N G ′ [ R ] z_{p+1}\in N_{G'}[R] z p + 1 ∈ N G ′ [ R ] . But we have z p + 1 = z q ′ z_{p+1}=z'_q z p + 1 = z q ′ distinct from and nonadjacent to z 2 ′ , … , z i ′ z'_2,\ldots,z'_i z 2 ′ , … , z i ′ , contradiction. □
Figure 1. Illustrating the situation in Claim 2.
Recall that we have z r ′ = y z'_r=y z r ′ = y . Let J J J be the set of pairs ( α , β ) (\alpha,\beta) ( α , β ) such that 2 ≤ α ≤ r 2\le\alpha\le r 2 ≤ α ≤ r , s ≤ β ≤ L s\le\beta\le L s ≤ β ≤ L and z α ′ z β ∈ E z'_\alpha z_\beta\in E z α ′ z β ∈ E . Let J ′ J' J ′ be the set of pairs ( γ , δ ) (\gamma,\delta) ( γ , δ ) such that r ≤ γ ≤ q − 1 r\le\gamma\le q-1 r ≤ γ ≤ q − 1 , p + 1 ≤ δ ≤ s p+1\le\delta\le s p + 1 ≤ δ ≤ s and z γ ′ z δ ∈ E z'_\gamma z_\delta\in E z γ ′ z δ ∈ E . Observe that J J J contains ( 2 , L ) (2,L) ( 2 , L ) and that J ′ J' J ′ contains ( q − 1 , p + 1 ) (q-1,p+1) ( q − 1 , p + 1 ) . Let us choose ( α , β ) ∈ J (\alpha,\beta)\in J ( α , β ) ∈ J with β − α \beta-\alpha β − α minimum, and let us choose ( γ , δ ) ∈ J ′ (\gamma,\delta)\in J' ( γ , δ ) ∈ J ′ with δ − γ \delta-\gamma δ − γ maximum. Let us consider P ′ = P [ z α , z β ] P'=P[z_\alpha,z_\beta] P ′ = P [ z α , z β ] and Q ′ = Q [ z α ′ , z γ ′ ] Q'=Q[z'_\alpha,z'_\gamma] Q ′ = Q [ z α ′ , z γ ′ ] .
Claim 3. E ( P ′ ) ∪ E ( Q ′ ) E(P')\cup E(Q') E ( P ′ ) ∪ E ( Q ′ ) form a hole in G G G .
Proof. Let C = E ( P ′ ) ∪ E ( Q ′ ) C=E(P')\cup E(Q') C = E ( P ′ ) ∪ E ( Q ′ ) . We first show that ∣ P ′ ∣ + ∣ Q ′ ∣ ≥ 4 |P'|+|Q'|\ge4 ∣ P ′ ∣ + ∣ Q ′ ∣ ≥ 4 . By contradiction, suppose that ∣ P ′ ∣ + ∣ Q ′ ∣ ≤ 3 |P'|+|Q'|\le3 ∣ P ′ ∣ + ∣ Q ′ ∣ ≤ 3 . We have the following cases. Suppose first that $|Q'|=1 and ∣ P ′ ∣ ≤ 2 |P'| \le2 ∣ P ′ ∣ ≤ 2 . We then have α = γ = r \alpha= \gamma= r α = γ = r and thus Q ′ = y Q' = y Q ′ = y . But z s z_s z s is an endpoint of P ′ P' P ′ and must be adjacent to y y y , contradiction. Suppose now that ∣ Q ′ ∣ = 2 |Q'| = 2 ∣ Q ′ ∣ = 2 and ∣ P ′ ∣ = 1 |P'| = 1 ∣ P ′ ∣ = 1 . We then have β = δ = s \beta= \delta= s β = δ = s and thus P ′ = z s P' = z_s P ′ = z s . But y y y is an endpoint of Q ′ Q' Q ′ and must be adjacent to z s z_s z s , contradiction.
Suppose that C C C fails to be a chordless cycle. Let S S S be the set of pairs ( i , j ) (i,j) ( i , j ) with α ≤ i ≤ γ \alpha\le i \le\gamma α ≤ i ≤ γ and δ ≤ j ≤ β \delta\le j \le\beta δ ≤ j ≤ β such that ( i , j ) ≠ ( α , β ) , ( γ , δ ) (i,j) \ne(\alpha,\beta),(\gamma,\delta) ( i , j ) = ( α , β ) , ( γ , δ ) . Let S 1 S_1 S 1 be the set of pairs ( i , j ) ∈ S (i,j) \in S ( i , j ) ∈ S such that z i = z j z_i = z_j z i = z j , and let S 2 S_2 S 2 be the set of pairs ( i , j ) ∈ S (i,j) \in S ( i , j ) ∈ S such that z i ′ z j ′ ∈ E z'_i z'_j \in E z i ′ z j ′ ∈ E . Since C C C fails to be a chordless cycle, we have S 1 ∪ S 2 ≠ ∅ S_1 \cup S_2 \ne\varnothing S 1 ∪ S 2 = ∅ . Suppose that we have ( i , j ) ∈ S 1 (i,j) \in S_1 ( i , j ) ∈ S 1 . If either (a) ∣ P ′ ∣ = 1 |P'| = 1 ∣ P ′ ∣ = 1 and ∣ Q ′ ∣ = 3 |Q'| = 3 ∣ Q ′ ∣ = 3 or (b) ∣ P ′ ∣ = 3 |P'| = 3 ∣ P ′ ∣ = 3 and ∣ Q ′ ∣ = 1 |Q'| = 1 ∣ Q ′ ∣ = 1 , we must have i = r i = r i = r , j = s j = s j = s , but z r z_r z r and z s z_s z s are distinct, contradiction. Otherwise, we conclude that either one of ( i − 1 , j ) , ( i + 1 , j ) (i-1,j),(i+1,j) ( i − 1 , j ) , ( i + 1 , j ) is in S 2 S_2 S 2 , or one of ( i , j − 1 ) , ( i , j + 1 ) (i,j-1),(i,j+1) ( i , j − 1 ) , ( i , j + 1 ) is in S 2 S_2 S 2 .
Thus, we may assume that S 2 ≠ ∅ S_2 \ne\varnothing S 2 = ∅ . Consider ( i , j ) ∈ S 2 (i,j) \in S_2 ( i , j ) ∈ S 2 . Let us assume first that i = r i = r i = r . If j ≥ s j \ge s j ≥ s , we have ( i , j ) ∈ J (i,j) \in J ( i , j ) ∈ J with j − i < β − α j-i < \beta-\alpha j − i < β − α , contradicting the choice of ( α , β ) (\alpha,\beta) ( α , β ) . If j ≤ s j \le s j ≤ s , we have ( i , j ) ∈ J ′ (i,j) \in J' ( i , j ) ∈ J ′ with j − i > δ − γ j-i > \delta-\gamma j − i > δ − γ , contradicting the choice of ( γ , δ ) (\gamma,\delta) ( γ , δ ) . Let us assume now that i < r i < r i < r . We cannot have p + 1 ≤ j < s p+1 \le j < s p + 1 ≤ j < s by Claim 2. Thus, we have s ≤ j ≤ L s \le j \le L s ≤ j ≤ L . But then ( i , j ) ∈ J (i,j) \in J ( i , j ) ∈ J with j − i < β − α j-i < \beta-\alpha j − i < β − α , contradicting the choice of ( α , β ) (\alpha,\beta) ( α , β ) . Finally, the case i > r i > r i > r follows by symmetry. □
By Claim 3, we obtain that E ( P ′ ) ∪ E ( Q ′ ) E(P') \cup E(Q') E ( P ′ ) ∪ E ( Q ′ ) form a hole H ′ H' H ′ in G G G . Since V ( H ′ ) ⊆ ( V ( H ) − V ( P ) ) ∪ V ( Q ) V(H') \subseteq(V(H)-V(P)) \cup V(Q) V ( H ′ ) ⊆ ( V ( H ) − V ( P )) ∪ V ( Q ) , V ( P ) ∩ Z ≠ ∅ V(P) \cap Z \ne\varnothing V ( P ) ∩ Z = ∅ and V ( Q ) ∩ Z = ∅ V(Q) \cap Z = \varnothing V ( Q ) ∩ Z = ∅ , we have ∣ V ( H ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ |V(H') \cap Z| < |V(H) \cap Z| ∣ V ( H ′ ) ∩ Z ∣ < ∣ V ( H ) ∩ Z ∣ , contradicting the choice of H H H . □
Proof of Theorem 4
Auxiliary results
This section consists of three lemmas that will prove useful in order to establish Theorem 4.
Lemma 9. Let G = ( V , E ) G = (V,E) G = ( V , E ) be a chordal graph with clique tree T = ( T , { T v : v ∈ V } ) \mathcal{T} = (T,\{T_v : v \in V\}) T = ( T , { T v : v ∈ V }) . Suppose that T = ( W , F ) T = (W,F) T = ( W , F ) and K K K is a connected subset of W W W . Let Z = { v ∈ V : V ( T v ) ∩ K ≠ ∅ } Z = \{v \in V : V(T_v) \cap K \ne\varnothing\} Z = { v ∈ V : V ( T v ) ∩ K = ∅ } . Consider a chordless path P = z 1 z 2 … z p P = z_1z_2 \ldots z_p P = z 1 z 2 … z p in G G G with V ( P ) ∩ Z = { z p } V(P) \cap Z = \{z_p\} V ( P ) ∩ Z = { z p } . There exists an edge e = x y ∈ F e = xy \in F e = x y ∈ F with x ∈ K x \in K x ∈ K , y ∉ K y \notin K y ∈ / K such that S x y T = ( A , S , B ) S^T_{xy} = (A,S,B) S x y T = ( A , S , B ) with z p ∈ S z_p \in S z p ∈ S and z i ∈ B z_i \in B z i ∈ B ( 1 ≤ i < p ) (1 \le i < p) ( 1 ≤ i < p ) .
Proof. Consider U = ⋃ i ∈ [ p − 1 ] V ( T z i ) U = \bigcup_{i \in[p-1]} V(T_{z_i}) U = ⋃ i ∈ [ p − 1 ] V ( T z i ) . Since P P P is a path, U U U is a connected subset of T T T . If we had U ∩ K ≠ ∅ U \cap K \ne\varnothing U ∩ K = ∅ , we would find i ∈ [ p − 1 ] i \in[p-1] i ∈ [ p − 1 ] such that V ( T z i ) ∩ K ≠ ∅ V(T_{z_i}) \cap K \ne\varnothing V ( T z i ) ∩ K = ∅ and thus z i ∈ Z z_i \in Z z i ∈ Z , contradiction. Thus, U U U and K K K are disjoint connected subsets of T T T . Choose Q Q Q ( u , v ) (u,v) ( u , v ) -path in T T T with u ∈ K u \in K u ∈ K , v ∈ U v \in U v ∈ U and Q Q Q of minimum length. Suppose that Q = z 1 ′ z 2 ′ … z q ′ Q = z'_1z'_2 \ldots z'_q Q = z 1 ′ z 2 ′ … z q ′ . Let x = z 1 ′ x = z'_1 x = z 1 ′ , y = z 2 ′ y = z'_2 y = z 2 ′ , and consider e = x y e = xy e = x y edge in T T T . By choice of Q Q Q , we have x ∈ K x \in K x ∈ K and y ∉ K y \notin K y ∈ / K . Consider S x y T = ( A , S , B ) S^T_{xy} = (A,S,B) S x y T = ( A , S , B ) . Let C C C , resp. C ′ C' C ′ , be the connected component of T − e T-e T − e containing x x x , resp. y y y . By choice of Q Q Q , we have K ⊆ C K \subseteq C K ⊆ C and U ⊆ C ′ U \subseteq C' U ⊆ C ′ . It follows that z i ∈ B z_i \in B z i ∈ B for each i i i ( 1 ≤ i < p ) (1 \le i < p) ( 1 ≤ i < p ) . Let us prove that z p ∈ S z_p \in S z p ∈ S . Since z p z_p z p is adjacent to z p − 1 z_{p-1} z p − 1 , we find x ∈ V ( T z p ) ∩ V ( T z p − 1 ) x \in V(T_{z_p}) \cap V(T_{z_{p-1}}) x ∈ V ( T z p ) ∩ V ( T z p − 1 ) . Since z p ∈ Z z_p \in Z z p ∈ Z , we find a vertex y ∈ V ( T z p ) ∩ K y \in V(T_{z_p}) \cap K y ∈ V ( T z p ) ∩ K . Since V ( T z p − 1 ) ⊆ C ′ V(T_{z_{p-1}}) \subseteq C' V ( T z p − 1 ) ⊆ C ′ , we have x ∈ C ′ x \in C' x ∈ C ′ . Since K ⊆ C K \subseteq C K ⊆ C , we have y ∈ C y \in C y ∈ C . Since T z p T_{z_p} T z p contains x x x and y y y , it contains the edge e e e , and thus z p ∈ S z_p \in S z p ∈ S . □
Lemma 10. Let G = ( V , E ) G = (V,E) G = ( V , E ) be a graph, let u , v , w ∈ V u,v,w \in V u , v , w ∈ V and let P P P be a chordless ( u , v ) (u,v) ( u , v ) -path in G G G containing w w w as internal vertex. Suppose that there is S ⊆ V S \subseteq V S ⊆ V such that G [ S ] G[S] G [ S ] is
connected and N G [ w ] ⊆ N G [ S ] N_G[w] \subseteq N_G[S] N G [ w ] ⊆ N G [ S ] . We then find P ′ P' P ′ chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that (a) V ( P ′ ) ⊆ V ( P ) − w + S V(P') \subseteq V(P)-w+S V ( P ′ ) ⊆ V ( P ) − w + S , (b) I ( P ′ ) ∩ S ≠ ∅ I(P') \cap S \ne\emptyset I ( P ′ ) ∩ S = ∅ .
Proof. Suppose that P = z 1 z 2 … z L P=z_1z_2\ldots z_L P = z 1 z 2 … z L with z i = w z_i=w z i = w for some i i i (1 < i < L 1<i<L 1 < i < L ). Since z i − 1 , z i + 1 ∈ N G ( w ) z_{i-1},z_{i+1}\in N_G(w) z i − 1 , z i + 1 ∈ N G ( w ) , they are in N G [ S ] N_G[S] N G [ S ] . Consider p ≤ i − 1 p\le i-1 p ≤ i − 1 minimum such that z p ∈ N G [ S ] z_p\in N_G[S] z p ∈ N G [ S ] , and consider q ≥ i + 1 q\ge i+1 q ≥ i + 1 maximum such that z q ∈ N G [ S ] z_q\in N_G[S] z q ∈ N G [ S ] . Since G [ S ] G[S] G [ S ] is connected, we find Q Q Q chordless ( z p , z q ) (z_p,z_q) ( z p , z q ) -path in G G G with I ( Q ) ⊆ S I(Q)\subseteq S I ( Q ) ⊆ S . We conclude that P ′ = z 1 z 2 … z p − 1 Q z q + 1 … z L P'=z_1z_2\ldots z_{p-1}Qz_{q+1}\ldots z_L P ′ = z 1 z 2 … z p − 1 Q z q + 1 … z L is a chordless ( u , v ) (u,v) ( u , v ) -path in G G G . Clearly, we have V ( P ′ ) ⊆ V ( P ) − w + S V(P')\subseteq V(P)-w+S V ( P ′ ) ⊆ V ( P ) − w + S , and since Q Q Q has length at least 3 we have I ( P ′ ) ∩ S ≠ ∅ I(P')\cap S\ne\emptyset I ( P ′ ) ∩ S = ∅ .
Lemma 11. Let G = ( V , E ) G=(V,E) G = ( V , E ) be a chordal graph and let T = ( T , { T v : v ∈ V } ) \mathcal{T}=(T,\{T_v:v\in V\}) T = ( T , { T v : v ∈ V }) be a clique tree for G G G . Let w ∈ V w\in V w ∈ V and S ⊆ V S\subseteq V S ⊆ V . Suppose that (P1 _1 1 ) for each z ∈ S z\in S z ∈ S , E ( T z ) ∩ E ( T w ) ≠ ∅ E(T_z)\cap E(T_w)\ne\emptyset E ( T z ) ∩ E ( T w ) = ∅ and (P2 _2 2 ) E ( T w ) ⊆ ⋃ z ∈ S E ( T z ) E(T_w)\subseteq\bigcup_{z\in S}E(T_z) E ( T w ) ⊆ ⋃ z ∈ S E ( T z ) . We then have: (a) G [ S ] G[S] G [ S ] is connected and (b) N G [ w ] ⊆ N G [ S ] N_G[w]\subseteq N_G[S] N G [ w ] ⊆ N G [ S ] .
Proof. Let us prove Point (a). Consider U = ⋃ z ∈ S T z U=\bigcup_{z\in S}T_z U = ⋃ z ∈ S T z . We claim that U U U forms a subtree of T T T . Suppose not, we then find an edge e = x y e=xy e = x y of T T T that separates U U U in two disconnected subsets. Let us assume that we have a subtree T u T_u T u on the x x x -side of e e e and a subtree T v T_v T v on the y y y -side of e e e . By (P2 _2 2 ), T w T_w T w cannot contain the edge e e e , and we may assume that T w T_w T w is on the y y y -side of e e e . But then we have E ( T u ) ∩ E ( T w ) = ∅ E(T_u)\cap E(T_w)=\emptyset E ( T u ) ∩ E ( T w ) = ∅ , which contradicts (P1 _1 1 ). Thus, U U U is a subtree of T T T , and we conclude that G [ W ] G[W] G [ W ] is connected.
Let us prove Point (b). Consider u ∈ N G [ w ] u\in N_G[w] u ∈ N G [ w ] , we then have V ( T u ) ∩ V ( T w ) ≠ ∅ V(T_u)\cap V(T_w)\ne\emptyset V ( T u ) ∩ V ( T w ) = ∅ . Consider x x x in the intersection. By (P2 _2 2 ), we have x ∈ V ( T z ) x\in V(T_z) x ∈ V ( T z ) for some z ∈ S z\in S z ∈ S . We then have V ( T u ) ∩ V ( T z ) ≠ ∅ V(T_u)\cap V(T_z)\ne\emptyset V ( T u ) ∩ V ( T z ) = ∅ and thus u ∈ N G [ S ] u\in N_G[S] u ∈ N G [ S ] .
Proof of the main result
In this section, we consider a model M = ( X , G , T ) \mathcal{M}=(X,G,\mathcal{T}) M = ( X , G , T ) where G = ( V , E ) G=(V,E) G = ( V , E ) , T = ( T , { T v : v ∈ V } ) \mathcal{T}=(T,\{T_v:v\in V\}) T = ( T , { T v : v ∈ V }) and T = ( W , F ) T=(W,F) T = ( W , F ) . We let Y = V − X Y=V-X Y = V − X . We suppose that T T T is supposed to be rooted at some node r T r_T r T . Given u ∈ W u\in W u ∈ W , we denote p ( u ) p(u) p ( u ) its parent in T T T , or ⊥ \bot ⊥ if u = r T u=r_T u = r T .
For each node x ∈ W x\in W x ∈ W , let D x T = C x T ∩ X D_x^T=C_x^T\cap X D x T = C x T ∩ X . We define the digraph D M = ( W , A M ) D_{\mathcal{M}}=(W,A_{\mathcal{M}}) D M = ( W , A M ) where A M A_{\mathcal{M}} A M contains the arc ( x , y ) (x,y) ( x , y ) whenever x y ∈ F xy\in F x y ∈ F and D x T ⊆ D y T D_x^T\subseteq D_y^T D x T ⊆ D y T . A component of D M D_{\mathcal{M}} D M is an inclusionwise maximal connected subset K ⊆ W K\subseteq W K ⊆ W such that D x T = D y T D_x^T=D_y^T D x T = D y T whenever x , y ∈ K x,y\in K x , y ∈ K . A maximal component of D M D_{\mathcal{M}} D M is a component K K K of D M D_{\mathcal{M}} D M such that there is no arc ( x , y ) ∈ A M (x,y)\in A_{\mathcal{M}} ( x , y ) ∈ A M with x ∈ K , y ∉ K x\in K,y\notin K x ∈ K , y ∈ / K . A reducible edge in M \mathcal{M} M is an edge u v ∈ F uv\in F uv ∈ F such that (a) v = p ( u ) v=p(u) v = p ( u ) , (b) ( u , v ) ∈ A M (u,v)\in A_{\mathcal{M}} ( u , v ) ∈ A M , (c) for each w w w child of u u u in T T T , we have ( u , w ) ∉ A M (u,w)\notin A_{\mathcal{M}} ( u , w ) ∈ / A M .
Consider a connected subset S S S of W W W . The contraction of S S S in M \mathcal{M} M produces the model M ′ = ( X , G ′ , T ′ ) \mathcal{M}'=(X,G',\mathcal{T}') M ′ = ( X , G ′ , T ′ ) defined as follows. On the one hand, we have T ′ = ( T ′ , { T v ′ : v ∈ V ( G ′ ) } ) \mathcal{T}'=(T',\{T'_v:v\in V(G')\}) T ′ = ( T ′ , { T v ′ : v ∈ V ( G ′ )}) where T ′ T' T ′ (resp. T v ′ T'_v T v ′ ) is obtained by contracting the vertices of S S S in T T T (resp. T v T_v T v ), on the other hand, we have V ( G ′ ) = V ( G ) V(G')=V(G) V ( G ′ ) = V ( G ) and E ( G ′ ) = E ( G ) ∪ { u v : u , v ∈ V ( G ) , V ( T u ) ∩ S ≠ ∅ and V ( T v ) ∩ S ≠ ∅ } E(G')=E(G)\cup\{uv:u,v\in V(G),V(T_u)\cap S\ne\emptyset\text{ and }V(T_v)\cap S\ne\emptyset\} E ( G ′ ) = E ( G ) ∪ { uv : u , v ∈ V ( G ) , V ( T u ) ∩ S = ∅ and V ( T v ) ∩ S = ∅ } . We denote by M / S \mathcal{M}/S M / S the result of contracting S S S in M \mathcal{M} M . We say that M ′ \mathcal{M}' M ′ is a minor of M \mathcal{M} M iff there exists S S S such that M ′ = M / S \mathcal{M}'=\mathcal{M}/S M ′ = M / S .
In the following lemmas, we assume that we are given an ordered partition P = ( C 1 , … , C p ) \mathcal{P}=(C_1,\ldots,C_p) P = ( C 1 , … , C p ) of Y Y Y that is a progressive partition of M \mathcal{M} M . We let Y 0 = ∅ Y_0=\emptyset Y 0 = ∅ and Y i = ⋃ j ≤ i C j Y_i=\bigcup_{j\le i}C_j Y i = ⋃ j ≤ i C j for i ∈ [ p ] i\in[p] i ∈ [ p ] . We let W i ′ = X ∪ Y i W'_i=X\cup Y_i W i ′ = X ∪ Y i for each i i i (0 ≤ i ≤ p 0\le i\le p 0 ≤ i ≤ p ). The subsequent lemma addresses the case when D M D_{\mathcal{M}} D M is not acyclic.
Lemma 12. Suppose that K K K is a maximal component of D M D_{\mathcal{M}} D M , and let M ′ = M / K \mathcal{M}'=\mathcal{M}/K M ′ = M / K . Then P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ .
Proof. Suppose that M ′ = ( X , G ′ , T ′ ) \mathcal{M}'=(X,G',\mathcal{T}') M ′ = ( X , G ′ , T ′ ) . Let Z = { v ∈ V : V ( T v ) ∩ K ≠ ∅ } Z=\{v\in V:V(T_v)\cap K\ne\varnothing\} Z = { v ∈ V : V ( T v ) ∩ K = ∅ } . Observe that for each v ∈ Z ∩ X v\in Z\cap X v ∈ Z ∩ X , we have K ⊆ V ( T v ) K\subseteq V(T_v) K ⊆ V ( T v ) . We then have E ( G ′ ) = { u v : u v ∈ E or u , v ∈ Z } E(G')=\{uv:uv\in E\text{ or }u,v\in Z\} E ( G ′ ) = { uv : uv ∈ E or u , v ∈ Z } . We show that P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ . Consider i ∈ [ p ] i\in[p] i ∈ [ p ] . We then find u , v ∈ X u,v\in X u , v ∈ X that are not Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] and are Y i Y_i Y i -connected in G [ W i ′ ] G[W'_i] G [ W i ′ ] .
First point: u , v u,v u , v are Y i Y_i Y i -connected in G ′ [ W i ′ ] G'[W'_i] G ′ [ W i ′ ] . Since u , v u,v u , v are Y i Y_i Y i -connected in G [ W i ′ ] G[W'_i] G [ W i ′ ] , we find P P P chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that V ( P ) ⊆ W i ′ V(P)\subseteq W'_i V ( P ) ⊆ W i ′ and V ( P ) ∩ Y i ≠ ∅ V(P)\cap Y_i\ne\varnothing V ( P ) ∩ Y i = ∅ . Suppose that P = z 1 z 2 … z L P=z_1z_2\ldots z_L P = z 1 z 2 … z L with z 1 , z L ∈ X z_1,z_L\in X z 1 , z L ∈ X . If P P P is chordless in G ′ G' G ′ , we have the desired conclusion. Suppose now that P P P has a chord in G ′ G' G ′ . We may assume that the chord is z p z q z_pz_q z p z q with q − p q-p q − p maximum. Hence P ′ = z 1 z 2 … z p z q … z L P'=z_1z_2\ldots z_pz_q\ldots z_L P ′ = z 1 z 2 … z p z q … z L is a chordless path in G ′ G' G ′ , and we have z p , z q ∈ Z z_p,z_q\in Z z p , z q ∈ Z . If we had z p ∈ X z_p\in X z p ∈ X , we would have K ⊆ V ( T z p ) K\subseteq V(T_{z_p}) K ⊆ V ( T z p ) and V ( T z q ) ∩ K ≠ ∅ V(T_{z_q})\cap K\ne\varnothing V ( T z q ) ∩ K = ∅ , hence z p z q ∈ E z_pz_q\in E z p z q ∈ E , contradiction. Thus, z p z_p z p is in Y i Y_i Y i . We deduce that P ′ P' P ′ is a chordless ( u , v ) (u,v) ( u , v ) -path in G ′ G' G ′ such that V ( P ′ ) ⊆ W i ′ V(P')\subseteq W'_i V ( P ′ ) ⊆ W i ′ and V ( P ′ ) ∩ Y i ≠ ∅ V(P')\cap Y_i\ne\varnothing V ( P ′ ) ∩ Y i = ∅ . We obtain that u , v u,v u , v are Y i Y_i Y i -connected in G ′ [ W i ′ ] G'[W'_i] G ′ [ W i ′ ] .
Second point: u , v u,v u , v are not Y i − 1 Y_{i-1} Y i − 1 -connected in G ′ [ W i − 1 ′ ] G'[W'_{i-1}] G ′ [ W i − 1 ′ ] . By way of contradiction, suppose that we have P P P chordless ( u , v ) (u,v) ( u , v ) -path in G ′ G' G ′ such that V ( P ) ⊆ W i − 1 ′ V(P)\subseteq W'_{i-1} V ( P ) ⊆ W i − 1 ′ and V ( P ) ∩ Y i − 1 ≠ ∅ V(P)\cap Y_{i-1}\ne\varnothing V ( P ) ∩ Y i − 1 = ∅ . Suppose that P = z 1 z 2 … z L P=z_1z_2\ldots z_L P = z 1 z 2 … z L . If P P P is a path in G G G , we obtain that u , v u,v u , v are Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] , contradiction. Suppose now that the edge z p z p + 1 z_pz_{p+1} z p z p + 1 is not in G G G . We then have z p , z p + 1 ∈ Z z_p,z_{p+1}\in Z z p , z p + 1 ∈ Z . If we had z p ∈ X z_p\in X z p ∈ X or z p + 1 ∈ X z_{p+1}\in X z p + 1 ∈ X , we would obtain that z p z p + 1 ∈ E z_pz_{p+1}\in E z p z p + 1 ∈ E , contradiction. Thus, we have z p , z p + 1 ∈ Y i − 1 z_p,z_{p+1}\in Y_{i-1} z p , z p + 1 ∈ Y i − 1 . Moreover, for each j < p j<p j < p or j > p + 1 j>p+1 j > p + 1 we have z j ∉ Z z_j\notin Z z j ∈ / Z , since otherwise z j z_j z j would be adjacent to both z p , z p + 1 z_p,z_{p+1} z p , z p + 1 in G ′ G' G ′ . By Lemma 9, we find an edge e = x y e=xy e = x y in T T T such that x ∈ K x\in K x ∈ K , y ∉ K y\notin K y ∈ / K and S x y T = ( A , S , B ) S^T_{xy}=(A,S,B) S x y T = ( A , S , B ) with z p ∈ S z_p\in S z p ∈ S and z i ∈ B z_i\in B z i ∈ B (i < p i<p i < p ). By choice of K K K , we have ( x , y ) ∉ A M (x,y)\notin A_{\mathcal{M}} ( x , y ) ∈ / A M and thus D x T ⊈ D y T D^T_x\not\subseteq D^T_y D x T ⊆ D y T . Therefore, we find a vertex w ∈ D x T − D y T w\in D^T_x-D^T_y w ∈ D x T − D y T . We then have z p w ∈ E z_pw\in E z p w ∈ E and z j w ∉ E z_jw\notin E z j w ∈ / E (j < p j<p j < p ). Moreover, since w ∈ X w\in X w ∈ X we have K ⊆ V ( T w ) K\subseteq V(T_w) K ⊆ V ( T w ) and thus z p + 1 w ∈ E z_{p+1}w\in E z p + 1 w ∈ E . Consider q q q (q ≥ p + 1 q\ge p+1 q ≥ p + 1 ) maximum such that z q w ∈ E z_qw\in E z q w ∈ E . We obtain P ′ = z 1 z 2 … z p w z q … z L P'=z_1z_2\ldots z_pwz_q\ldots z_L P ′ = z 1 z 2 … z p w z q … z L chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that V ( P ′ ) ⊆ W i − 1 ′ V(P')\subseteq W'_{i-1} V ( P ′ ) ⊆ W i − 1 ′ and V ( P ′ ) ∩ Y i − 1 ≠ ∅ V(P')\cap Y_{i-1}\ne\varnothing V ( P ′ ) ∩ Y i − 1 = ∅ . But then u , v u,v u , v are Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] , contradiction.
We conclude from the above that P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ .
The following lemma addresses the case when M \mathcal{M} M contains a reducible edge.
Lemma 13. Suppose that e ∈ F e\in F e ∈ F is a reducible edge in M \mathcal{M} M . Let M ′ = M / e \mathcal{M}'=\mathcal{M}/e M ′ = M / e . Then P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ .
Proof. Suppose that e = x x ′ e=xx' e = x x ′ with x ′ = p ( x ) x'=p(x) x ′ = p ( x ) and suppose that M ′ = ( X , G ′ , T ′ ) \mathcal{M}'=(X,G',\mathcal{T}') M ′ = ( X , G ′ , T ′ ) . Let Z = { v ∈ V : V ( T v ) ∩ e ≠ ∅ } Z=\{v\in V:V(T_v)\cap e\ne\varnothing\} Z = { v ∈ V : V ( T v ) ∩ e = ∅ } . We then have E ( G ′ ) = { u v : u v ∈ E or u , v ∈ Z } E(G')=\{uv:uv\in E\text{ or }u,v\in Z\} E ( G ′ ) = { uv : uv ∈ E or u , v ∈ Z } . We show that P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ . Consider i ∈ [ p ] i\in[p] i ∈ [ p ] . We then find u , v ∈ X u,v\in X u , v ∈ X that are not Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] and are Y i Y_i Y i -connected in G [ W i ′ ] G[W'_i] G [ W i ′ ] .
First point: u , v u,v u , v are Y i Y_i Y i -connected in G ′ [ W i ′ ] G'[W'_i] G ′ [ W i ′ ] . Since u , v u,v u , v are Y i Y_i Y i -connected in G [ W i ′ ] G[W'_i] G [ W i ′ ] , we find P P P chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that V ( P ) ⊆ W i ′ V(P)\subseteq W'_i V ( P ) ⊆ W i ′ and V ( P ) ∩ Y i ≠ ∅ V(P)\cap Y_i\ne\varnothing V ( P ) ∩ Y i = ∅ . Suppose that P = z 1 z 2 … z L P=z_1z_2\ldots z_L P = z 1 z 2 … z L with z 1 , z L ∈ X z_1,z_L\in X z 1 , z L ∈ X . If P P P is chordless in G ′ G' G ′ , we have the desired conclusion. Suppose now that P P P has a chord in G ′ G' G ′ . We may assume that the chord is z p z q z_pz_q z p z q with q − p q-p q − p maximum. Hence we have P ′ = z 1 z 2 … z p z q … z L P'=z_1z_2\ldots z_pz_q\ldots z_L P ′ = z 1 z 2 … z p z q … z L chordless path in G ′ G' G ′ . By symmetry, we may assume that V ( T z p ) ∩ e = { x } V(T_{z_p})\cap e=\{x\} V ( T z p ) ∩ e = { x } and V ( T z q ) ∩ e = { x ′ } V(T_{z_q})\cap e=\{x'\} V ( T z q ) ∩ e = { x ′ } . Since e e e is reducible, we have ( x , x ′ ) ∈ A M (x,x')\in A_{\mathcal{M}} ( x , x ′ ) ∈ A M and thus D x T ⊆ D x ′ T D^T_x\subseteq D^T_{x'} D x T ⊆ D x ′ T . If we had z p ∈ X z_p\in X z p ∈ X , we would have x ′ ∈ V ( T z p ) x'\in V(T_{z_p}) x ′ ∈ V ( T z p ) , contradiction. Therefore, we have z p ∈ Y i z_p\in Y_i z p ∈ Y i . It follows that P ′ P' P ′ is a chordless ( u , v ) (u,v) ( u , v ) -path in G ′ G' G ′ such that V ( P ′ ) ⊆ W i ′ V(P') \subseteq W'_{i} V ( P ′ ) ⊆ W i ′ and V ( P ′ ) ∩ Y i ≠ ∅ V(P') \cap Y_i \ne\emptyset V ( P ′ ) ∩ Y i = ∅ . We conclude that u , v u,v u , v are Y i Y_i Y i -connected in G ′ [ W i ′ ] G'[W'_i] G ′ [ W i ′ ] .
Second point: u , v u,v u , v are not Y i − 1 Y_{i-1} Y i − 1 -connected in G ′ [ W i − 1 ′ ] G'[W'_{i-1}] G ′ [ W i − 1 ′ ] . By way of contradiction, suppose that we have P P P chordless ( u , v ) (u,v) ( u , v ) -path in G ′ G' G ′ such that V ( P ) ⊆ W i − 1 ′ V(P) \subseteq W'_{i-1} V ( P ) ⊆ W i − 1 ′ and V ( P ) ∩ Y i − 1 ≠ ∅ V(P) \cap Y_{i-1} \ne\emptyset V ( P ) ∩ Y i − 1 = ∅ . Suppose that P = z 1 z 2 … z L P = z_1z_2 \ldots z_L P = z 1 z 2 … z L . If P P P is a path in G G G , we find that u , v u,v u , v are Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] , contradiction. Thus, we may assume that P P P is not a path in G G G . We then find some p p p (1 ≤ p < L 1 \le p < L 1 ≤ p < L ) such that z p , z p + 1 ∈ Z z_p,z_{p+1} \in Z z p , z p + 1 ∈ Z and non adjacent in G G G . For each j j j (j ≠ p , p + 1 j \ne p,p+1 j = p , p + 1 ), we have z j ∉ Z z_j \notin Z z j ∈ / Z , as otherwise z j z_j z j would be adjacent to z p z_p z p and z p + 1 z_{p+1} z p + 1 in G ′ G' G ′ . By symmetry, we may assume that V ( T z p ) ∩ e = { x } V(T_{z_p}) \cap e = \{x\} V ( T z p ) ∩ e = { x } , V ( T z p + 1 ) ∩ e = { x ′ } V(T_{z_{p+1}}) \cap e = \{x'\} V ( T z p + 1 ) ∩ e = { x ′ } and V ( T z j ) ∩ e = ∅ V(T_{z_j}) \cap e = \emptyset V ( T z j ) ∩ e = ∅ for each j ≠ p , p + 1 j \ne p,p+1 j = p , p + 1 . Since e e e is reducible, we have D x T ⊆ D x ′ T D^T_x \subseteq D^T_{x'} D x T ⊆ D x ′ T , and thus z p ∈ Y i − 1 z_p \in Y_{i-1} z p ∈ Y i − 1 . By Lemma 9, we find an edge e ′ = x y e' = xy e ′ = x y in T T T with y ∉ e y \notin e y ∈ / e such that S x y T = ( A , S , B ) S^T_{xy} = (A,S,B) S x y T = ( A , S , B ) , z p ∈ S z_p \in S z p ∈ S and z j ∈ B z_j \in B z j ∈ B (1 ≤ j < p 1 \le j < p 1 ≤ j < p ). Since y ∉ e y \notin e y ∈ / e , we have y ≠ x ′ y \ne x' y = x ′ and thus y y y child of x x x in T T T . Since e e e is reducible, we have D x T ⊈ D y T D^T_x \nsubseteq D^T_y D x T ⊈ D y T . We then find a vertex w ∈ D x T − D y T w \in D^T_x - D^T_y w ∈ D x T − D y T . Since D x T ⊆ D x ′ T D^T_x \subseteq D^T_{x'} D x T ⊆ D x ′ T , we have w ∈ D x ′ T w \in D^T_{x'} w ∈ D x ′ T . It follows that w w w is adjacent in G G G to z p , z p + 1 z_p,z_{p+1} z p , z p + 1 and nonadjacent in G G G to z j z_j z j (1 ≤ j < p 1 \le j < p 1 ≤ j < p ). Consider q ≥ p + 1 q \ge p+1 q ≥ p + 1 maximum such that w w w is adjacent in G G G to z q z_q z q . Then P ′ = z 1 z 2 … z p w z q … z L P' = z_1z_2 \ldots z_p wz_q \ldots z_L P ′ = z 1 z 2 … z p w z q … z L is a chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that V ( P ′ ) ⊆ W i − 1 ′ V(P') \subseteq W'_{i-1} V ( P ′ ) ⊆ W i − 1 ′ and V ( P ′ ) ∩ Y i − 1 ≠ ∅ V(P') \cap Y_{i-1} \ne\emptyset V ( P ′ ) ∩ Y i − 1 = ∅ . It follows that u , v u,v u , v are Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] , contradiction.
We conclude from the above that P \mathcal{P} P is a progressive partition of M ′ \mathcal{M}' M ′ . □
Equipped with the previous lemmas, we are now in a position to prove Theorem 4.
Theorem 8. (Theorem 4 restated) Let M = ( X , G , T ) \mathcal{M} = (X,G,\mathcal{T}) M = ( X , G , T ) be a model and let P \mathcal{P} P be a progressive partition of M \mathcal{M} M . Then ∣ P ∣ ≤ 2 ∣ X ∣ |\mathcal{P}| \le2|X| ∣ P ∣ ≤ 2∣ X ∣ .
Proof. We may assume that: for every proper minor M ′ \mathcal{M}' M ′ of M \mathcal{M} M , the ordered partition P \mathcal{P} P is not a progressive partition of M ′ \mathcal{M}' M ′ . As above, we suppose that M = ( X , G , T ) \mathcal{M} = (X,G,\mathcal{T}) M = ( X , G , T ) , G = ( V , E ) G = (V,E) G = ( V , E ) , T = ( T , { T v : v ∈ V } ) \mathcal{T} = (T,\{T_v : v \in V\}) T = ( T , { T v : v ∈ V }) and T = ( W , F ) T = (W,F) T = ( W , F ) . We let Y = V − X Y = V - X Y = V − X and we suppose that P = ( C 1 , … , C p ) \mathcal{P} = (C_1,\ldots,C_p) P = ( C 1 , … , C p ) is an ordered partition of Y Y Y . Suppose that D M = ( W , A M ) D_{\mathcal{M}} = (W,A_{\mathcal{M}}) D M = ( W , A M ) . By Lemmas 12 and 13, we have that D M D_{\mathcal{M}} D M is acyclic and M \mathcal{M} M contains no reducible edge.
The following claim provides a linear bound on the number of vertices in the clique-tree.
Claim 1. ∣ W ∣ ≤ 2 ∣ X ∣ + 1 |W| \le2|X| + 1 ∣ W ∣ ≤ 2∣ X ∣ + 1 .
Proof. We let W 1 W_1 W 1 be the set of vertices x ∈ W x \in W x ∈ W with x ≠ r T x \ne r_T x = r T and ( x , p ( x ) ) ∈ A M (x,p(x)) \in A_{\mathcal{M}} ( x , p ( x )) ∈ A M , and we let W 2 = W − W 1 W_2 = W - W_1 W 2 = W − W 1 .
Let us define ϕ : X → W \phi: X \to W ϕ : X → W such that: for each u ∈ X u \in X u ∈ X , ϕ ( u ) = r ( u ) \phi(u) = r(u) ϕ ( u ) = r ( u ) . Observe that for each u ∈ X u \in X u ∈ X , if ϕ ( u ) = x \phi(u) = x ϕ ( u ) = x then x ∈ W 2 x \in W_2 x ∈ W 2 : indeed, if p ( x ) = y ≠ ⊥ p(x) = y \ne\perp p ( x ) = y = ⊥ , since u ∈ D x T − D y T u \in D^T_x - D^T_y u ∈ D x T − D y T we have D x T ⊈ D y T D^T_x \nsubseteq D^T_y D x T ⊈ D y T and thus ( x , y ) ∉ A M (x,y) \notin A_{\mathcal{M}} ( x , y ) ∈ / A M . Moreover, each element x ∈ W 2 − r T x \in W_2 - r_T x ∈ W 2 − r T has a preimage under ϕ \phi ϕ : if p ( x ) = y p(x) = y p ( x ) = y , since D x T ⊈ D y T D^T_x \nsubseteq D^T_y D x T ⊈ D y T we find u ∈ D x T − D y T u \in D^T_x - D^T_y u ∈ D x T − D y T and thus r ( u ) = x r(u) = x r ( u ) = x . It follows that ∣ W 2 ∣ ≤ ∣ X ∣ + 1 |W_2| \le|X| + 1 ∣ W 2 ∣ ≤ ∣ X ∣ + 1 .
Let us define ϕ ′ : W 1 → W 2 \phi' : W_1 \to W_2 ϕ ′ : W 1 → W 2 as follows. Consider x ∈ W 1 x \in W_1 x ∈ W 1 with y = p ( x ) y = p(x) y = p ( x ) , we then have ( x , y ) ∈ A M (x,y) \in A_{\mathcal{M}} ( x , y ) ∈ A M . Since D M D_{\mathcal{M}} D M contains no reducible edge, there exists z z z child of x x x in T T T with ( x , z ) ∈ A M (x,z) \in A_{\mathcal{M}} ( x , z ) ∈ A M . Since D M D_{\mathcal{M}} D M is acyclic, we have ( z , x ) ∉ A M (z,x) \notin A_{\mathcal{M}} ( z , x ) ∈ / A M , and thus z ∈ W 2 z \in W_2 z ∈ W 2 . Let ϕ ′ ( x ) = z \phi'(x) = z ϕ ′ ( x ) = z . Observe that ϕ ′ \phi' ϕ ′ is injective and the image of ϕ ′ \phi' ϕ ′ is included in W 2 − r T W_2 - r_T W 2 − r T . Thus, we have ∣ W 1 ∣ ≤ ∣ W 2 ∣ − 1 |W_1| \le|W_2| - 1 ∣ W 1 ∣ ≤ ∣ W 2 ∣ − 1 .
We conclude that: ∣ W ∣ = ∣ W 1 ∣ + ∣ W 2 ∣ ≤ 2 ∣ W 2 ∣ − 1 ≤ 2 ∣ X ∣ + 1 |W| = |W_1| + |W_2| \le2|W_2| - 1 \le2|X| + 1 ∣ W ∣ = ∣ W 1 ∣ + ∣ W 2 ∣ ≤ 2∣ W 2 ∣ − 1 ≤ 2∣ X ∣ + 1 . □
For each i ∈ [ p ] i \in[p] i ∈ [ p ] , let T i = ⋃ v ∈ C i T v T_i = \bigcup_{v \in C_i} T_v T i = ⋃ v ∈ C i T v , and let T i ′ = ⋃ j < i T j T'_i = \bigcup_{j<i} T_j T i ′ = ⋃ j < i T j . The following claim shows that the set T i ′ T'_i T i ′ must grow at each step.
Claim 2. For each i ∈ [ p ] i \in[p] i ∈ [ p ] , we have E ( T i ) ⊈ E ( T i ′ ) E(T_i) \not\subseteq E(T'_i) E ( T i ) ⊆ E ( T i ′ ) .
Proof. By way of contradiction, suppose that E ( T i ) ⊆ E ( T i ′ ) E(T_i) \subseteq E(T'_i) E ( T i ) ⊆ E ( T i ′ ) . Since P \mathcal{P} P is a progressive partition of H H H , we find u , v ∈ X u,v \in X u , v ∈ X such that u , v u,v u , v are Y i Y_i Y i -connected in G [ W i ′ ] G[W'_i] G [ W i ′ ] and not Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] . Let S \mathcal{S} S be the set of chordless ( u , v ) (u,v) ( u , v ) -paths P P P in G G G such that V ( P ) ⊆ W i ′ V(P) \subseteq W'_i V ( P ) ⊆ W i ′ and V ( P ) ∩ Y i ≠ ∅ V(P) \cap Y_i \ne\emptyset V ( P ) ∩ Y i = ∅ ; we thus have S \mathcal{S} S nonempty. Let us choose P ∈ S P \in\mathcal{S} P ∈ S such that ∣ V ( P ) ∩ C i ∣ |V(P) \cap C_i| ∣ V ( P ) ∩ C i ∣ is minimum. If V ( P ) ∩ C i = ∅ V(P) \cap C_i = \emptyset V ( P ) ∩ C i = ∅ , we obtain that u , v u,v u , v are Y i − 1 Y_{i-1} Y i − 1 -connected in G [ W i − 1 ′ ] G[W'_{i-1}] G [ W i − 1 ′ ] , contradiction. Suppose that V ( P ) ∩ C i ≠ ∅ V(P) \cap C_i \ne\emptyset V ( P ) ∩ C i = ∅ , and let us choose w w w in this intersection. Since u , v ∈ X u,v \in X u , v ∈ X , we have w ∈ I ( P ) w \in I(P) w ∈ I ( P ) . By hypothesis, we have E ( T w ) ⊆ E ( T i ′ ) E(T_w) \subseteq E(T'_i) E ( T w ) ⊆ E ( T i ′ ) . Let S = { z ∈ Y i − 1 : E ( T z ) ∩ E ( T w ) ≠ ∅ } S = \{z \in Y_{i-1} : E(T_z) \cap E(T_w) \ne\emptyset\} S = { z ∈ Y i − 1 : E ( T z ) ∩ E ( T w ) = ∅ } . By Lemma 11, G [ S ] G[S] G [ S ] is connected and N G [ w ] ⊆ N G [ S ] N_G[w] \subseteq N_G[S] N G [ w ] ⊆ N G [ S ] . By Lemma 10, we find P ′ P' P ′ chordless ( u , v ) (u,v) ( u , v ) -path in G G G such that V ( P ′ ) ⊆ V ( P ) − w + S V(P') \subseteq V(P) - w + S V ( P ′ ) ⊆ V ( P ) − w + S and I ( P ′ ) ∩ S ≠ ∅ I(P') \cap S \ne\emptyset I ( P ′ ) ∩ S = ∅ . We then have P ′ ∈ S P' \in\mathcal{S} P ′ ∈ S and ∣ V ( P ′ ) ∩ C i ∣ < ∣ V ( P ) ∩ C i ∣ |V(P') \cap C_i| < |V(P) \cap C_i| ∣ V ( P ′ ) ∩ C i ∣ < ∣ V ( P ) ∩ C i ∣ , contradicting the choice of P P P . □
Let us complete the proof of the proposition. An immediate induction based on Claim 2 shows that for each i ∈ [ p ] i \in[p] i ∈ [ p ] , T i T_i T i has at least i i i edges. Thus, we have p ≤ ∣ F ∣ p \le|F| p ≤ ∣ F ∣ . Since T T T is a tree, we have ∣ F ∣ ≤ ∣ W ∣ − 1 |F| \le|W| - 1 ∣ F ∣ ≤ ∣ W ∣ − 1 . By Claim 1, we conclude that p ≤ 2 ∣ X ∣ p \le2|X| p ≤ 2∣ X ∣ . □