Introduction
The problem and the known results
For a connected graph G G G , a vertex w w w separates two vertices x , y x,y x , y when d ( w , x ) ≠ d ( w , y ) d(w,x) \ne d(w,y) d ( w , x ) = d ( w , y ) , and a set W ⊆ V ( G ) W \subseteq V(G) W ⊆ V ( G ) resolves G G G when every two distinct vertices are separated by a vertex of W W W ; the metric dimension md ( G ) \operatorname{md}(G) md ( G ) is the least size of a resolving set (Definition 2.2). The decision problem Metric Dimension asks, for a connected graph G G G and an integer k ≥ 0 k \ge0 k ≥ 0 , whether md ( G ) ≤ k \operatorname{md}(G) \le k md ( G ) ≤ k . Resolving sets were introduced by Slater [28 ] and by Harary and Melter [21 ] . The problem is NP-complete in general; Garey and Johnson list it as problem GT61 of their book [20 ] , and Khuller, Raghavachari and Rosenfeld [26 ] give a reduction from 3-SAT. On trees it is polynomial: the metric dimension of a tree that is not a path is the number of its leaves minus the number of its exterior major vertices [7 , 21 , 28 ] , and Khuller et al. [26 ] compute a minimum resolving set of a tree in linear time.
Between these two poles, the problem has been placed on many classes. It stays NP-complete on planar graphs of maximum degree six [10 ] , on split graphs, bipartite graphs, co-bipartite graphs and line graphs of bipartite graphs [14 ] , on interval graphs of diameter two and on permutation graphs of diameter two [16 ] , and on a subclass of unit disk graphs [23 ] . It is polynomial on outerplanar graphs [10 ] , on cographs and, for every fixed k k k , on trees with k k k additional edges [14 ] , on chain graphs [15 ] , and, in linear time, on cactus block graphs [24 ] . In the parameterized setting the problem is W [ 2 ] \mathrm{W}[2] W [ 2 ] -hard with respect to the solution size k k k , already on graphs of maximum degree three, and it cannot be approximated within a factor o ( log n ) o(\log n) o ( log n ) unless P = N P \mathrm{P} = \mathrm{NP} P = NP [22 ] . It is fixed-parameter tractable with respect to the vertex cover number [22 ] , the max leaf number [13 ] , the tree-length plus the maximum degree, and the modular width [2 ] , and the distance to cluster or to co-cluster [19 ] . For the vertex cover number vc \operatorname{vc} vc , Foucaud et al. [18 ] give an algorithm running in time 2 O ( vc 2 ) ⋅ n O ( 1 ) 2^{O(\operatorname{vc}^{2})}\cdot n^{O(1)} 2 O ( vc 2 ) ⋅ n O ( 1 ) and show that, unless the Exponential Time Hypothesis fails, no algorithm runs in time 2 o ( vc 2 ) ⋅ n O ( 1 ) 2^{o(\operatorname{vc}^{2})}\cdot n^{O(1)} 2 o ( vc 2 ) ⋅ n O ( 1 ) , even on graphs of bounded diameter.
The parameter treewidth resisted longest. Díaz et al. [10 ] , Belmonte et al. [2 ] and Eppstein [13 ] asked for the complexity of the problem on graphs of bounded treewidth, and Hoffmann et al. [24 ] observed that the decision problem, for each fixed k ≥ 2 k \ge2 k ≥ 2 , cannot be expressed in monadic second-order logic, so that Courcelle’s theorem does not apply. Bonnet and Purohit [5 ] proved that the problem is W[1 ] -hard parameterized by treewidth, even by pathwidth; Galby et al. [19 ] strengthened this to the feedback vertex set number plus the pathwidth. Li and Pilipczuk [27 ] then proved that the problem is NP-hard on graphs of treewidth, and even pathwidth, 24, and asked for the exact treewidth at which it becomes hard, the case of treewidth two being open. Bonnet and Purohit [5 ] and Bousquet, Deschamps and Parreau [6 ] ask the same question. On the positive side, Bousquet, Deschamps and Parreau prove that the problem is fixed-parameter tractable with respect to treewidth on chordal graphs; since k k k -trees are chordal, the problem is polynomial on k k k -trees for every fixed k k k , and in particular on 2-trees, the maximal graphs of treewidth two. Foucaud et al. [17 ] give an algorithm running in time 2 diam O ( tw ) ⋅ n O ( 1 ) 2^{\operatorname{diam}^{O(\operatorname{tw})}}\cdot n^{O(1)} 2 diam O ( tw ) ⋅ n O ( 1 ) , so the problem is polynomial when both the treewidth and the diameter are bounded, and they show that this running time is essentially optimal under the Exponential Time Hypothesis.
The main theorem
Our result answers the question of the complexity on graphs of treewidth two.
Theorem 1.1 (main theorem). The following problem is NP-complete: given a two-connected two-terminal series–parallel graph ( G ; s , t ) (G; s, t) ( G ; s , t ) of pathwidth at most five and an integer k ≥ 0 k \ge0 k ≥ 0 , decide whether md ( G ) ≤ k \operatorname{md}(G) \le k md ( G ) ≤ k . Consequently the problem is NP-complete on connected graphs of treewidth at most two and pathwidth at most five.
Proof. This is Theorem 11.8 with Corollary 11.9 .
The theorem rests on the following value theorem, with the restricted formulas of Definition 4.1 (formulas in conjunctive normal form with at most three literals per clause and every literal in at most two clauses) and the graph G φ G_{\varphi} G φ of Definition 4.6.
Theorem 1.2 (the value of md ( G φ ) \operatorname{md}(G_{\varphi}) md ( G φ ) ). Let φ \varphi φ be a restricted formula with n n n clauses and r r r variables, and m : = n + r + 1 m := n + r + 1 m := n + r + 1 . Then ( G φ ; T 1 , T 2 ) (G_{\varphi}; T_{1}, T_{2}) ( G φ ; T 1 , T 2 ) is two-terminal series–parallel, so G φ G_{\varphi} G φ has treewidth at most two; G φ G_{\varphi} G φ has pathwidth at most five; and
md ( G φ ) = { 2 m + 5 if φ is satisfiable , 2 m + 6 otherwise . \operatorname{md}(G_{\varphi}) =
\begin{cases}
2m + 5 & \text{if } \varphi\text{ is satisfiable},\\
2m + 6 & \text{otherwise}.
\end{cases} md ( G φ ) = { 2 m + 5 2 m + 6 if φ is satisfiable , otherwise .
Proof. This is Theorem 11.5 with Theorem 8.5 (i),(ii) and Theorem 9.8 .
With the results recalled above, the main theorem has the following consequences.
The treewidth threshold is two. Graphs of treewidth at most one are those without a K 3 K_3 K 3 minor [4 Theorem 17] , that is, the forests, on which the problem is polynomial [26 ] ; by the main theorem it is NP-complete at treewidth two. Thus, unless P = N P \mathrm{P} = \mathrm{NP} P = NP , the gap left by Li and Pilipczuk [27 ] , between two and twenty-four, is closed, and in the terms of Bonnet and Purohit [5 ] , Metric Dimension parameterized by treewidth is para-NP-hard at the first value where it can be.
The pathwidth threshold lies between two and five. Li and Pilipczuk [27 ] proved the hardness at pathwidth twenty-four. The graph G φ G_\varphi G φ has pathwidth at most five (Theorem 9.8), and the problem is polynomial at pathwidth one, where the graphs are forests, as the pathwidth of a graph is at least its treewidth (Definition 9.1). So, unless P = N P \mathrm{P} = \mathrm{NP} P = NP , the least pathwidth at which the problem is NP-complete lies between two and five.
Outerplanar graphs are the boundary. Outerplanar graphs have treewidth at most two [4 ] , and the problem is polynomial on them [10 ] . The graphs G φ G_\varphi G φ are not outerplanar: they contain a subdivision of K 2 , 3 K_{2,3} K 2 , 3 (Lemma 10.1(i)). So, within treewidth two, the boundary between easy and hard runs between outerplanar graphs and graphs with a K 2 , 3 K_{2,3} K 2 , 3 minor.
Two-connected graphs. Two-connected graphs of treewidth two are the two-connected series–parallel graphs [4 Theorem 42] . The main theorem is stated on two-connected two-terminal series–parallel graphs of pathwidth at most five, which have treewidth at most two (Lemma 8.3(iii)); so the problem is NP-complete on two-connected graphs of treewidth two.
Trees with k k k additional edges. Epstein, Levin and Woeginger [14 ] solve the problem in polynomial time on trees with k k k additional edges for every fixed k k k , with a running time whose exponent grows with k k k . The graph G φ G_\varphi G φ is a tree with at most 12 m + 9 12m + 9 12 m + 9 additional edges (Lemma 10.1(iii)) and has O ( m 2 ) O(m^2) O ( m 2 ) vertices (Lemma 4.12(iv)); so no algorithm for this class runs in time polynomial in both the number of vertices and k k k , unless P = N P \mathrm{P} = \mathrm{NP} P = NP .
Overview of the reduction
The construction and the proof are described in full in Sections 3 to 11, with Sections 9 and 10 aside; this overview gives their shape, and every claim in it points to the statement that proves it.
The template. The building block is the template T ( L , μ ; E ) \mathsf{T}(L,\mu;E) T ( L , μ ; E ) of Definition 3.1 : a path, the spine, from a terminal s s s to a terminal t t t , with one t t t -ear attached near t t t and up to two crossings, ears (Definition 2.9, Figure 1) attached around the middle of the spine whose lengths are set by the list E E E (Figure 2). Every vertex u u u of a template has a profile ( h ( u ) , h ˉ ( u ) ) (h(u),\bar{h}(u)) ( h ( u ) , h ˉ ( u )) , its distances to s s s and to t t t , and a skew κ ( u ) = h ˉ ( u ) − h ( u ) \kappa(u)=\bar{h}(u)-h(u) κ ( u ) = h ˉ ( u ) − h ( u ) . The vertices whose skew equals the number σ = L − 2 μ \sigma=L-2\mu σ = L − 2 μ are the diagonal vertices: one on the spine and one on each crossing, at positions set by E E E (Lemma 3.7(iii)); Figure 3 marks them on two examples. The first vertex of the t t t -ear is the core, a vertex that is closer to every other member of the template than any path through s s s or t t t would make it (Lemma 5.3(iv)).
Figure 3. Two templates (Definition 3.1), with s = v 0 s = v_0 s = v 0 on the left and t = v L t = v_L t = v L on the right. The core r 1 r_1 r 1 is the black square, with profile ( L − μ + 1 , μ + 1 ) (L-\mu+1,\mu+1) ( L − μ + 1 , μ + 1 ) (Lemma 3.10). The circled vertices are the diagonal members, those with κ = h ˉ − h = σ \kappa= \bar{h}-h=\sigma κ = h ˉ − h = σ , labelled with their profiles ( h , h ˉ ) (h,\bar{h}) ( h , h ˉ ) : in (a) v 3 v_3 v 3 and x 3 0 x^0_3 x 3 0 , in (b) v 4 v_4 v 4 , x 2 0 x^0_2 x 2 0 and x 4 1 x^1_4 x 4 1 (Lemma 3.7(iii)).
The graph G φ G_\varphi G φ . A restricted formula φ \varphi φ with n n n clauses and r r r variables has m = n + r + 1 m = n + r + 1 m = n + r + 1 levels, one per clause, one per variable, and a last level, the idle level, each with three options: at the level of a clause, an option selects one of its literals; at the level of a variable, the option 1 sets it true and the options 2, 3 set it false; at the idle level the three options are alike (Definition 4.2 ). The graph G φ G_\varphi G φ (Definition 4.6; Figure 4 (a)) has a frame , two paths T 1 , s 1 , … , s m T_1, s_1, \ldots, s_m T 1 , s 1 , … , s m and t m , … , t 1 , z 1 , … , z 7 , T 2 t_m, \ldots, t_1, z_1, \ldots, z_7, T_2 t m , … , t 1 , z 1 , … , z 7 , T 2 ; at each level k k k , three copies U k , 1 , U k , 2 , U k , 3 U_{k,1}, U_{k,2}, U_{k,3} U k , 1 , U k , 2 , U k , 3 of a template between s k s_k s k and t k t_k t k , one per option, nested inside one another along the levels (Figure 4 (b)); a pair q , q ′ q, q' q , q ′ of vertices, each adjacent to t m t_m t m and to t m − 1 t_{m-1} t m − 1 (Figure 4 (d)); and four arms , paths of length D = 4 m + 15 D = 4m + 15 D = 4 m + 15 from T 1 T_1 T 1 to T 2 T_2 T 2 , each carrying one twin y ~ j \widetilde{y}_j y j of one of its vertices w j w_j w j (Figure 4 (c)). The copies of one level differ only in their crossings: the crossing lengths of U k , c U_{k,c} U k , c encode the cells of the option c c c , integers attached to the occurrences of literals in φ \varphi φ , so that the diagonal vertices of U k , c U_{k,c} U k , c lie at the distances 2 m + 4 − k 2m + 4 - k 2 m + 4 − k and the cells of c c c from T 1 T_1 T 1 (Lemma 11.1). The cells are arranged so that two levels have a common cell exactly when one is a clause level, the other is the level of the variable of a literal of that clause, and the options chosen at the two levels select that literal and falsify it (Lemma 4.3 (iv)).
Figure 4. The general shape of G φ G_\varphi G φ (Definition 4.6), not to scale; dotted lines are paths whose inner vertices are not drawn. (a) The frame is the path T 1 , s 1 , … , s m T_1,s_1,\ldots,s_m T 1 , s 1 , … , s m and the path t m , … , t 1 , z 1 , … , z 7 , T 2 t_m,\ldots,t_1,z_1,\ldots,z_7,T_2 t m , … , t 1 , z 1 , … , z 7 , T 2 . The three copies of each level k k k join s k s_k s k to t k t_k t k , and the levels are nested. Each curve stands for a whole copy, a template from s k s_k s k to t k t_k t k (panel (b)), not for an edge. Below the axis are the pair q , q ′ q,q' q , q ′ across the edge t m t m − 1 t_mt_{m-1} t m t m − 1 and the four arms from T 1 T_1 T 1 to T 2 T_2 T 2 . (b) The copies U k , 1 , U k , 2 , U k , 3 U_{k,1},U_{k,2},U_{k,3} U k , 1 , U k , 2 , U k , 3 of the options 1, 2, 3 at the level k k k share only the terminals s k s_k s k and t k t_k t k . Each is a template T ( L k , μ k ; E k , c ) \mathrm{T}(L_k,\mu_k;E_{k,c}) T ( L k , μ k ; E k , c ) with its own spine, t t t -ear and crossings, drawn in full for c = 1 c=1 c = 1 and as a single curve for c = 2 , 3 c=2,3 c = 2 , 3 . The copies of the idle level m m m have no crossing. The common members of one copy have counterparts, with the same names and profiles, in the other two (Definition 4.7). The black squares are the rows ρ k , c \rho_{k,c} ρ k , c , the cores of the copies, each on the t t t -ear of its own copy. (c) An arm, a path of length D D D from T 1 T_1 T 1 to T 2 T_2 T 2 , with the twin y ~ j \tilde y^j y ~ j of the row w j = y π j j w_j=y^j_{\pi_j} w j = y π j j ; here π j = p \pi_j=p π j = p for j = 1 , 2 j=1,2 j = 1 , 2 and π j = 7 \pi_j=7 π j = 7 for $j=3,4. (d) The pair q , q ′ q,q' q , q ′ , each adjacent to t m t_m t m and to t m − 1 t_{m-1} t m − 1 and to nothing else; together with the edge t m t m − 1 t_mt_{m-1} t m t m − 1 they form three parallel paths from t m t_m t m to t m − 1 t_{m-1} t m − 1 .
Patterns. A choice f f f selects one option f k f_k f k at every level, and its pattern W f W_f W f consists of the cores of the two copies not selected at each level (the black squares of Figure 4 (b)), together with q q q and w 1 , … , w 4 w_1, \ldots, w_4 w 1 , … , w 4 : a set of 2 m + 5 2m + 5 2 m + 5 vertices (Definition 4.11 ). The lower bound and its rigidity are proved in § 6 : every resolving set contains a vertex of each of the five twin pairs (Lemma 2.15 ) and a vertex inside at least two of the three copies of every level, so it has at least 2 m + 5 2m + 5 2 m + 5 vertices (Lemma 6.1 ), and a resolving set of exactly 2 m + 5 2m + 5 2 m + 5 vertices is a pattern up to an automorphism of G φ G_\varphi G φ (Corollary 6.3).
What a pattern separates. § 7 shows that a pattern W f W_f W f separates every pair of vertices except the pairs of diagonal vertices of two selected copies, at two different levels, at the same distance from T 1 T_1 T 1 (Theorem 7.12 ). Here each landmark does one job: the rows w j w_j w j read the distance to T 1 T_1 T 1 ; the cores of the non-selected copies read the skew of a vertex of the selected copy of their level and single out the diagonal vertices; q q q compares the skews of two levels. Adding T 2 T_2 T 2 to a pattern separates the remaining pairs, so md ( G φ ) ≤ 2 m + 6 \operatorname{md}(G_\varphi) \le2m + 6 md ( G φ ) ≤ 2 m + 6 always.
The value. By the arrangement of the cells, W f W_f W f resolves G φ G_\varphi G φ exactly when no chosen literal is falsified by the chosen value of its variable (Lemma 11.3; Figure 5 ), that is, exactly when the assignment read off f f f satisfies φ \varphi φ (Corollary 11.4). With the rigidity of the lower bound this gives the value theorem (Theorem 11.5 ), and a linear-time normalisation of 3-CNF formulas into restricted formulas gives the NP-completeness (Theorem 11.8 ).
Figure 5. (a) f = ( 2 , 1 , 2 , 1 , 1 ) f=(2,1,2,1,1) f = ( 2 , 1 , 2 , 1 , 1 ) : clause C 1 C_1 C 1 chooses ξ 2 \xi_2 ξ 2 , clause C 2 C_2 C 2 chooses ¬ ξ 1 \neg\xi_1 ¬ ξ 1 , ξ 1 \xi_1 ξ 1 is false and ξ 2 \xi_2 ξ 2 is true. No two levels share a value, and W f W_f W f resolves G φ G_\varphi G φ .
(b) f = ( 2 , 1 , 1 , 1 , 1 ) f=(2,1,1,1,1) f = ( 2 , 1 , 1 , 1 , 1 ) : the same, except that ξ 1 \xi_1 ξ 1 is true, which falsifies the chosen literal ¬ ξ 1 \neg\xi_1 ¬ ξ 1 of C 2 C_2 C 2 . Levels 2 and 3 share the cell 18.
Figure 5: How a choice f f f is tested, for the formula φ = ( ( ξ 1 , ξ 2 ) , ( ¬ ξ 1 ) ) \varphi=((\xi_1,\xi_2),(\neg\xi_1)) φ = (( ξ 1 , ξ 2 ) , ( ¬ ξ 1 )) : two clauses and two variables, so m = 5 m=5 m = 5 levels, the last one idle, one row each. The three occurrences ( 1 , ξ 1 ) (1,\xi_1) ( 1 , ξ 1 ) , ( 1 , ξ 2 ) (1,\xi_2) ( 1 , ξ 2 ) , ( 2 , ¬ ξ 1 ) (2,\neg\xi_1) ( 2 , ¬ ξ 1 ) have the cells 16, 17, 18 (Definition 4.2 ). A dot in the row of the level k k k at the column x x x is a diagonal member of the free copy U k , f k U_{k,f_k} U k , f k at distance δ 1 = x \delta_1=x δ 1 = x from T 1 T_1 T 1 : the white dot is the common value 2 m + 4 − k 2m+4-k 2 m + 4 − k , the black dots are the cells of the chosen option (Lemma 11.1); at a clause level the cell of the chosen literal, at a variable level the cells of the occurrences of the literal that the chosen value falsifies. By Theorem 7.12 (i), W f W_f W f resolves G φ G_\varphi G φ iff no column holds two dots. In (a), every column holds one dot and W f W_f W f resolves G φ G_\varphi G φ ; the assignment ξ 1 \xi_1 ξ 1 false, ξ 2 \xi_2 ξ 2 true satisfies φ \varphi φ . In (b), ξ 1 \xi_1 ξ 1 is set true, which falsifies the literal ¬ ξ 1 \neg\xi_1 ¬ ξ 1 chosen for C 2 C_2 C 2 , and the rows of the levels 2 and 3 both hold the cell 18 (circled): these two diagonal members are the only pair of vertices that W f W_f W f does not separate.
Structure of G φ G_\varphi G φ . Every template, every arm and the graph G φ G_\varphi G φ itself, between T 1 T_1 T 1 and T 2 T_2 T 2 , are two-terminal series–parallel graphs (Lemma 8.4 , Theorem 8.5 (i)); so G φ G_\varphi G φ has treewidth at most two (Theorem 8.5 (ii)). Moreover G φ G_\varphi G φ is two-connected (Lemma 10.1 (iv)) and has pathwidth at most five (Theorem 9.8 ).
Open questions
The main theorem settles the treewidth threshold. The following questions remain.
The weighted problem. Epstein, Levin and Woeginger [14 ] solve the vertex-weighted problem in polynomial time on paths, trees, cycles, cographs, wheels and, for every fixed k k k , trees with k k k additional edges, and Díaz et al. [10 ] ask whether the weighted problem is polynomial on outerplanar graphs.
k k k -outerplanar graphs and grids. Díaz et al. [10 ] ask for the complexity on k k k -outerplanar graphs for fixed k ≥ 2 k \ge2 k ≥ 2 , the case k = 1 k = 1 k = 1 being the outerplanar graphs, and on irregular grids with or without holes. The main theorem would answer the first question if G φ G_\varphi G φ were k k k -outerplanar for a fixed k k k ; we have not determined whether it is.
Organisation
The paper is written as a sequence of self-contained sections: every object is a displayed formula, every statement carries all its hypotheses, and every proof is a numbered argument citing definitions and earlier statements. Section § 2 gives the definitions and the distance tools. Section § 3 defines the template and computes its profiles. Section § 4 defines restricted formulas, the graph G φ G_\varphi G φ and the patterns. Section Section 5 computes the distances of G φ G_\varphi G φ that the proofs use. Section § 6 proves the lower bound 2 m + 5 2m + 5 2 m + 5 and that every resolving set of that size is a pattern up to an automorphism. Section § 7 determines the pairs that a pattern leaves unseparated. Section § 8 proves that G φ G_\varphi G φ has treewidth at most two, Section § 9 that it has pathwidth at most five, Section § 10 the four properties of G φ G_\varphi G φ used above. Section § 11 proves the value theorem and the main theorem. Section § 12 describes how the research and the paper were produced with a large language model, and the formalisation of the main results in Lean 4.
Definitions and distance tools
Definition 2.1 (graphs, distance). A graph G = ( V , E ) G=(V,E) G = ( V , E ) is finite and simple ; N G ( x ) N_G(x) N G ( x ) is the set of neighbours of x x x . A path in G G G is a sequence ( u 0 , … , u ℓ ) (u_0,\ldots,u_\ell) ( u 0 , … , u ℓ ) of distinct vertices with u i u i + 1 ∈ E u_i u_{i+1}\in E u i u i + 1 ∈ E for 0 ≤ i < ℓ 0\le i<\ell 0 ≤ i < ℓ ; its length is ℓ \ell ℓ , and its graph is the subgraph of G G G with the vertices u 0 , … , u ℓ u_0,\ldots,u_\ell u 0 , … , u ℓ and the edges u i u i + 1 u_i u_{i+1} u i u i + 1 (0 ≤ i < ℓ 0\le i<\ell 0 ≤ i < ℓ ). For x , y ∈ V x,y\in V x , y ∈ V , d G ( x , y ) d_G(x,y) d G ( x , y ) is the least length (number of edges) of an x x x –y y y path in G G G , and d G ( x , y ) : = ∞ d_G(x,y):=\infty d G ( x , y ) := ∞ when there is none; G G G is connected when d G d_G d G is finite on V × V V\times V V × V . A tree is a connected graph in which every two vertices are joined by exactly one path. For S ⊆ V S\subseteq V S ⊆ V , G − S G-S G − S is the subgraph induced on V ∖ S V\setminus S V ∖ S , and G − v : = G − { v } G-v:=G-\{v\} G − v := G − { v } for v ∈ V v\in V v ∈ V ; G G G is two-connected when it has at least three vertices and G − v G-v G − v is connected for every v ∈ V v\in V v ∈ V . An isomorphism from G G G onto a graph G ′ G' G ′ is a bijection ψ \psi ψ from V V V onto V ( G ′ ) V(G') V ( G ′ ) such that x y ∈ E xy\in E x y ∈ E if and only if ψ ( x ) ψ ( y ) ∈ E ( G ′ ) \psi(x)\psi(y)\in E(G') ψ ( x ) ψ ( y ) ∈ E ( G ′ ) ; an automorphism of G G G is an isomorphism from G G G onto G G G . When the graph is fixed by the enclosing statement we write d d d for d G d_G d G and N N N for N G N_G N G . The triangle inequality
d ( w , x ) ≤ d ( w , y ) + d ( y , x ) ( w , x , y ∈ V ) d(w,x)\le d(w,y)+d(y,x)\qquad(w,x,y\in V) d ( w , x ) ≤ d ( w , y ) + d ( y , x ) ( w , x , y ∈ V ) holds, and in particular ∣ d ( w , x ) − d ( w , y ) ∣ ≤ d ( x , y ) |d(w,x)-d(w,y)|\le d(x,y) ∣ d ( w , x ) − d ( w , y ) ∣ ≤ d ( x , y ) .
Definition 2.2 (separation, resolving sets, metric dimension). Let G G G be a connected graph. A vertex w w w separates two vertices x , y x,y x , y when d ( w , x ) ≠ d ( w , y ) d(w,x)\ne d(w,y) d ( w , x ) = d ( w , y ) . A set W ⊆ V ( G ) W\subseteq V(G) W ⊆ V ( G ) separates x , y x,y x , y when some w ∈ W w\in W w ∈ W does, and resolves G G G when it separates every two distinct vertices of G G G ; its elements are its landmarks. The metric dimension of G G G is
md ( G ) : = min { ∣ W ∣ : W ⊆ V ( G ) resolves G } . \operatorname{md}(G):=\min\{|W|:W\subseteq V(G)\text{ resolves }G\}. md ( G ) := min { ∣ W ∣ : W ⊆ V ( G ) resolves G } . A landmark w w w separates w w w from every vertex y ≠ w y\ne w y = w , since d ( w , w ) = 0 < d ( w , y ) d(w,w)=0<d(w,y) d ( w , w ) = 0 < d ( w , y ) .
The next lemma proves that a function f f f , written down in advance, is the distance from a vertex o o o . Its condition (b) gives the lower bound, the harder half: along any path f f f grows by at most one per edge, so no path from o o o to x x x has fewer than f ( x ) f(x) f ( x ) edges. Its condition (c) gives a path with exactly f ( x ) f(x) f ( x ) edges. Lemma 5.1 uses it to prove the distances from T 1 T_1 T 1 and T 2 T_2 T 2 to every vertex of G φ G_\varphi G φ , one edge at a time.
Lemma 2.3 (distance certificates). Let G G G be a graph, o ∈ V ( G ) o\in V(G) o ∈ V ( G ) and f : V ( G ) → Z f:V(G)\to\mathbb{Z} f : V ( G ) → Z such that
(a) f ( o ) = 0 f(o)=0 f ( o ) = 0 ;
(b) ∣ f ( x ) − f ( y ) ∣ ≤ 1 |f(x)-f(y)|\le1 ∣ f ( x ) − f ( y ) ∣ ≤ 1 for every edge x y xy x y of G G G ;
(c) every vertex x ≠ o x\ne o x = o has a neighbour y y y with f ( y ) = f ( x ) − 1 f(y)=f(x)-1 f ( y ) = f ( x ) − 1 .
Then G G G is connected and f ( x ) = d ( o , x ) f(x)=d(o,x) f ( x ) = d ( o , x ) for every x ∈ V ( G ) x\in V(G) x ∈ V ( G ) .
Proof. Lower bound. Let P P P be a path from o o o to a vertex x x x , and let k k k be its number of edges. By (b), f f f increases by at most one along each edge of P P P , so f ( x ) ≤ f ( o ) + k = k f(x) \le f(o) + k = k f ( x ) ≤ f ( o ) + k = k by (a). Hence every o o o –x x x path has at least f ( x ) f(x) f ( x ) edges.
Upper bound. We first note that f ≥ 0 f \ge0 f ≥ 0 , with equality only at o o o . Indeed, let z z z be a vertex at which f f f attains its minimum. If z ≠ o z \ne o z = o , then by (c) z z z has a neighbour with a smaller value, a contradiction. Hence o o o is the only vertex at which f f f is minimal, and f ( x ) > f ( o ) = 0 f(x) > f(o) = 0 f ( x ) > f ( o ) = 0 for every x ≠ o x \ne o x = o .
We now prove, by induction on n ≥ 0 n \ge0 n ≥ 0 , the following claim: every vertex x x x with f ( x ) = n f(x) = n f ( x ) = n is joined to o o o by a path x = y 0 , y 1 , … , y n = o x = y_0, y_1, \ldots, y_n = o x = y 0 , y 1 , … , y n = o such that f ( y i ) = n − i f(y_i) = n - i f ( y i ) = n − i for 0 ≤ i ≤ n 0 \le i \le n 0 ≤ i ≤ n .
For n = 0 n = 0 n = 0 , a vertex x x x with f ( x ) = 0 f(x) = 0 f ( x ) = 0 is o o o by the previous paragraph, and the path consisting of o o o alone satisfies the claim.
Let n ≥ 1 n \ge1 n ≥ 1 and assume the claim for n − 1 n - 1 n − 1 . Let x x x be a vertex with f ( x ) = n f(x) = n f ( x ) = n . As f ( x ) ≠ 0 f(x) \ne0 f ( x ) = 0 , x ≠ o x \ne o x = o , so by (c) x x x has a neighbour y y y with f ( y ) = n − 1 f(y) = n - 1 f ( y ) = n − 1 . By the induction hypothesis applied to y y y , there is a path from y y y to o o o along which f f f decreases by one at each step; numbering its vertices from 1, it is y = y 1 , y 2 , … , y n = o y = y_1, y_2, \ldots, y_n = o y = y 1 , y 2 , … , y n = o with f ( y i ) = n − i f(y_i) = n - i f ( y i ) = n − i for 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n . Put y 0 : = x y_0 := x y 0 := x . Since y 0 y_0 y 0 is adjacent to y 1 = y y_1 = y y 1 = y , the sequence y 0 , y 1 , … , y n y_0, y_1, \ldots, y_n y 0 , y 1 , … , y n is a walk from x x x to o o o with n n n edges, and since f ( y 0 ) = n f(y_0) = n f ( y 0 ) = n , we have f ( y i ) = n − i f(y_i) = n - i f ( y i ) = n − i for 0 ≤ i ≤ n 0 \le i \le n 0 ≤ i ≤ n . The values n , n − 1 , … , 0 n, n - 1, \ldots, 0 n , n − 1 , … , 0 are pairwise distinct, so the vertices y 0 , … , y n y_0, \ldots, y_n y 0 , … , y n are pairwise distinct, and the walk is a path. Thus x x x satisfies the claim for n n n , which completes the induction step. By induction, the claim holds for every n ≥ 0 n \ge0 n ≥ 0 .
Conclusion. Let x x x be any vertex. As f ( x ) ≥ 0 f(x) \ge0 f ( x ) ≥ 0 , the claim applies with n = f ( x ) n = f(x) n = f ( x ) : x x x is joined to o o o by a path with exactly f ( x ) f(x) f ( x ) edges. Hence G G G is connected and d ( o , x ) ≤ f ( x ) d(o,x) \le f(x) d ( o , x ) ≤ f ( x ) , and by the lower bound d ( o , x ) ≥ f ( x ) d(o,x) \ge f(x) d ( o , x ) ≥ f ( x ) .
Definition 2.4 (attached subgraphs). Let G G G be a graph, X X X a subgraph of G G G , and s ≠ t s \ne t s = t two vertices of X X X . The interior of X X X is
int ( X ) : = V ( X ) ∖ { s , t } , \operatorname{int}(X) := V(X) \setminus\{s,t\}, int ( X ) := V ( X ) ∖ { s , t } , and X X X is attached at { s , t } \{s,t\} { s , t } when every edge of G G G with an end in int ( X ) \operatorname{int}(X) int ( X ) is an edge of X X X .
Lemma 2.5 (first exit). Let G G G be a connected graph and X X X a subgraph attached at { s , t } \{s,t\} { s , t } (Definition 2.4 ). For every u ∈ int ( X ) u \in\operatorname{int}(X) u ∈ int ( X ) and every w ∈ V ( G ) ∖ int ( X ) w \in V(G) \setminus\operatorname{int}(X) w ∈ V ( G ) ∖ int ( X ) ,
d ( u , w ) = min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) . d(u,w)=\min\bigl(d(u,s)+d(s,w),\ d(u,t)+d(t,w)\bigr). d ( u , w ) = min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) .
Proof. Upper bound. For z ∈ { s , t } z \in\{s,t\} z ∈ { s , t } the triangle inequality (Definition 2.1) gives d ( u , w ) ≤ d ( u , z ) + d ( z , w ) d(u,w) \le d(u,z)+d(z,w) d ( u , w ) ≤ d ( u , z ) + d ( z , w ) . Taking z = s z=s z = s and z = t z=t z = t ,
d ( u , w ) ≤ min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) . d(u,w) \le\min\bigl(d(u,s)+d(s,w),\ d(u,t)+d(t,w)\bigr). d ( u , w ) ≤ min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) .
Lower bound. Let u = x 0 , x 1 , … , x ℓ = w u=x_0,x_1,\ldots,x_\ell=w u = x 0 , x 1 , … , x ℓ = w be a shortest u u u –w w w path, so ℓ = d ( u , w ) \ell=d(u,w) ℓ = d ( u , w ) . As x 0 ∈ int ( X ) x_0 \in\operatorname{int}(X) x 0 ∈ int ( X ) and x ℓ ∉ int ( X ) x_\ell\notin\operatorname{int}(X) x ℓ ∈ / int ( X ) , there is a least index i ≥ 1 i \ge1 i ≥ 1 with x i ∉ int ( X ) x_i \notin\operatorname{int}(X) x i ∈ / int ( X ) . Then x i − 1 ∈ int ( X ) x_{i-1} \in\operatorname{int}(X) x i − 1 ∈ int ( X ) , so the edge x i − 1 x i x_{i-1}x_i x i − 1 x i has an end in int ( X ) \operatorname{int}(X) int ( X ) and is an edge of X X X (Definition 2.4 ); hence x i ∈ V ( X ) ∖ int ( X ) = { s , t } x_i \in V(X) \setminus\operatorname{int}(X)=\{s,t\} x i ∈ V ( X ) ∖ int ( X ) = { s , t } . Put z : = x i z:=x_i z := x i . The path splits at z z z into x 0 , … , x i x_0,\ldots,x_i x 0 , … , x i , from u u u to z z z with i i i edges, and x i , … , x ℓ x_i,\ldots,x_\ell x i , … , x ℓ , from z z z to w w w with ℓ − i \ell-i ℓ − i edges, so
d ( u , z ) ≤ i , d ( z , w ) ≤ ℓ − i , hence d ( u , z ) + d ( z , w ) ≤ ℓ = d ( u , w ) . d(u,z)\le i,\qquad d(z,w)\le\ell-i,\qquad\text{hence}\qquad d(u,z)+d(z,w)\le\ell=d(u,w). d ( u , z ) ≤ i , d ( z , w ) ≤ ℓ − i , hence d ( u , z ) + d ( z , w ) ≤ ℓ = d ( u , w ) .
As z ∈ { s , t } z \in\{s,t\} z ∈ { s , t } ,
min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) ≤ d ( u , z ) + d ( z , w ) ≤ d ( u , w ) . \min\bigl(d(u,s)+d(s,w),\ d(u,t)+d(t,w)\bigr)\le d(u,z)+d(z,w)\le d(u,w). min ( d ( u , s ) + d ( s , w ) , d ( u , t ) + d ( t , w ) ) ≤ d ( u , z ) + d ( z , w ) ≤ d ( u , w ) .
With the upper bound, this ends the proof.
Lemma 2.6 (edges between vertices of an attached subgraph). Let G G G be a graph and X X X a subgraph attached at { s , t } \{s,t\} { s , t } (Definition 2.4 ) such that
d G − int ( X ) ( s , t ) ≥ d X ( s , t ) . d_{G-\operatorname{int}(X)}(s,t)\ge d_X(s,t). d G − int ( X ) ( s , t ) ≥ d X ( s , t ) . Then every edge of G G G with both ends in V ( X ) V(X) V ( X ) is an edge of X X X .
Proof. Let e e e be an edge of G G G with both ends in V ( X ) V(X) V ( X ) . If an end of e e e lies in int ( X ) \operatorname{int}(X) int ( X ) , then e e e is an edge of X X X by Definition 2.4 . Otherwise both ends of e e e lie in V ( X ) ∖ int ( X ) = { s , t } V(X) \setminus\operatorname{int}(X)=\{s,t\} V ( X ) ∖ int ( X ) = { s , t } , so e = s t e=st e = s t . Then e e e is an edge of G − int ( X ) G-\operatorname{int}(X) G − int ( X ) , so d G − int ( X ) ( s , t ) = 1 d_{G-\operatorname{int}(X)}(s,t)=1 d G − int ( X ) ( s , t ) = 1 , and the hypothesis gives d X ( s , t ) ≤ 1 d_X(s,t)\le1 d X ( s , t ) ≤ 1 . As s ≠ t s\ne t s = t , d X ( s , t ) = 1 d_X(s,t)=1 d X ( s , t ) = 1 : s s s and t t t are adjacent in X X X , that is, e e e is an edge of X X X .
Lemma 2.7 (isometric attachment). Let G G G be a connected graph, X X X a connected subgraph attached at { s , t } \{s,t\} { s , t } (Definition 2.4 ), and suppose
d G − int ( X ) ( s , t ) ≥ d X ( s , t ) . d_{G-\operatorname{int}(X)}(s,t)\ge d_X(s,t). d G − int ( X ) ( s , t ) ≥ d X ( s , t ) . Then d G ( u , u ′ ) = d X ( u , u ′ ) d_G(u,u')=d_X(u,u') d G ( u , u ′ ) = d X ( u , u ′ ) for all u , u ′ ∈ V ( X ) u,u' \in V(X) u , u ′ ∈ V ( X ) .
Proof. Put δ : = d G − int ( X ) ( s , t ) \delta:=d_{G-\operatorname{int}(X)}(s,t) δ := d G − int ( X ) ( s , t ) . Since X X X is a subgraph of G G G , d G ( u , u ′ ) ≤ d X ( u , u ′ ) d_G(u,u')\le d_X(u,u') d G ( u , u ′ ) ≤ d X ( u , u ′ ) for all u , u ′ ∈ V ( X ) u,u'\in V(X) u , u ′ ∈ V ( X ) ; it remains to prove the reverse inequality.
The claim. We prove, by induction on ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 , the following claim: for all u , u ′ ∈ V ( X ) u,u'\in V(X) u , u ′ ∈ V ( X ) with d G ( u , u ′ ) = ℓ d_G(u,u')=\ell d G ( u , u ′ ) = ℓ , we have d X ( u , u ′ ) ≤ ℓ d_X(u,u')\le\ell d X ( u , u ′ ) ≤ ℓ .
Base case. If ℓ = 0 \ell=0 ℓ = 0 , then u = u ′ u=u' u = u ′ and d X ( u , u ′ ) = 0 d_X(u,u')=0 d X ( u , u ′ ) = 0 .
Induction step. Let ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and assume the claim for every value smaller than ℓ \ell ℓ . Let u , u ′ ∈ V ( X ) u,u'\in V(X) u , u ′ ∈ V ( X ) with d G ( u , u ′ ) = ℓ d_G(u,u')=\ell d G ( u , u ′ ) = ℓ , and let P P P be a shortest u u u –u ′ u' u ′ path of G G G ; it has ℓ \ell ℓ edges. There are two cases. Case 1: every vertex of P P P is in V ( X ) V(X) V ( X ) . By Lemma 2.6 , every edge of P P P is an edge of X X X , so P P P is a path of X X X and d X ( u , u ′ ) ≤ ℓ d_X(u,u') \le\ell d X ( u , u ′ ) ≤ ℓ .
Case 2: some vertex of P P P is not in V ( X ) V(X) V ( X ) . Going along P P P from u u u to u ′ u' u ′ , let y y y be the first vertex not in V ( X ) V(X) V ( X ) , let z z z be the vertex just before y y y , and let z ′ z' z ′ be the first vertex of V ( X ) V(X) V ( X ) after y y y ; z z z and z ′ z' z ′ exist because u , u ′ ∈ V ( X ) u,u' \in V(X) u , u ′ ∈ V ( X ) . If z z z were in int ( X ) \operatorname{int}(X) int ( X ) , the edge z y zy z y would be an edge of X X X by Definition 2.4 , and y y y would be a vertex of X X X , which is a contradiction. So z ∈ V ( X ) ∖ int ( X ) = { s , t } z \in V(X) \setminus\operatorname{int}(X) = \{s,t\} z ∈ V ( X ) ∖ int ( X ) = { s , t } . Likewise z ′ ∈ { s , t } z' \in\{s,t\} z ′ ∈ { s , t } , taking the vertex just before z ′ z' z ′ in place of y y y . As P P P is a path, z ≠ z ′ z \ne z' z = z ′ , so { z , z ′ } = { s , t } \{z,z'\} = \{s,t\} { z , z ′ } = { s , t } . Split P P P at z z z and z ′ z' z ′ into P 1 P_1 P 1 from u u u to z z z , P 2 P_2 P 2 from z z z to z ′ z' z ′ and P 3 P_3 P 3 from z ′ z' z ′ to u ′ u' u ′ , with ℓ 1 \ell_1 ℓ 1 , ℓ 2 \ell_2 ℓ 2 and ℓ 3 \ell_3 ℓ 3 edges, so that ℓ 1 + ℓ 2 + ℓ 3 = ℓ \ell_1+\ell_2+\ell_3=\ell ℓ 1 + ℓ 2 + ℓ 3 = ℓ .
The vertices of P 2 P_2 P 2 other than z , z ′ z,z' z , z ′ lie outside V ( X ) V(X) V ( X ) , so P 2 P_2 P 2 is a path of G − int ( X ) G-\operatorname{int}(X) G − int ( X ) joining s s s and t t t , and ℓ 2 ≥ δ ≥ d X ( s , t ) = d X ( z , z ′ ) \ell_2 \ge\delta\ge d_X(s,t)=d_X(z,z') ℓ 2 ≥ δ ≥ d X ( s , t ) = d X ( z , z ′ ) .
P 2 P_2 P 2 joins z z z to z ′ ≠ z z' \ne z z ′ = z , so ℓ 2 ≥ 1 \ell_2 \ge1 ℓ 2 ≥ 1 , and ℓ 1 = ℓ − ℓ 2 − ℓ 3 < ℓ \ell_1=\ell-\ell_2-\ell_3<\ell ℓ 1 = ℓ − ℓ 2 − ℓ 3 < ℓ , ℓ 3 < ℓ \ell_3<\ell ℓ 3 < ℓ . As P 1 P_1 P 1 is a u u u –z z z path with ℓ 1 \ell_1 ℓ 1 edges, d G ( u , z ) ≤ ℓ 1 < ℓ d_G(u,z)\le\ell_1<\ell d G ( u , z ) ≤ ℓ 1 < ℓ ; likewise, P 3 P_3 P 3 gives d G ( z ′ , u ′ ) ≤ ℓ 3 < ℓ d_G(z',u')\le\ell_3<\ell d G ( z ′ , u ′ ) ≤ ℓ 3 < ℓ . By the induction hypothesis, applied to the pairs u , z u,z u , z and z ′ , u ′ z',u' z ′ , u ′ , d X ( u , z ) ≤ d G ( u , z ) ≤ ℓ 1 d_X(u,z)\le d_G(u,z)\le\ell_1 d X ( u , z ) ≤ d G ( u , z ) ≤ ℓ 1 and d X ( z ′ , u ′ ) ≤ d G ( z ′ , u ′ ) ≤ ℓ 3 d_X(z',u')\le d_G(z',u')\le\ell_3 d X ( z ′ , u ′ ) ≤ d G ( z ′ , u ′ ) ≤ ℓ 3 .
By the triangle inequality in X X X ,
d X ( u , u ′ ) ≤ d X ( u , z ) + d X ( z , z ′ ) + d X ( z ′ , u ′ ) ≤ ℓ 1 + ℓ 2 + ℓ 3 = ℓ . d_X(u,u') \le d_X(u,z)+d_X(z,z')+d_X(z',u') \le\ell_1+\ell_2+\ell_3=\ell. d X ( u , u ′ ) ≤ d X ( u , z ) + d X ( z , z ′ ) + d X ( z ′ , u ′ ) ≤ ℓ 1 + ℓ 2 + ℓ 3 = ℓ .
In both cases d X ( u , u ′ ) ≤ ℓ d_X(u,u')\le\ell d X ( u , u ′ ) ≤ ℓ , so the claim holds for ℓ \ell ℓ , which completes the induction step. By induction, the claim holds for every ℓ ≥ 0 \ell\ge0 ℓ ≥ 0 .
Conclusion. For u , u ′ ∈ V ( X ) u,u'\in V(X) u , u ′ ∈ V ( X ) , the claim with ℓ = d G ( u , u ′ ) \ell=d_G(u,u') ℓ = d G ( u , u ′ ) gives d X ( u , u ′ ) ≤ d G ( u , u ′ ) d_X(u,u')\le d_G(u,u') d X ( u , u ′ ) ≤ d G ( u , u ′ ) , and with the first inequality, d G ( u , u ′ ) = d X ( u , u ′ ) d_G(u,u')=d_X(u,u') d G ( u , u ′ ) = d X ( u , u ′ ) .
Definition 2.8 (profiles). Let X X X be a graph and s ≠ t s\ne t s = t two of its vertices, its terminals. The profile of a vertex u u u of X X X is ( h X ( u ) , h ˉ X ( u ) ) (h_X(u),\bar{h}_X(u)) ( h X ( u ) , h ˉ X ( u )) and its skew is κ X ( u ) \kappa_X(u) κ X ( u ) , where
h X ( u ) : = d X ( s , u ) , h ˉ X ( u ) : = d X ( t , u ) , κ X ( u ) : = h ˉ X ( u ) − h X ( u ) . h_X(u):=d_X(s,u), \qquad\bar{h}_X(u):=d_X(t,u), \qquad\kappa_X(u):=\bar{h}_X(u)-h_X(u). h X ( u ) := d X ( s , u ) , h ˉ X ( u ) := d X ( t , u ) , κ X ( u ) := h ˉ X ( u ) − h X ( u ) . When the graph is fixed by the enclosing statement we write h h h , h ˉ \bar{h} h ˉ , κ \kappa κ for h X h_X h X , h ˉ X \bar{h}_X h ˉ X , κ X \kappa_X κ X .
Definition 2.9 (ears). An ear of a graph H H H (Figure 1 ) is a path E = ( e 0 , e 1 , … , e ℓ ) E=(e_0,e_1,\ldots,e_\ell) E = ( e 0 , e 1 , … , e ℓ ) of H H H with ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 whose vertices e 1 , … , e ℓ − 1 e_1,\ldots,e_{\ell-1} e 1 , … , e ℓ − 1 have degree two in H H H . These vertices form its interior, e 0 e_0 e 0 and e ℓ e_\ell e ℓ are its ends, and ℓ \ell ℓ is its length. So the only edges of H H H at an interior vertex e i e_i e i are the two edges e i − 1 e i e_{i-1}e_i e i − 1 e i and e i e i + 1 e_ie_{i+1} e i e i + 1 of E E E .
Figure 1. An ear E = ( e 0 , … , e 5 ) E=(e_0,\ldots,e_5) E = ( e 0 , … , e 5 ) of a graph H H H (Definition 2.9 ): the interior vertices e 1 , … , e 4 e_1,\ldots,e_4 e 1 , … , e 4 have no edge other than the two edges of E E E at them, while the ends e 0 , e 5 e_0,e_5 e 0 , e 5 may have other edges. A path P P P (thick) with both ends outside the interior of E E E crosses E E E from one end to the other (Lemma 2.13 ): here its maximal run in the interior of E E E (Definition 2.12) is x a , … , x b = e 1 , … , e 4 x_a,\ldots,x_b=e_1,\ldots,e_4 x a , … , x b = e 1 , … , e 4 , with x a − 1 = e 0 x_{a-1}=e_0 x a − 1 = e 0 and x b + 1 = e 5 x_{b+1}=e_5 x b + 1 = e 5 .
Lemma 2.10 (moving along an ear). Let E = ( e 0 , … , e ℓ ) E=(e_0,\ldots,e_\ell) E = ( e 0 , … , e ℓ ) be an ear of a graph H H H (Definition 2.9 ), and let x p , x p + 1 , … , x q x_p,x_{p+1},\ldots,x_q x p , x p + 1 , … , x q , with p < q p<q p < q , be consecutive vertices of a path of H H H such that x h x_h x h is in the interior of E E E for every p < h < q p<h<q p < h < q ; if q = p + 1 q=p+1 q = p + 1 , assume moreover that x p x_p x p or x q x_q x q is in the interior of E E E . Then every x h x_h x h (p ≤ h ≤ q p\le h\le q p ≤ h ≤ q ) is a vertex of E E E . Write c h c_h c h for its index, that is, x h = e c h x_h=e_{c_h} x h = e c h . Then either c h + 1 = c h + 1 c_{h+1}=c_h+1 c h + 1 = c h + 1 for all p ≤ h < q p\le h<q p ≤ h < q , or c h + 1 = c h − 1 c_{h+1}=c_h-1 c h + 1 = c h − 1 for all p ≤ h < q p\le h<q p ≤ h < q .
Proof. By Definition 2.9, the neighbours of an interior vertex e g e_g e g (0 < g < ℓ 0<g<\ell 0 < g < ℓ ) are exactly e g − 1 e_{g-1} e g − 1 and e g + 1 e_{g+1} e g + 1 .
Each step changes the index by one. Let p ≤ h < q p \le h < q p ≤ h < q . At least one of x h , x h + 1 x_h,x_{h+1} x h , x h + 1 is in the interior of E E E : if h + 1 < q h+1<q h + 1 < q , this is x h + 1 x_{h+1} x h + 1 ; if h > p h>p h > p , this is x h x_h x h ; and otherwise h = p h=p h = p and h + 1 = q h+1=q h + 1 = q , and the hypothesis for q = p + 1 q=p+1 q = p + 1 applies. So the step from x h x_h x h to x h + 1 x_{h+1} x h + 1 joins an interior vertex e g e_g e g to one of its neighbours e g − 1 , e g + 1 e_{g-1},e_{g+1} e g − 1 , e g + 1 . Hence x h x_h x h and x h + 1 x_{h+1} x h + 1 are vertices of E E E , and their indices differ by one: c h + 1 = c h + 1 c_{h+1}=c_h+1 c h + 1 = c h + 1 or c h + 1 = c h − 1 c_{h+1}=c_h-1 c h + 1 = c h − 1 .
The direction does not change. Let p < h < q p<h<q p < h < q , and put g : = c h g:=c_h g := c h . Then x h = e g x_h=e_g x h = e g is in the interior of E E E , and x h − 1 , x h + 1 x_{h-1},x_{h+1} x h − 1 , x h + 1 are two of its neighbours, distinct because a path does not repeat a vertex. So { x h − 1 , x h + 1 } = { e g − 1 , e g + 1 } \{x_{h-1},x_{h+1}\}=\{e_{g-1},e_{g+1}\} { x h − 1 , x h + 1 } = { e g − 1 , e g + 1 } , and ( c h − 1 , c h , c h + 1 ) (c_{h-1},c_h,c_{h+1}) ( c h − 1 , c h , c h + 1 ) is ( g − 1 , g , g + 1 ) (g-1,g,g+1) ( g − 1 , g , g + 1 ) or ( g + 1 , g , g − 1 ) (g+1,g,g-1) ( g + 1 , g , g − 1 ) : the step before x h x_h x h and the step after it change the index in the same direction. As this holds at every x h x_h x h with p < h < q p<h<q p < h < q , all the steps of the stretch change the index in the same direction. □
Lemma 2.11 (distances from an ear). Let H H H be a connected graph and E = ( e 0 , … , e ℓ ) E=(e_0,\ldots,e_\ell) E = ( e 0 , … , e ℓ ) an ear of H H H (Definition 2.9 ). For 0 < i < ℓ 0<i<\ell 0 < i < ℓ and every vertex y y y of H H H outside the interior of E E E ,
d H ( e i , y ) = min ( i + d H ( e 0 , y ) , ( ℓ − i ) + d H ( e ℓ , y ) ) . d_H(e_i,y)=\min\left(i+d_H(e_0,y),(\ell-i)+d_H(e_\ell,y)\right). d H ( e i , y ) = min ( i + d H ( e 0 , y ) , ( ℓ − i ) + d H ( e ℓ , y ) ) .
Proof. Upper bound. The path e i , e i − 1 , … , e 0 e_i,e_{i-1},\ldots,e_0 e i , e i − 1 , … , e 0 has i i i edges and the path e i , e i + 1 , … , e ℓ e_i,e_{i+1},\ldots,e_\ell e i , e i + 1 , … , e ℓ has ℓ − i \ell-i ℓ − i edges, so
d H ( e i , y ) ≤ i + d H ( e 0 , y ) , d H ( e i , y ) ≤ ( ℓ − i ) + d H ( e ℓ , y ) . d_H(e_i,y)\le i+d_H(e_0,y),\qquad d_H(e_i,y)\le(\ell-i)+d_H(e_\ell,y). d H ( e i , y ) ≤ i + d H ( e 0 , y ) , d H ( e i , y ) ≤ ( ℓ − i ) + d H ( e ℓ , y ) .
Lower bound. Let e i = x 0 , x 1 , … , x k = y e_i=x_0,x_1,\ldots,x_k=y e i = x 0 , x 1 , … , x k = y be a shortest path, so k = d H ( e i , y ) k=d_H(e_i,y) k = d H ( e i , y ) , and let j ≥ 1 j\ge1 j ≥ 1 be the least index with x j x_j x j outside the interior of E E E ; it exists because y y y is outside. The vertices x 0 , … , x j − 1 x_0,\ldots,x_{j-1} x 0 , … , x j − 1 are interior; in particular x 0 = e i x_0=e_i x 0 = e i is, which the hypothesis of Lemma 2.10 asks for when j = 1 j=1 j = 1 . By that lemma, applied to x 0 , … , x j x_0,\ldots,x_j x 0 , … , x j , these vertices lie on E E E , and since x 0 = e i x_0=e_i x 0 = e i , either x h = e i − h x_h=e_{i-h} x h = e i − h for all 0 ≤ h ≤ j 0\le h\le j 0 ≤ h ≤ j , or x h = e i + h x_h=e_{i+h} x h = e i + h for all 0 ≤ h ≤ j 0\le h\le j 0 ≤ h ≤ j . Moreover x j x_j x j lies on E E E but not in its interior, so x j = e 0 x_j=e_0 x j = e 0 or x j = e ℓ x_j=e_\ell x j = e ℓ .
If x h = e i − h x_h=e_{i-h} x h = e i − h , then x j = e i − j x_j=e_{i-j} x j = e i − j and i − j < ℓ i-j<\ell i − j < ℓ , so x j = e 0 x_j=e_0 x j = e 0 and j = i j=i j = i .
If x h = e i + h x_h=e_{i+h} x h = e i + h , then x j = e i + j x_j=e_{i+j} x j = e i + j and i + j > 0 i+j>0 i + j > 0 , so x j = e ℓ x_j=e_\ell x j = e ℓ and j = ℓ − i j=\ell-i j = ℓ − i .
The rest of the path, x j , … , x k x_j,\ldots,x_k x j , … , x k , joins x j x_j x j to y y y with k − j k-j k − j edges, so d H ( x j , y ) ≤ k − j d_H(x_j,y) \le k-j d H ( x j , y ) ≤ k − j , that is,
d H ( e i , y ) = k ≥ j + d H ( x j , y ) . d_H(e_i,y)=k \ge j+d_H(x_j,y). d H ( e i , y ) = k ≥ j + d H ( x j , y ) .
By the two cases above, j + d H ( x j , y ) j+d_H(x_j,y) j + d H ( x j , y ) equals i + d H ( e 0 , y ) i+d_H(e_0,y) i + d H ( e 0 , y ) if x j = e 0 x_j=e_0 x j = e 0 , and ( ℓ − i ) + d H ( e ℓ , y ) (\ell-i)+d_H(e_\ell,y) ( ℓ − i ) + d H ( e ℓ , y ) if x j = e ℓ x_j=e_\ell x j = e ℓ ; in both cases it is at least the smaller of these two numbers. Hence
d H ( e i , y ) ≥ min ( i + d H ( e 0 , y ) , ( ℓ − i ) + d H ( e ℓ , y ) ) . d_H(e_i,y) \ge\min\left(i+d_H(e_0,y),(\ell-i)+d_H(e_\ell,y)\right). d H ( e i , y ) ≥ min ( i + d H ( e 0 , y ) , ( ℓ − i ) + d H ( e ℓ , y ) ) .
With the upper bound, this ends the proof.
Definition 2.12 (maximal runs). Let E E E be an ear of a graph H H H (Definition 2.9 ) and P = ( x 0 , … , x k ) P=(x_0,\ldots,x_k) P = ( x 0 , … , x k ) a path of H H H . A maximal run of P P P in the interior of E E E is a sequence x a , x a + 1 , … , x b x_a,x_{a+1},\ldots,x_b x a , x a + 1 , … , x b of consecutive vertices of P P P , with $0 \le a \le b \le k$, all in the interior of E E E , such that x a − 1 x_{a-1} x a − 1 is not in the interior of E E E if a > 0 a>0 a > 0 , and x b + 1 x_{b+1} x b + 1 is not in the interior of E E E if $b<k ({xref}Figure 1`).
Lemma 2.13 (paths crossing an ear). Let E = ( e 0 , … , e ℓ ) E=(e_0,\ldots,e_\ell) E = ( e 0 , … , e ℓ ) be an ear of a graph H H H (Definition 2.9 ), and P = ( x 0 , … , x k ) P=(x_0,\ldots,x_k) P = ( x 0 , … , x k ) a path of H H H with x 0 x_0 x 0 and x k x_k x k outside the interior of E E E . For every maximal run x a , … , x b x_a,\ldots,x_b x a , … , x b of P P P in the interior of E E E (Definition 2.12), 0 < a ≤ b < k 0<a\le b<k 0 < a ≤ b < k , and x a − 1 , … , x b + 1 x_{a-1},\ldots,x_{b+1} x a − 1 , … , x b + 1 is E E E or E E E reversed.
Proof. Since x 0 x_0 x 0 and x k x_k x k are not in the interior of E E E but x a x_a x a and x b x_b x b are, we have 0 < a ≤ b < k 0<a\le b<k 0 < a ≤ b < k . Thus x a − 1 x_{a-1} x a − 1 and x b + 1 x_{b+1} x b + 1 exist, and by Definition 2.12 they are not in the interior of E E E .
The vertices strictly between x a − 1 x_{a-1} x a − 1 and x b + 1 x_{b+1} x b + 1 are x a , … , x b x_a,\ldots,x_b x a , … , x b , which are in the interior of E E E . So Lemma 2.10 applies to x a − 1 , … , x b + 1 x_{a-1},\ldots,x_{b+1} x a − 1 , … , x b + 1 , and these vertices lie on E E E . Write x a − 1 = e g x_{a-1}=e_g x a − 1 = e g . Then either x a − 1 + h = e g + h x_{a-1+h}=e_{g+h} x a − 1 + h = e g + h for all 0 ≤ h ≤ b − a + 2 0\le h\le b-a+2 0 ≤ h ≤ b − a + 2 , or x a − 1 + h = e g − h x_{a-1+h}=e_{g-h} x a − 1 + h = e g − h for all 0 ≤ h ≤ b − a + 2 0\le h\le b-a+2 0 ≤ h ≤ b − a + 2 . The vertices x a − 1 x_{a-1} x a − 1 and x b + 1 x_{b+1} x b + 1 lie on E E E but not in its interior, so each of them is e 0 e_0 e 0 or e ℓ e_\ell e ℓ . They are distinct, since P P P is a path.
Suppose first that x a − 1 = e 0 x_{a-1}=e_0 x a − 1 = e 0 , so g = 0 g=0 g = 0 . The second form would give x a = e − 1 x_a=e_{-1} x a = e − 1 , which is impossible. Hence x a − 1 + h = e h x_{a-1+h}=e_h x a − 1 + h = e h for every h h h . Taking h = b − a + 2 h=b-a+2 h = b − a + 2 gives x b + 1 = e b − a + 2 x_{b+1}=e_{b-a+2} x b + 1 = e b − a + 2 . Since x b + 1 ≠ e 0 x_{b+1}\ne e_0 x b + 1 = e 0 , we have x b + 1 = e ℓ x_{b+1}=e_\ell x b + 1 = e ℓ , so b − a + 2 = ℓ b-a+2=\ell b − a + 2 = ℓ . Thus the segment x a − 1 , … , x b + 1 x_{a-1},\ldots,x_{b+1} x a − 1 , … , x b + 1 is e 0 , e 1 , … , e ℓ e_0,e_1,\ldots,e_\ell e 0 , e 1 , … , e ℓ , which is E E E .
Suppose now that x a − 1 = e ℓ x_{a-1}=e_\ell x a − 1 = e ℓ , so g = ℓ g=\ell g = ℓ . The first form would give x a = e ℓ + 1 x_a=e_{\ell+1} x a = e ℓ + 1 , which is impossible. Hence x a − 1 + h = e ℓ − h x_{a-1+h}=e_{\ell-h} x a − 1 + h = e ℓ − h for every h h h . Taking h = b − a + 2 h=b-a+2 h = b − a + 2 gives x b + 1 = e ℓ − ( b − a + 2 ) x_{b+1}=e_{\ell-(b-a+2)} x b + 1 = e ℓ − ( b − a + 2 ) . Since x b + 1 ≠ e ℓ x_{b+1}\ne e_\ell x b + 1 = e ℓ , we have x b + 1 = e 0 x_{b+1}=e_0 x b + 1 = e 0 , so b − a + 2 = ℓ b-a+2=\ell b − a + 2 = ℓ . Thus the segment is e ℓ , e ℓ − 1 , … , e 0 e_\ell,e_{\ell-1},\ldots,e_0 e ℓ , e ℓ − 1 , … , e 0 , which is E E E reversed.
Definition 2.14 (twins). Two distinct vertices x , y x,y x , y of a graph are twins when N ( x ) ∖ { y } = N ( y ) ∖ { x } N(x)\setminus\{y\}=N(y)\setminus\{x\} N ( x ) ∖ { y } = N ( y ) ∖ { x } .
Lemma 2.15 (twins and automorphisms). Let G G G be a connected graph and x , y x,y x , y twins (Definition 2.14).
The map ψ x y \psi_{xy} ψ x y exchanging x x x and y y y and fixing every other vertex is an automorphism of G G G .
d ( w , x ) = d ( w , y ) d(w,x)=d(w,y) d ( w , x ) = d ( w , y ) for every w ∈ V ( G ) ∖ { x , y } w\in V(G)\setminus\{x,y\} w ∈ V ( G ) ∖ { x , y } .
Every resolving set of G G G contains x x x or y y y .
If W W W resolves G G G and ψ \psi ψ is an automorphism of G G G , then ψ ( W ) \psi(W) ψ ( W ) resolves G G G and ∣ ψ ( W ) ∣ = ∣ W ∣ |\psi(W)|=|W| ∣ ψ ( W ) ∣ = ∣ W ∣ .
Proof. Distances. An automorphism φ \varphi φ of G G G maps every path to a path with the same number of edges, and so does φ − 1 \varphi^{-1} φ − 1 . Hence d ( φ ( w ) , φ ( z ) ) = d ( w , z ) d(\varphi(w),\varphi(z))=d(w,z) d ( φ ( w ) , φ ( z )) = d ( w , z ) for all vertices w , z w,z w , z .
(i) ψ x y \psi_{xy} ψ x y is a bijection of V ( G ) V(G) V ( G ) , and applying it twice gives the identity. We first check that it maps every edge u v uv uv to an edge. If neither u u u nor v v v is in { x , y } \{x,y\} { x , y } , the edge is fixed. If u = x u=x u = x and v ≠ y v\ne y v = y , then v ∈ N ( x ) ∖ { y } = N ( y ) ∖ { x } v\in N(x)\setminus\{y\}=N(y)\setminus\{x\} v ∈ N ( x ) ∖ { y } = N ( y ) ∖ { x } , so the image y v yv y v is an edge. If u = y u=y u = y and v ≠ x v\ne x v = x , the same argument with x x x and y y y exchanged shows that the image x v xv xv is an edge. If { u , v } = { x , y } \{u,v\}=\{x,y\} { u , v } = { x , y } , the edge is mapped to itself. Conversely, if the image of u v uv uv is an edge, then applying ψ x y \psi_{xy} ψ x y to it gives back u v uv uv , which is therefore an edge. So ψ x y \psi_{xy} ψ x y is an automorphism.
(ii) Let w ∉ { x , y } w\notin\{x,y\} w ∈ / { x , y } . Then ψ x y ( w ) = w \psi_{xy}(w)=w ψ x y ( w ) = w and ψ x y ( x ) = y \psi_{xy}(x)=y ψ x y ( x ) = y . By the first paragraph, d ( w , x ) = d ( ψ x y ( w ) , ψ x y ( x ) ) = d ( w , y ) d(w,x)=d(\psi_{xy}(w),\psi_{xy}(x))=d(w,y) d ( w , x ) = d ( ψ x y ( w ) , ψ x y ( x )) = d ( w , y ) .
(iii) Let W W W be a set of vertices with W ∩ { x , y } = ∅ W\cap\{x,y\}=\varnothing W ∩ { x , y } = ∅ . By (ii), every w ∈ W w\in W w ∈ W has d ( w , x ) = d ( w , y ) d(w,x)=d(w,y) d ( w , x ) = d ( w , y ) , so W W W does not separate x x x and y y y , and W W W does not resolve G G G (Definition 2.2).
(iv) Write ψ ( W ) : = { ψ ( w ) : w ∈ W } \psi(W):=\{\psi(w):w\in W\} ψ ( W ) := { ψ ( w ) : w ∈ W } . As ψ \psi ψ is injective, ∣ ψ ( W ) ∣ = ∣ W ∣ |\psi(W)|=|W| ∣ ψ ( W ) ∣ = ∣ W ∣ . Let u ≠ v u\ne v u = v . Then ψ − 1 ( u ) ≠ ψ − 1 ( v ) \psi^{-1}(u)\ne\psi^{-1}(v) ψ − 1 ( u ) = ψ − 1 ( v ) , so some w ∈ W w\in W w ∈ W separates them. By the first paragraph, d ( ψ ( w ) , u ) = d ( w , ψ − 1 ( u ) ) ≠ d ( w , ψ − 1 ( v ) ) = d ( ψ ( w ) , v ) d(\psi(w),u)=d(w,\psi^{-1}(u))\ne d(w,\psi^{-1}(v))=d(\psi(w),v) d ( ψ ( w ) , u ) = d ( w , ψ − 1 ( u )) = d ( w , ψ − 1 ( v )) = d ( ψ ( w ) , v ) . So ψ ( w ) ∈ ψ ( W ) \psi(w)\in\psi(W) ψ ( w ) ∈ ψ ( W ) separates u u u and v v v , and ψ ( W ) \psi(W) ψ ( W ) resolves G G G .
The template
Definition 3.1 (template). Let L , μ L,\mu L , μ be integers, put σ : = L − 2 μ \sigma:=L-2\mu σ := L − 2 μ , and let E = ( ε j ) 0 ≤ j < e E=(\varepsilon_j)_{0\le j<e} E = ( ε j ) 0 ≤ j < e with e ∈ { 0 , 1 , 2 } e\in\{0,1,2\} e ∈ { 0 , 1 , 2 } be a list of even integers ε j ≥ 2 \varepsilon_j\ge2 ε j ≥ 2 , with ε 0 < ε 1 \varepsilon_0<\varepsilon_1 ε 0 < ε 1 if e = 2 e=2 e = 2 . Assume μ ≥ 3 \mu\ge3 μ ≥ 3 , σ ≥ 2 \sigma\ge2 σ ≥ 2 , σ ≥ 4 \sigma\ge4 σ ≥ 4 if e = 2 e=2 e = 2 .
μ ≥ 3 , σ ≥ 2 , σ ≥ 4 if e = 2. (1) \mu\ge3,\qquad\sigma\ge2,\qquad\sigma\ge4\text{ if }e=2. \tag*{(1)} μ ≥ 3 , σ ≥ 2 , σ ≥ 4 if e = 2. (1) The template T = T ( L , μ ; E ) \mathsf{T}=\mathsf{T}(L,\mu;E) T = T ( L , μ ; E ) (Figure 2 ; two examples in Figure 3 ) is the union of the following paths. Each path is given by the list of its vertices in order; its edges join consecutive vertices of the list.
The spine v 0 , v 1 , … , v L v_0,v_1,\ldots,v_L v 0 , v 1 , … , v L , with L L L edges. Its ends are the terminals s : = v 0 s:=v_0 s := v 0 and t : = v L t:=v_L t := v L .
The t t t -ear r 0 , r 1 , … , r μ + 2 r_0,r_1,\ldots,r_{\mu+2} r 0 , r 1 , … , r μ + 2 , with μ + 2 \mu+2 μ + 2 edges, where r 0 : = v L − μ r_0:=v_{L-\mu} r 0 := v L − μ and r μ + 2 : = v L r_{\mu+2}:=v_L r μ + 2 := v L . Between these two vertices the spine has μ \mu μ edges.
For each j < e j<e j < e , the crossing j j j : x 0 j , x 1 j , … , x ℓ j j x^j_0,x^j_1,\ldots,x^j_{\ell_j} x 0 j , x 1 j , … , x ℓ j j , with ℓ j \ell_j ℓ j edges, where a j : = μ − 1 − j , b j : = μ + 1 + j , ℓ j : = 2 j + 2 + ε j , a_j:=\mu-1-j,\qquad b_j:=\mu+1+j,\qquad\ell_j:=2j+2+\varepsilon_j, a j := μ − 1 − j , b j := μ + 1 + j , ℓ j := 2 j + 2 + ε j , x 0 j : = v a j x^j_0:=v_{a_j} x 0 j := v a j and x ℓ j j : = v b j x^j_{\ell_j}:=v_{b_j} x ℓ j j := v b j . Between these two vertices the spine has b j − a j = 2 j + 2 b_j-a_j=2j+2 b j − a j = 2 j + 2 edges.
The vertices v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L , r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 and x 1 j , … , x ( ℓ j ) − 1 j x^j_1,\ldots,x^j_{(\ell_j)-1} x 1 j , … , x ( ℓ j ) − 1 j (j < e j<e j < e ) are pairwise distinct. So the t t t -ear meets the rest of T \mathsf{T} T only at v L − μ v_{L-\mu} v L − μ and v L v_L v L , and the crossing j j j only at v a j v_{a_j} v a j and v b j v_{b_j} v b j .
The members of T \mathsf{T} T are the vertices of its interior int ( T ) = V ( T ) ∖ { s , t } \operatorname{int}(\mathsf{T})=V(\mathsf{T})\setminus\{s,t\} int ( T ) = V ( T ) ∖ { s , t } (Definition 2.4 , with the terminals s s s and t t t ). As the vertices above are pairwise distinct, int ( T ) \operatorname{int}(\mathsf{T}) int ( T ) is the disjoint union
int ( T ) = { v 1 , … , v L − 1 } ∪ { r 1 , … , r μ + 1 } ∪ ⋃ j < e { x 1 j , … , x ( ℓ j ) − 1 j } \operatorname{int}(\mathsf{T})=\{v_1,\ldots,v_{L-1}\}\cup\{r_1,\ldots,r_{\mu+1}\}\cup\bigcup_{j<e}\{x^j_1,\ldots,x^j_{(\ell_j)-1}\} int ( T ) = { v 1 , … , v L − 1 } ∪ { r 1 , … , r μ + 1 } ∪ j < e ⋃ { x 1 j , … , x ( ℓ j ) − 1 j } of the spine members v i v_i v i , the t t t -ear members r i r_i r i and the crossing members x i j x^j_i x i j of the crossing j j j . The spine members and the t t t -ear members are the common members of T \mathsf{T} T , and the member r 1 r_1 r 1 , the vertex of the t t t -ear next to v L − μ v_{L-\mu} v L − μ , is its core.
Figure 2. The general shape of a template T(L L L , μ \mu μ ; E E E ) (Definition 3.1 ), drawn with two crossings (e = 2 e = 2 e = 2 ); when e = 1 e = 1 e = 1 only crossing 0 is present, and when e = 0 e = 0 e = 0 there is none. Dotted lines are paths whose inner vertices are not drawn. (a) The spine v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L runs from s s s to t t t . Crossing j j j joins v a j = v μ − 1 − j v_{a_j}=v_{\mu-1-j} v a j = v μ − 1 − j to v b j = v μ + 1 + j v_{b_j}=v_{\mu+1+j} v b j = v μ + 1 + j , around v μ v_\mu v μ ; the t t t -ear joins v L − μ v_{L-\mu} v L − μ to v L v_L v L . Each of the three paths meets the rest of the template only at its two ends, which are spine vertices, and by Lemma 3.3 the crossings end before v L − μ v_{L-\mu} v L − μ . (b) Crossing j j j has ℓ j = 2 j + 2 + ε j \ell_j=2j+2+\varepsilon_j ℓ j = 2 j + 2 + ε j edges, against 2 j + 2 2j+2 2 j + 2 spine edges between its ends. (c) The t t t -ear has μ + 2 \mu+2 μ + 2 edges, against μ \mu μ spine edges between its ends; its first member r 1 r_1 r 1 is the core.
Definition 3.2 (diagonal vertices). In a template T = T(L L L , μ \mu μ ; E E E ) the terminals are s s s and t t t , and we write h h h , h ˉ \bar{h} h ˉ , κ \kappa κ for h T h_T h T , h ˉ T \bar{h}_T h ˉ T , κ T \kappa_T κ T (Definition 2.8 ):
h ( u ) = d T ( s , u ) , h ˉ ( u ) = d T ( t , u ) , κ ( u ) = h ˉ ( u ) − h ( u ) . h(u)=d_T(s,u),\qquad\bar{h}(u)=d_T(t,u),\qquad\kappa(u)=\bar{h}(u)-h(u). h ( u ) = d T ( s , u ) , h ˉ ( u ) = d T ( t , u ) , κ ( u ) = h ˉ ( u ) − h ( u ) . A vertex u u u of T is diagonal when κ ( u ) = σ \kappa(u)=\sigma κ ( u ) = σ , where σ = L − 2 μ \sigma=L-2\mu σ = L − 2 μ .
Two templates T(L L L , μ \mu μ ; E E E ) and T(L L L , μ \mu μ ; E ′ E' E ′ ) with the same L L L and μ \mu μ have the same spine and the same t t t -ear: both have the vertices v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L and r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 , with the same edges between them. They differ only in their crossings, which depend on E E E and E ′ E' E ′ ; this is why the spine members and the t t t -ear members are called common. Common does not mean shared: when several such templates are used as separate graphs, each has its own spine and its own t t t -ear.
The rest of this section computes the profiles and proves the facts used later. The profile of a common member depends on L L L and μ \mu μ only (Lemma 3.6 ). In § 4 , the three copies of a level are templates with the same L L L and μ \mu μ ; each copy has its own spine, t t t -ear and crossings, and the copies meet only at their terminals (Definition 4.6). A common member of one copy and its counterparts in the other two copies, different vertices with the same name (Definition 4.7), have the same profile. The diagonal members are v μ v_\mu v μ and one member on each crossing (Lemma 3.7; in the plane of profiles they lie on the line h ˉ − h = σ \bar{h}-h=\sigma h ˉ − h = σ ). Two distinct members have distinct profiles (Lemma 3.8). The core reaches every other member by a path shorter than any walk through s s s or t t t (Lemma 3.10). In G φ G_\varphi G φ the landmarks placed inside copies are cores (Definition 4.11), and a resolving set of 2 m + 5 2m+5 2 m + 5 vertices has no vertex inside a copy other than its core (Lemma 6.2).
Lemma 3.3 (positions of the ends). In T = T ( L , μ ; E ) T=T(L,\mu;E) T = T ( L , μ ; E ) , for every j < e j<e j < e ,
1 ≤ a j < b j ≤ L − μ − 1. 1\leq a_j<b_j\leq L-\mu-1. 1 ≤ a j < b j ≤ L − μ − 1. So the ends v a j , v b j v_{a_j},v_{b_j} v a j , v b j of the crossing j j j lie strictly between s = v 0 s=v_0 s = v 0 and v L − μ v_{L-\mu} v L − μ , the first end of the t t t -ear. Moreover L − μ = μ + σ ≥ 5 L-\mu=\mu+\sigma\geq5 L − μ = μ + σ ≥ 5 .
Proof. As j ≤ 1 j\leq1 j ≤ 1 and μ ≥ 3 \mu\geq3 μ ≥ 3 by (E1), a j = μ − 1 − j ≥ μ − 2 ≥ 1 a_j=\mu-1-j\geq\mu-2\geq1 a j = μ − 1 − j ≥ μ − 2 ≥ 1 . Next, b j − a j = 2 j + 2 > 0 b_j-a_j=2j+2>0 b j − a j = 2 j + 2 > 0 , so a j < b j a_j<b_j a j < b j . Finally,
b j ≤ L − μ − 1 ⟺ μ + 1 + j ≤ L − μ − 1 ⟺ 2 + j ≤ L − 2 μ = σ . b_j\leq L-\mu-1\Longleftrightarrow\mu+1+j\leq L-\mu-1\Longleftrightarrow2+j\leq L-2\mu=\sigma. b j ≤ L − μ − 1 ⟺ μ + 1 + j ≤ L − μ − 1 ⟺ 2 + j ≤ L − 2 μ = σ . If j = 0 j=0 j = 0 , this is σ ≥ 2 \sigma\geq2 σ ≥ 2 , which holds by (E1). If j = 1 j=1 j = 1 , then e = 2 e=2 e = 2 , and σ ≥ 4 > 3 \sigma\geq4>3 σ ≥ 4 > 3 by (E1). Moreover L − μ = μ + ( L − 2 μ ) = μ + σ ≥ 3 + 2 = 5 L-\mu=\mu+(L-2\mu)=\mu+\sigma\geq3+2=5 L − μ = μ + ( L − 2 μ ) = μ + σ ≥ 3 + 2 = 5 by (E1).
Lemma 3.4 (the ears of the template). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) (Definition 3.1 ):
(i) R : = ( r 0 , … , r μ + 2 ) R := (r_0, \ldots, r_{\mu+2}) R := ( r 0 , … , r μ + 2 ) is an ear of length μ + 2 \mu+ 2 μ + 2 with ends v L − μ , v L v_{L-\mu}, v_L v L − μ , v L , and for j < e j < e j < e , X j : = ( x 0 j , … , x ℓ j j ) X^j := (x^j_0, \ldots, x^j_{\ell_j}) X j := ( x 0 j , … , x ℓ j j ) is an ear of length ℓ j \ell_j ℓ j with ends v a j , v b j v_{a_j}, v_{b_j} v a j , v b j (Definition 2.9 );
(ii) every member is a spine member or lies in the interior of exactly one of these ears;
(iii) T T T is connected.
Proof. (i) R R R is a path of T T T . Its consecutive vertices are adjacent by Definition 3.1 . Its vertices are pairwise distinct: r 1 , … , r μ + 1 r_1, \ldots, r_{\mu+1} r 1 , … , r μ + 1 are distinct from each other and from the spine vertices (Definition 3.1 ), and its ends r 0 = v L − μ r_0 = v_{L-\mu} r 0 = v L − μ and r μ + 2 = v L r_{\mu+2} = v_L r μ + 2 = v L are distinct, as μ ≥ 3 \mu\ge3 μ ≥ 3 . Likewise X j X^j X j is a path of T T T , taking x i j x^j_i x i j in place of r i r_i r i ; its ends x 0 j = v a j x^j_0 = v_{a_j} x 0 j = v a j and x ℓ j j = v b j x^j_{\ell_j} = v_{b_j} x ℓ j j = v b j are distinct, as a j < b j a_j < b_j a j < b j .
The edges of T T T are those of the spine, the t t t -ear and the crossings (Definition 3.1 ). For 1 ≤ i ≤ μ + 1 1 \le i \le\mu+ 1 1 ≤ i ≤ μ + 1 , r i r_i r i is not a vertex of the spine or of a crossing, so its only edges are r i − 1 r i r_{i-1}r_i r i − 1 r i and r i r i + 1 r_ir_{i+1} r i r i + 1 , and it has degree two. Likewise x i j x^j_i x i j has degree two for 1 ≤ i ≤ ℓ j − 1 1 \le i \le\ell_j - 1 1 ≤ i ≤ ℓ j − 1 . The lengths are μ + 2 ≥ 5 \mu+ 2 \ge5 μ + 2 ≥ 5 and ℓ j = 2 j + 2 + ε j ≥ 4 \ell_j = 2j + 2 + \varepsilon_j \ge4 ℓ j = 2 j + 2 + ε j ≥ 4 . So R R R and X j X^j X j are ears (Definition 2.9 ).
(ii) The vertex list of Definition 3.1 is a disjoint union of the spine vertices and the interiors of R R R and the X j X^j X j .
(iii) Any two spine vertices are joined along the spine. Every vertex of R R R is joined along R R R to its end r 0 = v L − μ r_0 = v_{L-\mu} r 0 = v L − μ , and every vertex of X j X^j X j is joined along X j X^j X j to its end v a j v_{a_j} v a j ; both ends are spine vertices. By Definition 3.1 , every vertex of T T T lies on the spine, on R R R or on some X j X^j X j . So every vertex is joined to a spine vertex, any two vertices are joined through the spine, and T T T is connected.
:::
Lemma 3.5 (the spine is geodesic). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) , d T ( v i , v i ′ ) = ∣ i − i ′ ∣ d_T(v_i, v_{i'}) = \lvert i - i' \rvert d T ( v i , v i ′ ) = ∣ i − i ′ ∣ for 0 ≤ i , i ′ ≤ L 0 \le i, i' \le L 0 ≤ i , i ′ ≤ L ; in particular d T ( s , t ) = L d_T(s,t) = L d T ( s , t ) = L .
Proof. The spine path from v i v_i v i to v i ′ v_{i'} v i ′ has ∣ i − i ′ ∣ \lvert i-i' \rvert ∣ i − i ′ ∣ edges, so d T ( v i , v i ′ ) ≤ ∣ i − i ′ ∣ d_T(v_i,v_{i'}) \le\lvert i-i' \rvert d T ( v i , v i ′ ) ≤ ∣ i − i ′ ∣ . Let P = ( x 0 , … , x k ) P = (x_0, \ldots, x_k) P = ( x 0 , … , x k ) be a shortest v i v_i v i –v i ′ v_{i'} v i ′ path of T T T . We show that every vertex of P P P is a spine vertex.
Suppose not. By Lemma 3.4 (ii), some vertex x c x_c x c of P P P lies in the interior of one of the ears E E E of Lemma 3.4 (i). Let x a , … , x b x_a, \ldots, x_b x a , … , x b be the maximal run of P P P in the interior of E E E that contains x c x_c x c (Definition 2.12). The ends v i v_i v i and v i ′ v_{i'} v i ′ of P P P are spine vertices, so they are not in the interior of E E E , and by Lemma 2.13 the subpath Q : = ( x a − 1 , … , x b + 1 ) Q := (x_{a-1}, \ldots, x_{b+1}) Q := ( x a − 1 , … , x b + 1 ) of P P P runs along E E E from one end to the other.
E E E has more edges than the spine path S S S between its ends. The t t t -ear R R R has μ + 2 \mu+ 2 μ + 2 edges, and the spine path from v L − μ v_{L-\mu} v L − μ to v L v_L v L has μ \mu μ . The crossing X j X^j X j has ℓ j = 2 j + 2 + ε j \ell_j = 2j + 2 + \varepsilon_j ℓ j = 2 j + 2 + ε j edges, where ε j ≥ 2 \varepsilon_j \ge2 ε j ≥ 2 (Definition 3.1 ), and the spine path from v a j v_{a_j} v a j to v b j v_{b_j} v b j has b j − a j = 2 j + 2 b_j-a_j = 2j+2 b j − a j = 2 j + 2 . Replacing Q Q Q by S S S in P P P gives a v i v_i v i –v i ′ v_{i'} v i ′ walk with fewer edges than P P P . A walk contains a path between its ends with at most as many edges, so some v i v_i v i –v i ′ v_{i'} v i ′ path is shorter than P P P , which is a contradiction.
So every vertex of P P P is a spine vertex. We check that every edge of P P P is a spine edge. By Definition 3.1 , an edge of T T T is a spine edge or an edge e k e k + 1 e_ke_{k+1} e k e k + 1 of an ear ( e 0 , … , e ℓ ) (e_0,\ldots,e_\ell) ( e 0 , … , e ℓ ) (0 ≤ k < ℓ 0 \le k < \ell 0 ≤ k < ℓ ). Such an ear edge has an end in the interior of the ear: e k e_k e k if k ≥ 1 k \ge1 k ≥ 1 , and e 1 e_1 e 1 if k = 0 k=0 k = 0 , as ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 . Interior vertices of the ears are not spine vertices (Definition 3.1 ). So an ear edge never joins two spine vertices, and every edge of P P P is a spine edge. So P P P is a path of the spine v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L from v i v_i v i to v i ′ v_{i'} v i ′ , that is, v i , v i ± 1 , … , v i ′ v_i,v_{i\pm1},\ldots,v_{i'} v i , v i ± 1 , … , v i ′ , with ∣ i − i ′ ∣ \lvert i-i'\rvert ∣ i − i ′ ∣ edges. Hence d T ( v i , v i ′ ) = ∣ i − i ′ ∣ d_T(v_i,v_{i'}) = \lvert i-i'\rvert d T ( v i , v i ′ ) = ∣ i − i ′ ∣ .
Lemma 3.6 (profiles). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) (Definition 3.1 ), the profiles ( h , h ˉ ) (h, \bar{h}) ( h , h ˉ ) (Definition 3.2 ) are as follows:
(i) h ( v i ) = i h(v_i) = i h ( v i ) = i and h ˉ ( v i ) = L − i \bar{h}(v_i) = L - i h ˉ ( v i ) = L − i for 0 ≤ i ≤ L 0 \le i \le L 0 ≤ i ≤ L ;
(ii) h ( r i ) = L − μ + i h(r_i) = L - \mu+ i h ( r i ) = L − μ + i and h ˉ ( r i ) = μ + 2 − i \bar{h}(r_i) = \mu+ 2 - i h ˉ ( r i ) = μ + 2 − i for 1 ≤ i ≤ μ + 1 1 \le i \le\mu+ 1 1 ≤ i ≤ μ + 1 ;
(iii) for j < e j < e j < e and 1 ≤ i ≤ ℓ j − 1 1 \le i \le\ell_j - 1 1 ≤ i ≤ ℓ j − 1 , with a : = a j a := a_j a := a j , b : = b j b := b_j b := b j , ℓ : = ℓ j \ell:= \ell_j ℓ := ℓ j , ε : = ε j \varepsilon:= \varepsilon_j ε := ε j ,
h ( x i j ) = min ( a + i , b + ℓ − i ) , h ˉ ( x i j ) = min ( L − a + i , L − b + ℓ − i ) , h(x_i^j) = \min(a + i, b + \ell- i), \qquad\bar{h}(x_i^j) = \min(L - a + i, L - b + \ell- i), h ( x i j ) = min ( a + i , b + ℓ − i ) , h ˉ ( x i j ) = min ( L − a + i , L − b + ℓ − i ) , that is,
( h , h ˉ ) ( x i j ) = { ( a + i , L − a + i ) zone A: 1 ≤ i ≤ ε / 2 , ( a + i , L − b + ℓ − i ) zone B: ε / 2 < i ≤ 2 j + 2 + ε / 2 , ( b + ℓ − i , L − b + ℓ − i ) zone C: 2 j + 2 + ε / 2 < i ≤ ℓ − 1. (h,\bar{h})(x_i^j) =
\begin{cases}
(a + i, L - a + i) & \text{zone A: } 1 \le i \le\varepsilon/2,\\
(a + i, L - b + \ell- i) & \text{zone B: } \varepsilon/2 < i \le2j + 2 + \varepsilon/2,\\
(b + \ell- i, L - b + \ell- i) & \text{zone C: } 2j + 2 + \varepsilon/2 < i \le\ell- 1.
\end{cases} ( h , h ˉ ) ( x i j ) = ⎩ ⎨ ⎧ ( a + i , L − a + i ) ( a + i , L − b + ℓ − i ) ( b + ℓ − i , L − b + ℓ − i ) zone A: 1 ≤ i ≤ ε /2 , zone B: ε /2 < i ≤ 2 j + 2 + ε /2 , zone C: 2 j + 2 + ε /2 < i ≤ ℓ − 1. In particular the profiles of the common members depend on L L L and μ \mu μ only.
Proof. By Definition 3.2 , h ( u ) = d T ( s , u ) h(u) = d_T(s, u) h ( u ) = d T ( s , u ) and h ˉ ( u ) = d T ( t , u ) \bar{h}(u) = d_T(t, u) h ˉ ( u ) = d T ( t , u ) , with s = v 0 s = v_0 s = v 0 and t = v L t = v_L t = v L . The ranges of (i)–(iii) cover every vertex of T T T exactly once: (ii) and (iii) are the ranges of the t t t -ear members and of the crossing members in the disjoint union int ( T ) \operatorname{int}(T) int ( T ) of Definition 3.1 , and (i) covers the spine members v 1 , … , v L − 1 v_1,\ldots,v_{L-1} v 1 , … , v L − 1 and the terminals s = v 0 s = v_0 s = v 0 and t = v L t = v_L t = v L .
(i) By Lemma 3.5, h ( v i ) = d T ( v 0 , v i ) = i h(v_i) = d_T(v_0, v_i) = i h ( v i ) = d T ( v 0 , v i ) = i and h ˉ ( v i ) = d T ( v L , v i ) = L − i \bar{h}(v_i) = d_T(v_L, v_i) = L - i h ˉ ( v i ) = d T ( v L , v i ) = L − i .
(ii) By Lemma 3.4(i), R = ( r 0 , … , r μ + 2 ) R = (r_0,\ldots,r_{\mu+2}) R = ( r 0 , … , r μ + 2 ) is an ear of length μ + 2 \mu+ 2 μ + 2 with ends r 0 = v L − μ r_0 = v_{L-\mu} r 0 = v L − μ and r μ + 2 = v L r_{\mu+2} = v_L r μ + 2 = v L ; T T T is connected by Lemma 3.4(iii), and s , t s,t s , t are spine vertices, so they are not in the interior of R R R . For 1 ≤ i ≤ μ + 1 1 \le i \le\mu+ 1 1 ≤ i ≤ μ + 1 , Lemma 2.11 with y : = s y := s y := s and (i) give
h ( r i ) = d T ( s , r i ) = min ( i + d T ( s , v L − μ ) , ( μ + 2 − i ) + d T ( s , v L ) ) = min ( i + L − μ , μ + 2 − i + L ) . h(r_i) = d_T(s, r_i) = \min\left(i + d_T(s, v_{L-\mu}),\,(\mu+ 2 - i) + d_T(s, v_L)\right) = \min(i + L - \mu, \mu+ 2 - i + L). h ( r i ) = d T ( s , r i ) = min ( i + d T ( s , v L − μ ) , ( μ + 2 − i ) + d T ( s , v L ) ) = min ( i + L − μ , μ + 2 − i + L ) .
The first term is the smaller: ( μ + 2 − i + L ) − ( i + L − μ ) = 2 μ + 2 − 2 i ≥ 0 (\mu+ 2 - i + L) - (i + L - \mu) = 2\mu+ 2 - 2i \ge0 ( μ + 2 − i + L ) − ( i + L − μ ) = 2 μ + 2 − 2 i ≥ 0 , as i ≤ μ + 1 i \le\mu+ 1 i ≤ μ + 1 . So h ( r i ) = L − μ + i h(r_i) = L - \mu+ i h ( r i ) = L − μ + i . Likewise, with y : = t y := t y := t ,
h ˉ ( r i ) = d T ( t , r i ) = min ( i + d T ( t , v L − μ ) , ( μ + 2 − i ) + d T ( t , v L ) ) = min ( i + μ , μ + 2 − i ) , \bar{h}(r_i) = d_T(t, r_i) = \min\left(i + d_T(t, v_{L-\mu}),\,(\mu+ 2 - i) + d_T(t, v_L)\right) = \min(i + \mu, \mu+ 2 - i), h ˉ ( r i ) = d T ( t , r i ) = min ( i + d T ( t , v L − μ ) , ( μ + 2 − i ) + d T ( t , v L ) ) = min ( i + μ , μ + 2 − i ) ,
and ( i + μ ) − ( μ + 2 − i ) = 2 i − 2 ≥ 0 (i + \mu) - (\mu+ 2 - i) = 2i - 2 \ge0 ( i + μ ) − ( μ + 2 − i ) = 2 i − 2 ≥ 0 , as i ≥ 1 i \ge1 i ≥ 1 . So h ˉ ( r i ) = μ + 2 − i \bar{h}(r_i) = \mu+ 2 - i h ˉ ( r i ) = μ + 2 − i .
(iii) By Lemma 3.4(i), X j = ( x 0 j , … , x ℓ j ) X^j = (x_0^j,\ldots,x_\ell^j) X j = ( x 0 j , … , x ℓ j ) is an ear of length ℓ \ell ℓ with ends x 0 j = v a x_0^j = v_a x 0 j = v a and x ℓ j = v b x_\ell^j = v_b x ℓ j = v b , and s , t s,t s , t are not in its interior. For 1 ≤ i ≤ ℓ − 1 1 \le i \le\ell- 1 1 ≤ i ≤ ℓ − 1 , Lemma 2.11 and (i) give
h ( x i j ) = min ( i + d T ( s , v a ) , ( ℓ − i ) + d T ( s , v b ) ) = min ( a + i , b + ℓ − i ) , h(x_i^j) = \min\left(i + d_T(s, v_a),\,(\ell- i) + d_T(s, v_b)\right) = \min(a + i, b + \ell- i), h ( x i j ) = min ( i + d T ( s , v a ) , ( ℓ − i ) + d T ( s , v b ) ) = min ( a + i , b + ℓ − i ) ,
h ˉ ( x i j ) = min ( i + d T ( t , v a ) , ( ℓ − i ) + d T ( t , v b ) ) = min ( L − a + i , L − b + ℓ − i ) . \bar{h}(x_i^j) = \min\left(i + d_T(t, v_a),\,(\ell- i) + d_T(t, v_b)\right) = \min(L - a + i, L - b + \ell- i). h ˉ ( x i j ) = min ( i + d T ( t , v a ) , ( ℓ − i ) + d T ( t , v b ) ) = min ( L − a + i , L − b + ℓ − i ) .
To see which terms are the smaller, use b − a = 2 j + 2 b - a = 2j + 2 b − a = 2 j + 2 and ℓ = 2 j + 2 + ε \ell= 2j + 2 + \varepsilon ℓ = 2 j + 2 + ε :
( b + ℓ − i ) − ( a + i ) = 4 j + 4 + ε − 2 i , which is ≥ 0 iff i ≤ 2 j + 2 + ε / 2 ; (b + \ell- i) - (a + i) = 4j + 4 + \varepsilon- 2i, \qquad\text{which is } \ge0 \text{ iff } i \le2j + 2 + \varepsilon/2; ( b + ℓ − i ) − ( a + i ) = 4 j + 4 + ε − 2 i , which is ≥ 0 iff i ≤ 2 j + 2 + ε /2 ;
( L − b + ℓ − i ) − ( L − a + i ) = ε − 2 i , which is ≥ 0 iff i ≤ ε / 2. (L - b + \ell- i) - (L - a + i) = \varepsilon- 2i, \qquad\text{which is } \ge0 \text{ iff } i \le\varepsilon/2. ( L − b + ℓ − i ) − ( L − a + i ) = ε − 2 i , which is ≥ 0 iff i ≤ ε /2.
As ε \varepsilon ε is even, ε / 2 \varepsilon/2 ε /2 is an integer, and ε / 2 < 2 j + 2 + ε / 2 \varepsilon/2 < 2j + 2 + \varepsilon/2 ε /2 < 2 j + 2 + ε /2 . So the range 1 ≤ i ≤ ℓ − 1 1 \le i \le\ell- 1 1 ≤ i ≤ ℓ − 1 splits into three zones. If i ≤ ε / 2 i \le\varepsilon/2 i ≤ ε /2 , both minima are the first terms (zone A). If ε / 2 < i ≤ 2 j + 2 + ε / 2 \varepsilon/2 < i \le2j + 2 + \varepsilon/2 ε /2 < i ≤ 2 j + 2 + ε /2 , the minimum for h h h is its first term and the minimum for h ˉ \bar{h} h ˉ its second (zone B). If i > 2 j + 2 + ε / 2 i > 2j + 2 + \varepsilon/2 i > 2 j + 2 + ε /2 , both minima are the second terms (zone C).
Finally, by (i) and (ii), the profiles of the spine members and of the t t t -ear members are given by formulas in L L L , μ \mu μ and i i i only, so they do not depend on E E E .
Lemma 3.7 (skews and diagonal members). In T = T ( L , μ ; E ) T = T(L,\mu;E) T = T ( L , μ ; E ) (Definition 3.1 ), with κ \kappa κ and σ = L − 2 μ \sigma= L - 2\mu σ = L − 2 μ as in Definition 3.2 :
(i) κ ( v i ) = L − 2 i \kappa(v_i) = L - 2i κ ( v i ) = L − 2 i for 0 ≤ i ≤ L 0 \le i \le L 0 ≤ i ≤ L , and κ ( r i ) = 2 − σ − 2 i ≤ − σ \kappa(r_i) = 2 - \sigma- 2i \le-\sigma κ ( r i ) = 2 − σ − 2 i ≤ − σ for 1 ≤ i ≤ μ + 1 1 \le i \le\mu+ 1 1 ≤ i ≤ μ + 1 ;
(ii) on the crossing j j j , κ ( x i j ) \kappa(x_i^j) κ ( x i j ) is σ + 2 + 2 j \sigma+ 2 + 2j σ + 2 + 2 j in zone A A A , σ + 2 + 2 j + ε j − 2 i ∈ [ σ − 2 − 2 j , σ + 2 j ] \sigma+ 2 + 2j + \varepsilon_j - 2i \in[\sigma- 2 - 2j,\ \sigma+ 2j] σ + 2 + 2 j + ε j − 2 i ∈ [ σ − 2 − 2 j , σ + 2 j ] in zone B B B , and σ − 2 − 2 j \sigma- 2 - 2j σ − 2 − 2 j in zone C C C ; so σ − 2 − 2 j ≤ κ ( x i j ) ≤ σ + 2 + 2 j ≤ σ + 4 \sigma- 2 - 2j \le\kappa(x_i^j) \le\sigma+ 2 + 2j \le\sigma+ 4 σ − 2 − 2 j ≤ κ ( x i j ) ≤ σ + 2 + 2 j ≤ σ + 4 ;
(iii) the diagonal members are exactly v μ v_\mu v μ , with h ( v μ ) = μ h(v_\mu) = \mu h ( v μ ) = μ , and, for each j < e j < e j < e , the member x j + 1 + ε j / 2 j x_{j+1+\varepsilon_j/2}^j x j + 1 + ε j /2 j , with h ( x j + 1 + ε j / 2 j ) = μ + ε j / 2 h(x_{j+1+\varepsilon_j/2}^j) = \mu+ \varepsilon_j/2 h ( x j + 1 + ε j /2 j ) = μ + ε j /2 ;
(iv) every member u u u with κ ( u ) > σ + 4 \kappa(u) > \sigma+ 4 κ ( u ) > σ + 4 is a spine member.
Proof. By Definition 3.2 , κ ( u ) = h ˉ ( u ) − h ( u ) \kappa(u) = \bar{h}(u) - h(u) κ ( u ) = h ˉ ( u ) − h ( u ) . On the crossing j j j we write a = μ − 1 − j a = \mu- 1 - j a = μ − 1 − j , b = μ + 1 + j b = \mu+ 1 + j b = μ + 1 + j , ℓ = 2 j + 2 + ε \ell= 2j + 2 + \varepsilon ℓ = 2 j + 2 + ε and ε = ε j \varepsilon= \varepsilon_j ε = ε j , as in Lemma 3.6 (iii); so a + b = 2 μ a + b = 2\mu a + b = 2 μ .
(i) By Lemma 3.6 (i), κ ( v i ) = ( L − i ) − i = L − 2 i \kappa(v_i) = (L - i) - i = L - 2i κ ( v i ) = ( L − i ) − i = L − 2 i . By Lemma 3.6 (ii), κ ( r i ) = ( μ + 2 − i ) − ( L − μ + i ) = 2 − ( L − 2 μ ) − 2 i = 2 − σ − 2 i \kappa(r_i) = (\mu+ 2 - i) - (L - \mu+ i) = 2 - (L - 2\mu) - 2i = 2 - \sigma- 2i κ ( r i ) = ( μ + 2 − i ) − ( L − μ + i ) = 2 − ( L − 2 μ ) − 2 i = 2 − σ − 2 i , and 2 − σ − 2 i ≤ − σ 2 - \sigma- 2i \le-\sigma 2 − σ − 2 i ≤ − σ as i ≥ 1 i \ge1 i ≥ 1 .
(ii) By Lemma 3.6 (iii):
zone A: κ = ( L − a + i ) − ( a + i ) = L − 2 a = L − 2 μ + 2 + 2 j = σ + 2 + 2 j \kappa= (L - a + i) - (a + i) = L - 2a = L - 2\mu+ 2 + 2j = \sigma+ 2 + 2j κ = ( L − a + i ) − ( a + i ) = L − 2 a = L − 2 μ + 2 + 2 j = σ + 2 + 2 j ;
zone B: κ = ( L − b + ℓ − i ) − ( a + i ) = L − ( a + b ) + ℓ − 2 i = σ + 2 + 2 j + ε − 2 i \kappa= (L - b + \ell- i) - (a + i) = L - (a + b) + \ell- 2i = \sigma+ 2 + 2j + \varepsilon- 2i κ = ( L − b + ℓ − i ) − ( a + i ) = L − ( a + b ) + ℓ − 2 i = σ + 2 + 2 j + ε − 2 i ;
zone C: κ = ( L − b + ℓ − i ) − ( b + ℓ − i ) = L − 2 b = L − 2 μ − 2 − 2 j = σ − 2 − 2 j \kappa= (L - b + \ell- i) - (b + \ell- i) = L - 2b = L - 2\mu- 2 - 2j = \sigma- 2 - 2j κ = ( L − b + ℓ − i ) − ( b + ℓ − i ) = L − 2 b = L − 2 μ − 2 − 2 j = σ − 2 − 2 j .
In zone B, ε / 2 + 1 ≤ i ≤ 2 j + 2 + ε / 2 \varepsilon/2 + 1 \le i \le2j + 2 + \varepsilon/2 ε /2 + 1 ≤ i ≤ 2 j + 2 + ε /2 . At i = ε / 2 + 1 i = \varepsilon/2 + 1 i = ε /2 + 1 the skew is σ + 2 + 2 j + ε − ( ε + 2 ) = σ + 2 j \sigma+ 2 + 2j + \varepsilon- (\varepsilon+ 2) = \sigma+ 2j σ + 2 + 2 j + ε − ( ε + 2 ) = σ + 2 j ; at i = 2 j + 2 + ε / 2 i = 2j + 2 + \varepsilon/2 i = 2 j + 2 + ε /2 it is σ + 2 + 2 j + ε − ( 4 j + 4 + ε ) = σ − 2 − 2 j \sigma+ 2 + 2j + \varepsilon- (4j + 4 + \varepsilon) = \sigma- 2 - 2j σ + 2 + 2 j + ε − ( 4 j + 4 + ε ) = σ − 2 − 2 j ; in between it decreases by 2 at each step. So it lies in [ σ − 2 − 2 j , σ + 2 j ] [\sigma- 2 - 2j,\ \sigma+ 2j] [ σ − 2 − 2 j , σ + 2 j ] . Hence σ − 2 − 2 j ≤ κ ( x i j ) ≤ σ + 2 + 2 j \sigma- 2 - 2j \le\kappa(x_i^j) \le\sigma+ 2 + 2j σ − 2 − 2 j ≤ κ ( x i j ) ≤ σ + 2 + 2 j on the whole crossing, and σ + 2 + 2 j ≤ σ + 4 \sigma+ 2 + 2j \le\sigma+ 4 σ + 2 + 2 j ≤ σ + 4 as j ≤ 1 j \le1 j ≤ 1 .
(iii) By Definition 3.1 , every member is a spine member, a t t t -ear member or a member of a crossing j j j , and by Lemma 3.6 (iii) every member x i j x_i^j x i j of the crossing j j j lies in exactly one of the zones A, B, C. We find the diagonal members in each of these classes.
Spine members. κ ( v i ) = L − 2 i = σ \kappa(v_i) = L - 2i = \sigma κ ( v i ) = L − 2 i = σ iff 2 i = L − σ = 2 μ 2i = L - \sigma= 2\mu 2 i = L − σ = 2 μ , i.e. i = μ i = \mu i = μ . As μ ≥ 3 \mu\ge3 μ ≥ 3 and L − μ ≥ 5 L - \mu\ge5 L − μ ≥ 5 (Lemma 3.3 ), 1 ≤ μ ≤ L − 1 1 \le\mu\le L - 1 1 ≤ μ ≤ L − 1 , so v μ v_\mu v μ is a member. So v μ v_\mu v μ is the only diagonal spine member, and h ( v μ ) = μ h(v_\mu) = \mu h ( v μ ) = μ by Lemma 3.6 (i).
Zone B of the crossing j j j . By (ii), κ = σ \kappa= \sigma κ = σ iff 2 + 2 j + ε − 2 i = 0 2 + 2j + \varepsilon- 2i = 0 2 + 2 j + ε − 2 i = 0 , i.e. i = j + 1 + ε / 2 i = j + 1 + \varepsilon/2 i = j + 1 + ε /2 . This i i i lies in zone B: ε / 2 < j + 1 + ε / 2 ≤ 2 j + 2 + ε / 2 \varepsilon/2 < j + 1 + \varepsilon/2 \le2j + 2 + \varepsilon/2 ε /2 < j + 1 + ε /2 ≤ 2 j + 2 + ε /2 , as 1 ≤ j + 1 ≤ 2 j + 2 1 \le j + 1 \le2j + 2 1 ≤ j + 1 ≤ 2 j + 2 . So x j + 1 + ε / 2 j x_{j+1+\varepsilon/2}^j x j + 1 + ε /2 j is the only diagonal member of the crossing j j j , and h ( x j + 1 + ε / 2 j ) = a + i = ( μ − 1 − j ) + ( j + 1 + ε / 2 ) = μ + ε / 2 h(x_{j+1+\varepsilon/2}^j) = a + i = (\mu- 1 - j) + (j + 1 + \varepsilon/2) = \mu+ \varepsilon/2 h ( x j + 1 + ε /2 j ) = a + i = ( μ − 1 − j ) + ( j + 1 + ε /2 ) = μ + ε /2 .
(iv) By (i), t t t -ear members have κ ≤ − σ < σ + 4 \kappa\le-\sigma< \sigma+ 4 κ ≤ − σ < σ + 4 ; by (ii), crossing members have κ ≤ σ + 4 \kappa\le\sigma+ 4 κ ≤ σ + 4 . By Definition 3.1 every member is a spine, t t t -ear or crossing member, so a member with κ > σ + 4 \kappa> \sigma+ 4 κ > σ + 4 is a spine member.
Lemma 3.8 (distinct profiles). In T = T ( L , μ ; E ) T = T(L,\mu;E) T = T ( L , μ ; E ) , two distinct members have distinct profiles.
Proof. (1) The profile of a vertex u u u is ( h ( u ) , h ˉ ( u ) ) (h(u),\bar{h}(u)) ( h ( u ) , h ˉ ( u )) and its skew is κ ( u ) = h ˉ ( u ) − h ( u ) \kappa(u)=\bar{h}(u)-h(u) κ ( u ) = h ˉ ( u ) − h ( u ) (Definitions 2.8 and 3.2). Put Σ ( u ) : = h ( u ) + h ˉ ( u ) \Sigma(u):=h(u)+\bar{h}(u) Σ ( u ) := h ( u ) + h ˉ ( u ) . Then
Σ ( u ) − κ ( u ) = 2 h ( u ) , Σ ( u ) + κ ( u ) = 2 h ˉ ( u ) , \Sigma(u)-\kappa(u)=2h(u),\qquad\Sigma(u)+\kappa(u)=2\bar{h}(u), Σ ( u ) − κ ( u ) = 2 h ( u ) , Σ ( u ) + κ ( u ) = 2 h ˉ ( u ) ,
so h ( u ) = ( Σ ( u ) − κ ( u ) ) / 2 h(u)=(\Sigma(u)-\kappa(u))/2 h ( u ) = ( Σ ( u ) − κ ( u )) /2 and h ˉ ( u ) = ( Σ ( u ) + κ ( u ) ) / 2 \bar{h}(u)=(\Sigma(u)+\kappa(u))/2 h ˉ ( u ) = ( Σ ( u ) + κ ( u )) /2 . Hence two members u , u ′ u,u' u , u ′ have the same profile iff Σ ( u ) = Σ ( u ′ ) \Sigma(u)=\Sigma(u') Σ ( u ) = Σ ( u ′ ) and κ ( u ) = κ ( u ′ ) \kappa(u)=\kappa(u') κ ( u ) = κ ( u ′ ) . Indeed, if the profiles are equal, so are their sums and their differences. Conversely, if Σ ( u ) = Σ ( u ′ ) \Sigma(u)=\Sigma(u') Σ ( u ) = Σ ( u ′ ) and κ ( u ) = κ ( u ′ ) \kappa(u)=\kappa(u') κ ( u ) = κ ( u ′ ) , the two formulas give
h ( u ) = 1 2 ( Σ ( u ) − κ ( u ) ) = 1 2 ( Σ ( u ′ ) − κ ( u ′ ) ) = h ( u ′ ) , h(u)=\frac{1}{2}\bigl(\Sigma(u)-\kappa(u)\bigr)=\frac{1}{2}\bigl(\Sigma(u')-\kappa(u')\bigr)=h(u'), h ( u ) = 2 1 ( Σ ( u ) − κ ( u ) ) = 2 1 ( Σ ( u ′ ) − κ ( u ′ ) ) = h ( u ′ ) ,
h ˉ ( u ) = 1 2 ( Σ ( u ) + κ ( u ) ) = 1 2 ( Σ ( u ′ ) + κ ( u ′ ) ) = h ˉ ( u ′ ) . \bar{h}(u)=\frac{1}{2}\bigl(\Sigma(u)+\kappa(u)\bigr)=\frac{1}{2}\bigl(\Sigma(u')+\kappa(u')\bigr)=\bar{h}(u'). h ˉ ( u ) = 2 1 ( Σ ( u ) + κ ( u ) ) = 2 1 ( Σ ( u ′ ) + κ ( u ′ ) ) = h ˉ ( u ′ ) .
We show that two distinct members differ in Σ \Sigma Σ or in κ \kappa κ . In the table and the cases below, Σ \Sigma Σ and κ \kappa κ stand for Σ ( u ) \Sigma(u) Σ ( u ) and κ ( u ) \kappa(u) κ ( u ) , where u u u is the member named in the row or in the case.
(2) On the crossing j j j write a , b , ℓ , ε a,b,\ell,\varepsilon a , b , ℓ , ε as in Lemma 3.6 (iii). Lemma 3.6 gives Σ \Sigma Σ and Lemma 3.7 gives κ \kappa κ , with i i i in the ranges of Lemma 3.6 :
Table 2.
In zone A, Σ \Sigma Σ runs over L + 2 , L + 4 , … , L + ε L+2,L+4,\ldots,L+\varepsilon L + 2 , L + 4 , … , L + ε . In zone C, ℓ − i \ell-i ℓ − i runs from ℓ − ( 2 j + 3 + ε / 2 ) = ε / 2 − 1 \ell-(2j+3+\varepsilon/2)=\varepsilon/2-1 ℓ − ( 2 j + 3 + ε /2 ) = ε /2 − 1 down to 1 1 1 , so Σ \Sigma Σ runs over L + ε − 2 , … , L + 2 L+\varepsilon-2,\ldots,L+2 L + ε − 2 , … , L + 2 . If ε = 2 \varepsilon=2 ε = 2 , then 2 j + 2 + ε / 2 = 2 j + 3 = ℓ − 1 2j+2+\varepsilon/2=2j+3=\ell-1 2 j + 2 + ε /2 = 2 j + 3 = ℓ − 1 , so no index lies in zone C. So, on the crossing j j j ,
Σ ≤ L + ε j and σ − 2 − 2 j ≤ κ ≤ σ + 2 + 2 j \Sigma\le L+\varepsilon_j\qquad\text{and}\qquad\sigma-2-2j\le\kappa\le\sigma+2+2j Σ ≤ L + ε j and σ − 2 − 2 j ≤ κ ≤ σ + 2 + 2 j
(Lemma 3.7 (ii)).
(3) Let u ≠ u ′ u\ne u' u = u ′ be members. By the disjoint union int ( T ) \operatorname{int}(T) int ( T ) of Definition 3.1 , each of them is a spine member, a t t t -ear member, or a member of the crossing j j j for exactly one j < e j<e j < e . By Lemma 3.6 (iii), a member of the crossing j j j lies in exactly one of the zones A, B, C, so the table in (2) gives Σ \Sigma Σ and κ \kappa κ for u u u and for u ′ u' u ′ . We distinguish cases according to the classes of u u u and u ′ u' u ′ .
(a) Two spine members: κ = L − 2 i \kappa=L-2i κ = L − 2 i differs for different i i i .
(b) A spine member and a member of another class: Σ = L \Sigma=L Σ = L against Σ ≥ L + 2 \Sigma\ge L+2 Σ ≥ L + 2 .
(c) Two t t t -ear members: κ = 2 − σ − 2 i \kappa=2-\sigma-2i κ = 2 − σ − 2 i differs for different i i i .
(d) A t t t -ear member and a member of the crossing j j j . Exchanging u u u and u ′ u' u ′ if necessary, u u u is the t t t -ear member and u ′ u' u ′ the member of the crossing j j j . By Lemma 3.7 (i), κ ( u ) ≤ − σ \kappa(u)\le-\sigma κ ( u ) ≤ − σ , and by ( ∗ ) (*) ( ∗ ) , κ ( u ′ ) ≥ σ − 2 − 2 j \kappa(u')\ge\sigma-2-2j κ ( u ′ ) ≥ σ − 2 − 2 j . We compare the two bounds:
( σ − 2 − 2 j ) − ( − σ ) = 2 σ − 2 − 2 j = 2 ( σ − 1 − j ) . (\sigma-2-2j)-(-\sigma)=2\sigma-2-2j=2(\sigma-1-j). ( σ − 2 − 2 j ) − ( − σ ) = 2 σ − 2 − 2 j = 2 ( σ − 1 − j ) .
If j = 0 j=0 j = 0 , then σ ≥ 2 \sigma\ge2 σ ≥ 2 by (E1), so σ − 1 − j = σ − 1 ≥ 1 \sigma-1-j=\sigma-1\ge1 σ − 1 − j = σ − 1 ≥ 1 . If j = 1 j=1 j = 1 , then e = 2 e=2 e = 2 , as j < e ≤ 2 j<e\le2 j < e ≤ 2 , so σ ≥ 4 \sigma\ge4 σ ≥ 4 by (E1), and σ − 1 − j = σ − 2 ≥ 2 \sigma-1-j=\sigma-2\ge2 σ − 1 − j = σ − 2 ≥ 2 . In both cases σ − 1 − j > 0 \sigma-1-j>0 σ − 1 − j > 0 , so − σ < σ − 2 − 2 j -\sigma<\sigma-2-2j − σ < σ − 2 − 2 j . Hence
κ ( u ) ≤ − σ < σ − 2 − 2 j ≤ κ ( u ′ ) . \kappa(u)\le-\sigma<\sigma-2-2j\le\kappa(u'). κ ( u ) ≤ − σ < σ − 2 − 2 j ≤ κ ( u ′ ) .
(e) Two members of the crossing j j j . We write κ A \kappa_A κ A , κ B \kappa_B κ B , κ C \kappa_C κ C for the skew of a member in zone A, B, C, and Σ B \Sigma_B Σ B , Σ C \Sigma_C Σ C for the value of Σ \Sigma Σ at a member in zone B, C, as given by the table in (2).
in one zone: Σ \Sigma Σ differs for different i i i in zones A and C, and κ \kappa κ differs in zone B;
zones A and B: κ A = σ + 2 + 2 j > σ + 2 j ≥ κ B \kappa_A = \sigma+ 2 + 2j > \sigma+ 2j \ge\kappa_B κ A = σ + 2 + 2 j > σ + 2 j ≥ κ B (Lemma 3.7 (ii));
zones A and C: κ A − κ C = ( σ + 2 + 2 j ) − ( σ − 2 − 2 j ) = 4 + 4 j > 0 \kappa_A - \kappa_C = (\sigma+ 2 + 2j) - (\sigma- 2 - 2j) = 4 + 4j > 0 κ A − κ C = ( σ + 2 + 2 j ) − ( σ − 2 − 2 j ) = 4 + 4 j > 0 ;
zones B and C: by the table, Σ B = L + ε \Sigma_B = L + \varepsilon Σ B = L + ε and Σ C = L + 2 ( ℓ − i ) \Sigma_C = L + 2(\ell- i) Σ C = L + 2 ( ℓ − i ) , where i ≥ 2 j + 3 + ε / 2 i \ge2j + 3 + \varepsilon/2 i ≥ 2 j + 3 + ε /2 in zone C. So
ℓ − i ≤ ℓ − ( 2 j + 3 + ε / 2 ) as i ≥ 2 j + 3 + ε / 2 , = ( 2 j + 2 + ε ) − ( 2 j + 3 + ε / 2 ) as ℓ = 2 j + 2 + ε , = ε / 2 − 1 , \begin{aligned}
\ell- i &\le\ell- (2j + 3 + \varepsilon/2) && \text{as } i \ge2j + 3 + \varepsilon/2,\\
&= (2j + 2 + \varepsilon) - (2j + 3 + \varepsilon/2) && \text{as } \ell= 2j + 2 + \varepsilon,\\
&= \varepsilon/2 - 1,
\end{aligned} ℓ − i ≤ ℓ − ( 2 j + 3 + ε /2 ) = ( 2 j + 2 + ε ) − ( 2 j + 3 + ε /2 ) = ε /2 − 1 , as i ≥ 2 j + 3 + ε /2 , as ℓ = 2 j + 2 + ε ,
and
Σ C ≤ L + 2 ( ε / 2 − 1 ) = L + ε − 2 < L + ε = Σ B . \Sigma_C \le L + 2(\varepsilon/2 - 1) = L + \varepsilon- 2 < L + \varepsilon= \Sigma_B. Σ C ≤ L + 2 ( ε /2 − 1 ) = L + ε − 2 < L + ε = Σ B .
(f) A member of the crossing j j j and a member of the crossing j ′ ≠ j j' \ne j j ′ = j . Then e = 2 e = 2 e = 2 and { j , j ′ } = { 0 , 1 } \{j,j'\} = \{0,1\} { j , j ′ } = { 0 , 1 } . Exchanging u u u and u ′ u' u ′ if necessary, u u u is a member of the crossing 0 and u ′ u' u ′ of the crossing 1, and ε 0 < ε 1 \varepsilon_0 < \varepsilon_1 ε 0 < ε 1 (Definition 3.1 ). By ( ∗ ) (*) ( ∗ ) with j = 0 j = 0 j = 0 , κ ( u ) ∈ [ σ − 2 , σ + 2 ] \kappa(u) \in[\sigma- 2,\sigma+ 2] κ ( u ) ∈ [ σ − 2 , σ + 2 ] and Σ ( u ) ≤ L + ε 0 \Sigma(u) \le L + \varepsilon_0 Σ ( u ) ≤ L + ε 0 .
If u ′ u' u ′ is in zone A or C of the crossing 1, κ ( u ′ ) = σ + 4 \kappa(u') = \sigma+ 4 κ ( u ′ ) = σ + 4 or σ − 4 \sigma- 4 σ − 4 , outside [ σ − 2 , σ + 2 ] [\sigma- 2,\sigma+ 2] [ σ − 2 , σ + 2 ] .
If u ′ u' u ′ is in zone B of the crossing 1, Σ ( u ′ ) = L + ε 1 > L + ε 0 ≥ Σ ( u ) \Sigma(u') = L + \varepsilon_1 > L + \varepsilon_0 \ge\Sigma(u) Σ ( u ′ ) = L + ε 1 > L + ε 0 ≥ Σ ( u ) .
These cases cover all pairs of classes. In each, Σ \Sigma Σ or κ \kappa κ differs, so the profiles differ.
Proof. By Lemma 3.6 (ii) with i = 1 i=1 i = 1 , ( h , h ˉ ) ( r 1 ) = ( L − μ + 1 , μ + 1 ) = ( α T , β T ) (h,\bar{h})(r_1)=(L-\mu+1,\mu+1)=(\alpha_T,\beta_T) ( h , h ˉ ) ( r 1 ) = ( L − μ + 1 , μ + 1 ) = ( α T , β T ) , and α T − β T = L − 2 μ = σ \alpha_T-\beta_T=L-2\mu=\sigma α T − β T = L − 2 μ = σ .
As α T = d T ( s , r 1 ) \alpha_T=d_T(s,r_1) α T = d T ( s , r 1 ) and h ( u ) = d T ( s , u ) h(u)=d_T(s,u) h ( u ) = d T ( s , u ) (Definition 3.2 ), α T + h ( u ) \alpha_T+h(u) α T + h ( u ) is the length of a walk from r 1 r_1 r 1 to u u u through s s s : a shortest path from r 1 r_1 r 1 to s s s followed by a shortest path from s s s to u u u . Likewise β T + h ˉ ( u ) \beta_T+\bar{h}(u) β T + h ˉ ( u ) is the length of a walk from r 1 r_1 r 1 to u u u through t t t . In each case below we give a path P P P from r 1 r_1 r 1 to u u u and show that it is shorter than both walks: ( α T + h ( u ) ) − ∣ P ∣ > 0 (\alpha_T+h(u))-|P|>0 ( α T + h ( u )) − ∣ P ∣ > 0 and ( β T + h ˉ ( u ) ) − ∣ P ∣ > 0 (\beta_T+\bar{h}(u))-|P|>0 ( β T + h ˉ ( u )) − ∣ P ∣ > 0 . Then d T ( r 1 , u ) ≤ ∣ P ∣ < min ( α T + h ( u ) , β T + h ˉ ( u ) ) d_T(r_1,u)\le|P|<\min(\alpha_T+h(u),\beta_T+\bar{h}(u)) d T ( r 1 , u ) ≤ ∣ P ∣ < min ( α T + h ( u ) , β T + h ˉ ( u )) . By Definition 3.1 , a member u ≠ r 1 u\ne r_1 u = r 1 is a spine member, a t t t -ear member r i r_i r i with 2 ≤ i ≤ μ + 1 2\le i\le\mu+1 2 ≤ i ≤ μ + 1 , or a crossing member. We treat the three kinds in turn.
Spine members. Let u = v p u=v_p u = v p with 1 ≤ p ≤ L − 1 1\le p\le L-1 1 ≤ p ≤ L − 1 . The path P P P , the edge r 1 r 0 r_1r_0 r 1 r 0 , where r 0 = v L − μ r_0=v_{L-\mu} r 0 = v L − μ , followed by the spine path from v L − μ v_{L-\mu} v L − μ to v p v_p v p , has ∣ P ∣ = 1 + ∣ L − μ − p ∣ |P|=1+|L-\mu-p| ∣ P ∣ = 1 + ∣ L − μ − p ∣ edges. By Lemma 3.6 (i), α T + h ( v p ) = ( L − μ + 1 ) + p \alpha_T+h(v_p)=(L-\mu+1)+p α T + h ( v p ) = ( L − μ + 1 ) + p and β T + h ˉ ( v p ) = ( μ + 1 ) + ( L − p ) \beta_T+\bar{h}(v_p)=(\mu+1)+(L-p) β T + h ˉ ( v p ) = ( μ + 1 ) + ( L − p ) . If p ≤ L − μ p\le L-\mu p ≤ L − μ , then ∣ P ∣ = 1 + L − μ − p |P|=1+L-\mu-p ∣ P ∣ = 1 + L − μ − p , and
( α T + h ( v p ) ) − ∣ P ∣ = ( L − μ + 1 + p ) − ( 1 + L − μ − p ) = 2 p > 0 , (\alpha_T+h(v_p))-|P|=(L-\mu+1+p)-(1+L-\mu-p)=2p>0, ( α T + h ( v p )) − ∣ P ∣ = ( L − μ + 1 + p ) − ( 1 + L − μ − p ) = 2 p > 0 ,
( β T + h ˉ ( v p ) ) − ∣ P ∣ = ( μ + 1 + L − p ) − ( 1 + L − μ − p ) = 2 μ > 0. (\beta_T+\bar{h}(v_p))-|P|=(\mu+1+L-p)-(1+L-\mu-p)=2\mu>0. ( β T + h ˉ ( v p )) − ∣ P ∣ = ( μ + 1 + L − p ) − ( 1 + L − μ − p ) = 2 μ > 0.
If p > L − μ p>L-\mu p > L − μ , then ∣ P ∣ = 1 + p − L + μ |P|=1+p-L+\mu ∣ P ∣ = 1 + p − L + μ , and
( α T + h ( v p ) ) − ∣ P ∣ = ( L − μ + 1 + p ) − ( 1 + p − L + μ ) = 2 ( L − μ ) > 0 , (\alpha_T+h(v_p))-|P|=(L-\mu+1+p)-(1+p-L+\mu)=2(L-\mu)>0, ( α T + h ( v p )) − ∣ P ∣ = ( L − μ + 1 + p ) − ( 1 + p − L + μ ) = 2 ( L − μ ) > 0 ,
( β T + h ˉ ( v p ) ) − ∣ P ∣ = ( μ + 1 + L − p ) − ( 1 + p − L + μ ) = 2 ( L − p ) > 0 , (\beta_T+\bar{h}(v_p))-|P|=(\mu+1+L-p)-(1+p-L+\mu)=2(L-p)>0, ( β T + h ˉ ( v p )) − ∣ P ∣ = ( μ + 1 + L − p ) − ( 1 + p − L + μ ) = 2 ( L − p ) > 0 ,
since L − μ ≥ 5 L-\mu\ge5 L − μ ≥ 5 by Lemma 3.3 and p ≤ L − 1 p\le L-1 p ≤ L − 1 .
t t t -ear members. Let u = r i u=r_i u = r i with 2 ≤ i ≤ μ + 1 2\le i\le\mu+1 2 ≤ i ≤ μ + 1 . The path P = r 1 , r 2 , … , r i P=r_1,r_2,\ldots,r_i P = r 1 , r 2 , … , r i along R R R has ∣ P ∣ = i − 1 |P|=i-1 ∣ P ∣ = i − 1 edges. By Lemma 3.6 (ii),
( α T + h ( r i ) ) − ∣ P ∣ = ( 2 ( L − μ ) + 1 + i ) − ( i − 1 ) = 2 ( L − μ ) + 2 > 0 , (\alpha_T+h(r_i))-|P|=(2(L-\mu)+1+i)-(i-1)=2(L-\mu)+2>0, ( α T + h ( r i )) − ∣ P ∣ = ( 2 ( L − μ ) + 1 + i ) − ( i − 1 ) = 2 ( L − μ ) + 2 > 0 ,
( β T + h ˉ ( r i ) ) − ∣ P ∣ = ( 2 μ + 3 − i ) − ( i − 1 ) = 2 ( μ + 2 − i ) > 0 , (\beta_T+\bar{h}(r_i))-|P|=(2\mu+3-i)-(i-1)=2(\mu+2-i)>0, ( β T + h ˉ ( r i )) − ∣ P ∣ = ( 2 μ + 3 − i ) − ( i − 1 ) = 2 ( μ + 2 − i ) > 0 ,
the latter as i ≤ μ + 1 i\le\mu+1 i ≤ μ + 1 .
Crossing members. Let u = x i j u=x_i^j u = x i j with 1 ≤ i ≤ ℓ − 1 1\le i\le\ell-1 1 ≤ i ≤ ℓ − 1 , and a , b , ℓ a,b,\ell a , b , ℓ as in Lemma 3.6 (iii). By Lemma 3.4 , X j X^j X j is an ear of the connected graph T T T with ends v a v_a v a and v b v_b v b , and the spine vertex v L − μ v_{L-\mu} v L − μ is not in its interior. By Lemma 3.3 , a < b < L − μ a<b<L-\mu a < b < L − μ , so d T ( v L − μ , v a ) = L − μ − a d_T(v_{L-\mu},v_a)=L-\mu-a d T ( v L − μ , v a ) = L − μ − a and d T ( v L − μ , v b ) = L − μ − b d_T(v_{L-\mu},v_b)=L-\mu-b d T ( v L − μ , v b ) = L − μ − b by Lemma 3.5 . Let P P P be the edge r 1 r 0 r_1r_0 r 1 r 0 followed by a shortest path from v L − μ v_{L-\mu} v L − μ to u u u . Lemma 2.11 with y : = v L − μ y:=v_{L-\mu} y := v L − μ gives
∣ P ∣ = 1 + d T ( v L − μ , u ) = min ( c 1 , c 2 ) , c 1 : = 1 + L − μ − a + i , c 2 : = 1 + L − μ − b + ℓ − i , |P|=1+d_T(v_{L-\mu},u)=\min(c_1,c_2),\qquad c_1:=1+L-\mu-a+i,\quad c_2:=1+L-\mu-b+\ell-i, ∣ P ∣ = 1 + d T ( v L − μ , u ) = min ( c 1 , c 2 ) , c 1 := 1 + L − μ − a + i , c 2 := 1 + L − μ − b + ℓ − i ,
where c 1 c_1 c 1 and c 2 c_2 c 2 are the lengths of the two candidates for P P P , entering the crossing at v a v_a v a and at v b v_b v b . By Lemma 3.6 (iii),
α T + h ( u ) = min ( c 1 + 2 a , c 2 + 2 b ) , β T + h ˉ ( u ) = min ( c 1 + 2 μ , c 2 + 2 μ ) ; \alpha_T+h(u)=\min(c_1+2a,c_2+2b),\qquad\beta_T+\bar{h}(u)=\min(c_1+2\mu,c_2+2\mu); α T + h ( u ) = min ( c 1 + 2 a , c 2 + 2 b ) , β T + h ˉ ( u ) = min ( c 1 + 2 μ , c 2 + 2 μ ) ;
the two terms of α T + h ( u ) \alpha_T+h(u) α T + h ( u ) are the lengths of the walks through s s s entering the crossing at v a v_a v a and at v b v_b v b , and likewise for β T + h ˉ ( u ) \beta_T+\bar{h}(u) β T + h ˉ ( u ) through t t t . As a a a , b b b and μ \mu μ are positive, each term on the right exceeds the corresponding c k c_k c k . Since ∣ P ∣ = min ( c 1 , c 2 ) ≤ c k |P|=\min(c_1,c_2)\le c_k ∣ P ∣ = min ( c 1 , c 2 ) ≤ c k for k = 1 , 2 k=1,2 k = 1 , 2 , ∣ P ∣ |P| ∣ P ∣ is smaller than both minima.
In all three cases, d T ( r 1 , u ) < min ( α T + h ( u ) , β T + h ˉ ( u ) ) d_T(r_1,u)<\min(\alpha_T+h(u),\beta_T+\bar{h}(u)) d T ( r 1 , u ) < min ( α T + h ( u ) , β T + h ˉ ( u )) .
Lemma 3.11 (distances to r μ + 1 r_{\mu+1} r μ + 1 ). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) :
(i) d T ( v p , r μ + 1 ) = L − p + 1 d_T(v_p, r_{\mu+1}) = L - p + 1 d T ( v p , r μ + 1 ) = L − p + 1 for 0 ≤ p ≤ L 0 \le p \le L 0 ≤ p ≤ L ;
(ii) d T ( x i j , r μ + 1 ) = h ˉ ( x i j ) + 1 d_T(x_i^j, r_{\mu+1}) = \bar{h}(x_i^j) + 1 d T ( x i j , r μ + 1 ) = h ˉ ( x i j ) + 1 for j < e j < e j < e and 1 ≤ i ≤ ℓ j − 1 1 \le i \le\ell_j - 1 1 ≤ i ≤ ℓ j − 1 .
Proof. We use the ear R = ( r 0 , … , r μ + 2 ) R = (r_0, \ldots, r_{\mu+2}) R = ( r 0 , … , r μ + 2 ) , with r 0 = v L − μ r_0 = v_{L-\mu} r 0 = v L − μ and r μ + 2 = v L r_{\mu+2} = v_L r μ + 2 = v L (Lemma 3.4 (i)), and Lemma 2.11 in T T T , which is connected (Lemma 3.4 (iii)).
(i) The spine vertex v p v_p v p is not in the interior of R R R . Lemma 2.11 , with r μ + 1 r_{\mu+1} r μ + 1 in the place of e i e_i e i and y : = v p y := v_p y := v p , and Lemma 3.5 give
d T ( v p , r μ + 1 ) = min ( ( μ + 1 ) + d T ( v L − μ , v p ) , 1 + d T ( v L , v p ) ) = min ( μ + 1 + ∣ L − μ − p ∣ , 1 + L − p ) . d_T(v_p, r_{\mu+1}) = \min((\mu+ 1) + d_T(v_{L-\mu}, v_p), 1 + d_T(v_L, v_p)) = \min(\mu+ 1 + \lvert L - \mu- p\rvert, 1 + L - p). d T ( v p , r μ + 1 ) = min (( μ + 1 ) + d T ( v L − μ , v p ) , 1 + d T ( v L , v p )) = min ( μ + 1 + ∣ L − μ − p ∣ , 1 + L − p ) . If p ≤ L − μ p \le L - \mu p ≤ L − μ , the two terms are equal: μ + 1 + ( L − μ − p ) = 1 + L − p \mu+ 1 + (L - \mu- p) = 1 + L - p μ + 1 + ( L − μ − p ) = 1 + L − p . If p > L − μ p > L - \mu p > L − μ , the first exceeds the second: ( μ + 1 + p − L + μ ) − ( 1 + L − p ) = 2 p − ( L − μ ) > 0 (\mu+ 1 + p - L + \mu) - (1 + L - p) = 2p - (L - \mu) > 0 ( μ + 1 + p − L + μ ) − ( 1 + L − p ) = 2 p − ( L − μ ) > 0 . So
d T ( v p , r μ + 1 ) = L − p + 1. d_T(v_p, r_{\mu+1}) = L - p + 1. d T ( v p , r μ + 1 ) = L − p + 1. (ii) Let a , b , ℓ a, b, \ell a , b , ℓ be as in Lemma 3.6 (iii). By Lemma 3.4 (i), X j X^j X j is an ear with ends v a v_a v a and v b v_b v b , and r μ + 1 r_{\mu+1} r μ + 1 is not in its interior. By (i) with p = a p = a p = a and p = b p = b p = b , d T ( v a , r μ + 1 ) = L − a + 1 d_T(v_a, r_{\mu+1}) = L - a + 1 d T ( v a , r μ + 1 ) = L − a + 1 and d T ( v b , r μ + 1 ) = L − b + 1 d_T(v_b, r_{\mu+1}) = L - b + 1 d T ( v b , r μ + 1 ) = L − b + 1 . So Lemma 2.11 with y : = r μ + 1 y := r_{\mu+1} y := r μ + 1 gives
d T ( x i j , r μ + 1 ) = min ( i + d T ( v a , r μ + 1 ) , ( ℓ − i ) + d T ( v b , r μ + 1 ) ) = min ( i + ( L − a + 1 ) , ( ℓ − i ) + ( L − b + 1 ) ) = 1 + min ( L − a + i , L − b + ℓ − i ) . \begin{aligned}
d_T(x_i^j, r_{\mu+1}) &= \min(i + d_T(v_a, r_{\mu+1}), (\ell- i) + d_T(v_b, r_{\mu+1})) \\
&= \min(i + (L - a + 1), (\ell- i) + (L - b + 1)) \\
&= 1 + \min(L - a + i, L - b + \ell- i).
\end{aligned} d T ( x i j , r μ + 1 ) = min ( i + d T ( v a , r μ + 1 ) , ( ℓ − i ) + d T ( v b , r μ + 1 )) = min ( i + ( L − a + 1 ) , ( ℓ − i ) + ( L − b + 1 )) = 1 + min ( L − a + i , L − b + ℓ − i ) . By Lemma 3.6 (iii), the last minimum is h ˉ ( x i j ) \bar{h}(x_i^j) h ˉ ( x i j ) .
Lemma 3.12 (distances to v L − 1 v_{L-1} v L − 1 ). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) , d T ( r i , v L − 1 ) = μ + 3 − i d_T(r_i, v_{L-1}) = \mu+ 3 - i d T ( r i , v L − 1 ) = μ + 3 − i for 2 ≤ i ≤ μ + 1 2 \le i \le\mu+ 1 2 ≤ i ≤ μ + 1 .
Proof. By Lemma 3.4 (i), R = ( r 0 , … , r μ + 2 ) R = (r_0, \ldots, r_{\mu+2}) R = ( r 0 , … , r μ + 2 ) is an ear with ends r 0 = v L − μ r_0 = v_{L-\mu} r 0 = v L − μ and r μ + 2 = v L r_{\mu+2} = v_L r μ + 2 = v L , and the spine vertex v L − 1 v_{L-1} v L − 1 is not in its interior; T T T is connected (Lemma 3.4 (iii)). Lemma 2.11 with y : = v L − 1 y := v_{L-1} y := v L − 1 , and Lemma 3.5 , give
d T ( r i , v L − 1 ) = min ( i + d T ( v L − μ , v L − 1 ) , ( μ + 2 − i ) + d T ( v L , v L − 1 ) ) = min ( i + μ − 1 , μ + 3 − i ) . d_T(r_i, v_{L-1}) = \min(i + d_T(v_{L-\mu}, v_{L-1}), (\mu+ 2 - i) + d_T(v_L, v_{L-1})) = \min(i + \mu- 1, \mu+ 3 - i). d T ( r i , v L − 1 ) = min ( i + d T ( v L − μ , v L − 1 ) , ( μ + 2 − i ) + d T ( v L , v L − 1 )) = min ( i + μ − 1 , μ + 3 − i ) . The first term is at least the second: ( i + μ − 1 ) − ( μ + 3 − i ) = 2 i − 4 ≥ 0 (i + \mu- 1) - (\mu+ 3 - i) = 2i - 4 \ge0 ( i + μ − 1 ) − ( μ + 3 − i ) = 2 i − 4 ≥ 0 , as i ≥ 2 i \ge2 i ≥ 2 . So
d T ( r i , v L − 1 ) = μ + 3 − i . d_T(r_i, v_{L-1}) = \mu+ 3 - i. d T ( r i , v L − 1 ) = μ + 3 − i .
Corollary 3.13 (members other than the core). In T = T ( L , μ ; E ) T = T(L, \mu; E) T = T ( L , μ ; E ) , with h , h ˉ h, \bar{h} h , h ˉ as in Definition 3.2 , let w ≠ r 1 w \ne r_1 w = r 1 be a member. Put x : = r μ + 1 x := r_{\mu+1} x := r μ + 1 if w w w is a spine or crossing member, and x : = v L − 1 x := v_{L-1} x := v L − 1 if w w w is a t t t -ear member. Then x x x is a common member, x ≠ w x \ne w x = w , and
d T ( w , x ) = min ( h ( w ) + h ( x ) , h ˉ ( w ) + h ˉ ( x ) ) . d_T(w, x) = \min(h(w) + h(x), \bar{h}(w) + \bar{h}(x)). d T ( w , x ) = min ( h ( w ) + h ( x ) , h ˉ ( w ) + h ˉ ( x )) . Proof. By Definition 3.1 , w w w is a spine member, a crossing member, or a t t t -ear member r i r_i r i with 2 ≤ i ≤ μ + 1 2 \le i \le\mu+ 1 2 ≤ i ≤ μ + 1 . Also r μ + 1 r_{\mu+1} r μ + 1 is a t t t -ear member and v L − 1 v_{L-1} v L − 1 a spine member, so x x x is common, and x ≠ w x \ne w x = w .
We first show that d T ( w , x ) = h ˉ ( w ) + h ˉ ( x ) d_T(w, x) = \bar{h}(w) + \bar{h}(x) d T ( w , x ) = h ˉ ( w ) + h ˉ ( x ) , case by case.
w = v p w = v_p w = v p with 1 ≤ p ≤ L − 1 1 \le p \le L - 1 1 ≤ p ≤ L − 1 ; then x = r μ + 1 x = r_{\mu+1} x = r μ + 1 . By Lemma 3.11 (i), d T ( v p , r μ + 1 ) = L − p + 1 d_T(v_p, r_{\mu+1}) = L - p + 1 d T ( v p , r μ + 1 ) = L − p + 1 . By Lemma 3.6 (i),(ii), h ˉ ( v p ) = L − p \bar{h}(v_p) = L - p h ˉ ( v p ) = L − p and h ˉ ( r μ + 1 ) = μ + 2 − ( μ + 1 ) = 1 \bar{h}(r_{\mu+1}) = \mu+ 2 - (\mu+ 1) = 1 h ˉ ( r μ + 1 ) = μ + 2 − ( μ + 1 ) = 1 . So d T ( v p , r μ + 1 ) = ( L − p ) + 1 = h ˉ ( v p ) + h ˉ ( r μ + 1 ) d_T(v_p, r_{\mu+1}) = (L - p) + 1 = \bar{h}(v_p) + \bar{h}(r_{\mu+1}) d T ( v p , r μ + 1 ) = ( L − p ) + 1 = h ˉ ( v p ) + h ˉ ( r μ + 1 ) .
w = x i j w = x_i^j w = x i j , a crossing member; then x = r μ + 1 x = r_{\mu+1} x = r μ + 1 . By Lemma 3.11 (ii) and h ˉ ( r μ + 1 ) = 1 \bar{h}(r_{\mu+1}) = 1 h ˉ ( r μ + 1 ) = 1 , d T ( x i j , r μ + 1 ) = h ˉ ( x i j ) + 1 = h ˉ ( x i j ) + h ˉ ( r μ + 1 ) d_T(x_i^j,r_{\mu+1}) = \bar{h}(x_i^j) + 1 = \bar{h}(x_i^j) + \bar{h}(r_{\mu+1}) d T ( x i j , r μ + 1 ) = h ˉ ( x i j ) + 1 = h ˉ ( x i j ) + h ˉ ( r μ + 1 ) .
w = r i w = r_i w = r i with 2 ≤ i ≤ μ + 1 2 \le i \le\mu+ 1 2 ≤ i ≤ μ + 1 ; then x = v L − 1 x = v_{L-1} x = v L − 1 . By Lemma 3.12 , d T ( r i , v L − 1 ) = μ + 3 − i d_T(r_i,v_{L-1}) = \mu+ 3 - i d T ( r i , v L − 1 ) = μ + 3 − i . By Lemma 3.6 (ii),(i), h ˉ ( r i ) = μ + 2 − i \bar{h}(r_i) = \mu+ 2 - i h ˉ ( r i ) = μ + 2 − i and h ˉ ( v L − 1 ) = L − ( L − 1 ) = 1 \bar{h}(v_{L-1}) = L - (L - 1) = 1 h ˉ ( v L − 1 ) = L − ( L − 1 ) = 1 . So d T ( r i , v L − 1 ) = ( μ + 2 − i ) + 1 = h ˉ ( r i ) + h ˉ ( v L − 1 ) d_T(r_i,v_{L-1}) = (\mu+ 2 - i) + 1 = \bar{h}(r_i) + \bar{h}(v_{L-1}) d T ( r i , v L − 1 ) = ( μ + 2 − i ) + 1 = h ˉ ( r i ) + h ˉ ( v L − 1 ) .
It remains to see that h ˉ ( w ) + h ˉ ( x ) \bar{h}(w) + \bar{h}(x) h ˉ ( w ) + h ˉ ( x ) is the minimum. By Definition 3.2 , h ( w ) = d T ( s , w ) h(w) = d_T(s,w) h ( w ) = d T ( s , w ) and h ( x ) = d T ( s , x ) h(x) = d_T(s,x) h ( x ) = d T ( s , x ) , so h ( w ) + h ( x ) h(w) + h(x) h ( w ) + h ( x ) is the length of a walk from w w w to x x x through s s s : a shortest path from w w w to s s s followed by a shortest path from s s s to x x x . Hence d T ( w , x ) ≤ h ( w ) + h ( x ) d_T(w,x) \le h(w) + h(x) d T ( w , x ) ≤ h ( w ) + h ( x ) , that is, h ˉ ( w ) + h ˉ ( x ) ≤ h ( w ) + h ( x ) \bar{h}(w) + \bar{h}(x) \le h(w) + h(x) h ˉ ( w ) + h ˉ ( x ) ≤ h ( w ) + h ( x ) . So
min ( h ( w ) + h ( x ) , h ˉ ( w ) + h ˉ ( x ) ) = h ˉ ( w ) + h ˉ ( x ) = d T ( w , x ) . \min\left(h(w) + h(x),\bar{h}(w) + \bar{h}(x)\right) = \bar{h}(w) + \bar{h}(x) = d_T(w,x). min ( h ( w ) + h ( x ) , h ˉ ( w ) + h ˉ ( x ) ) = h ˉ ( w ) + h ˉ ( x ) = d T ( w , x ) .
Restricted formulas and the graph G φ G_\varphi G φ
This section builds the graph G φ G_\varphi G φ of the reduction from a restricted formula φ \varphi φ (Definition 4.1 ) with n n n clauses and r r r variables. The formula has m = n + r + 1 m = n + r + 1 m = n + r + 1 levels: one for each clause, one for each variable, and a last level, the idle level, which receives no cell and is there to carry the pair q , q ′ q,q' q , q ′ at its end. Each level has three options: at the level of a clause an option selects a literal of the clause, and at the level of a variable it sets the variable true or false. Each option receives a set of integers, its cells, so that two options at different levels share a cell exactly when the literal selected by one of them is falsified by the value set by the other (Definition 4.2 and Lemma 4.3 ). In G φ G_\varphi G φ , each option is a copy of a template (§ 3 ) attached at two vertices s k s_k s k and t k t_k t k of its level k k k (Definition 4.6); its crossings put its diagonal members at the distances from a fixed vertex T 1 T_1 T 1 given by its cells (Lemma 11.1). A pattern selects one option at each level and leaves its copy without a landmark (Definition 4.11 ); it resolves G φ G_\varphi G φ exactly when no two selected options share a cell (Lemma 11.3), so such a pattern exists exactly when φ \varphi φ is satisfiable (Corollary 11.4). Sections 5–11 prove that md ( G φ ) = 2 m + 5 \operatorname{md}(G_\varphi) = 2m + 5 md ( G φ ) = 2 m + 5 if φ \varphi φ is satisfiable and 2 m + 6 2m + 6 2 m + 6 otherwise (Theorem 11.5 ).
Definition 4.1 (restricted formulas). Let ξ 1 , … , ξ r \xi_1,\ldots,\xi_r ξ 1 , … , ξ r be variables. A literal is ξ g \xi_g ξ g or ¬ ξ g \neg\xi_g ¬ ξ g ; its variable is ξ g \xi_g ξ g . A clause is a nonempty sequence C = ( λ 1 , … , λ k ) C = (\lambda_1,\ldots,\lambda_k) C = ( λ 1 , … , λ k ) of literals whose variables are pairwise distinct; we write ∣ C ∣ : = k |C| := k ∣ C ∣ := k , and λ ∈ C \lambda\in C λ ∈ C when λ \lambda λ is one of λ 1 , … , λ k \lambda_1,\ldots,\lambda_k λ 1 , … , λ k . An assignment is a map A : { ξ 1 , … , ξ r } → { true , false } A : \{\xi_1,\ldots,\xi_r\} \to\{\text{true},\text{false}\} A : { ξ 1 , … , ξ r } → { true , false } ; it satisfies ξ g \xi_g ξ g when A ( ξ g ) = true A(\xi_g) = \text{true} A ( ξ g ) = true , ¬ ξ g \neg\xi_g ¬ ξ g when A ( ξ g ) = false A(\xi_g) = \text{false} A ( ξ g ) = false , a clause when it satisfies one of its literals, and a sequence φ = ( C 1 , … , C n ) \varphi= (C_1,\ldots,C_n) φ = ( C 1 , … , C n ) of clauses when it satisfies every C i C_i C i ; φ \varphi φ is satisfiable when some assignment satisfies it. We write C i = ( λ i , 1 , … , λ i , ∣ C i ∣ ) C_i = (\lambda_{i,1},\ldots,\lambda_{i,|C_i|}) C i = ( λ i , 1 , … , λ i , ∣ C i ∣ ) , so λ i , c \lambda_{i,c} λ i , c is the c c c -th literal of the i i i -th clause. The sequence φ \varphi φ is a restricted formula when
(a) n ≥ 1 n \ge1 n ≥ 1 and ∣ C i ∣ ≤ 3 |C_i| \le3 ∣ C i ∣ ≤ 3 for 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n ;
(b) every variable ξ g \xi_g ξ g , 1 ≤ g ≤ r 1 \le g \le r 1 ≤ g ≤ r , is the variable of a literal of some clause;
(c) every literal belongs to at most two of the clauses C 1 , … , C n C_1,\ldots,C_n C 1 , … , C n .
For a restricted formula we put m : = n + r + 1 m := n + r + 1 m := n + r + 1 .
Definition 4.2 (levels, options, cells). Let φ \varphi φ be a restricted formula (Definition 4.1 ). Its levels are the integers 1 , … , m 1,\ldots,m 1 , … , m : the level i i i is the level of the clause C i C_i C i (1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n ), the level n + g n+g n + g is the level of the variable ξ g \xi_g ξ g (1 ≤ g ≤ r 1\le g\le r 1 ≤ g ≤ r ), and the level m = n + r + 1 m=n+r+1 m = n + r + 1 is the idle level. Each level has three options 1 , 2 , 3 1,2,3 1 , 2 , 3 :
at the level i i i of a clause, the option c c c selects the literal λ i , min ( c , ∣ C i ∣ ) \lambda_{i,\min(c,\lvert C_i\rvert)} λ i , m i n ( c , ∣ C i ∣) , that is, the c c c -th literal of C i C_i C i , or its last literal if ∣ C i ∣ < c \lvert C_i\rvert<c ∣ C i ∣ < c ;
at the level n + g n+g n + g of a variable, the option c c c sets ξ g \xi_g ξ g to the value v ( c ) v(c) v ( c ) , where v ( 1 ) : = true v(1):=\text{true} v ( 1 ) := true and v ( 2 ) : = v ( 3 ) : = false v(2):=v(3):=\text{false} v ( 2 ) := v ( 3 ) := false ; the option c c c falsifies a literal λ \lambda λ with variable ξ g \xi_g ξ g when λ \lambda λ is not satisfied by the assignment that gives ξ g \xi_g ξ g the value v ( c ) v(c) v ( c ) (Definition 4.1 ), that is, when λ = ¬ ξ g \lambda=\neg\xi_g λ = ¬ ξ g and c = 1 c=1 c = 1 , or λ = ξ g \lambda=\xi_g λ = ξ g and c ∈ { 2 , 3 } c\in\{2,3\} c ∈ { 2 , 3 } ;
at the idle level, an option selects nothing and falsifies nothing.
An occurrence of φ \varphi φ is a pair ( i , λ ) (i,\lambda) ( i , λ ) with 1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n and λ ∈ C i \lambda\in C_i λ ∈ C i , that is, a place where a literal is written in φ \varphi φ ; Ω \Omega Ω denotes the set of occurrences. The cell of the occurrence ( i , λ i , c ) (i,\lambda_{i,c}) ( i , λ i , c ) is
cell ( i , λ i , c ) : = 2 m + 5 + ∣ C 1 ∣ + ⋯ + ∣ C i − 1 ∣ + c ; \operatorname{cell}(i,\lambda_{i,c}):=2m+5+\lvert C_1\rvert+\cdots+\lvert C_{i-1}\rvert+c; cell ( i , λ i , c ) := 2 m + 5 + ∣ C 1 ∣ + ⋯ + ∣ C i − 1 ∣ + c ; so, reading the clauses from C 1 C_1 C 1 to C n C_n C n , the occurrences receive the cells 2 m + 6 , 2 m + 7 , … , 2 m + 5 + ∣ Ω ∣ 2m+6,2m+7,\ldots,2m+5+\lvert\Omega\rvert 2 m + 6 , 2 m + 7 , … , 2 m + 5 + ∣ Ω ∣ . The option set Z k , c Z_{k,c} Z k , c of the option c c c at the level k k k is the following set of cells: at the level of a clause, the cell of the selected occurrence; at the level of a variable, the cells of the occurrences of the literal that the option falsifies; at the idle level, no cell. That is,
Z i , c : = { cell ( i , λ i , min ( c , ∣ C i ∣ ) ) } ( 1 ≤ i ≤ n ) , Z n + g , 1 : = { cell ( i , ¬ ξ g ) : ( i , ¬ ξ g ) ∈ Ω } ( 1 ≤ g ≤ r ) , Z n + g , 2 = Z n + g , 3 : = { cell ( i , ξ g ) : ( i , ξ g ) ∈ Ω } ( 1 ≤ g ≤ r ) , Z m , c : = ∅ ( c ∈ { 1 , 2 , 3 } ) . \begin{aligned}
Z_{i,c}&:=\{\operatorname{cell}(i,\lambda_{i,\min(c,\lvert C_i\rvert)})\} &&(1\le i\le n),\\
Z_{n+g,1}&:=\{\operatorname{cell}(i,\neg\xi_g):(i,\neg\xi_g)\in\Omega\} &&(1\le g\le r),\\
Z_{n+g,2}&=Z_{n+g,3}:=\{\operatorname{cell}(i,\xi_g):(i,\xi_g)\in\Omega\} &&(1\le g\le r),\\
Z_{m,c}&:=\varnothing&&(c\in\{1,2,3\}).
\end{aligned} Z i , c Z n + g , 1 Z n + g , 2 Z m , c := { cell ( i , λ i , m i n ( c , ∣ C i ∣) )} := { cell ( i , ¬ ξ g ) : ( i , ¬ ξ g ) ∈ Ω } = Z n + g , 3 := { cell ( i , ξ g ) : ( i , ξ g ) ∈ Ω } := ∅ ( 1 ≤ i ≤ n ) , ( 1 ≤ g ≤ r ) , ( 1 ≤ g ≤ r ) , ( c ∈ { 1 , 2 , 3 }) . For example, φ = ( ( ξ 1 , ξ 2 ) , ( ¬ ξ 1 ) ) \varphi=((\xi_1,\xi_2),(\neg\xi_1)) φ = (( ξ 1 , ξ 2 ) , ( ¬ ξ 1 )) has m = 5 m=5 m = 5 , the occurrences ( 1 , ξ 1 ) (1,\xi_1) ( 1 , ξ 1 ) , ( 1 , ξ 2 ) (1,\xi_2) ( 1 , ξ 2 ) , ( 2 , ¬ ξ 1 ) (2,\neg\xi_1) ( 2 , ¬ ξ 1 ) with the cells 16 16 16 , 17 17 17 , 18 18 18 , and the option sets Z 1 , 1 = { 16 } Z_{1,1}=\{16\} Z 1 , 1 = { 16 } , Z 1 , 2 = Z 1 , 3 = { 17 } Z_{1,2}=Z_{1,3}=\{17\} Z 1 , 2 = Z 1 , 3 = { 17 } ; Z 2 , c = { 18 } Z_{2,c}=\{18\} Z 2 , c = { 18 } ; Z 3 , 1 = { 18 } Z_{3,1}=\{18\} Z 3 , 1 = { 18 } , Z 3 , 2 = Z 3 , 3 = { 16 } Z_{3,2}=Z_{3,3}=\{16\} Z 3 , 2 = Z 3 , 3 = { 16 } ; Z 4 , 1 = ∅ Z_{4,1}=\varnothing Z 4 , 1 = ∅ , Z 4 , 2 = Z 4 , 3 = { 17 } Z_{4,2}=Z_{4,3}=\{17\} Z 4 , 2 = Z 4 , 3 = { 17 } ; Z 5 , c = ∅ Z_{5,c}=\varnothing Z 5 , c = ∅ (Figure 5 ).
A variable option thus lists the occurrences that it falsifies: an option of a clause and an option of a variable share a cell exactly when the value set by the second falsifies the literal selected by the first (Lemma 4.3 (iv)).
Lemma 4.3 (option sets). Let φ \varphi φ be a restricted formula, with the notation of Definition 4.2 .
(i) Distinct occurrences have distinct cells, and every cell lies between 2 m + 6 2m+6 2 m + 6 and 2 m + 5 + ∣ Ω ∣ ≤ 5 m + 5 2m+5+\lvert\Omega\rvert\le5m+5 2 m + 5 + ∣ Ω ∣ ≤ 5 m + 5 .
(ii) ∣ Z k , c ∣ ≤ 2 \lvert Z_{k,c}\rvert\le2 ∣ Z k , c ∣ ≤ 2 for every level k k k and option c c c , and ∣ Z k , c ∣ = 1 \lvert Z_{k,c}\rvert=1 ∣ Z k , c ∣ = 1 if k k k is the level of a clause.
(iii) Let ( i , λ ) (i,\lambda) ( i , λ ) be an occurrence, and ξ g \xi_g ξ g the variable of λ \lambda λ . The cell of ( i , λ ) (i,\lambda) ( i , λ ) lies in exactly the following option sets:
Z i , c Z_{i,c} Z i , c , for each option c c c of the level i i i (of the clause C i C_i C i ) that selects λ \lambda λ ;
if λ = ξ g \lambda=\xi_g λ = ξ g : Z n + g , 2 Z_{n+g,2} Z n + g , 2 and Z n + g , 3 Z_{n+g,3} Z n + g , 3 , the sets of the options of the level n + g n+g n + g that falsify λ \lambda λ ;
if λ = ¬ ξ g \lambda= \neg\xi_g λ = ¬ ξ g : Z n + g , 1 Z_{n+g,1} Z n + g , 1 , the set of the option of the level n + g n+g n + g that falsifies λ \lambda λ .
(iv) Let k < k ′ k < k' k < k ′ be levels and c , c ′ c,c' c , c ′ options. Then Z k , c ∩ Z k ′ , c ′ ≠ ∅ Z_{k,c} \cap Z_{k',c'} \ne\varnothing Z k , c ∩ Z k ′ , c ′ = ∅ iff k k k is the level i i i of a clause, k ′ k' k ′ is the level of the variable of the literal λ \lambda λ that the option c c c at the level i i i selects, and the option c ′ c' c ′ at the level k ′ k' k ′ falsifies λ \lambda λ .
Proof. (i) By Definition 4.2 , the occurrences receive the cells 2 m + 6 , … , 2 m + 5 + ∣ Ω ∣ 2m+6,\ldots,2m+5+|\Omega| 2 m + 6 , … , 2 m + 5 + ∣Ω∣ , one each. Every clause has at most three literals (Definition 4.1 (a)), so ∣ Ω ∣ ≤ 3 n ≤ 3 m |\Omega| \le3n \le3m ∣Ω∣ ≤ 3 n ≤ 3 m and 2 m + 5 + ∣ Ω ∣ ≤ 5 m + 5 2m+5+|\Omega| \le5m+5 2 m + 5 + ∣Ω∣ ≤ 5 m + 5 .
(ii) At the level i i i of a clause, Z i , c Z_{i,c} Z i , c is one cell. At the level n + g n+g n + g of a variable, Z n + g , c Z_{n+g,c} Z n + g , c has one cell for each clause that contains the literal falsified by the option c c c ; there are at most two such clauses by Definition 4.1 (c).
(iii) By (i), the cell of ( i , λ ) (i,\lambda) ( i , λ ) is the cell of no other occurrence. We read off Definition 4.2 which option sets contain it.
The level i ′ i' i ′ of a clause has the option sets Z i ′ , c = { cell ( i ′ , λ i ′ , min ( c , ∣ C i ′ ∣ ) ) } Z_{i',c}=\{\operatorname{cell}(i',\lambda_{i',\min(c,|C_{i'}|)})\} Z i ′ , c = { cell ( i ′ , λ i ′ , m i n ( c , ∣ C i ′ ∣ ) )} . So the cell of ( i , λ ) (i,\lambda) ( i , λ ) lies in Z i ′ , c Z_{i',c} Z i ′ , c iff i ′ = i i'=i i ′ = i and the option c c c selects λ \lambda λ : the first item.
The level n + g ′ n+g' n + g ′ of a variable has the option sets Z n + g ′ , 1 Z_{n+g',1} Z n + g ′ , 1 , made of the cells of the occurrences of ¬ ξ g ′ \neg\xi_{g'} ¬ ξ g ′ , and Z n + g ′ , 2 = Z n + g ′ , 3 Z_{n+g',2}=Z_{n+g',3} Z n + g ′ , 2 = Z n + g ′ , 3 , made of the cells of the occurrences of ξ g ′ \xi_{g'} ξ g ′ . So the cell of ( i , λ ) (i,\lambda) ( i , λ ) lies in Z n + g ′ , 1 Z_{n+g',1} Z n + g ′ , 1 iff λ = ¬ ξ g ′ \lambda=\neg\xi_{g'} λ = ¬ ξ g ′ , and in Z n + g ′ , 2 Z_{n+g',2} Z n + g ′ , 2 and Z n + g ′ , 3 Z_{n+g',3} Z n + g ′ , 3 iff λ = ξ g ′ \lambda=\xi_{g'} λ = ξ g ′ . In both cases g ′ = g g'=g g ′ = g , as ξ g \xi_g ξ g is the variable of λ \lambda λ : these are the second and third items. The idle level has the option sets Z m , c = ∅ Z_{m,c}=\varnothing Z m , c = ∅ , which contain no cell.
(iv) Suppose first that Z k , c ∩ Z k ′ , c ′ ≠ ∅ Z_{k,c}\cap Z_{k',c'}\ne\varnothing Z k , c ∩ Z k ′ , c ′ = ∅ . The common cell lies in an option set, so it is the cell of an occurrence ( i , λ ) (i,\lambda) ( i , λ ) (Definition 4.2 ); by (i), this occurrence is unique. Let ξ g \xi_g ξ g be the variable of λ \lambda λ . By (iii), applied to k k k and c c c , either k = i k=i k = i and the option c c c selects λ \lambda λ , or k = n + g k=n+g k = n + g and the option c c c falsifies λ \lambda λ (the second and third items of (iii)). Likewise for k ′ k' k ′ , taking c ′ c' c ′ in place of c c c . As i ≤ n < n + g i\le n<n+g i ≤ n < n + g and k ≠ k ′ k\ne k' k = k ′ , one of k , k ′ k,k' k , k ′ is i i i and the other is n + g n+g n + g ; as k < k ′ k<k' k < k ′ , k = i k=i k = i and k ′ = n + g k'=n+g k ′ = n + g . So k k k is the level i i i of a clause, the option c c c selects λ \lambda λ , k ′ k' k ′ is the level of the variable of λ \lambda λ , and the option c ′ c' c ′ falsifies λ \lambda λ .
Conversely, suppose that the option c c c at the level i i i selects λ \lambda λ , that k ′ = n + g k'=n+g k ′ = n + g is the level of the variable ξ g \xi_g ξ g of λ \lambda λ , and that the option c ′ c' c ′ at the level k ′ k' k ′ falsifies λ \lambda λ . Then λ ∈ C i \lambda\in C_i λ ∈ C i , so ( i , λ ) (i,\lambda) ( i , λ ) is an occurrence, and by (iii) its cell lies in Z i , c Z_{i,c} Z i , c and in Z k ′ , c ′ Z_{k',c'} Z k ′ , c ′ . □
Definition 4.4 (the numbers of the construction). Let φ \varphi φ be a restricted formula, with the levels and option sets of Definition 4.2 . Put
D : = 4 m + 15 , p : = 2 m + 4 , α : = 2 m + 5 , D := 4m+15,\qquad p := 2m+4,\qquad\alpha:= 2m+5, D := 4 m + 15 , p := 2 m + 4 , α := 2 m + 5 , and for each level k k k
L k : = 4 m + 8 − 2 k , μ k : = 2 m + 4 − 2 k , σ k : = 2 k , β k : = 2 m + 5 − 2 k . L_k := 4m+8-2k,\qquad\mu_k := 2m+4-2k,\qquad\sigma_k := 2k,\qquad\beta_k := 2m+5-2k. L k := 4 m + 8 − 2 k , μ k := 2 m + 4 − 2 k , σ k := 2 k , β k := 2 m + 5 − 2 k . For a level k k k and an option c c c , let ζ 0 < ⋯ < ζ e − 1 \zeta_0<\cdots<\zeta_{e-1} ζ 0 < ⋯ < ζ e − 1 be the cells of the option set Z k , c Z_{k,c} Z k , c , so that e = ∣ Z k , c ∣ ≤ 2 e=|Z_{k,c}|\le2 e = ∣ Z k , c ∣ ≤ 2 (Lemma 4.3 (ii)), and put
E k , c : = ( 2 ( ζ j − k − μ k ) ) j < e . E_{k,c}:=(2(\zeta_j-k-\mu_k))_{j<e}. E k , c := ( 2 ( ζ j − k − μ k ) ) j < e . The copies of the level k k k in G φ G_\varphi G φ are the templates T ( L k , μ k ; E k , c ) \mathrm{T}(L_k,\mu_k;E_{k,c}) T ( L k , μ k ; E k , c ) , c ∈ { 1 , 2 , 3 } c\in\{1,2,3\} c ∈ { 1 , 2 , 3 } (Definition 4.6). The numbers α \alpha α and β k \beta_k β k are the profile of the core of such a copy (Lemmas 3.10 and 4.5 (i)). The list E k , c E_{k,c} E k , c gives the excesses of the crossings of the copy of the option c c c at the level k k k ; it puts their diagonal members at the distances ζ ∈ Z k , c \zeta\in Z_{k,c} ζ ∈ Z k , c from T 1 T_1 T 1 (Lemma 11.1). D D D is the length of the four arms, and p p p and 7 7 7 are the positions on the arms of the rows w j w_j w j (Definition 4.6).
Lemma 4.5 (the numbers). Let φ \varphi φ be a restricted formula, with the notation of Definitions 4.2 and 4.4, and 1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m .
(i) L k = 2 μ k + σ k L_k = 2\mu_k + \sigma_k L k = 2 μ k + σ k , α = L k − μ k + 1 \alpha= L_k - \mu_k + 1 α = L k − μ k + 1 , β k = μ k + 1 \beta_k = \mu_k + 1 β k = μ k + 1 , α − β k = σ k \alpha- \beta_k = \sigma_k α − β k = σ k , L k = D − 7 − 2 k L_k = D - 7 - 2k L k = D − 7 − 2 k and D − p = p + 7 D - p = p + 7 D − p = p + 7 .
(ii) For c ∈ { 1 , 2 , 3 } c \in\{1,2,3\} c ∈ { 1 , 2 , 3 } , the triple ( L k , μ k , E k , c ) (L_k,\mu_k,E_{k,c}) ( L k , μ k , E k , c ) satisfies the hypotheses of Definition 3.1 , with σ = L k − 2 μ k = σ k \sigma= L_k - 2\mu_k = \sigma_k σ = L k − 2 μ k = σ k and e = ∣ Z k , c ∣ e = |Z_{k,c}| e = ∣ Z k , c ∣ : e ≤ 2 e \le2 e ≤ 2 ; the entries of E k , c E_{k,c} E k , c are even and at least 2, and ε 0 < ε 1 \varepsilon_0 < \varepsilon_1 ε 0 < ε 1 if e = 2 e = 2 e = 2 ; μ k ≥ 3 \mu_k \ge3 μ k ≥ 3 , σ k ≥ 2 \sigma_k \ge2 σ k ≥ 2 , and σ k ≥ 4 \sigma_k \ge4 σ k ≥ 4 if e = 2 e = 2 e = 2 .
(iii) m ≥ 3 m \ge3 m ≥ 3 .
Proof. (i) By Definition 4.4 :
2 μ k + σ k = 2 ( 2 m + 4 − 2 k ) + 2 k = 4 m + 8 − 2 k = L k , L k − μ k + 1 = ( 4 m + 8 − 2 k ) − ( 2 m + 4 − 2 k ) + 1 = 2 m + 5 = α , μ k + 1 = 2 m + 5 − 2 k = β k , α − β k = ( 2 m + 5 ) − ( 2 m + 5 − 2 k ) = 2 k = σ k , D − 7 − 2 k = ( 4 m + 15 ) − 7 − 2 k = 4 m + 8 − 2 k = L k , D − p = ( 4 m + 15 ) − ( 2 m + 4 ) = 2 m + 11 = p + 7. \begin{aligned}
2\mu_k + \sigma_k &= 2(2m + 4 - 2k) + 2k = 4m + 8 - 2k = L_k,\\
L_k - \mu_k + 1 &= (4m + 8 - 2k) - (2m + 4 - 2k) + 1 = 2m + 5 = \alpha,\\
\mu_k + 1 &= 2m + 5 - 2k = \beta_k,\\
\alpha- \beta_k &= (2m + 5) - (2m + 5 - 2k) = 2k = \sigma_k,\\
D - 7 - 2k &= (4m + 15) - 7 - 2k = 4m + 8 - 2k = L_k,\\
D - p &= (4m + 15) - (2m + 4) = 2m + 11 = p + 7.
\end{aligned} 2 μ k + σ k L k − μ k + 1 μ k + 1 α − β k D − 7 − 2 k D − p = 2 ( 2 m + 4 − 2 k ) + 2 k = 4 m + 8 − 2 k = L k , = ( 4 m + 8 − 2 k ) − ( 2 m + 4 − 2 k ) + 1 = 2 m + 5 = α , = 2 m + 5 − 2 k = β k , = ( 2 m + 5 ) − ( 2 m + 5 − 2 k ) = 2 k = σ k , = ( 4 m + 15 ) − 7 − 2 k = 4 m + 8 − 2 k = L k , = ( 4 m + 15 ) − ( 2 m + 4 ) = 2 m + 11 = p + 7. (ii) By (i), L k − 2 μ k = σ k L_k - 2\mu_k = \sigma_k L k − 2 μ k = σ k , so σ k \sigma_k σ k is the number σ \sigma σ of Definition 3.1 for this template.
Write ε j : = 2 ( ζ j − k − μ k ) \varepsilon_j := 2(\zeta_j-k-\mu_k) ε j := 2 ( ζ j − k − μ k ) for the entries of E k , c E_{k,c} E k , c ; each is even. The cells of Definition 4.2 start at 2 m + 6 2m+6 2 m + 6 , so ζ j ≥ 2 m + 6 \zeta_j \ge2m+6 ζ j ≥ 2 m + 6 (Lemma 4.3 (i)). Hence ζ j − k − μ k = ζ j − 2 m − 4 + k ≥ 2 + k ≥ 3 \zeta_j-k-\mu_k = \zeta_j-2m-4+k \ge2+k \ge3 ζ j − k − μ k = ζ j − 2 m − 4 + k ≥ 2 + k ≥ 3 , and ε j ≥ 6 ≥ 2 \varepsilon_j \ge6 \ge2 ε j ≥ 6 ≥ 2 , the bound required by Definition 3.1 . If e = 2 e = 2 e = 2 , then ζ 0 < ζ 1 \zeta_0 < \zeta_1 ζ 0 < ζ 1 gives ε 0 < ε 1 \varepsilon_0 < \varepsilon_1 ε 0 < ε 1 .
σ k = 2 k ≥ 2 \sigma_k = 2k \ge2 σ k = 2 k ≥ 2 . If e = 2 e = 2 e = 2 , then k k k is not the level of a clause, by Lemma 4.3 (ii), so k ≥ n + 1 ≥ 2 k \ge n+1 \ge2 k ≥ n + 1 ≥ 2 by Definition 4.1 (a), and σ k = 2 k ≥ 4 \sigma_k = 2k \ge4 σ k = 2 k ≥ 4 .
(iii) By Definition 4.1 (a), n ≥ 1 n \ge1 n ≥ 1 , so φ \varphi φ has a clause C 1 C_1 C 1 . It is nonempty, and the variable of its first literal is one of ξ 1 , … , ξ r \xi_1,\ldots,\xi_r ξ 1 , … , ξ r , so r ≥ 1 r \ge1 r ≥ 1 . By Definition 4.1 , m = n + r + 1 m = n + r + 1 m = n + r + 1 : one level per clause, one per variable, and the idle level (Definition 4.2 ). Hence m ≥ 1 + 1 + 1 = 3 m \ge1 + 1 + 1 = 3 m ≥ 1 + 1 + 1 = 3 .
Definition 4.6
Definition 4.6 (the graph G φ G_\varphi G φ ). Let φ \varphi φ be a restricted formula, with the notation of Definitions 4.2 and 4.4. The graph G φ G_\varphi G φ (Figure 4 ) is the union of the following parts. Paths are given by the lists of their vertices in order; their edges join consecutive vertices of the list.
The frame: the path T 1 , s 1 , s 2 , … , s m T_1,s_1,s_2,\ldots,s_m T 1 , s 1 , s 2 , … , s m and the path t m , t m − 1 , … , t 1 , z 1 , z 2 , … , z 7 , T 2 t_m,t_{m-1},\ldots,t_1,z_1,z_2,\ldots,z_7,T_2 t m , t m − 1 , … , t 1 , z 1 , z 2 , … , z 7 , T 2 . The vertices z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 form the tail.
The copies: for each level k k k and option c ∈ { 1 , 2 , 3 } c \in\{1,2,3\} c ∈ { 1 , 2 , 3 } , the copy of the option c c c at the level k k k , a copy U k , c U_{k,c} U k , c of the template T ( L k , μ k ; E k , c ) \mathrm{T}(L_k,\mu_k;E_{k,c}) T ( L k , μ k ; E k , c ) (Definition 3.1 ; its hypotheses hold by Lemma 4.5 (ii)) whose terminals s s s and t t t are s k s_k s k and t k t_k t k . Its vertices are v i k , c v_i^{k,c} v i k , c (0 ≤ i ≤ L k 0 \le i \le L_k 0 ≤ i ≤ L k ), r i k , c r_i^{k,c} r i k , c (1 ≤ i ≤ μ k + 1 1 \le i \le\mu_k+1 1 ≤ i ≤ μ k + 1 ) and x j k , c , i x_{j}^{k,c,i} x j k , c , i (j < ∣ Z k , c ∣ j < |Z_{k,c}| j < ∣ Z k , c ∣ , 1 ≤ i ≤ ℓ j k , c − 1 1 \le i \le\ell_j^{k,c}-1 1 ≤ i ≤ ℓ j k , c − 1 , where ℓ j k , c : = 2 j + 2 + ε \ell_j^{k,c} := 2j+2+\varepsilon ℓ j k , c := 2 j + 2 + ε is the length of the crossing j j j of the template, ε \varepsilon ε being the j j j -th entry of E k , c E_{k,c} E k , c (Definition 3.1 )), named after the vertices v i v_i v i , r i r_i r i , x j i x_j^i x j i of the template, with v 0 k , c = s k v_0^{k,c}=s_k v 0 k , c = s k and v L k k , c = t k v_{L_k}^{k,c}=t_k v L k k , c = t k ; its edges are those of the template, read through these names.
The pair q , q ′ q,q' q , q ′ : the vertices q q q and q ′ q' q ′ , with the four edges t m q t_mq t m q , t m − 1 q t_{m-1}q t m − 1 q , t m q ′ t_mq' t m q ′ and t m − 1 q ′ t_{m-1}q' t m − 1 q ′ (the vertex t m − 1 t_{m-1} t m − 1 exists, as m ≥ 3 m \ge3 m ≥ 3 by Lemma 4.5 (iii)).
The arms: for j ∈ { 1 , 2 , 3 , 4 } j \in\{1,2,3,4\} j ∈ { 1 , 2 , 3 , 4 } , the path y 0 j , y 1 j , … , y D j y^j_0,y^j_1,\ldots,y^j_D y 0 j , y 1 j , … , y D j , of length D D D , where y 0 j : = T 1 y^j_0 := T_1 y 0 j := T 1 and y D j : = T 2 y^j_D := T_2 y D j := T 2 , so that it runs from T 1 T_1 T 1 to T 2 T_2 T 2 ; and a vertex y ~ j \widetilde{y}^j y j with the edges y ~ j y π j − 1 j \widetilde{y}^jy^j_{\pi_j-1} y j y π j − 1 j and y ~ j y π j + 1 j \widetilde{y}^jy^j_{\pi_j+1} y j y π j + 1 j , where π 1 : = π 2 : = p \pi_1 := \pi_2 := p π 1 := π 2 := p and π 3 : = π 4 : = 7 \pi_3 := \pi_4 := 7 π 3 := π 4 := 7 .
The vertices T 1 T_1 T 1 , T 2 T_2 T 2 , s k s_k s k , t k t_k t k (1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m ), z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 , q q q , q ′ q' q ′ , the vertices of the copies other than their terminals, and y i j y^j_i y i j (1 ≤ i ≤ D − 1 1 \le i \le D-1 1 ≤ i ≤ D − 1 ), y ~ j \widetilde{y}^j y j (1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 ) are pairwise distinct. So a copy U k , c U_{k,c} U k , c meets the rest of G φ G_\varphi G φ only at s k s_k s k and t k t_k t k , an arm only at T 1 T_1 T 1 and T 2 T_2 T 2 , and q , q ′ q,q' q , q ′ are adjacent to t m t_m t m , to t m − 1 t_{m-1} t m − 1 and to nothing else. The three copies of the idle level m m m are copies of T ( L m , μ m ; ( ) ) \mathrm{T}(L_m,\mu_m;()) T ( L m , μ m ; ( )) , the template without crossing, as Z m , c = ∅ Z_{m,c}=\varnothing Z m , c = ∅ gives E m , c = ( ) E_{m,c}=() E m , c = ( ) (Definitions 4.2 and 4.4 ).
Definition 4.7 (copies in G φ G_\varphi G φ ). Let φ \varphi φ be a restricted formula, G φ G_\varphi G φ the graph of Definition 4.6, k k k a level and c c c an option.
U k , c U_{k,c} U k , c also denotes the subgraph of G φ G_\varphi G φ formed by the vertices and the edges of the copy of the option c c c at the level k k k . Its terminals are s k s_k s k and t k t_k t k , and its members are its other vertices, that is, the vertices of int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) (Definition 2.4 ).
The spine members of U k , c U_{k,c} U k , c are the v i k , c v^{k,c}_i v i k , c (1 ≤ i ≤ L k − 1 1 \le i \le L_k-1 1 ≤ i ≤ L k − 1 ), its t-ear members the r i k , c r^{k,c}_i r i k , c (1 ≤ i ≤ μ k + 1 1 \le i \le\mu_k+1 1 ≤ i ≤ μ k + 1 ), and its crossing members the x i k , c , j x^{k,c,j}_i x i k , c , j (j < ∣ Z k , c ∣ j < |Z_{k,c}| j < ∣ Z k , c ∣ , 1 ≤ i ≤ ℓ j k , c − 1 1 \le i \le\ell^{k,c}_j-1 1 ≤ i ≤ ℓ j k , c − 1 ); spine and t t t -ear members are common. Its core is r 1 k , c r^{k,c}_1 r 1 k , c .
For a vertex u u u of U k , c U_{k,c} U k , c , the profile and the skew of u u u in U k , c U_{k,c} U k , c , with the terminals s k s_k s k and t k t_k t k , are (Definition 2.8 )
h U k , c ( u ) = d U k , c ( s k , u ) , h ‾ U k , c ( u ) = d U k , c ( t k , u ) , κ U k , c ( u ) = h ‾ U k , c ( u ) − h U k , c ( u ) ; h_{U_{k,c}}(u)=d_{U_{k,c}}(s_k,u),\qquad\overline{h}_{U_{k,c}}(u)=d_{U_{k,c}}(t_k,u),\qquad\kappa_{U_{k,c}}(u)=\overline{h}_{U_{k,c}}(u)-h_{U_{k,c}}(u); h U k , c ( u ) = d U k , c ( s k , u ) , h U k , c ( u ) = d U k , c ( t k , u ) , κ U k , c ( u ) = h U k , c ( u ) − h U k , c ( u ) ; u is diagonal when κ U k , c ( u ) = σ k . u\text{ is diagonal when }\kappa_{U_{k,c}}(u)=\sigma_k. u is diagonal when κ U k , c ( u ) = σ k . For a common member u u u of U k , c U_{k,c} U k , c and an option c ′ c' c ′ , the vertex of U k , c ′ U_{k,c'} U k , c ′ with the same indices (v i k , c ′ v^{k,c'}_i v i k , c ′ for u = v i k , c u=v^{k,c}_i u = v i k , c , r i k , c ′ r^{k,c'}_i r i k , c ′ for u = r i k , c u=r^{k,c}_i u = r i k , c ) is the counterpart of u u u in U k , c ′ U_{k,c'} U k , c ′ ; for c ′ ≠ c c' \ne c c ′ = c it is a different vertex (Definition 4.6).
Definition 4.8 (arms, rows, skeleton). Let φ \varphi φ be a restricted formula.
For 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 , the arm Y j Y^j Y j is the subgraph of G φ G_\varphi G φ formed by the vertices y 0 j , … , y D j y^j_0,\ldots,y^j_D y 0 j , … , y D j , y ~ j \widetilde{y}^j y j and the edges of the arm j j j in Definition 4.6, that is, y i j y i + 1 j y^j_i y^j_{i+1} y i j y i + 1 j (0 ≤ i < D 0 \le i < D 0 ≤ i < D ), y ~ j y π j − 1 j \widetilde{y}^jy^j_{\pi_j-1} y j y π j − 1 j and y ~ j y π j + 1 j \widetilde{y}^jy^j_{\pi_j+1} y j y π j + 1 j .
ρ k , c : = r 1 k , c ( 1 ≤ k ≤ m , c ∈ { 1 , 2 , 3 } ) , w j : = y π j j ( 1 ≤ j ≤ 4 ) . \rho_{k,c}:=r^{k,c}_1\quad(1\le k\le m,\ c\in\{1,2,3\}),\qquad w_j:=y^j_{\pi_j}\quad(1\le j\le4). ρ k , c := r 1 k , c ( 1 ≤ k ≤ m , c ∈ { 1 , 2 , 3 }) , w j := y π j j ( 1 ≤ j ≤ 4 ) . S : = { T 1 , T 2 } ∪ { s k , t k : 1 ≤ k ≤ m } ∪ { z 1 , … , z 7 } ∪ { q ′ } . S:=\{T_1,T_2\}\cup\{s_k,t_k:1\le k\le m\}\cup\{z_1,\ldots,z_7\}\cup\{q'\}. S := { T 1 , T 2 } ∪ { s k , t k : 1 ≤ k ≤ m } ∪ { z 1 , … , z 7 } ∪ { q ′ } .
The skeleton consists of the vertices of G φ G_\varphi G φ that are neither members of a copy, nor in the interior of an arm, nor q q q : by Lemma 4.12 (i), V ( G φ ) V(G_\varphi) V ( G φ ) is the disjoint union of S S S , { q } \{q\} { q } , the interiors of the copies and the interiors of the arms. The vertex q q q is left out because it belongs to every pattern (Definition 4.11).
Lemma 4.9 (copies are templates). Let φ \varphi φ be a restricted formula, k k k a level and c c c an option, and write T : = T ( L k , μ k ; E k , c ) \mathrm{T}:=\mathrm{T}(L_k,\mu_k;E_{k,c}) T := T ( L k , μ k ; E k , c ) . Let ψ \psi ψ map the vertices of T \mathrm{T} T to those of U k , c U_{k,c} U k , c by
ψ ( v i ) : = v i k , c ( 0 ≤ i ≤ L k ) , \psi(v_i):=v_i^{k,c}\qquad(0\le i\le L_k), ψ ( v i ) := v i k , c ( 0 ≤ i ≤ L k ) , ψ ( r i ) : = r i k , c ( 1 ≤ i ≤ μ k + 1 ) , \psi(r_i):=r_i^{k,c}\qquad(1\le i\le\mu_k+1), ψ ( r i ) := r i k , c ( 1 ≤ i ≤ μ k + 1 ) , ψ ( x i j ) : = x i k , c , j ( j < ∣ Z k , c ∣ , 1 ≤ i ≤ ℓ j k , c − 1 ) ; \psi(x_i^j):=x_i^{k,c,j}\qquad(j<|Z_{k,c}|,\ 1\le i\le\ell_j^{k,c}-1); ψ ( x i j ) := x i k , c , j ( j < ∣ Z k , c ∣ , 1 ≤ i ≤ ℓ j k , c − 1 ) ; here ℓ j k , c \ell_j^{k,c} ℓ j k , c is the length ℓ j \ell_j ℓ j of the crossing j j j of T \mathrm{T} T (Definition 4.6); in particular ψ ( s ) = s k \psi(s)=s_k ψ ( s ) = s k and ψ ( t ) = t k \psi(t)=t_k ψ ( t ) = t k .
(i) ψ \psi ψ is an isomorphism from T \mathrm{T} T onto U k , c U_{k,c} U k , c .
(ii) For all vertices u , u ′ u,u' u , u ′ of T \mathrm{T} T , d U k , c ( ψ ( u ) , ψ ( u ′ ) ) = d T ( u , u ′ ) d_{U_{k,c}}(\psi(u),\psi(u'))=d_{\mathrm{T}}(u,u') d U k , c ( ψ ( u ) , ψ ( u ′ )) = d T ( u , u ′ ) . In particular, for every vertex u u u of T \mathrm{T} T , h U k , c ( ψ ( u ) ) = h T ( u ) h_{U_{k,c}}(\psi(u))=h_{\mathrm{T}}(u) h U k , c ( ψ ( u )) = h T ( u ) , h ˉ U k , c ( ψ ( u ) ) = h ˉ T ( u ) \bar{h}_{U_{k,c}}(\psi(u))=\bar{h}_{\mathrm{T}}(u) h ˉ U k , c ( ψ ( u )) = h ˉ T ( u ) and κ U k , c ( ψ ( u ) ) = κ T ( u ) \kappa_{U_{k,c}}(\psi(u))=\kappa_{\mathrm{T}}(u) κ U k , c ( ψ ( u )) = κ T ( u ) .
(iii) ψ \psi ψ maps the spine, t t t -ear, crossing and common members, the core and the diagonal members of T \mathrm{T} T onto those of U k , c U_{k,c} U k , c .
Proof. (i) By Definition 4.6, the vertices of the copy are the images under ψ \psi ψ of the vertices of T \mathrm{T} T , and they are pairwise distinct. Its edges are the edges of T \mathrm{T} T read through these names, that is, the pairs ψ ( u ) ψ ( u ′ ) \psi(u)\psi(u') ψ ( u ) ψ ( u ′ ) for the edges u u ′ uu' u u ′ of T \mathrm{T} T . By Definition 4.7, U k , c U_{k,c} U k , c has exactly these vertices and edges. So ψ \psi ψ is a bijection from V ( T ) V(\mathrm{T}) V ( T ) onto V ( U k , c ) V(U_{k,c}) V ( U k , c ) , and u u ′ uu' u u ′ is an edge of T \mathrm{T} T iff ψ ( u ) ψ ( u ′ ) \psi(u)\psi(u') ψ ( u ) ψ ( u ′ ) is an edge of U k , c U_{k,c} U k , c .
(ii) An isomorphism maps every path to a path with the same number of edges, and so does its inverse (as in the proof of Lemma 2.15 ). Hence d U k , c ( ψ ( u ) , ψ ( u ′ ) ) = d T ( u , u ′ ) d_{U_{k,c}}(\psi(u),\psi(u'))=d_{\mathrm{T}}(u,u') d U k , c ( ψ ( u ) , ψ ( u ′ )) = d T ( u , u ′ ) for all vertices u , u ′ u,u' u , u ′ of T \mathrm{T} T . This is the first claim. With u ′ : = s u':=s u ′ := s and ψ ( s ) = s k \psi(s)=s_k ψ ( s ) = s k ,
h U k , c ( ψ ( u ) ) = d U k , c ( s k , ψ ( u ) ) = d T ( s , u ) = h T ( u ) h_{U_{k,c}}(\psi(u))=d_{U_{k,c}}(s_k,\psi(u))=d_{\mathrm{T}}(s,u)=h_{\mathrm{T}}(u) h U k , c ( ψ ( u )) = d U k , c ( s k , ψ ( u )) = d T ( s , u ) = h T ( u )
(Definitions 2.8 and 3.2). Likewise h ˉ U k , c ( ψ ( u ) ) = h ˉ T ( u ) \bar{h}_{U_{k,c}}(\psi(u))=\bar{h}_{\mathrm{T}}(u) h ˉ U k , c ( ψ ( u )) = h ˉ T ( u ) , taking t t t and t k t_k t k in place of s s s and s k s_k s k ; and κ \kappa κ is the difference of the two.
(iii) The kinds of members are given by the same indices in Definitions 3.1 and 4.7, and ψ \psi ψ keeps the indices; so ψ \psi ψ maps each kind onto the same kind, and r 1 r_1 r 1 onto r 1 k , c r_1^{k,c} r 1 k , c . By Lemma 4.5 (i), the number σ \sigma σ of T \mathrm{T} T is L k − 2 μ k = σ k L_k-2\mu_k=\sigma_k L k − 2 μ k = σ k . So a member u u u of T \mathrm{T} T is diagonal iff κ T ( u ) = σ k \kappa_{\mathrm{T}}(u)=\sigma_k κ T ( u ) = σ k , iff κ U k , c ( ψ ( u ) ) = σ k \kappa_{U_{k,c}}(\psi(u))=\sigma_k κ U k , c ( ψ ( u )) = σ k by (ii), iff ψ ( u ) \psi(u) ψ ( u ) is diagonal (Definition 4.7).
Lemma 4.10 (inside a copy). Let φ \varphi φ be a restricted formula, k k k a level and c c c an option. Let α \alpha α , L k L_k L k , β k \beta_k β k , μ k \mu_k μ k and σ k \sigma_k σ k be the numbers of Definition 4.4, and ρ k , c = r 1 k , c \rho_{k,c}=r_1^{k,c} ρ k , c = r 1 k , c the core of U k , c U_{k,c} U k , c (Definition 4.8). Profiles, skews, and the spine, t t t -ear, crossing, common and diagonal members of U k , c U_{k,c} U k , c are those of Definition 4.7.
(i) U k , c U_{k,c} U k , c is connected, and d U k , c ( s k , t k ) = L k d_{U_{k,c}}(s_k,t_k)=L_k d U k , c ( s k , t k ) = L k .
(ii) ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) (h_{U_{k,c}}, \bar{h}_{U_{k,c}})(\rho_{k,c}) = (\alpha, \beta_k) ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) . For every member u ≠ ρ k , c u \ne\rho_{k,c} u = ρ k , c of U k , c U_{k,c} U k , c ,
d U k , c ( ρ k , c , u ) < min ( α + h U k , c ( u ) , β k + h ˉ U k , c ( u ) ) . d_{U_{k,c}}(\rho_{k,c},u) < \min(\alpha+ h_{U_{k,c}}(u), \beta_k + \bar{h}_{U_{k,c}}(u)). d U k , c ( ρ k , c , u ) < min ( α + h U k , c ( u ) , β k + h ˉ U k , c ( u )) .
(iii) Two distinct members of U k , c U_{k,c} U k , c have distinct profiles in U k , c U_{k,c} U k , c .
(iv) h U k , c ( v i k , c ) = i h_{U_{k,c}}(v_i^{k,c}) = i h U k , c ( v i k , c ) = i and h ˉ U k , c ( v i k , c ) = L k − i \bar{h}_{U_{k,c}}(v_i^{k,c}) = L_k - i h ˉ U k , c ( v i k , c ) = L k − i for 0 ≤ i ≤ L k 0 \le i \le L_k 0 ≤ i ≤ L k ; h U k , c ( r i k , c ) = L k − μ k + i h_{U_{k,c}}(r_i^{k,c}) = L_k - \mu_k + i h U k , c ( r i k , c ) = L k − μ k + i and h ˉ U k , c ( r i k , c ) = μ k + 2 − i \bar{h}_{U_{k,c}}(r_i^{k,c}) = \mu_k+2-i h ˉ U k , c ( r i k , c ) = μ k + 2 − i for 1 ≤ i ≤ μ k + 1 1 \le i \le\mu_k+1 1 ≤ i ≤ μ k + 1 ; and every member u u u of U k , c U_{k,c} U k , c with κ U k , c ( u ) > σ k + 4 \kappa_{U_{k,c}}(u) > \sigma_{k+4} κ U k , c ( u ) > σ k + 4 is a spine member.
(v) Every diagonal member u u u of U k , c U_{k,c} U k , c has h U k , c ( u ) ≥ μ k h_{U_{k,c}}(u) \ge\mu_k h U k , c ( u ) ≥ μ k .
(vi) Let w ≠ ρ k , c w \ne\rho_{k,c} w = ρ k , c be a member of U k , c U_{k,c} U k , c . Put x : = r μ k + 1 k , c x := r_{\mu_{k+1}}^{k,c} x := r μ k + 1 k , c if w w w is a spine or crossing member, and x : = v L k − 1 k , c x := v_{L_k-1}^{k,c} x := v L k − 1 k , c if w w w is a t t t -ear member. Then x x x is a common member of U k , c U_{k,c} U k , c , x ≠ w x \ne w x = w , and
d U k , c ( w , x ) = min ( h U k , c ( w ) + h U k , c ( x ) , h ˉ U k , c ( w ) + h ˉ U k , c ( x ) ) . d_{U_{k,c}}(w,x) = \min(h_{U_{k,c}}(w) + h_{U_{k,c}}(x), \bar{h}_{U_{k,c}}(w) + \bar{h}_{U_{k,c}}(x)). d U k , c ( w , x ) = min ( h U k , c ( w ) + h U k , c ( x ) , h ˉ U k , c ( w ) + h ˉ U k , c ( x )) .
Proof. Let U : = U k , c U := U_{k,c} U := U k , c . Let T : = T ( L k , μ k ; E k , c ) T := T(L_k, \mu_k; E_{k,c}) T := T ( L k , μ k ; E k , c ) and ψ \psi ψ be as in Lemma 4.9 . By Lemma 4.5 (ii), the triple ( L k , μ k , E k , c ) (L_k, \mu_k, E_{k,c}) ( L k , μ k , E k , c ) satisfies the hypotheses of Definition 3.1 , so T T T is a template and the lemmas of § 3 apply to it. By Lemma 4.9 , ψ ( s ) = s k \psi(s) = s_k ψ ( s ) = s k and ψ ( t ) = t k \psi(t) = t_k ψ ( t ) = t k , and by Lemma 4.9 (i), ψ \psi ψ is an isomorphism from T T T onto U U U .
(1) We prove (i). By Lemma 3.4 (iii), T T T is connected. As ψ \psi ψ is an isomorphism from T T T onto U U U , U U U is connected. By Lemma 4.9 (ii), and by Lemma 3.5 for T T T ,
d U ( s k , t k ) = d U ( ψ ( s ) , ψ ( t ) ) = d T ( s , t ) = L k . d_U(s_k,t_k) = d_U(\psi(s),\psi(t)) = d_T(s,t) = L_k. d U ( s k , t k ) = d U ( ψ ( s ) , ψ ( t )) = d T ( s , t ) = L k .
(2) We prove (ii). We take Lemma 3.10 in T T T , that is, with L = L k L = L_k L = L k , μ = μ k \mu= \mu_k μ = μ k and E = E k , c E = E_{k,c} E = E k , c . Lemma 3.10 puts α T : = L − μ + 1 \alpha_T := L - \mu+ 1 α T := L − μ + 1 and β T : = μ + 1 \beta_T := \mu+ 1 β T := μ + 1 , so here
α T = L k − μ k + 1 = α , β T = μ k + 1 = β k , \alpha_T = L_k - \mu_k + 1 = \alpha,\qquad\beta_T = \mu_k + 1 = \beta_k, α T = L k − μ k + 1 = α , β T = μ k + 1 = β k ,
where the second equalities are Lemma 4.5 (i). So Lemma 3.10 gives ( h T , h ˉ T ) ( r 1 ) = ( α , β k ) (h_T,\bar{h}_T)(r_1) = (\alpha,\beta_k) ( h T , h ˉ T ) ( r 1 ) = ( α , β k ) , and, for every member u 0 ≠ r 1 u_0 \ne r_1 u 0 = r 1 of T T T ,
d T ( r 1 , u 0 ) < min ( α + h T ( u 0 ) , β k + h ˉ T ( u 0 ) ) . d_T(r_1,u_0) < \min(\alpha+ h_T(u_0), \beta_k + \bar{h}_T(u_0)). d T ( r 1 , u 0 ) < min ( α + h T ( u 0 ) , β k + h ˉ T ( u 0 )) .
By Lemma 4.9 and Definition 4.8 , ψ ( r 1 ) = r 1 k , c = ρ k , c \psi(r_1) = r_1^{k,c} = \rho_{k,c} ψ ( r 1 ) = r 1 k , c = ρ k , c . So, by Lemma 4.9 (ii) at r 1 r_1 r 1 ,
( h U , h ˉ U ) ( ρ k , c ) = ( h U , h ˉ U ) ( ψ ( r 1 ) ) = ( h T , h ˉ T ) ( r 1 ) = ( α , β k ) . (h_U,\bar{h}_U)(\rho_{k,c}) = (h_U,\bar{h}_U)(\psi(r_1)) = (h_T,\bar{h}_T)(r_1) = (\alpha,\beta_k). ( h U , h ˉ U ) ( ρ k , c ) = ( h U , h ˉ U ) ( ψ ( r 1 )) = ( h T , h ˉ T ) ( r 1 ) = ( α , β k ) .
Now let u ≠ ρ k , c u \ne\rho_{k,c} u = ρ k , c be a member of U U U . The members of T T T are its vertices other than s s s and t t t (Definition 3.1 ). The members of U U U are its vertices other than s k s_k s k and t k t_k t k (Definition 4.7 ). The map ψ \psi ψ is a bijection with ψ ( s ) = s k \psi(s) = s_k ψ ( s ) = s k , ψ ( t ) = t k \psi(t) = t_k ψ ( t ) = t k and ψ ( r 1 ) = ρ k , c \psi(r_1) = \rho_{k,c} ψ ( r 1 ) = ρ k , c , so u = ψ ( u 0 ) u = \psi(u_0) u = ψ ( u 0 ) for a member u 0 ≠ r 1 u_0 \ne r_1 u 0 = r 1 of T T T . By Lemma 4.9 (ii),
d U ( ρ k , c , u ) = d U ( ψ ( r 1 ) , ψ ( u 0 ) ) = d T ( r 1 , u 0 ) < min ( α + h T ( u 0 ) , β k + h ˉ T ( u 0 ) ) = min ( α + h U ( u ) , β k + h ˉ U ( u ) ) . \begin{aligned}
d_U(\rho_{k,c},u) &= d_U(\psi(r_1),\psi(u_0)) = d_T(r_1,u_0) \\
&< \min(\alpha+ h_T(u_0), \beta_k + \bar{h}_T(u_0)) = \min(\alpha+ h_U(u), \beta_k + \bar{h}_U(u)).
\end{aligned} d U ( ρ k , c , u ) = d U ( ψ ( r 1 ) , ψ ( u 0 )) = d T ( r 1 , u 0 ) < min ( α + h T ( u 0 ) , β k + h ˉ T ( u 0 )) = min ( α + h U ( u ) , β k + h ˉ U ( u )) .
This proves (ii). (3) We prove (iii). Let u ≠ u ′ u \ne u' u = u ′ be members of U U U . As in (2), u = ψ ( u 0 ) u=\psi(u_0) u = ψ ( u 0 ) and u ′ = ψ ( u 0 ′ ) u'=\psi(u'_0) u ′ = ψ ( u 0 ′ ) for members u 0 , u 0 ′ u_0,u'_0 u 0 , u 0 ′ of T T T , and u 0 ≠ u 0 ′ u_0 \ne u'_0 u 0 = u 0 ′ as ψ \psi ψ is injective. By Lemma 3.8 in T T T , ( h T , h ˉ T ) ( u 0 ) ≠ ( h T , h ˉ T ) ( u 0 ′ ) (h_T,\bar{h}_T)(u_0) \ne(h_T,\bar{h}_T)(u'_0) ( h T , h ˉ T ) ( u 0 ) = ( h T , h ˉ T ) ( u 0 ′ ) . By Lemma 4.9 (ii),
( h U , h ˉ U ) ( u ) = ( h T , h ˉ T ) ( u 0 ) ≠ ( h T , h ˉ T ) ( u 0 ′ ) = ( h U , h ˉ U ) ( u ′ ) . (h_U,\bar{h}_U)(u)=(h_T,\bar{h}_T)(u_0) \ne(h_T,\bar{h}_T)(u'_0)=(h_U,\bar{h}_U)(u'). ( h U , h ˉ U ) ( u ) = ( h T , h ˉ T ) ( u 0 ) = ( h T , h ˉ T ) ( u 0 ′ ) = ( h U , h ˉ U ) ( u ′ ) .
(4) We prove (iv). Let 0 ≤ i ≤ L k 0 \le i \le L_k 0 ≤ i ≤ L k . By Lemma 4.9 , v i k , c = ψ ( v i ) v_i^{k,c}=\psi(v_i) v i k , c = ψ ( v i ) , so by Lemma 4.9 (ii) and Lemma 3.6(i) in T T T ,
h U ( v i k , c ) = h T ( v i ) = i , h ˉ U ( v i k , c ) = h ˉ T ( v i ) = L k − i . h_U(v_i^{k,c})=h_T(v_i)=i,\qquad\bar{h}_U(v_i^{k,c})=\bar{h}_T(v_i)=L_k-i. h U ( v i k , c ) = h T ( v i ) = i , h ˉ U ( v i k , c ) = h ˉ T ( v i ) = L k − i .
Let 1 ≤ i ≤ μ k + 1 1 \le i \le\mu_k+1 1 ≤ i ≤ μ k + 1 . By Lemma 4.9 , r i k , c = ψ ( r i ) r_i^{k,c}=\psi(r_i) r i k , c = ψ ( r i ) , so by Lemma 4.9 (ii) and Lemma 3.6(ii) in T T T ,
h U ( r i k , c ) = h T ( r i ) = L k − μ k + i , h ˉ U ( r i k , c ) = h ˉ T ( r i ) = μ k + 2 − i . h_U(r_i^{k,c})=h_T(r_i)=L_k-\mu_k+i,\qquad\bar{h}_U(r_i^{k,c})=\bar{h}_T(r_i)=\mu_k+2-i. h U ( r i k , c ) = h T ( r i ) = L k − μ k + i , h ˉ U ( r i k , c ) = h ˉ T ( r i ) = μ k + 2 − i .
Now let u u u be a member of U U U with κ U ( u ) > σ k + 4 \kappa_U(u)>\sigma_k+4 κ U ( u ) > σ k + 4 , and u = ψ ( u 0 ) u=\psi(u_0) u = ψ ( u 0 ) with u 0 u_0 u 0 a member of T T T , as in (2). By Lemma 4.9 (ii), κ T ( u 0 ) = κ U ( u ) > σ k + 4 \kappa_T(u_0)=\kappa_U(u)>\sigma_k+4 κ T ( u 0 ) = κ U ( u ) > σ k + 4 . By Lemma 4.5 (ii), the number σ = L − 2 μ \sigma=L-2\mu σ = L − 2 μ of T T T is σ k \sigma_k σ k , so Lemma 3.7 (iv) in T T T shows that u 0 u_0 u 0 is a spine member of T T T . By Lemma 4.9 (iii), u = ψ ( u 0 ) u=\psi(u_0) u = ψ ( u 0 ) is a spine member of U U U .
(5) We prove (v). Let u u u be a diagonal member of U U U . By Lemma 4.9 (iii), u = ψ ( u 0 ) u=\psi(u_0) u = ψ ( u 0 ) for a diagonal member u 0 u_0 u 0 of T T T . By Lemma 3.7(iii) in T T T , the diagonal members of T T T are v μ k v_{\mu_k} v μ k , with h T ( v μ k ) = μ k h_T(v_{\mu_k})=\mu_k h T ( v μ k ) = μ k , and, for each crossing j j j of T T T , one member of the crossing j j j with h T = μ k + ε j / 2 ≥ μ k h_T=\mu_k+\varepsilon_j/2\ge\mu_k h T = μ k + ε j /2 ≥ μ k , as ε j ≥ 2 \varepsilon_j\ge2 ε j ≥ 2 (Definition 3.1 ). So h T ( u 0 ) ≥ μ k h_T(u_0)\ge\mu_k h T ( u 0 ) ≥ μ k , and by Lemma 4.9 (ii),
h U ( u ) = h T ( u 0 ) ≥ μ k . h_U(u)=h_T(u_0)\ge\mu_k. h U ( u ) = h T ( u 0 ) ≥ μ k .
(6) We prove (vi). Let w ≠ ρ k , c w\ne\rho_{k,c} w = ρ k , c be a member of U U U . The members of T T T and of U U U are their vertices other than the terminals (Definitions 3.1 and 4.7 ), and ψ \psi ψ is a bijection (Lemma 4.9 (i)) with ψ ( s ) = s k \psi(s)=s_k ψ ( s ) = s k , ψ ( t ) = t k \psi(t)=t_k ψ ( t ) = t k and ψ ( r 1 ) = r 1 k , c = ρ k , c \psi(r_1)=r_1^{k,c}=\rho_{k,c} ψ ( r 1 ) = r 1 k , c = ρ k , c (Lemma 4.9 , Definition 4.8 ). So w = ψ ( w 0 ) w=\psi(w_0) w = ψ ( w 0 ) for a member w 0 ≠ r 1 w_0\ne r_1 w 0 = r 1 of T T T . By Lemma 4.9 (iii), ψ \psi ψ maps the spine, crossing and t t t -ear members of T T T onto those of U U U , so w 0 w_0 w 0 is a member of the same kind as w w w . Put x 0 : = r μ k + 1 x_0:=r_{\mu_k+1} x 0 := r μ k + 1 if w 0 w_0 w 0 is a spine or crossing member, and x 0 : = v L k − 1 x_0:=v_{L_k-1} x 0 := v L k − 1 if w 0 w_0 w 0 is a t t t -ear member. By Lemma 4.9 , ψ ( r μ k + 1 ) = r μ k + 1 k , c \psi(r_{\mu_k+1})=r_{\mu_k+1}^{k,c} ψ ( r μ k + 1 ) = r μ k + 1 k , c and ψ ( v L k − 1 ) = v L k − 1 k , c \psi(v_{L_k-1})=v_{L_k-1}^{k,c} ψ ( v L k − 1 ) = v L k − 1 k , c , so ψ ( x 0 ) = x \psi(x_0)=x ψ ( x 0 ) = x . Corollary 3.13 in T T T , that is, with L = L k L=L_k L = L k and μ = μ k \mu=\mu_k μ = μ k , applied to w 0 w_0 w 0 , shows that x 0 x_0 x 0 is a common member of T T T , x 0 ≠ w 0 x_0\ne w_0 x 0 = w 0 , and
d T ( w 0 , x 0 ) = min ( h T ( w 0 ) + h T ( x 0 ) , h ˉ T ( w 0 ) + h ˉ T ( x 0 ) ) . d_T(w_0,x_0)=\min\bigl(h_T(w_0)+h_T(x_0),\bar{h}_T(w_0)+\bar{h}_T(x_0)\bigr). d T ( w 0 , x 0 ) = min ( h T ( w 0 ) + h T ( x 0 ) , h ˉ T ( w 0 ) + h ˉ T ( x 0 ) ) .
By Lemma 4.9 (iii), x = ψ ( x 0 ) x=\psi(x_0) x = ψ ( x 0 ) is a common member of U U U , and x ≠ w x\ne w x = w as ψ \psi ψ is injective. By Lemma 4.9 (ii), at w 0 , x 0 w_0,x_0 w 0 , x 0 and for the profiles,
d U ( w , x ) = d T ( w 0 , x 0 ) = min ( h T ( w 0 ) + h T ( x 0 ) , h ˉ T ( w 0 ) + h ˉ T ( x 0 ) ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) . \begin{aligned}
d_U(w,x)&=d_T(w_0,x_0)=\min\bigl(h_T(w_0)+h_T(x_0),\bar{h}_T(w_0)+\bar{h}_T(x_0)\bigr)\\
&=\min\bigl(h_U(w)+h_U(x),\bar{h}_U(w)+\bar{h}_U(x)\bigr).
\end{aligned} d U ( w , x ) = d T ( w 0 , x 0 ) = min ( h T ( w 0 ) + h T ( x 0 ) , h ˉ T ( w 0 ) + h ˉ T ( x 0 ) ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) .
The parts of G φ G_\varphi G φ play the following roles. A path from T 1 T_1 T 1 to T 2 T_2 T 2 through a level k k k , from T 1 T_1 T 1 along s 1 , … , s k s_1,\ldots,s_k s 1 , … , s k , then along the spine of a copy of the level k k k , then along t k , … , t 1 , z 1 , … , z 7 t_k,\ldots,t_1,z_1,\ldots,z_7 t k , … , t 1 , z 1 , … , z 7 to T 2 T_2 T 2 , has
k + L k + ( k − 1 ) + 8 = 2 k + 7 + L k = D k+L_k+(k-1)+8=2k+7+L_k=D k + L k + ( k − 1 ) + 8 = 2 k + 7 + L k = D
edges, as L k = D − 7 − 2 k L_k=D-7-2k L k = D − 7 − 2 k (Lemma 4.5 (i)); so it is as long as an arm. Lemma 5.1 gives the distances δ 1 \delta_1 δ 1 and δ 2 \delta_2 δ 2 from T 1 T_1 T 1 and T 2 T_2 T 2 to every vertex. The pairs { q , q ′ } \{q,q'\} { q , q ′ } and { w j , y ~ j } \{w_j,\tilde{y}_j\} { w j , y ~ j } are twins (Lemma 4.12 (iii)), so every resolving set contains a vertex of each pair (Lemma 6.1 (ii)); a pattern takes q q q and w 1 , … , w 4 w_1,\ldots,w_4 w 1 , … , w 4 (Definition 4.11). The row w j w_j w j sees a vertex u u u outside its arm only through δ 1 ( u ) \delta_1(u) δ 1 ( u ) and δ 2 ( u ) \delta_2(u) δ 2 ( u ) (Lemma 5.5(iii)). The two positions of the rows of the arms make them read a member u u u of a copy differently: w 3 w_3 w 3 and w 4 w_4 w 4 , at the position 7, read it at 7 + δ 1 ( u ) 7+\delta_1(u) 7 + δ 1 ( u ) , and w 1 w_1 w 1 and w 2 w_2 w 2 , at the position p p p , at min ( p + δ 1 ( u ) , p + 7 + δ 2 ( u ) ) \min(p+\delta_1(u),p+7+\delta_2(u)) min ( p + δ 1 ( u ) , p + 7 + δ 2 ( u )) (Corollary 5.6(iii),(iv)). The rows ρ k , c \rho_{k,c} ρ k , c are the landmarks that patterns place inside the copies, and Lemma 6.2 shows that a resolving set of 2 m + 5 2m+5 2 m + 5 vertices has no vertex inside a copy other than its core.
Definition 4.11 (choices and patterns). Let φ \varphi φ be a restricted formula. A choice is f = ( f 1 , … , f m ) ∈ { 1 , 2 , 3 } m f=(f_1,\ldots,f_m)\in\{1,2,3\}^m f = ( f 1 , … , f m ) ∈ { 1 , 2 , 3 } m ; it selects the option f k f_k f k at each level k k k (Definition 4.2). Its pattern is
W f : = ⋃ k = 1 m { ρ k , c : c ≠ f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } , W_f:=\bigcup_{k=1}^{m}\{\rho_{k,c}:c\ne f_k\}\cup\{q,w_1,w_2,w_3,w_4\}, W f := k = 1 ⋃ m { ρ k , c : c = f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } , a set of 2 m + 5 2m+5 2 m + 5 vertices; the rows ρ k , c \rho_{k,c} ρ k , c and w j w_j w j are defined in Definition 4.8. The copy U k , f k U_{k,f_k} U k , f k of the selected option is the free copy of level k k k , and the two others are its rowed copies.
Lemma 4.12 (structure of G φ G_\varphi G φ ). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definitions 4.6, 4.7 and 4.8).
(i) V ( G ) V(G) V ( G ) is the disjoint union of S S S , { q } \{q\} { q } , the sets int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) of members of the copies, and the sets int ( Y j ) = { y 1 j , … , y D − 1 j , y ~ j } \operatorname{int}(Y^j)=\{y^j_1,\ldots,y^j_{D-1},\widetilde{y}^j\} int ( Y j ) = { y 1 j , … , y D − 1 j , y j } .
(ii) Each U k , c U_{k,c} U k , c is attached at { s k , t k } \{s_k,t_k\} { s k , t k } and each Y j Y^j Y j at { T 1 , T 2 } \{T_1,T_2\} { T 1 , T 2 } (Definition 2.4).
(iii) The five pairs { q , q ′ } \{q,q'\} { q , q ′ } and { w j , y ~ j } \{w_j,\widetilde{y}^j\} { w j , y j } (1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 ) are twins (Definition 2.14); no vertex lies in two of these pairs, and no vertex of a pair lies in int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) for any level k k k and option c c c .
(iv) ∣ V ( G ) ∣ ≤ 78 m 2 + 60 m + 71 |V(G)|\le78m^2+60m+71 ∣ V ( G ) ∣ ≤ 78 m 2 + 60 m + 71 .
Proof. (i) By Definition 4.6, the vertices of G G G are T 1 T_1 T 1 , T 2 T_2 T 2 , the s k s_k s k and t k t_k t k , z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 , q q q , q ′ q' q ′ , the vertices of the copies other than their terminals, and the y i j y^j_i y i j (1 ≤ i ≤ D − 1 1\le i\le D-1 1 ≤ i ≤ D − 1 ) and y ~ j \widetilde{y}^j y j ; and these are pairwise distinct. The vertices of the copies other than their terminals are the members, that is, the vertices of the sets int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) (Definition 4.7). The y i j y^j_i y i j (1 ≤ i ≤ D − 1 1\le i\le D-1 1 ≤ i ≤ D − 1 ) and y ~ j \widetilde{y}^j y j are the vertices of int ( Y j ) = V ( Y j ) ∖ { T 1 , T 2 } \operatorname{int}(Y^j)=V(Y^j)\setminus\{T_1,T_2\} int ( Y j ) = V ( Y j ) ∖ { T 1 , T 2 } (Definitions 2.4 and 4.8). The remaining vertices other than q q q , namely T 1 T_1 T 1 , T 2 T_2 T 2 , the s k s_k s k , t k t_k t k , z i z_i z i and q ′ q' q ′ , form S S S .
(ii) Every edge of G G G is an edge of the frame, of a copy, an edge at q q q or q ′ q' q ′ , or an edge of an arm (Definition 4.6). A member of U k , c U_{k,c} U k , c is a vertex of no other part, so every edge at it is an edge of U k , c U_{k,c} U k , c ; likewise every edge at a vertex of int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) is an edge of Y j Y^j Y j . This is Definition 2.4, with s k ≠ t k s_k\ne t_k s k = t k and T 1 ≠ T 2 T_1\ne T_2 T 1 = T 2 .
(iii) By Definition 4.6, N ( q ) = N ( q ′ ) = { t m , t m − 1 } N(q)=N(q')=\{t_m,t_{m-1}\} N ( q ) = N ( q ′ ) = { t m , t m − 1 } and q , q ′ q,q' q , q ′ are not adjacent, so N ( q ) ∖ { q ′ } = { t m , t m − 1 } = N ( q ′ ) ∖ { q } N(q)\setminus\{q'\}=\{t_m,t_{m-1}\}=N(q')\setminus\{q\} N ( q ) ∖ { q ′ } = { t m , t m − 1 } = N ( q ′ ) ∖ { q } . Next, π j ∈ { p , 7 } \pi_j\in\{p,7\} π j ∈ { p , 7 } , and 7 ≤ 2 m + 4 = p ≤ 4 m + 13 = D − 2 7\le2m+4=p\le4m+13=D-2 7 ≤ 2 m + 4 = p ≤ 4 m + 13 = D − 2 as m ≥ 3 m\ge3 m ≥ 3 (Lemma 4.5(iii)), so 2 ≤ π j ≤ D − 2 2\le\pi_j\le D-2 2 ≤ π j ≤ D − 2 . Hence w j = y ~ π j j w_j=\widetilde{y}^j_{\pi_j} w j = y π j j lies on exactly the edges y π j − 1 j y ~ π j j y^j_{\pi_j-1}\widetilde{y}^j_{\pi_j} y π j − 1 j y π j j and y ~ π j j y π j + 1 j \widetilde{y}^j_{\pi_j}y^j_{\pi_j+1} y π j j y π j + 1 j (the edges of y ~ j \widetilde{y}^j y j go to y ~ j + 1 j \widetilde{y}^j_{j+1} y j + 1 j ), so N ( w j ) = { y π j − 1 j , y π j + 1 j } = N ( y ~ j ) N(w_j)=\{y^j_{\pi_j-1},y^j_{\pi_j+1}\}=N(\widetilde{y}^j) N ( w j ) = { y π j − 1 j , y π j + 1 j } = N ( y j ) . As w j w_j w j and y ~ j \widetilde{y}^j y j are not adjacent, N ( w j ) ∖ { y ~ j } = N ( y ~ j ) ∖ { w j } N(w_j)\setminus\{\widetilde{y}^j\}=N(\widetilde{y}^j)\setminus\{w_j\} N ( w j ) ∖ { y j } = N ( y j ) ∖ { w j } . The last two claims follow from (i): q , q ′ ∈ S ∪ { q } q,q'\in S\cup\{q\} q , q ′ ∈ S ∪ { q } and w j , y ~ j ∈ int ( Y j ) w_j,\widetilde{y}^j\in\operatorname{int}(Y^j) w j , y j ∈ int ( Y j ) . (iv) We count the five sets of (i). ∣ S ∣ = 2 + 2 m + 7 + 1 = 2 m + 10 |S| = 2 + 2m + 7 + 1 = 2m + 10 ∣ S ∣ = 2 + 2 m + 7 + 1 = 2 m + 10 , so ∣ S ∣ + ∣ { q } ∣ = 2 m + 11 |S| + |\{q\}| = 2m + 11 ∣ S ∣ + ∣ { q } ∣ = 2 m + 11 . Each int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) has ( D − 1 ) + 1 = D (D - 1) + 1 = D ( D − 1 ) + 1 = D vertices, so the arms contribute 4 D = 16 m + 60 4D = 16m + 60 4 D = 16 m + 60 . A copy U k , c U_{k,c} U k , c has ( L k − 1 ) + ( μ k + 1 ) + ∑ j ( ℓ j k , c − 1 ) (L_k - 1) + (\mu_k + 1) + \sum_j(\ell_j^{k,c} - 1) ( L k − 1 ) + ( μ k + 1 ) + ∑ j ( ℓ j k , c − 1 ) members, where ℓ j k , c − 1 = 2 j + 1 + 2 ( ζ j − k − μ k ) \ell_j^{k,c} - 1 = 2j + 1 + 2(\zeta_j - k - \mu_k) ℓ j k , c − 1 = 2 j + 1 + 2 ( ζ j − k − μ k ) , ζ 0 < ⋯ \zeta_0 < \cdots ζ 0 < ⋯ being the cells of Z k , c Z_{k,c} Z k , c (Definitions 4.4 and 4.6). As ζ j ≤ 5 m + 5 \zeta_j \le5m + 5 ζ j ≤ 5 m + 5 (Lemma 4.3 (i)) and k ≤ m k \le m k ≤ m ,
ζ j − k − μ k = ζ j − 2 m − 4 + k ≤ ( 5 m + 5 ) − 2 m − 4 + m = 4 m + 1 ≤ 5 m , \zeta_j - k - \mu_k = \zeta_j - 2m - 4 + k \le(5m + 5) - 2m - 4 + m = 4m + 1 \le5m, ζ j − k − μ k = ζ j − 2 m − 4 + k ≤ ( 5 m + 5 ) − 2 m − 4 + m = 4 m + 1 ≤ 5 m ,
so ℓ j k , c − 1 ≤ 2 ⋅ 1 + 1 + 10 m = 10 m + 3 \ell_j^{k,c} - 1 \le2 \cdot1 + 1 + 10m = 10m + 3 ℓ j k , c − 1 ≤ 2 ⋅ 1 + 1 + 10 m = 10 m + 3 , as j ≤ 1 j \le1 j ≤ 1 . With L k − 1 ≤ L 1 − 1 = 4 m + 5 L_k - 1 \le L_1 - 1 = 4m + 5 L k − 1 ≤ L 1 − 1 = 4 m + 5 , μ k + 1 ≤ μ 1 + 1 = 2 m + 3 \mu_k + 1 \le\mu_1 + 1 = 2m + 3 μ k + 1 ≤ μ 1 + 1 = 2 m + 3 and at most two crossings (Lemma 4.3 (ii)), a copy has at most ( 4 m + 5 ) + ( 2 m + 3 ) + 2 ( 10 m + 3 ) = 26 m + 14 (4m+5)+(2m+3)+2(10m+3) = 26m+14 ( 4 m + 5 ) + ( 2 m + 3 ) + 2 ( 10 m + 3 ) = 26 m + 14 members, and the 3 m 3m 3 m copies at most 3 m ( 26 m + 14 ) = 78 m 2 + 42 m 3m(26m+14) = 78m^2+42m 3 m ( 26 m + 14 ) = 78 m 2 + 42 m . The sum is at most ( 2 m + 11 ) + ( 16 m + 60 ) + ( 78 m 2 + 42 m ) = 78 m 2 + 60 m + 71 (2m+11)+(16m+60)+(78m^2+42m) = 78m^2+60m+71 ( 2 m + 11 ) + ( 16 m + 60 ) + ( 78 m 2 + 42 m ) = 78 m 2 + 60 m + 71 .
Distances in G φ G_\varphi G φ
Lemma 5.1 (distances to T 1 T_1 T 1 and T 2 T_2 T 2 ). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6), and let
δ 1 ( u ) : = d ( T 1 , u ) , δ 2 ( u ) : = d ( T 2 , u ) ( u ∈ V ( G ) ) . \delta_1(u) := d(T_1,u), \qquad\delta_2(u) := d(T_2,u) \qquad(u \in V(G)). δ 1 ( u ) := d ( T 1 , u ) , δ 2 ( u ) := d ( T 2 , u ) ( u ∈ V ( G )) .
For a member u u u of a copy U k , c U_{k,c} U k , c , ( h U k , c ( u ) , h ˉ U k , c ( u ) ) = ( d U k , c ( s k , u ) , d U k , c ( t k , u ) ) (h_{U_{k,c}}(u),\bar{h}_{U_{k,c}}(u)) = (d_{U_{k,c}}(s_k,u),d_{U_{k,c}}(t_k,u)) ( h U k , c ( u ) , h ˉ U k , c ( u )) = ( d U k , c ( s k , u ) , d U k , c ( t k , u )) is its profile (Definition 4.7 ). Let F 1 , F 2 : V ( G ) → Z F_1,F_2:V(G)\to\mathbb{Z} F 1 , F 2 : V ( G ) → Z be given by the table
Then G G G is connected, δ 1 = F 1 \delta_1=F_1 δ 1 = F 1 and δ 2 = F 2 \delta_2=F_2 δ 2 = F 2 .
Proof. By Definition 4.6, the vertices of G G G are T 1 T_1 T 1 , T 2 T_2 T 2 , the s k s_k s k , t k t_k t k and z i z_i z i , q q q , q ′ q' q ′ , the members of the copies, the y j i y_j^i y j i (1 ≤ i ≤ D − 1 1 \le i \le D-1 1 ≤ i ≤ D − 1 ) and the y ~ j \tilde{y}_j y ~ j , and these are pairwise distinct; the members of U k , c U_{k,c} U k , c form int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) (Definition 4.7 ). So the table (T1) lists every vertex of G G G exactly once, and F 1 , F 2 F_1,F_2 F 1 , F 2 are well defined. We check the conditions (a)–(c) of Lemma 2.3 for F 1 F_1 F 1 with o : = T 1 o := T_1 o := T 1 , and for F 2 F_2 F 2 with o : = T 2 o := T_2 o := T 2 . These conditions involve only the values of F 1 , F 2 F_1,F_2 F 1 , F 2 at a vertex and at its neighbours, so steps (1)–(5) use no distance of G G G . Distances of G G G appear only in (6), as the conclusion of Lemma 2.3.
(1) Condition (a). By the table (T1), F 1 ( T 1 ) = 0 F_1(T_1)=0 F 1 ( T 1 ) = 0 and F 2 ( T 2 ) = 0 F_2(T_2)=0 F 2 ( T 2 ) = 0 .
(2) The formulas of a copy. Let U : = U k , c U := U_{k,c} U := U k , c . For a member u u u of U U U , that is, u ∈ int ( U ) u \in\operatorname{int}(U) u ∈ int ( U ) , the table (T1) gives F 1 ( u ) = k + h U ( u ) F_1(u)=k+h_U(u) F 1 ( u ) = k + h U ( u ) and F 2 ( u ) = 7 + k + h ˉ U ( u ) F_2(u)=7+k+\bar{h}_U(u) F 2 ( u ) = 7 + k + h ˉ U ( u ) . By Definition 2.8 , applied to U U U with the terminals s k s_k s k and t k t_k t k (Definition 4.7 ), h U ( u ) = d U ( s k , u ) h_U(u)=d_U(s_k,u) h U ( u ) = d U ( s k , u ) and h ˉ U ( u ) = d U ( t k , u ) \bar{h}_U(u)=d_U(t_k,u) h ˉ U ( u ) = d U ( t k , u ) , which are distances in U U U , not in G G G . At the terminals, the table (T1) gives other formulas, with the same values. By Lemmas 3.6 (i) and 4.9(ii), taken at v 0 k , c = s k v_{0}^{k,c}=s_k v 0 k , c = s k and at v L k k , c = t k v_{L_k}^{k,c}=t_k v L k k , c = t k ,
( h U , h ˉ U ) ( s k ) = ( 0 , L k ) , ( h U , h ˉ U ) ( t k ) = ( L k , 0 ) . (h_U,\bar{h}_U)(s_k)=(0,L_k), \qquad(h_U,\bar{h}_U)(t_k)=(L_k,0). ( h U , h ˉ U ) ( s k ) = ( 0 , L k ) , ( h U , h ˉ U ) ( t k ) = ( L k , 0 ) .
With L k = D − 7 − 2 k L_k=D-7-2k L k = D − 7 − 2 k (Lemma 4.5 (i)) and the values of F 1 F_1 F 1 and F 2 F_2 F 2 at s k s_k s k and t k t_k t k given in the table (T1),
k + h U ( s k ) = k = F 1 ( s k ) , 7 + k + h ˉ U ( s k ) = 7 + k + L k = D − k = F 2 ( s k ) , k + h U ( t k ) = k + L k = D − 7 − k = F 1 ( t k ) , 7 + k + h ˉ U ( t k ) = 7 + k = F 2 ( t k ) . \begin{aligned}
k+h_U(s_k)&=k=F_1(s_k), & 7+k+\bar{h}_U(s_k)&=7+k+L_k=D-k=F_2(s_k),\\
k+h_U(t_k)&=k+L_k=D-7-k=F_1(t_k), & 7+k+\bar{h}_U(t_k)&=7+k=F_2(t_k).
\end{aligned} k + h U ( s k ) k + h U ( t k ) = k = F 1 ( s k ) , = k + L k = D − 7 − k = F 1 ( t k ) , 7 + k + h ˉ U ( s k ) 7 + k + h ˉ U ( t k ) = 7 + k + L k = D − k = F 2 ( s k ) , = 7 + k = F 2 ( t k ) .
Hence, for every vertex u u u of U U U ,
F 1 ( u ) = k + h U ( u ) = k + d U ( s k , u ) , F 2 ( u ) = 7 + k + h ˉ U ( u ) = 7 + k + d U ( t k , u ) . (2) F_1(u)=k+h_U(u)=k+d_U(s_k,u), \qquad F_2(u)=7+k+\bar{h}_U(u)=7+k+d_U(t_k,u). \tag*{(2)} F 1 ( u ) = k + h U ( u ) = k + d U ( s k , u ) , F 2 ( u ) = 7 + k + h ˉ U ( u ) = 7 + k + d U ( t k , u ) . (2)
(3) Condition (b): along every edge, F 1 F_1 F 1 and F 2 F_2 F 2 change by at most one. By Definition 4.6, every edge of G G G is an edge of the frame, of a copy, an edge at q q q or q ′ q' q ′ , or of an arm.
The edges outside the copies. In the table (T2) below, the first six lines are the edges of the frame, the next two the four edges at q q q and q ′ q' q ′ , and the last five the edges of the arms; by Definition 4.6, these are all the edges outside the copies. For an edge x y xy x y , the table (T2) gives the values at x x x and at y y y , then the differences F 1 ( y ) − F 1 ( x ) F_1(y)-F_1(x) F 1 ( y ) − F 1 ( x ) and F 2 ( y ) − F 2 ( x ) F_2(y)-F_2(x) F 2 ( y ) − F 2 ( x ) :
Table T2.
Each value is the formula of the table (T1) at that vertex. At the vertices with a shifted index:
F 1 ( s k + 1 ) = k + 1 , F 2 ( s k + 1 ) = D − ( k + 1 ) = D − k − 1 , F 1 ( t k + 1 ) = D − 7 − ( k + 1 ) = D − 8 − k , F 2 ( t k + 1 ) = 7 + ( k + 1 ) = 8 + k , F 1 ( t 1 ) = D − 7 − 1 = D − 8 , F 2 ( t 1 ) = 7 + 1 = 8 , F 1 ( z 1 ) = D − 8 + 1 = D − 7 , F 2 ( z 1 ) = 8 − 1 = 7 , F 1 ( z i + 1 ) = D − 8 + ( i + 1 ) = D − 7 + i , F 2 ( z i + 1 ) = 8 − ( i + 1 ) = 7 − i , F 1 ( z 7 ) = D − 8 + 7 = D − 1 , F 2 ( z 7 ) = 8 − 7 = 1 , F 1 ( y 1 j ) = 1 , F 2 ( y 1 j ) = D − 1 , F 1 ( y i + 1 j ) = i + 1 , F 2 ( y i + 1 j ) = D − ( i + 1 ) = D − i − 1 , F 1 ( y D − 1 j ) = D − 1 , F 2 ( y D − 1 j ) = D − ( D − 1 ) = 1 , F 1 ( y π j ± 1 j ) = π j ± 1 , F 2 ( y π j ± 1 j ) = D − ( π j ± 1 ) = D − π j ∓ 1. \begin{aligned}
F_1(s_{k+1}) &= k+1, & F_2(s_{k+1}) &= D-(k+1)=D-k-1,\\
F_1(t_{k+1}) &= D-7-(k+1)=D-8-k, & F_2(t_{k+1}) &= 7+(k+1)=8+k,\\
F_1(t_1) &= D-7-1=D-8, & F_2(t_1) &= 7+1=8,\\
F_1(z_1) &= D-8+1=D-7, & F_2(z_1) &= 8-1=7,\\
F_1(z_{i+1}) &= D-8+(i+1)=D-7+i, & F_2(z_{i+1}) &= 8-(i+1)=7-i,\\
F_1(z_7) &= D-8+7=D-1, & F_2(z_7) &= 8-7=1,\\
F_1(y_1^j) &= 1, & F_2(y_1^j) &= D-1,\\
F_1(y_{i+1}^j) &= i+1, & F_2(y_{i+1}^j) &= D-(i+1)=D-i-1,\\
F_1(y_{D-1}^j) &= D-1, & F_2(y_{D-1}^j) &= D-(D-1)=1,\\
F_1(y_{\pi_j\pm1}^j) &= \pi_j\pm1, & F_2(y_{\pi_j\pm1}^j) &= D-(\pi_j\pm1)=D-\pi_j\mp1.
\end{aligned} F 1 ( s k + 1 ) F 1 ( t k + 1 ) F 1 ( t 1 ) F 1 ( z 1 ) F 1 ( z i + 1 ) F 1 ( z 7 ) F 1 ( y 1 j ) F 1 ( y i + 1 j ) F 1 ( y D − 1 j ) F 1 ( y π j ± 1 j ) = k + 1 , = D − 7 − ( k + 1 ) = D − 8 − k , = D − 7 − 1 = D − 8 , = D − 8 + 1 = D − 7 , = D − 8 + ( i + 1 ) = D − 7 + i , = D − 8 + 7 = D − 1 , = 1 , = i + 1 , = D − 1 , = π j ± 1 , F 2 ( s k + 1 ) F 2 ( t k + 1 ) F 2 ( t 1 ) F 2 ( z 1 ) F 2 ( z i + 1 ) F 2 ( z 7 ) F 2 ( y 1 j ) F 2 ( y i + 1 j ) F 2 ( y D − 1 j ) F 2 ( y π j ± 1 j ) = D − ( k + 1 ) = D − k − 1 , = 7 + ( k + 1 ) = 8 + k , = 7 + 1 = 8 , = 8 − 1 = 7 , = 8 − ( i + 1 ) = 7 − i , = 8 − 7 = 1 , = D − 1 , = D − ( i + 1 ) = D − i − 1 , = D − ( D − 1 ) = 1 , = D − ( π j ± 1 ) = D − π j ∓ 1.
For the arms, the values F 1 ( y π j ± 1 j ) = π j ± 1 F_1(y_{\pi_j\pm1}^j)=\pi_j\pm1 F 1 ( y π j ± 1 j ) = π j ± 1 and F 2 ( y π j ± 1 j ) = D − π j ∓ 1 F_2(y_{\pi_j\pm1}^j)=D-\pi_j\mp1 F 2 ( y π j ± 1 j ) = D − π j ∓ 1 need 1 ≤ π j ± 1 ≤ D − 1 1\le\pi_j\pm1\le D-1 1 ≤ π j ± 1 ≤ D − 1 . This holds as π j ∈ { p , 7 } \pi_j\in\{p,7\} π j ∈ { p , 7 } (Definition 4.6), and 2 ≤ 7 ≤ D − 2 2\le7\le D-2 2 ≤ 7 ≤ D − 2 and 2 ≤ p = 2 m + 4 ≤ 4 m + 13 = D − 2 2\le p=2m+4\le4m+13=D-2 2 ≤ p = 2 m + 4 ≤ 4 m + 13 = D − 2 (Definition 4.4 ). In the last column, every difference is − 1 -1 − 1 , 0 0 0 or 1 1 1 .
The edges of a copy. Let u u ′ uu' u u ′ be an edge of a copy U : = U k , c U:=U_{k,c} U := U k , c . By ( ∗ ) (*) ( ∗ ) and the triangle inequality in U U U (Definition 2.1),
F 1 ( u ) − k = d U ( s k , u ) ≤ d U ( s k , u ′ ) + d U ( u ′ , u ) = ( F 1 ( u ′ ) − k ) + 1 , F_1(u)-k=d_U(s_k,u)\le d_U(s_k,u')+d_U(u',u)=(F_1(u')-k)+1, F 1 ( u ) − k = d U ( s k , u ) ≤ d U ( s k , u ′ ) + d U ( u ′ , u ) = ( F 1 ( u ′ ) − k ) + 1 ,
so F 1 ( u ) − F 1 ( u ′ ) ≤ 1 F_1(u)-F_1(u')\le1 F 1 ( u ) − F 1 ( u ′ ) ≤ 1 ; exchanging u u u and u ′ u' u ′ gives F 1 ( u ′ ) − F 1 ( u ) ≤ 1 F_1(u')-F_1(u)\le1 F 1 ( u ′ ) − F 1 ( u ) ≤ 1 . Likewise for F 2 F_2 F 2 , taking t k t_k t k and 7 + k 7+k 7 + k in place of s k s_k s k and k k k .
(4) Condition (c) for $F_1 : every vertex x ≠ T 1 x\ne T_1 x = T 1 has a neighbour x ′ x' x ′ with F 1 ( x ′ ) = F 1 ( x ) − 1 F_1(x')=F_1(x)-1 F 1 ( x ′ ) = F 1 ( x ) − 1 . By Definition 4.6, every vertex x ≠ T 1 x\ne T_1 x = T 1 of G G G either is listed in the first column of the table (T3) below, or is t m t_m t m , or is a member of a copy. We treat the three cases in turn.
The vertices of the table. For each x x x , the table (T3) gives x ′ x' x ′ . The pair x , x ′ x,x' x , x ′ is an edge in the table (T2), and the values are the ones computed there:
Table T3.
In each line, F 1 ( x ′ ) = F 1 ( x ) − 1 F_1(x')=F_1(x)-1 F 1 ( x ′ ) = F 1 ( x ) − 1 .
The vertex t m t_m t m . As m ≥ 3 m \ge3 m ≥ 3 (Lemma 4.5 (iii)), its neighbours outside the copies are t m − 1 t_{m-1} t m − 1 , q q q and q ′ q^{\prime} q ′ ; by the table (T2), they have the value D − 6 − m = F 1 ( t m ) + 1 D-6-m=F_1(t_m)+1 D − 6 − m = F 1 ( t m ) + 1 . So we take x ′ x^{\prime} x ′ in a copy. Let x ′ : = v L m − 1 m , 1 x^{\prime}:=v_{L_m-1}^{m,1} x ′ := v L m − 1 m , 1 , the neighbour of t m = v L m m , 1 t_m=v_{L_m}^{m,1} t m = v L m m , 1 on the spine of U m , 1 U_{m,1} U m , 1 (Definition 4.6); any option of level m m m would do. By Lemmas 3.6 (i) and 4.9 (ii), h U m , 1 ( x ′ ) = L m − 1 h_{U_{m,1}}(x^{\prime})=L_m-1 h U m , 1 ( x ′ ) = L m − 1 . So by ( ∗ ) (*) ( ∗ ) and L m = D − 7 − 2 m L_m=D-7-2m L m = D − 7 − 2 m (Lemma 4.5 (i)),
F 1 ( x ′ ) = m + ( L m − 1 ) = m + ( D − 7 − 2 m ) − 1 = D − 8 − m = F 1 ( t m ) − 1. F_1(x^{\prime})=m+(L_m-1)=m+(D-7-2m)-1=D-8-m=F_1(t_m)-1. F 1 ( x ′ ) = m + ( L m − 1 ) = m + ( D − 7 − 2 m ) − 1 = D − 8 − m = F 1 ( t m ) − 1.
The members of the copies. Let x x x be a member of a copy U : = U k , c U:=U_{k,c} U := U k , c . The copy U U U is connected (Lemma 4.10 (i)), and x ≠ s k x\ne s_k x = s k . So there is a shortest s k s_k s k –x x x path P P P of U U U , with h U ( x ) = d U ( s k , x ) ≥ 1 h_U(x)=d_U(s_k,x)\ge1 h U ( x ) = d U ( s k , x ) ≥ 1 edges. Let x ′ x^{\prime} x ′ be the vertex before x x x on P P P ; then x ′ x x^{\prime}x x ′ x is an edge of U U U . The part of P P P from s k s_k s k to x ′ x^{\prime} x ′ has h U ( x ) − 1 h_U(x)-1 h U ( x ) − 1 edges, so h U ( x ′ ) ≤ h U ( x ) − 1 h_U(x^{\prime})\le h_U(x)-1 h U ( x ′ ) ≤ h U ( x ) − 1 . By the triangle inequality in U U U (Definition 2.1),
h U ( x ) ≤ h U ( x ′ ) + d U ( x ′ , x ) = h U ( x ′ ) + 1. h_U(x)\le h_U(x^{\prime})+d_U(x^{\prime},x)=h_U(x^{\prime})+1. h U ( x ) ≤ h U ( x ′ ) + d U ( x ′ , x ) = h U ( x ′ ) + 1.
Hence h U ( x ′ ) = h U ( x ) − 1 h_U(x^{\prime})=h_U(x)-1 h U ( x ′ ) = h U ( x ) − 1 . The vertex x ′ x^{\prime} x ′ is a member of U U U or one of its terminals s k , t k s_k,t_k s k , t k ; in both cases ( ∗ ) (*) ( ∗ ) applies, as it holds at every vertex of U U U . So
F 1 ( x ′ ) = k + h U ( x ′ ) = k + ( h U ( x ) − 1 ) = ( k + h U ( x ) ) − 1 = F 1 ( x ) − 1. F_1(x^{\prime})=k+h_U(x^{\prime})=k+(h_U(x)-1)=(k+h_U(x))-1=F_1(x)-1. F 1 ( x ′ ) = k + h U ( x ′ ) = k + ( h U ( x ) − 1 ) = ( k + h U ( x )) − 1 = F 1 ( x ) − 1.
(5) *Condition (c) for F 2 F_2 F 2 : every vertex x ≠ T 2 x\ne T_2 x = T 2 has a neighbour x ′ x^{\prime} x ′ with F 2 ( x ′ ) = F 2 ( x ) − 1. ∗ B y x r e f ‘ D e f i n i t i o n 4.6 ‘ , e v e r y v e r t e x F_2(x^{\prime})=F_2(x)-1.* By {xref}`Definition 4.6`, every vertex F 2 ( x ′ ) = F 2 ( x ) − 1. ∗ B y x r e f ‘ D e f ini t i o n 4.6‘ , e v er y v er t e x x\ne T_2$ of G G G either is listed in the first column of the table (T4) below, or is s m s_m s m , or is a member of a copy. We treat the three cases in turn.
The vertices of the table. For each x x x , the table (T4) gives x ′ x^{\prime} x ′ . The pair x , x ′ x,x^{\prime} x , x ′ is an edge in the table (T2), and the values are the ones computed there:
Table T4.
In each line, F 2 ( x ′ ) = F 2 ( x ) − 1 F_2(x^{\prime})=F_2(x)-1 F 2 ( x ′ ) = F 2 ( x ) − 1 .
The vertex s m s_m s m . As m ≥ 3 m\ge3 m ≥ 3 (Lemma 4.5 (iii)), its only neighbour outside the copies is s m − 1 s_{m-1} s m − 1 ; by the table (T2), it has the value D − m + 1 = F 2 ( s m ) + 1 D-m+1=F_2(s_m)+1 D − m + 1 = F 2 ( s m ) + 1 . So we take x ′ x^{\prime} x ′ in a copy. Let x ′ : = v 1 m , 1 x^{\prime}:=v_1^{m,1} x ′ := v 1 m , 1 , the neighbour of s m = v 0 m , 1 s_m=v_0^{m,1} s m = v 0 m , 1 on the spine of U m , 1 U_{m,1} U m , 1 (Definition 4.6); any option of level m m m would do. By Lemmas 3.6 (i) and 4.9 (ii), h ˉ U m , 1 ( x ′ ) = L m − 1 \bar{h}_{U_{m,1}}(x^{\prime})=L_m-1 h ˉ U m , 1 ( x ′ ) = L m − 1 . So by ( ∗ ) (*) ( ∗ ) and L m = D − 7 − 2 m L_m=D-7-2m L m = D − 7 − 2 m (Lemma 4.5 (i)),
F 2 ( x ′ ) = 7 + m + ( L m − 1 ) = 7 + m + ( D − 7 − 2 m ) − 1 = D − m − 1 = F 2 ( s m ) − 1. F_2(x^{\prime})=7+m+(L_m-1)=7+m+(D-7-2m)-1=D-m-1=F_2(s_m)-1. F 2 ( x ′ ) = 7 + m + ( L m − 1 ) = 7 + m + ( D − 7 − 2 m ) − 1 = D − m − 1 = F 2 ( s m ) − 1.
The members of the copies. Let x x x be a member of a copy U : = U k , c U:=U_{k,c} U := U k , c . As in (4), taking t k t_k t k and h ˉ U \bar{h}_U h ˉ U in place of s k s_k s k and h U h_U h U , the vertex x ′ x^{\prime} x ′ before x x x on a shortest t k t_k t k –x x x path of U U U has h ˉ U ( x ′ ) = h ˉ U ( x ) − 1 \bar{h}_U(x^{\prime})=\bar{h}_U(x)-1 h ˉ U ( x ′ ) = h ˉ U ( x ) − 1 . So F 2 ( x ′ ) = F 2 ( x ) − 1 F_2(x^{\prime})=F_2(x)-1 F 2 ( x ′ ) = F 2 ( x ) − 1 , by ( ∗ ) (*) ( ∗ ) .
(6) Conclusion. By (1), (3), (4), (5) and Lemma 2.3, G G G is connected, δ 1 = F 1 \delta_1=F_1 δ 1 = F 1 and δ 2 = F 2 \delta_2=F_2 δ 2 = F 2 .
Lemma 5.2 (distances on the frame). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). For 1 ≤ j , k ≤ m 1 \le j,k \le m 1 ≤ j , k ≤ m and 1 ≤ i ≤ 7 1 \le i \le7 1 ≤ i ≤ 7 :
(i) d ( s j , s k ) = d ( t j , t k ) = ∣ j − k ∣ d(s_j,s_k) = d(t_j,t_k) = \lvert j-k\rvert d ( s j , s k ) = d ( t j , t k ) = ∣ j − k ∣ ;
(ii) d ( s j , t k ) = L max ( j , k ) + ∣ j − k ∣ = D − 7 − j − k d(s_j,t_k) = L_{\max(j,k)} + \lvert j-k\rvert= D - 7 - j - k d ( s j , t k ) = L m a x ( j , k ) + ∣ j − k ∣ = D − 7 − j − k ;
(iii) d ( t 1 , z i ) = i d(t_1,z_i) = i d ( t 1 , z i ) = i ;
(iv) d ( T 1 , T 2 ) = D d(T_1,T_2) = D d ( T 1 , T 2 ) = D .
Proof. We prove each equality with a path of G G G for the upper bound and the triangle inequality for the lower bound. For vertices o , x , y o,x,y o , x , y of G G G , the triangle inequality (Definition 2.1) gives d ( o , y ) ≤ d ( o , x ) + d ( x , y ) d(o,y) \le d(o,x) + d(x,y) d ( o , y ) ≤ d ( o , x ) + d ( x , y ) , that is,
d ( x , y ) ≥ d ( o , y ) − d ( o , x ) . d(x,y) \ge d(o,y) - d(o,x). d ( x , y ) ≥ d ( o , y ) − d ( o , x ) .
We take o = T 1 o = T_1 o = T 1 or o = T 2 o = T_2 o = T 2 , so that d ( o , ⋅ ) d(o,\cdot) d ( o , ⋅ ) is δ 1 \delta_1 δ 1 or δ 2 \delta_2 δ 2 , given by the table (T1) of Lemma 5.1.
(1) We first compute the right-hand side of (ii). By Lemma 4.5 (i), L k = D − 7 − 2 k L_k = D - 7 - 2k L k = D − 7 − 2 k for every level k k k . Since 2 max ( j , k ) − ∣ j − k ∣ = j + k 2\max(j,k) - \lvert j-k\rvert= j+k 2 max ( j , k ) − ∣ j − k ∣ = j + k , we get
L max ( j , k ) + ∣ j − k ∣ = D − 7 − 2 max ( j , k ) + ∣ j − k ∣ = D − 7 − j − k . L_{\max(j,k)} + \lvert j-k\rvert= D - 7 - 2\max(j,k) + \lvert j-k\rvert= D - 7 - j-k. L m a x ( j , k ) + ∣ j − k ∣ = D − 7 − 2 max ( j , k ) + ∣ j − k ∣ = D − 7 − j − k .
(2) We prove (i). By symmetry we may assume j ≤ k j \le k j ≤ k . The frame contains the paths s j , s j + 1 , … , s k s_j,s_{j+1},\ldots,s_k s j , s j + 1 , … , s k and t k , t k − 1 , … , t j t_k,t_{k-1},\ldots,t_j t k , t k − 1 , … , t j (Definition 4.6). Each has k − j k-j k − j edges, so d ( s j , s k ) ≤ k − j d(s_j,s_k) \le k-j d ( s j , s k ) ≤ k − j and d ( t j , t k ) ≤ k − j d(t_j,t_k) \le k-j d ( t j , t k ) ≤ k − j . Conversely, the triangle inequality with o = T 1 o = T_1 o = T 1 and with o = T 2 o = T_2 o = T 2 gives
d ( s j , s k ) ≥ δ 1 ( s k ) − δ 1 ( s j ) = k − j , d ( t j , t k ) ≥ δ 2 ( t k ) − δ 2 ( t j ) = ( 7 + k ) − ( 7 + j ) = k − j . d(s_j,s_k) \ge\delta_1(s_k) - \delta_1(s_j) = k-j,\qquad d(t_j,t_k) \ge\delta_2(t_k) - \delta_2(t_j) = (7+k) - (7+j) = k-j. d ( s j , s k ) ≥ δ 1 ( s k ) − δ 1 ( s j ) = k − j , d ( t j , t k ) ≥ δ 2 ( t k ) − δ 2 ( t j ) = ( 7 + k ) − ( 7 + j ) = k − j .
With the upper bounds, this proves (i).
(3) We prove (ii). Suppose first that j ≤ k j \le k j ≤ k . We go from s j s_j s j to s k s_k s k along the frame, with k − j k-j k − j edges. Then we go from s k s_k s k to t k t_k t k along the spine s k = v 0 k , 1 , … , v L k k , 1 = t k s_k = v^{k,1}_0,\ldots,v^{k,1}_{L_k} = t_k s k = v 0 k , 1 , … , v L k k , 1 = t k of U k , 1 U_{k,1} U k , 1 (Definition 4.6), with L k L_k L k edges. This path has ( k − j ) + L k = L max ( j , k ) + ∣ j − k ∣ (k-j) + L_k = L_{\max(j,k)} + \lvert j-k\rvert ( k − j ) + L k = L m a x ( j , k ) + ∣ j − k ∣ edges. Suppose now that j > k j > k j > k . We go from s j s_j s j to t j t_j t j along the spine of U j , 1 U_{j,1} U j , 1 , with L j L_j L j edges. Then we go from t j t_j t j to t k t_k t k along the frame, with j − k j-k j − k edges. This path has L j + ( j − k ) = L max ( j , k ) + ∣ j − k ∣ L_j + (j-k) = L_{\max(j,k)} + \lvert j-k\rvert L j + ( j − k ) = L m a x ( j , k ) + ∣ j − k ∣ edges. In both cases, by (1),
d ( s j , t k ) ≤ L max ( j , k ) + ∣ j − k ∣ = D − 7 − j − k . d(s_j,t_k) \le L_{\max(j,k)} + \lvert j-k\rvert= D - 7 - j-k. d ( s j , t k ) ≤ L m a x ( j , k ) + ∣ j − k ∣ = D − 7 − j − k .
Conversely, the triangle inequality with o = T 1 o = T_1 o = T 1 gives, for all j j j and k k k ,
d ( s j , t k ) ≥ δ 1 ( t k ) − δ 1 ( s j ) = ( D − 7 − k ) − j = D − 7 − j − k . d(s_j,t_k) \ge\delta_1(t_k) - \delta_1(s_j) = (D - 7 - k) - j = D - 7 - j-k. d ( s j , t k ) ≥ δ 1 ( t k ) − δ 1 ( s j ) = ( D − 7 − k ) − j = D − 7 − j − k .
With the upper bound, this proves (ii).
(4) We prove (iii). The path t 1 , z 1 , … , z i t_1,z_1,\ldots,z_i t 1 , z 1 , … , z i of the frame has i i i edges, so d ( t 1 , z i ) ≤ i d(t_1,z_i) \le i d ( t 1 , z i ) ≤ i . Conversely, the triangle inequality with o = T 2 o = T_2 o = T 2 gives
d ( t 1 , z i ) ≥ δ 2 ( t 1 ) − δ 2 ( z i ) = 8 − ( 8 − i ) = i . d(t_1,z_i) \ge\delta_2(t_1) - \delta_2(z_i) = 8 - (8-i) = i. d ( t 1 , z i ) ≥ δ 2 ( t 1 ) − δ 2 ( z i ) = 8 − ( 8 − i ) = i .
With the upper bound, this proves (iii).
(5) Finally, (iv) is a value of the table (T1): d ( T 1 , T 2 ) = δ 1 ( T 2 ) = D d(T_1,T_2) = \delta_1(T_2) = D d ( T 1 , T 2 ) = δ 1 ( T 2 ) = D .
:::
Lemma 5.3 (the copies are isometric). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). Let k k k be a level and c c c an option, with h U k , c ( u ) = d U k , c ( s k , u ) h_{U_{k,c}}(u) = d_{U_{k,c}}(s_k,u) h U k , c ( u ) = d U k , c ( s k , u ) and h ˉ U k , c ( u ) = d U k , c ( t k , u ) \bar{h}_{U_{k,c}}(u) = d_{U_{k,c}}(t_k,u) h ˉ U k , c ( u ) = d U k , c ( t k , u ) for u ∈ V ( U k , c ) u \in V(U_{k,c}) u ∈ V ( U k , c ) (Definition 4.7); let α = 2 m + 5 \alpha= 2m + 5 α = 2 m + 5 and β k = 2 m + 5 − 2 k \beta_k = 2m + 5 - 2k β k = 2 m + 5 − 2 k be the numbers of Definition 4.4, and ρ k , c = r 1 k , c \rho_{k,c} = r^{k,c}_1 ρ k , c = r 1 k , c the core of U k , c U_{k,c} U k , c (Definition 4.8).
(i) d ( u , u ′ ) = d U k , c ( u , u ′ ) d(u,u') = d_{U_{k,c}}(u,u') d ( u , u ′ ) = d U k , c ( u , u ′ ) for all u , u ′ ∈ V ( U k , c ) u,u' \in V(U_{k,c}) u , u ′ ∈ V ( U k , c ) .
(ii) d ( s k , u ) = h U k , c ( u ) d(s_k,u) = h_{U_{k,c}}(u) d ( s k , u ) = h U k , c ( u ) and d ( t k , u ) = h ˉ U k , c ( u ) d(t_k,u) = \bar{h}_{U_{k,c}}(u) d ( t k , u ) = h ˉ U k , c ( u ) for every u ∈ V ( U k , c ) u \in V(U_{k,c}) u ∈ V ( U k , c ) .
(iii) ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) (h_{U_{k,c}},\bar{h}_{U_{k,c}})(\rho_{k,c}) = (\alpha,\beta_k) ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) . d ( ρ k , c , s k ) = α d(\rho_{k,c},s_k) = \alpha d ( ρ k , c , s k ) = α and d ( ρ k , c , t k ) = β k d(\rho_{k,c},t_k) = \beta_k d ( ρ k , c , t k ) = β k .
(iv) For every member u ≠ ρ k , c u \ne\rho_{k,c} u = ρ k , c of U k , c U_{k,c} U k , c ,
d ( ρ k , c , u ) < min ( α + h U k , c ( u ) , β k + h ˉ U k , c ( u ) ) . d(\rho_{k,c},u) < \min(\alpha+ h_{U_{k,c}}(u),\ \beta_k + \bar{h}_{U_{k,c}}(u)). d ( ρ k , c , u ) < min ( α + h U k , c ( u ) , β k + h ˉ U k , c ( u )) .
Proof. Let U : = U k , c U := U_{k,c} U := U k , c . We prove (i) with Lemma 2.7, and (ii) follows from (i). Then (iii) and (iv) are Lemma 4.10(ii), moved to G G G by (i) and (ii).
(1) We prove (i). We apply Lemma 2.7 to G G G and X : = U X := U X := U , with s : = s k s := s_k s := s k and t : = t k t := t_k t := t k , and we check its four hypotheses.
First, by Lemma 5.1, G G G is connected. Second, by Lemma 4.10(i), U U U is connected. Third, by Lemma 4.12(ii), U U U is attached at { s k , t k } \{s_k,t_k\} { s k , t k } .
Finally, we show d G − int ( U ) ( s k , t k ) ≥ d U ( s k , t k ) d_{G-\operatorname{int}(U)}(s_k,t_k) \ge d_U(s_k,t_k) d G − int ( U ) ( s k , t k ) ≥ d U ( s k , t k ) . Every path of G − int ( U ) G-\operatorname{int}(U) G − int ( U ) is a path of G G G , so
d G − int ( U ) ( s k , t k ) ≥ d ( s k , t k ) . d_{G-\operatorname{int}(U)}(s_k,t_k) \ge d(s_k,t_k). d G − int ( U ) ( s k , t k ) ≥ d ( s k , t k ) .
By Lemma 5.2(ii) with j = k j = k j = k ,
d ( s k , t k ) = L max ( k , k ) + ∣ k − k ∣ = L k . d(s_k,t_k) = L_{\max(k,k)} + |k-k| = L_k. d ( s k , t k ) = L m a x ( k , k ) + ∣ k − k ∣ = L k .
By Lemma 4.10(i), d U ( s k , t k ) = L k d_U(s_k,t_k) = L_k d U ( s k , t k ) = L k . Hence d G − int ( U ) ( s k , t k ) ≥ d ( s k , t k ) = L k = d U ( s k , t k ) d_{G-\operatorname{int}(U)}(s_k,t_k) \ge d(s_k,t_k) = L_k = d_U(s_k,t_k) d G − int ( U ) ( s k , t k ) ≥ d ( s k , t k ) = L k = d U ( s k , t k ) .
So the hypotheses of Lemma 2.7 hold, and it gives d ( u , u ′ ) = d U ( u , u ′ ) d(u,u') = d_U(u,u') d ( u , u ′ ) = d U ( u , u ′ ) for all u , u ′ ∈ V ( U ) u,u' \in V(U) u , u ′ ∈ V ( U ) , which is (i).
(2) We prove (ii). Let u ∈ V ( U ) u \in V(U) u ∈ V ( U ) . By (i) with u ′ = s k u' = s_k u ′ = s k and with u ′ = t k u' = t_k u ′ = t k , and by Definition 4.7,
d ( s k , u ) = d U ( s k , u ) = h U ( u ) , d ( t k , u ) = d U ( t k , u ) = h ˉ U ( u ) . d(s_k,u) = d_U(s_k,u) = h_U(u), \qquad d(t_k,u) = d_U(t_k,u) = \bar{h}_U(u). d ( s k , u ) = d U ( s k , u ) = h U ( u ) , d ( t k , u ) = d U ( t k , u ) = h ˉ U ( u ) .
(3) We prove (iii). By Lemma 4.10(ii), ( h U , h ˉ U ) ( ρ k , c ) = ( α , β k ) (h_U,\bar{h}_U)(\rho_{k,c}) = (\alpha,\beta_k) ( h U , h ˉ U ) ( ρ k , c ) = ( α , β k ) . By (ii) at u = ρ k , c u = \rho_{k,c} u = ρ k , c , d ( s k , ρ k , c ) = h U ( ρ k , c ) = α d(s_k,\rho_{k,c}) = h_U(\rho_{k,c}) = \alpha d ( s k , ρ k , c ) = h U ( ρ k , c ) = α and d ( t k , ρ k , c ) = h ˉ U ( ρ k , c ) = β k d(t_k,\rho_{k,c}) = \bar{h}_U(\rho_{k,c}) = \beta_k d ( t k , ρ k , c ) = h ˉ U ( ρ k , c ) = β k . This proves (iii).
(4) We prove (iv). Let u ≠ ρ k , c u \ne\rho_{k,c} u = ρ k , c be a member of U U U . By (i) and Lemma 4.10(ii),
d ( ρ k , c , u ) = d U ( ρ k , c , u ) < min ( α + h U ( u ) , β k + h ˉ U ( u ) ) . d(\rho_{k,c},u) = d_U(\rho_{k,c},u) < \min(\alpha+ h_U(u),\ \beta_k + \bar{h}_U(u)). d ( ρ k , c , u ) = d U ( ρ k , c , u ) < min ( α + h U ( u ) , β k + h ˉ U ( u )) .
This proves (iv). □
Lemma 5.4 (first-exit readings). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6), with δ 1 = d ( T 1 , ⋅ ) \delta_1 = d(T_1, \cdot) δ 1 = d ( T 1 , ⋅ ) and δ 2 = d ( T 2 , ⋅ ) \delta_2 = d(T_2, \cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1).
(i) Let k k k be a level, c c c an option, u u u a member of U k , c U_{k,c} U k , c , with the profile ( h U k , c ( u ) , h ˉ U k , c ( u ) ) = ( d U k , c ( s k , u ) , d U k , c ( t k , u ) ) (h_{U_{k,c}}(u), \bar{h}_{U_{k,c}}(u)) = (d_{U_{k,c}}(s_k,u), d_{U_{k,c}}(t_k,u)) ( h U k , c ( u ) , h ˉ U k , c ( u )) = ( d U k , c ( s k , u ) , d U k , c ( t k , u )) of Definition 4.7 , and w ∈ V ( G ) ∖ int ( U k , c ) w \in V(G) \setminus\operatorname{int}(U_{k,c}) w ∈ V ( G ) ∖ int ( U k , c ) . Then
d ( w , u ) = min ( d ( w , s k ) + h U k , c ( u ) , d ( w , t k ) + h ˉ U k , c ( u ) ) . d(w,u) = \min\left(d(w,s_k) + h_{U_{k,c}}(u), d(w,t_k) + \bar{h}_{U_{k,c}}(u)\right). d ( w , u ) = min ( d ( w , s k ) + h U k , c ( u ) , d ( w , t k ) + h ˉ U k , c ( u ) ) . (ii) Let 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 , u ∈ int ( Y j ) u \in\operatorname{int}(Y^j) u ∈ int ( Y j ) and w ∈ V ( G ) ∖ int ( Y j ) w \in V(G) \setminus\operatorname{int}(Y^j) w ∈ V ( G ) ∖ int ( Y j ) . Then
d ( w , u ) = min ( d ( w , T 1 ) + δ 1 ( u ) , d ( w , T 2 ) + δ 2 ( u ) ) . d(w,u) = \min\left(d(w,T_1) + \delta_1(u), d(w,T_2) + \delta_2(u)\right). d ( w , u ) = min ( d ( w , T 1 ) + δ 1 ( u ) , d ( w , T 2 ) + δ 2 ( u ) ) . (iii) For every u ∈ V ( G ) ∖ { q , q ′ } u \in V(G) \setminus\{q,q'\} u ∈ V ( G ) ∖ { q , q ′ } , d ( q , u ) = d ( q ′ , u ) = 1 + min ( d ( t m , u ) , d ( t m − 1 , u ) ) d(q,u) = d(q',u) = 1 + \min(d(t_m,u),d(t_{m-1},u)) d ( q , u ) = d ( q ′ , u ) = 1 + min ( d ( t m , u ) , d ( t m − 1 , u )) ; and d ( q , q ′ ) = 2 d(q,q') = 2 d ( q , q ′ ) = 2 .
Proof. By Lemma 5.1, G G G is connected. Items (i) and (ii) are Lemma 2.5 (first exit), applied to a copy and to an arm. We prove (iii) directly, by the argument of the lower bound of Lemma 2.5 .
(1) We prove (i). Let U : = U k , c U := U_{k,c} U := U k , c . We apply Lemma 2.5 to G G G and X : = U X := U X := U , with s : = s k s := s_k s := s k and t : = t k t := t_k t := t k . Its hypotheses hold:
G G G is connected;
U U U is attached at { s k , t k } \{s_k,t_k\} { s k , t k } (Lemma 4.12 (ii));
u u u is a member of U U U , so u ∈ int ( U ) u \in\operatorname{int}(U) u ∈ int ( U ) (Definition 4.7 );
w ∈ V ( G ) ∖ int ( U ) w \in V(G) \setminus\operatorname{int}(U) w ∈ V ( G ) ∖ int ( U ) .
Lemma 2.5 gives
d ( u , w ) = min ( d ( u , s k ) + d ( s k , w ) , d ( u , t k ) + d ( t k , w ) ) . d(u,w) = \min\left(d(u,s_k) + d(s_k,w), d(u,t_k) + d(t_k,w)\right). d ( u , w ) = min ( d ( u , s k ) + d ( s k , w ) , d ( u , t k ) + d ( t k , w ) ) .
By Lemma 5.3 (ii), d ( s k , u ) = h U ( u ) d(s_k,u) = h_U(u) d ( s k , u ) = h U ( u ) and d ( t k , u ) = h ˉ U ( u ) d(t_k,u) = \bar{h}_U(u) d ( t k , u ) = h ˉ U ( u ) . As d d d is symmetric (Definition 2.1),
d ( w , u ) = d ( u , w ) = min ( d ( w , s k ) + h U ( u ) , d ( w , t k ) + h ˉ U ( u ) ) . d(w,u) = d(u,w) = \min\left(d(w,s_k) + h_U(u), d(w,t_k) + \bar{h}_U(u)\right). d ( w , u ) = d ( u , w ) = min ( d ( w , s k ) + h U ( u ) , d ( w , t k ) + h ˉ U ( u ) ) .
(2) We prove (ii). We apply Lemma 2.5 to G G G and X : = Y j X := Y^j X := Y j , with s : = T 1 s := T_1 s := T 1 and t : = T 2 t := T_2 t := T 2 . Its hypotheses hold:
G G G is connected;
Y j Y^j Y j is attached at { T 1 , T 2 } \{T_1,T_2\} { T 1 , T 2 } (Lemma 4.12 (ii));
u ∈ int ( Y j ) u \in\operatorname{int}(Y^j) u ∈ int ( Y j ) and w ∈ V ( G ) ∖ int ( Y j ) w \in V(G) \setminus\operatorname{int}(Y^j) w ∈ V ( G ) ∖ int ( Y j ) .
Lemma 2.5 gives
d ( u , w ) = min ( d ( u , T 1 ) + d ( T 1 , w ) , d ( u , T 2 ) + d ( T 2 , w ) ) . d(u,w)=\min\left(d(u,T_1)+d(T_1,w),d(u,T_2)+d(T_2,w)\right). d ( u , w ) = min ( d ( u , T 1 ) + d ( T 1 , w ) , d ( u , T 2 ) + d ( T 2 , w ) ) .
By the definition of δ 1 \delta_1 δ 1 and δ 2 \delta_2 δ 2 , d ( T 1 , u ) = δ 1 ( u ) d(T_1,u)=\delta_1(u) d ( T 1 , u ) = δ 1 ( u ) and d ( T 2 , u ) = δ 2 ( u ) d(T_2,u)=\delta_2(u) d ( T 2 , u ) = δ 2 ( u ) . As d d d is symmetric,
d ( w , u ) = d ( u , w ) = min ( d ( w , T 1 ) + δ 1 ( u ) , d ( w , T 2 ) + δ 2 ( u ) ) . d(w,u)=d(u,w)=\min\left(d(w,T_1)+\delta_1(u),d(w,T_2)+\delta_2(u)\right). d ( w , u ) = d ( u , w ) = min ( d ( w , T 1 ) + δ 1 ( u ) , d ( w , T 2 ) + δ 2 ( u ) ) .
(3) We prove (iii). Let X X X be the subgraph of G G G with the vertices t m t_m t m , t m − 1 t_{m-1} t m − 1 , q q q , q ′ q' q ′ and the four edges t m q t_mq t m q , t m − 1 q t_{m-1}q t m − 1 q , t m q ′ t_mq' t m q ′ , t m − 1 q ′ t_{m-1}q' t m − 1 q ′ . By Definition 4.6, every edge of G G G with an end in { q , q ′ } \{q,q'\} { q , q ′ } is one of these four, so X X X is attached at { t m , t m − 1 } \{t_m,t_{m-1}\} { t m , t m − 1 } with int ( X ) = { q , q ′ } \operatorname{int}(X)=\{q,q'\} int ( X ) = { q , q ′ } (Definition 2.4). Let u ∈ V ( G ) ∖ { q , q ′ } u\in V(G)\setminus\{q,q'\} u ∈ V ( G ) ∖ { q , q ′ } and w ∈ { q , q ′ } w\in\{q,q'\} w ∈ { q , q ′ } . Lemma 2.5 at the interior vertex w w w and the vertex u u u gives
d ( w , u ) = min ( d ( w , t m ) + d ( t m , u ) , d ( w , t m − 1 ) + d ( t m − 1 , u ) ) = 1 + min ( d ( t m , u ) , d ( t m − 1 , u ) ) . d(w,u)=\min\left(d(w,t_m)+d(t_m,u),d(w,t_{m-1})+d(t_{m-1},u)\right)=1+\min\left(d(t_m,u),d(t_{m-1},u)\right). d ( w , u ) = min ( d ( w , t m ) + d ( t m , u ) , d ( w , t m − 1 ) + d ( t m − 1 , u ) ) = 1 + min ( d ( t m , u ) , d ( t m − 1 , u ) ) .
as w w w is adjacent to t m t_m t m and to t m − 1 t_{m-1} t m − 1 . Finally q q q and q ′ q' q ′ are not adjacent and have the common neighbour t m t_m t m , so d ( q , q ′ ) = 2 d(q,q')=2 d ( q , q ′ ) = 2 . This proves (iii).
Lemma 5.5 (the rows). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6). Let α \alpha α and β j \beta_j β j (1 ≤ j ≤ m 1\leq j\leq m 1 ≤ j ≤ m ) be the numbers of Definition 4.4, ρ j , c = r 1 j , c \rho_{j,c}=r_1^{j,c} ρ j , c = r 1 j , c and w j = y π j j w_j=y_{\pi_j}^j w j = y π j j the rows of Definition 4.8, and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1).
(i) For 1 ≤ j , k ≤ m 1\leq j,k\leq m 1 ≤ j , k ≤ m and every option c c c ,
d ( ρ j , c , s k ) = α + ∣ j − k ∣ , d ( ρ j , c , t k ) = β j + ∣ j − k ∣ . d(\rho_{j,c},s_k)=\alpha+|j-k|,\qquad d(\rho_{j,c},t_k)=\beta_j+|j-k|. d ( ρ j , c , s k ) = α + ∣ j − k ∣ , d ( ρ j , c , t k ) = β j + ∣ j − k ∣. (ii) For 1 ≤ k ≤ m 1\leq k\leq m 1 ≤ k ≤ m ,
d ( q , s k ) = m − k + 1 + L m , d ( q , t k ) = { m − k if k < m , 1 if k = m . d(q,s_k)=m-k+1+L_m,\qquad d(q,t_k)=\begin{cases}m-k&\text{if }k<m,\\1&\text{if }k=m.\end{cases} d ( q , s k ) = m − k + 1 + L m , d ( q , t k ) = { m − k 1 if k < m , if k = m . (iii) For 1 ≤ j ≤ 4 1\leq j\leq4 1 ≤ j ≤ 4 ,
d ( w j , u ) = min ( π j + δ 1 ( u ) , D − π j + δ 2 ( u ) ) ( u ∈ V ( G ) ∖ int ( Y j ) ) , d(w_j,u)=\min\left(\pi_j+\delta_1(u),D-\pi_j+\delta_2(u)\right)\quad(u\in V(G)\setminus\operatorname{int}(Y^j)), d ( w j , u ) = min ( π j + δ 1 ( u ) , D − π j + δ 2 ( u ) ) ( u ∈ V ( G ) ∖ int ( Y j )) , d ( w j , y i j ) = ∣ i − π j ∣ ( 0 ≤ i ≤ D ) , d(w_j,y_i^j)=|i-\pi_j|\qquad(0\leq i\leq D), d ( w j , y i j ) = ∣ i − π j ∣ ( 0 ≤ i ≤ D ) , d ( w j , y ~ j ) = 2. d(w_j,\widetilde{y}^j)=2. d ( w j , y j ) = 2.
Proof. Items (i) and (ii) follow from Lemma 5.4 (i) and (iii), with the distances on the frame (Lemma 5.2 ). Item (iii) follows from Lemma 5.4 (ii) and the table (T1) of Lemma 5.1.
(1) We prove (i). Let 1 ≤ j , k ≤ m 1\leq j,k\leq m 1 ≤ j , k ≤ m , c c c an option, ρ : = ρ j , c \rho:=\rho_{j,c} ρ := ρ j , c , U : = U j , c U:=U_{j,c} U := U j , c and M : = max ( j , k ) M:=\max(j,k) M := max ( j , k ) . We apply Lemma 5.4 (i) at the level j j j , with u : = ρ u:=\rho u := ρ , and with w : = s k w:=s_k w := s k and then w : = t k w:=t_k w := t k . Its hypotheses hold:
ρ = r 1 j , c \rho=r_1^{j,c} ρ = r 1 j , c is a t t t -ear member of U U U (Definitions 4.7 and 4.8);
s k s_k s k and t k t_k t k lie in S S S , so they are not in int ( U ) \operatorname{int}(U) int ( U ) (Lemma 4.12 (i)). This also holds when k = j k=j k = j , where s k s_k s k and t k t_k t k are the terminals of U U U .
By Lemma 5.3 (iii), ( h U , h ˉ U ) ( ρ ) = ( α , β j ) (h_U,\bar{h}_U)(\rho)=(\alpha,\beta_j) ( h U , h ˉ U ) ( ρ ) = ( α , β j ) , so Lemma 5.4 (i) gives
d ( s k , ρ ) = min ( d ( s k , s j ) + α , d ( s k , t j ) + β j ) , d(s_k,\rho)=\min\left(d(s_k,s_j)+\alpha,\ d(s_k,t_j)+\beta_j\right), d ( s k , ρ ) = min ( d ( s k , s j ) + α , d ( s k , t j ) + β j ) ,
d ( t k , ρ ) = min ( d ( t k , s j ) + α , d ( t k , t j ) + β j ) . d(t_k,\rho)=\min\left(d(t_k,s_j)+\alpha,\ d(t_k,t_j)+\beta_j\right). d ( t k , ρ ) = min ( d ( t k , s j ) + α , d ( t k , t j ) + β j ) .
By Lemma 5.2 (i), d ( s k , s j ) = d ( t k , t j ) = ∣ j − k ∣ d(s_k,s_j)=d(t_k,t_j)=\lvert j-k\rvert d ( s k , s j ) = d ( t k , t j ) = ∣ j − k ∣ . By Lemma 5.2 (ii), taken at ( k , j ) (k,j) ( k , j ) and at ( j , k ) (j,k) ( j , k ) , d ( s k , t j ) = d ( s j , t k ) = L M + ∣ j − k ∣ d(s_k,t_j)=d(s_j,t_k)=L_M+\lvert j-k\rvert d ( s k , t j ) = d ( s j , t k ) = L M + ∣ j − k ∣ . Hence
d ( s k , ρ ) = ∣ j − k ∣ + min ( α , L M + β j ) , d ( t k , ρ ) = ∣ j − k ∣ + min ( L M + α , β j ) . d(s_k,\rho)=\lvert j-k\rvert+\min(\alpha,\ L_M+\beta_j),\qquad d(t_k,\rho)=\lvert j-k\rvert+\min(L_M+\alpha,\ \beta_j). d ( s k , ρ ) = ∣ j − k ∣ + min ( α , L M + β j ) , d ( t k , ρ ) = ∣ j − k ∣ + min ( L M + α , β j ) .
We compare the two terms of each minimum. By Lemma 4.5 (i) and Definition 4.4 , α − β j = σ j = 2 j \alpha-\beta_j=\sigma_j=2j α − β j = σ j = 2 j and L M = 4 m + 8 − 2 M L_M=4m+8-2M L M = 4 m + 8 − 2 M . As j ≤ m j\le m j ≤ m and M ≤ m M\le m M ≤ m ,
L M − ( α − β j ) = 4 m + 8 − 2 M − 2 j ≥ 8 > 0 , L_M-(\alpha-\beta_j)=4m+8-2M-2j\ge8>0, L M − ( α − β j ) = 4 m + 8 − 2 M − 2 j ≥ 8 > 0 ,
so α < L M + β j \alpha<L_M+\beta_j α < L M + β j , and the first minimum is α \alpha α . As α − β j = 2 j > 0 \alpha-\beta_j=2j>0 α − β j = 2 j > 0 and L M > 0 L_M>0 L M > 0 , we have β j < α < L M + α \beta_j<\alpha<L_M+\alpha β j < α < L M + α , and the second minimum is β j \beta_j β j . As d d d is symmetric (Definition 2.1),
d ( ρ , s k ) = α + ∣ j − k ∣ , d ( ρ , t k ) = β j + ∣ j − k ∣ . d(\rho,s_k)=\alpha+\lvert j-k\rvert,\qquad d(\rho,t_k)=\beta_j+\lvert j-k\rvert. d ( ρ , s k ) = α + ∣ j − k ∣ , d ( ρ , t k ) = β j + ∣ j − k ∣ .
(2) We prove (ii). Let 1 ≤ k ≤ m 1\le k\le m 1 ≤ k ≤ m . By Definition 4.6, s k s_k s k and t k t_k t k are distinct from q q q and q ′ q' q ′ , so Lemma 5.4 (iii) applies at u = s k u=s_k u = s k and at u = t k u=t_k u = t k :
d ( q , s k ) = 1 + min ( d ( t m , s k ) , d ( t m − 1 , s k ) ) , d ( q , t k ) = 1 + min ( d ( t m , t k ) , d ( t m − 1 , t k ) ) . d(q,s_k)=1+\min\left(d(t_m,s_k),d(t_{m-1},s_k)\right),\qquad d(q,t_k)=1+\min\left(d(t_m,t_k),d(t_{m-1},t_k)\right). d ( q , s k ) = 1 + min ( d ( t m , s k ) , d ( t m − 1 , s k ) ) , d ( q , t k ) = 1 + min ( d ( t m , t k ) , d ( t m − 1 , t k ) ) .
As k ≤ m k\le m k ≤ m , Lemma 5.2 (ii) at ( k , m ) (k,m) ( k , m ) and at ( k , m − 1 ) (k,m-1) ( k , m − 1 ) gives d ( s k , t m ) = L m + ( m − k ) d(s_k,t_m)=L_m+(m-k) d ( s k , t m ) = L m + ( m − k ) and d ( s k , t m − 1 ) = L max ( k , m − 1 ) + ∣ k − m + 1 ∣ d(s_k,t_{m-1})=L_{\max(k,m-1)}+\lvert k-m+1\rvert d ( s k , t m − 1 ) = L m a x ( k , m − 1 ) + ∣ k − m + 1 ∣ , which is L m − 1 + ( m − 1 − k ) = L m + ( m − k ) + 1 L_{m-1}+(m-1-k)=L_m+(m-k)+1 L m − 1 + ( m − 1 − k ) = L m + ( m − k ) + 1 if k ≤ m − 1 k\le m-1 k ≤ m − 1 and L m + 1 L_m+1 L m + 1 if k = m k=m k = m (Definition 4.4 : L m − 1 = L m + 2 L_{m-1}=L_m+2 L m − 1 = L m + 2 ); in both cases d ( s k , t m − 1 ) > d ( s k , t m ) d(s_k,t_{m-1})>d(s_k,t_m) d ( s k , t m − 1 ) > d ( s k , t m ) , so d ( q , s k ) = 1 + L m + ( m − k ) d(q,s_k)=1+L_m+(m-k) d ( q , s k ) = 1 + L m + ( m − k ) . Lemma 5.2 (i) gives d ( t k , t m ) = m − k d(t_k,t_m)=m-k d ( t k , t m ) = m − k and d ( t k , t m − 1 ) = ∣ m − 1 − k ∣ d(t_k,t_{m-1})=\lvert m-1-k\rvert d ( t k , t m − 1 ) = ∣ m − 1 − k ∣ , which is m − k − 1 m-k-1 m − k − 1 if k < m k<m k < m and 1 1 1 if k = m k=m k = m ; so d ( q , t k ) = 1 + ( m − k − 1 ) = m − k d(q,t_k)=1+(m-k-1)=m-k d ( q , t k ) = 1 + ( m − k − 1 ) = m − k if k < m k<m k < m , and d ( q , t m ) = 1 + min ( 0 , 1 ) = 1 d(q,t_m)=1+\min(0,1)=1 d ( q , t m ) = 1 + min ( 0 , 1 ) = 1 .
(3) We prove (iii). Let 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 . By Definition 4.6, π j ∈ { p , 7 } \pi_j\in\{p,7\} π j ∈ { p , 7 } . By Definition 4.4 , 1 ≤ 7 ≤ 4 m + 14 = D − 1 1\le7\le4m+14=D-1 1 ≤ 7 ≤ 4 m + 14 = D − 1 and 1 ≤ 2 m + 4 = p ≤ D − 1 1\le2m+4=p\le D-1 1 ≤ 2 m + 4 = p ≤ D − 1 . So 1 ≤ π j ≤ D − 1 1\le\pi_j\le D-1 1 ≤ π j ≤ D − 1 , and w j = y π j j w_j=y_{\pi_j}^j w j = y π j j lies in int ( Y j ) = { y 1 j , … , y D − 1 j , y ~ j } \operatorname{int}(Y^j)=\{y_1^j,\ldots,y_{D-1}^j,\widetilde{y}^j\} int ( Y j ) = { y 1 j , … , y D − 1 j , y j } (Lemma 4.12 (i)). By the line y π j j y_{\pi_j}^j y π j j of the table (T1) with i = π j i=\pi_j i = π j ,
( δ 1 , δ 2 ) ( w j ) = ( π j , D − π j ) . (\delta_1,\delta_2)(w_j)=(\pi_j,D-\pi_j). ( δ 1 , δ 2 ) ( w j ) = ( π j , D − π j ) .
The first formula. Let u ∈ V ( G ) ∖ int ( Y j ) u\in V(G)\setminus\operatorname{int}(Y^j) u ∈ V ( G ) ∖ int ( Y j ) . We apply Lemma 5.4 (ii) with w j w_j w j in the role of its u u u , and u u u in the role of its w w w . By the definition of δ 1 , δ 2 \delta_1,\delta_2 δ 1 , δ 2 and the symmetry of d d d ,
d ( w j , u ) = min ( d ( u , T 1 ) + δ 1 ( w j ) , d ( u , T 2 ) + δ 2 ( w j ) ) = min ( π j + δ 1 ( u ) , D − π j + δ 2 ( u ) ) . d(w_j,u)=\min(d(u,T_1)+\delta_1(w_j),\ d(u,T_2)+\delta_2(w_j))=\min(\pi_j+\delta_1(u),\ D-\pi_j+\delta_2(u)). d ( w j , u ) = min ( d ( u , T 1 ) + δ 1 ( w j ) , d ( u , T 2 ) + δ 2 ( w j )) = min ( π j + δ 1 ( u ) , D − π j + δ 2 ( u )) .
The second formula. Let 0 ≤ i ≤ D 0\le i\le D 0 ≤ i ≤ D . The arm contains the path from y π j j y_{\pi_j}^j y π j j to y i j y_i^j y i j along y 0 j , … , y D j y_0^j,\ldots,y_D^j y 0 j , … , y D j (Definition 4.6), with ∣ i − π j ∣ \lvert i-\pi_j\rvert ∣ i − π j ∣ edges, so d ( w j , y i j ) ≤ ∣ i − π j ∣ d(w_j,y_i^j)\le\lvert i-\pi_j\rvert d ( w j , y i j ) ≤ ∣ i − π j ∣ . Conversely, δ 1 ( y i j ) = i \delta_1(y_i^j)=i δ 1 ( y i j ) = i :
for 1 ≤ i ≤ D − 1 1\le i\le D-1 1 ≤ i ≤ D − 1 , this is the line y i j y_i^j y i j of the table (T1);
y 0 j = T 1 y_0^j=T_1 y 0 j = T 1 and y D j = T 2 y_D^j=T_2 y D j = T 2 , with δ 1 ( T 1 ) = 0 \delta_1(T_1)=0 δ 1 ( T 1 ) = 0 and δ 1 ( T 2 ) = D \delta_1(T_2)=D δ 1 ( T 2 ) = D by the lines T 1 T_1 T 1 and $T_2.
The triangle inequality (Definition 2.1), with T 1 T_1 T 1 as the base point, gives
d ( w j , y π j j ) ≥ ∣ δ 1 ( y π j j ) − δ 1 ( w j ) ∣ = ∣ i − π j ∣ . d(w_j,y_{\pi_j}^j) \geq\lvert\delta_1(y_{\pi_j}^j)-\delta_1(w_j)\rvert=\lvert i-\pi_j\rvert. d ( w j , y π j j ) ≥ ∣ δ 1 ( y π j j ) − δ 1 ( w j )∣ = ∣ i − π j ∣ .
The third formula. By Definition 4.6, the neighbours of y ~ j \widetilde{y}^j y j are y π j − 1 j y_{\pi_j-1}^j y π j − 1 j and y π j + 1 j y_{\pi_j+1}^j y π j + 1 j , and y ~ j ≠ w j \widetilde{y}^j\ne w_j y j = w j . So y ~ j \widetilde{y}^j y j is distinct from w j = y π j j w_j=y_{\pi_j}^j w j = y π j j and not adjacent to it, and d ( w j , y ~ j ) ≥ 2 d(w_j,\widetilde{y}^j)\geq2 d ( w j , y j ) ≥ 2 . The vertex y π j − 1 j y_{\pi_j-1}^j y π j − 1 j is adjacent to w j w_j w j , by an edge of the arm, and to y ~ j \widetilde{y}^j y j , so d ( w j , y ~ j ) ≤ 2 d(w_j,\widetilde{y}^j)\leq2 d ( w j , y j ) ≤ 2 . Hence d ( w j , y ~ j ) = 2 d(w_j,\widetilde{y}^j)=2 d ( w j , y j ) = 2 .
Corollary 5.6 (how the rows read a copy)
Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6). Let α \alpha α , β j \beta_j β j , σ j \sigma_j σ j (1 ≤ j ≤ m 1\leq j\leq m 1 ≤ j ≤ m ), p p p and L m L_m L m be the numbers of Definition 4.4 , ρ j , c = r 1 j , c \rho_{j,c}=r_1^{j,c} ρ j , c = r 1 j , c and w j = y π j j w_j=y_{\pi_j}^j w j = y π j j the rows of Definition 4.8 , and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). Let k k k be a level, c c c an option and u u u a member of U k , c U_{k,c} U k , c , with the profile ( h U k , c ( u ) , h ˉ U k , c ( u ) ) = ( d U k , c ( s k , u ) , d U k , c ( t k , u ) ) (h_{U_{k,c}}(u),\bar{h}_{U_{k,c}}(u))=(d_{U_{k,c}}(s_k,u),d_{U_{k,c}}(t_k,u)) ( h U k , c ( u ) , h ˉ U k , c ( u )) = ( d U k , c ( s k , u ) , d U k , c ( t k , u )) of Definition 4.7 .
(i) For every row ρ j , c ′ \rho_{j,c'} ρ j , c ′ with ( j , c ′ ) ≠ ( k , c ) (j,c')\ne(k,c) ( j , c ′ ) = ( k , c ) ,
d ( ρ j , c ′ , u ) = ∣ j − k ∣ + β j + min ( σ j + h U k , c ( u ) , h ˉ U k , c ( u ) ) . d(\rho_{j,c'},u)=\lvert j-k\rvert+\beta_j+\min\left(\sigma_j+h_{U_{k,c}}(u),\bar{h}_{U_{k,c}}(u)\right). d ( ρ j , c ′ , u ) = ∣ j − k ∣ + β j + min ( σ j + h U k , c ( u ) , h ˉ U k , c ( u ) ) .
(ii) If k < m k<m k < m , then
d ( q , u ) = m − k + 1 + min ( L m + h U k , c ( u ) , h ˉ U k , c ( u ) − 1 ) ; d(q,u)=m-k+1+\min\left(L_m+h_{U_{k,c}}(u),\bar{h}_{U_{k,c}}(u)-1\right); d ( q , u ) = m − k + 1 + min ( L m + h U k , c ( u ) , h ˉ U k , c ( u ) − 1 ) ;
if k = m k=m k = m , then
d ( q , u ) = 1 + h ˉ U m , c ( u ) . d(q,u)=1+\bar{h}_{U_{m,c}}(u). d ( q , u ) = 1 + h ˉ U m , c ( u ) .
(iii)
d ( w 3 , u ) = d ( w 4 , u ) = 7 + δ 1 ( u ) = 7 + k + h U k , c ( u ) . d(w_3,u)=d(w_4,u)=7+\delta_1(u)=7+k+h_{U_{k,c}}(u). d ( w 3 , u ) = d ( w 4 , u ) = 7 + δ 1 ( u ) = 7 + k + h U k , c ( u ) .
(iv)
d ( w 1 , u ) = d ( w 2 , u ) = min ( p + δ 1 ( u ) , p + 7 + δ 2 ( u ) ) . d(w_1,u)=d(w_2,u)=\min\left(p+\delta_1(u),p+7+\delta_2(u)\right). d ( w 1 , u ) = d ( w 2 , u ) = min ( p + δ 1 ( u ) , p + 7 + δ 2 ( u ) ) .
Proof. Let U : = U k , c U:=U_{k,c} U := U k , c . Items (i) and (ii) follow from Lemma 5.4 (i) and the distances of Lemma 5.5 (i),(ii); items (iii) and (iv) follow from Lemma 5.5 (iii) and the values of the table (T1). By Lemma 4.12 (i), the set int ( U ) \operatorname{int}(U) int ( U ) of the members of U U U is disjoint from S S S , from { q } \{q\} { q } , from every int ( U j , c ′ ) \operatorname{int}(U_{j,c'}) int ( U j , c ′ ) with ( j , c ′ ) ≠ ( k , c ) (j,c')\ne(k,c) ( j , c ′ ) = ( k , c ) , and from every int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) . This gives the hypothesis w ∉ int ( U ) w\notin\operatorname{int}(U) w ∈ / int ( U ) of Lemma 5.4 (i) in (1) and (2), and the hypothesis u ∉ int ( Y j ) u\notin\operatorname{int}(Y^j) u ∈ / int ( Y j ) of Lemma 5.5 (iii) in (3) and (4).
(1) We prove (i). Let ( j , c ′ ) ≠ ( k , c ) (j,c')\ne(k,c) ( j , c ′ ) = ( k , c ) and ρ : = ρ j , c ′ \rho:=\rho_{j,c'} ρ := ρ j , c ′ . The row ρ \rho ρ is a member of U j , c ′ U_{j,c'} U j , c ′ (Definitions 4.7 and 4.8 ), so ρ ∈ int ( U j , c ′ ) \rho\in\operatorname{int}(U_{j,c'}) ρ ∈ int ( U j , c ′ ) and ρ ∉ int ( U ) \rho\notin\operatorname{int}(U) ρ ∈ / int ( U ) . Lemma 5.4 (i) with w : = ρ w:=\rho w := ρ gives
d ( ρ , u ) = min ( d ( ρ , s k ) + h U ( u ) , d ( ρ , t k ) + h ˉ U ( u ) ) . d(\rho,u)=\min\left(d(\rho,s_k)+h_U(u),d(\rho,t_k)+\bar{h}_U(u)\right). d ( ρ , u ) = min ( d ( ρ , s k ) + h U ( u ) , d ( ρ , t k ) + h ˉ U ( u ) ) .
By Lemma 5.5 (i), d ( ρ , s k ) = α + ∣ j − k ∣ d(\rho,s_k)=\alpha+\lvert j-k\rvert d ( ρ , s k ) = α + ∣ j − k ∣ and d ( ρ , t k ) = β j + ∣ j − k ∣ d(\rho,t_k)=\beta_j+\lvert j-k\rvert d ( ρ , t k ) = β j + ∣ j − k ∣ . By Lemma 4.5 (i), α − β j = σ j \alpha-\beta_j=\sigma_j α − β j = σ j , that is, α = β j + σ j \alpha=\beta_j+\sigma_j α = β j + σ j . Hence
d ( ρ , u ) = min ( β j + σ j + ∣ j − k ∣ + h U ( u ) , β j + ∣ j − k ∣ + h ˉ U ( u ) ) = ∣ j − k ∣ + β j + min ( σ j + h U ( u ) , h ˉ U ( u ) ) . d(\rho,u)=\min\left(\beta_j+\sigma_j+\lvert j-k\rvert+h_U(u),\beta_j+\lvert j-k\rvert+\bar{h}_U(u)\right)=\lvert j-k\rvert+\beta_j+\min\left(\sigma_j+h_U(u),\bar{h}_U(u)\right). d ( ρ , u ) = min ( β j + σ j + ∣ j − k ∣ + h U ( u ) , β j + ∣ j − k ∣ + h ˉ U ( u ) ) = ∣ j − k ∣ + β j + min ( σ j + h U ( u ) , h ˉ U ( u ) ) .
(2) We prove (ii). As q ∉ int ( U ) q\notin\operatorname{int}(U) q ∈ / int ( U ) , Lemma 5.4 (i) with w : = q w:=q w := q gives
d ( q , u ) = min ( d ( q , s k ) + h U ( u ) , d ( q , t k ) + h ˉ U ( u ) ) . d(q,u)=\min\left(d(q,s_k)+h_U(u),d(q,t_k)+\bar{h}_U(u)\right). d ( q , u ) = min ( d ( q , s k ) + h U ( u ) , d ( q , t k ) + h ˉ U ( u ) ) .
By Lemma 5.5 (ii), d ( q , s k ) = m − k + 1 + L m d(q,s_k)=m-k+1+L_m d ( q , s k ) = m − k + 1 + L m , and d ( q , t k ) = m − k d(q,t_k)=m-k d ( q , t k ) = m − k if k < m k<m k < m , d ( q , t m ) = 1 d(q,t_m)=1 d ( q , t m ) = 1 . If k < m k<m k < m ,
d ( q , u ) = min ( m − k + 1 + L m + h U ( u ) , m − k + h ˉ U ( u ) ) = m − k + 1 + min ( L m + h U ( u ) , h ˉ U ( u ) − 1 ) . d(q,u)=\min\left(m-k+1+L_m+h_U(u),m-k+\bar{h}_U(u)\right)=m-k+1+\min\left(L_m+h_U(u),\bar{h}_U(u)-1\right). d ( q , u ) = min ( m − k + 1 + L m + h U ( u ) , m − k + h ˉ U ( u ) ) = m − k + 1 + min ( L m + h U ( u ) , h ˉ U ( u ) − 1 ) .
If k = m k=m k = m , then d ( q , u ) = min ( 1 + L m + h U ( u ) , 1 + h ˉ U ( u ) ) = 1 + h ˉ U ( u ) d(q,u)=\min(1+L_m+h_U(u),1+\bar{h}_U(u))=1+\bar{h}_U(u) d ( q , u ) = min ( 1 + L m + h U ( u ) , 1 + h ˉ U ( u )) = 1 + h ˉ U ( u ) : by Lemma 4.10 (iv), a spine member v i v_i v i has h ˉ U − h U = L m − 2 i ≤ L m \bar{h}_U-h_U=L_m-2i\leq L_m h ˉ U − h U = L m − 2 i ≤ L m , a t t t -ear member has h ˉ U < h U \bar{h}_U<h_U h ˉ U < h U , and U U U has no crossing (Definition 4.6: E m , c = ( ) E_{m,c}=() E m , c = ( ) ), so h ˉ U ( u ) ≤ L m + h U ( u ) \bar{h}_U(u)\leq L_m+h_U(u) h ˉ U ( u ) ≤ L m + h U ( u ) . (3) We prove (iii). Let j ∈ { 3 , 4 } j \in\{3,4\} j ∈ { 3 , 4 } ; then π j = 7 \pi_j=7 π j = 7 (Definition 4.6). As u ∉ int ( Y j ) u \notin\operatorname{int}(Y^j) u ∈ / int ( Y j ) , the first formula of Lemma 5.5 (iii) gives
d ( w j , u ) = min ( 7 + δ 1 ( u ) , D − 7 + δ 2 ( u ) ) . d(w_j,u)=\min(7+\delta_1(u),\,D-7+\delta_2(u)). d ( w j , u ) = min ( 7 + δ 1 ( u ) , D − 7 + δ 2 ( u )) .
By the line u ∈ int ( U k , c ) u \in\operatorname{int}(U_{k,c}) u ∈ int ( U k , c ) of the Table T1 , δ 1 ( u ) = k + h U ( u ) \delta_1(u)=k+h_U(u) δ 1 ( u ) = k + h U ( u ) and δ 2 ( u ) = 7 + k + h ˉ U ( u ) \delta_2(u)=7+k+\bar{h}_U(u) δ 2 ( u ) = 7 + k + h ˉ U ( u ) . We compare the two terms of the minimum:
Table T1.
( D − 7 + δ 2 ( u ) ) − ( 7 + δ 1 ( u ) ) = D − 14 + ( 7 + k + h ˉ U ( u ) ) − ( k + h U ( u ) ) = D − 7 − ( h U ( u ) − h ˉ U ( u ) ) . (D-7+\delta_2(u))-(7+\delta_1(u))=D-14+(7+k+\bar{h}_U(u))-(k+h_U(u))=D-7-(h_U(u)-\bar{h}_U(u)). ( D − 7 + δ 2 ( u )) − ( 7 + δ 1 ( u )) = D − 14 + ( 7 + k + h ˉ U ( u )) − ( k + h U ( u )) = D − 7 − ( h U ( u ) − h ˉ U ( u )) .
By Lemma 5.3 (ii), h U ( u ) = d ( s k , u ) h_U(u)=d(s_k,u) h U ( u ) = d ( s k , u ) and h ˉ U ( u ) = d ( t k , u ) \bar{h}_U(u)=d(t_k,u) h ˉ U ( u ) = d ( t k , u ) , and by the triangle inequality (Definition 2.1) and Lemma 5.2 (ii) with j = k j=k j = k ,
h U ( u ) − h ˉ U ( u ) = d ( s k , u ) − d ( t k , u ) ≤ d ( s k , t k ) = L k . h_U(u)-\bar{h}_U(u)=d(s_k,u)-d(t_k,u)\leq d(s_k,t_k)=L_k. h U ( u ) − h ˉ U ( u ) = d ( s k , u ) − d ( t k , u ) ≤ d ( s k , t k ) = L k .
By Lemma 4.5 (i), L k = D − 7 − 2 k L_k=D-7-2k L k = D − 7 − 2 k , so
D − 7 − ( h U ( u ) − h ˉ U ( u ) ) ≥ D − 7 − L k = 2 k > 0. D-7-(h_U(u)-\bar{h}_U(u))\geq D-7-L_k=2k>0. D − 7 − ( h U ( u ) − h ˉ U ( u )) ≥ D − 7 − L k = 2 k > 0.
So the minimum is its first term: d ( w j , u ) = 7 + δ 1 ( u ) = 7 + k + h U ( u ) d(w_j,u)=7+\delta_1(u)=7+k+h_U(u) d ( w j , u ) = 7 + δ 1 ( u ) = 7 + k + h U ( u ) , for j = 3 j=3 j = 3 and for j = 4 j=4 j = 4 .
(4) We prove (iv). Let j ∈ { 1 , 2 } j \in\{1,2\} j ∈ { 1 , 2 } ; then π j = p \pi_j=p π j = p (Definition 4.6). As u ∉ int ( Y j ) u \notin\operatorname{int}(Y^j) u ∈ / int ( Y j ) , the first formula of Lemma 5.5 (iii) gives
d ( w j , u ) = min ( p + δ 1 ( u ) , D − p + δ 2 ( u ) ) . d(w_j,u)=\min(p+\delta_1(u),\,D-p+\delta_2(u)). d ( w j , u ) = min ( p + δ 1 ( u ) , D − p + δ 2 ( u )) .
and D − p = p + 7 D-p=p+7 D − p = p + 7 by Lemma 4.5 (i). This proves (iv), for j = 1 j=1 j = 1 and for j = 2 j=2 j = 2 . □ \square □
Lemma 5.7 (small distances from T 1 T_1 T 1 and T 2 T_2 T 2 ). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6), with δ 1 = d ( T 1 , ⋅ ) \delta_1 = d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) and δ 2 = d ( T 2 , ⋅ ) \delta_2 = d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). For a member u u u of a copy U j , c U_{j,c} U j , c , h U j , c ( u ) = d U j , c ( s j , u ) h_{U_{j,c}}(u) = d_{U_{j,c}}(s_j,u) h U j , c ( u ) = d U j , c ( s j , u ) (Definition 4.7 ). Let u u u be a vertex of G G G that lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 .
(i) If 1 ≤ δ 1 ( u ) ≤ m 1 \le\delta_1(u) \le m 1 ≤ δ 1 ( u ) ≤ m , then u = s k u = s_k u = s k with k = δ 1 ( u ) k = \delta_1(u) k = δ 1 ( u ) , or u u u is a member of a copy U j , c U_{j,c} U j , c with j < δ 1 ( u ) j < \delta_1(u) j < δ 1 ( u ) and h U j , c ( u ) = δ 1 ( u ) − j h_{U_{j,c}}(u) = \delta_1(u) - j h U j , c ( u ) = δ 1 ( u ) − j .
(ii) If 1 ≤ δ 2 ( u ) ≤ 7 1 \le\delta_2(u) \le7 1 ≤ δ 2 ( u ) ≤ 7 , then u = z i u = z_i u = z i with i = 8 − δ 2 ( u ) i = 8 - \delta_2(u) i = 8 − δ 2 ( u ) .
Proof. By Lemma 4.12 (i), V ( G ) V(G) V ( G ) is the disjoint union of S S S , { q } \{q\} { q } , the sets int ( U j , c ) \operatorname{int}(U_{j,c}) int ( U j , c ) and the sets int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) . As u u u lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , u u u lies in S S S , or u = q u = q u = q , or u u u is a member of a copy. By Definition 4.8 , S S S consists of T 1 T_1 T 1 , T 2 T_2 T 2 , the s k s_k s k and t k t_k t k (1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m ), z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 and q ′ q' q ′ . So u u u is one of T 1 T_1 T 1 , T 2 T_2 T 2 , s k s_k s k , t k t_k t k (1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m ), z i z_i z i (1 ≤ i ≤ 7 1 \le i \le7 1 ≤ i ≤ 7 ), q q q , q ′ q' q ′ , or a member of a copy U j , c U_{j,c} U j , c .
T 1 , T 2 , s k , t k ( 1 ≤ k ≤ m ) , z i ( 1 ≤ i ≤ 7 ) , q , q ′ , or a member of a copy U j , c . T_1,\ T_2,\ s_k,\ t_k\ (1 \le k \le m),\ z_i\ (1 \le i \le7),\ q,\ q',\ \text{or a member of a copy } U_{j,c}. T 1 , T 2 , s k , t k ( 1 ≤ k ≤ m ) , z i ( 1 ≤ i ≤ 7 ) , q , q ′ , or a member of a copy U j , c .
By Lemma 5.1, δ 1 = F 1 \delta_1 = F_1 δ 1 = F 1 and δ 2 = F 2 \delta_2 = F_2 δ 2 = F 2 , so the values of δ 1 \delta_1 δ 1 , δ 2 \delta_2 δ 2 at these vertices are those of the table (T1); there D = 4 m + 15 D = 4m + 15 D = 4 m + 15 (Definition 4.4 ). For a member u u u of U j , c U_{j,c} U j , c , u ≠ s j , t j u \ne s_j,t_j u = s j , t j (Definition 4.7 ), and the distance between two distinct vertices is at least 1 1 1 (Definition 2.1), so
h U j , c ( u ) = d U j , c ( s j , u ) ≥ 1 , h ˉ U j , c ( u ) = d U j , c ( t j , u ) ≥ 1. h_{U_{j,c}}(u) = d_{U_{j,c}}(s_j,u) \ge1,\qquad\bar{h}_{U_{j,c}}(u) = d_{U_{j,c}}(t_j,u) \ge1. h U j , c ( u ) = d U j , c ( s j , u ) ≥ 1 , h ˉ U j , c ( u ) = d U j , c ( t j , u ) ≥ 1.
(1) We prove (i). Let 1 ≤ δ 1 ( u ) ≤ m 1 \le\delta_1(u) \le m 1 ≤ δ 1 ( u ) ≤ m . We first exclude the vertices of ( ∗ ) (*) ( ∗ ) whose δ 1 \delta_1 δ 1 is 0 0 0 or larger than m m m . By the column F 1 F_1 F 1 of the table (T1), with 1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m and 1 ≤ i ≤ 7 1 \le i \le7 1 ≤ i ≤ 7 ,
δ 1 ( T 1 ) = 0 , δ 1 ( T 2 ) = D = 4 m + 15 > m , δ 1 ( t k ) = D − 7 − k = 4 m + 8 − k ≥ 3 m + 8 > m , δ 1 ( z i ) = D − 8 + i = 4 m + 7 + i > m , δ 1 ( q ) = δ 1 ( q ′ ) = D − 6 − m = 3 m + 9 > m . \begin{aligned}
\delta_1(T_1) &= 0,\\
\delta_1(T_2) &= D = 4m + 15 > m,\\
\delta_1(t_k) &= D - 7 - k = 4m + 8 - k \ge3m + 8 > m,\\
\delta_1(z_i) &= D - 8 + i = 4m + 7 + i > m,\\
\delta_1(q) &= \delta_1(q') = D - 6 - m = 3m + 9 > m.
\end{aligned} δ 1 ( T 1 ) δ 1 ( T 2 ) δ 1 ( t k ) δ 1 ( z i ) δ 1 ( q ) = 0 , = D = 4 m + 15 > m , = D − 7 − k = 4 m + 8 − k ≥ 3 m + 8 > m , = D − 8 + i = 4 m + 7 + i > m , = δ 1 ( q ′ ) = D − 6 − m = 3 m + 9 > m .
So u u u is none of T 1 T_1 T 1 , T 2 T_2 T 2 , t k t_k t k , z i z_i z i , q q q , q ′ q' q ′ , and by ( ∗ ) (*) ( ∗ ) it is some s k s_k s k or a member of a copy.
If u = s k u = s_k u = s k , then δ 1 ( u ) = k \delta_1(u) = k δ 1 ( u ) = k by the line s k s_k s k of the table (T1), so k = δ 1 ( u ) k = \delta_1(u) k = δ 1 ( u ) .
If u u u is a member of U j , c U_{j,c} U j , c , then δ 1 ( u ) = j + h U j , c ( u ) \delta_1(u) = j + h_{U_{j,c}}(u) δ 1 ( u ) = j + h U j , c ( u ) by the line u ∈ int ( U k , c ) u \in\operatorname{int}(U_{k,c}) u ∈ int ( U k , c ) of the table (T1), at the level j j j . So h U j , c ( u ) = δ 1 ( u ) − j h_{U_{j,c}}(u) = \delta_1(u) - j h U j , c ( u ) = δ 1 ( u ) − j , and as h U j , c ( u ) ≥ 1 h_{U_{j,c}}(u) \ge1 h U j , c ( u ) ≥ 1 , j ≤ δ 1 ( u ) − 1 < δ 1 ( u ) j \le\delta_1(u) - 1 < \delta_1(u) j ≤ δ 1 ( u ) − 1 < δ 1 ( u ) . This proves (i).
(2) We prove (ii). Let 1 ≤ δ 2 ( u ) ≤ 7 1 \le\delta_2(u) \le7 1 ≤ δ 2 ( u ) ≤ 7 . We exclude the vertices of ( ∗ ) (*) ( ∗ ) whose δ 2 \delta_2 δ 2 is 0 0 0 or larger than 7 7 7 . By the column F 2 F_2 F 2 of the table (T1), with 1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m , and with j ≥ 1 j \ge1 j ≥ 1 and h ˉ U j , c ( u ) ≥ 1 \bar{h}_{U_{j,c}}(u) \ge1 h ˉ U j , c ( u ) ≥ 1 for a member u u u of U j , c U_{j,c} U j , c ,
δ 2 ( T 1 ) = D = 4 m + 15 > 7 , δ 2 ( T 2 ) = 0 , δ 2 ( s k ) = D − k = 4 m + 15 − k ≥ 3 m + 15 > 7 , δ 2 ( t k ) = 7 + k ≥ 8 > 7 , δ 2 ( q ) = δ 2 ( q ′ ) = 7 + m > 7 , δ 2 ( u ) = 7 + j + h ˉ U j , c ( u ) ≥ 9 > 7 ( u a member of U j , c ) . \begin{aligned}
\delta_2(T_1) &= D = 4m + 15 > 7,\\
\delta_2(T_2) &= 0,\\
\delta_2(s_k) &= D - k = 4m + 15 - k \ge3m + 15 > 7,\\
\delta_2(t_k) &= 7 + k \ge8 > 7,\\
\delta_2(q) &= \delta_2(q') = 7 + m > 7,\\
\delta_2(u) &= 7 + j + \bar{h}_{U_{j,c}}(u) \ge9 > 7 \qquad(u\text{ a member of }U_{j,c}).
\end{aligned} δ 2 ( T 1 ) δ 2 ( T 2 ) δ 2 ( s k ) δ 2 ( t k ) δ 2 ( q ) δ 2 ( u ) = D = 4 m + 15 > 7 , = 0 , = D − k = 4 m + 15 − k ≥ 3 m + 15 > 7 , = 7 + k ≥ 8 > 7 , = δ 2 ( q ′ ) = 7 + m > 7 , = 7 + j + h ˉ U j , c ( u ) ≥ 9 > 7 ( u a member of U j , c ) .
So by ( ∗ ) (*) ( ∗ ) , u = z i u = z_i u = z i for some 1 ≤ i ≤ 7 1 \le i \le7 1 ≤ i ≤ 7 . By the line z i z_i z i of the table (T1), δ 2 ( u ) = 8 − i \delta_2(u) = 8 - i δ 2 ( u ) = 8 − i , so i = 8 − δ 2 ( u ) i = 8 - \delta_2(u) i = 8 − δ 2 ( u ) . This proves (ii).
:::
Corollary 5.8 (the cores of a level). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). Let α \alpha α and β k \beta_k β k be the numbers of Definition 4.4 , k k k a level, and for each option c c c let ρ k , c = r 1 k , c \rho_{k,c} = r_1^{k,c} ρ k , c = r 1 k , c be the core of U k , c U_{k,c} U k , c (Definition 4.8 ). For a member u u u of U k , c U_{k,c} U k , c , ( h U k , c ( u ) , h ˉ U k , c ( u ) ) = ( d U k , c ( s k , u ) , d U k , c ( t k , u ) ) (h_{U_{k,c}}(u), \bar{h}_{U_{k,c}}(u)) = (d_{U_{k,c}}(s_k,u), d_{U_{k,c}}(t_k,u)) ( h U k , c ( u ) , h ˉ U k , c ( u )) = ( d U k , c ( s k , u ) , d U k , c ( t k , u )) is its profile (Definition 4.7 ).
(i) For every option c c c and every vertex v ∉ int ( U k , c ) v \notin\operatorname{int}(U_{k,c}) v ∈ / int ( U k , c ) ,
d ( ρ k , c , v ) = min ( α + d ( s k , v ) , β k + d ( t k , v ) ) . d(\rho_{k,c},v) = \min(\alpha+ d(s_k,v),\ \beta_k + d(t_k,v)). d ( ρ k , c , v ) = min ( α + d ( s k , v ) , β k + d ( t k , v )) . (ii) For two options a ≠ b a \ne b a = b and every member u u u of U k , a U_{k,a} U k , a , d ( ρ k , a , u ) < d ( ρ k , b , u ) d(\rho_{k,a},u) < d(\rho_{k,b},u) d ( ρ k , a , u ) < d ( ρ k , b , u ) .
Proof. (1) We prove (i). Let c c c be an option and v ∉ int ( U k , c ) v \notin\operatorname{int}(U_{k,c}) v ∈ / int ( U k , c ) . The core ρ k , c \rho_{k,c} ρ k , c is a member of U k , c U_{k,c} U k , c (Definitions 4.7 and 4.8 ), so Lemma 5.4 (i) applies to it with w : = v w := v w := v :
d ( v , ρ k , c ) = min ( d ( v , s k ) + h U k , c ( ρ k , c ) , d ( v , t k ) + h ˉ U k , c ( ρ k , c ) ) . d(v,\rho_{k,c}) = \min(d(v,s_k) + h_{U_{k,c}}(\rho_{k,c}),\ d(v,t_k) + \bar{h}_{U_{k,c}}(\rho_{k,c})). d ( v , ρ k , c ) = min ( d ( v , s k ) + h U k , c ( ρ k , c ) , d ( v , t k ) + h ˉ U k , c ( ρ k , c )) .
By Lemma 5.3 (iii), ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) (h_{U_{k,c}},\bar{h}_{U_{k,c}})(\rho_{k,c}) = (\alpha,\beta_k) ( h U k , c , h ˉ U k , c ) ( ρ k , c ) = ( α , β k ) . As d d d is symmetric (Definition 2.1), this is (i).
(2) We prove (ii). Let a ≠ b a \ne b a = b be options and u u u a member of U k , a U_{k,a} U k , a . The sets int ( U k , a ) \operatorname{int}(U_{k,a}) int ( U k , a ) and int ( U k , b ) \operatorname{int}(U_{k,b}) int ( U k , b ) are disjoint (Lemma 4.12 (i)), so u ∉ int ( U k , b ) u \notin\operatorname{int}(U_{k,b}) u ∈ / int ( U k , b ) .
If u = ρ k , a u = \rho_{k,a} u = ρ k , a , then d ( ρ k , a , u ) = 0 d(\rho_{k,a},u) = 0 d ( ρ k , a , u ) = 0 . The core ρ k , b \rho_{k,b} ρ k , b lies in int ( U k , b ) \operatorname{int}(U_{k,b}) int ( U k , b ) (Definitions 4.7 and 4.8 ), so ρ k , b ≠ u \rho_{k,b} \ne u ρ k , b = u , and the distance between two distinct vertices is at least 1 (Definition 2.1). Hence d ( ρ k , a , u ) = 0 < 1 ≤ d ( ρ k , b , u ) d(\rho_{k,a},u) = 0 < 1 \le d(\rho_{k,b},u) d ( ρ k , a , u ) = 0 < 1 ≤ d ( ρ k , b , u ) .
If u ≠ ρ k , a u \ne\rho_{k,a} u = ρ k , a , then (i) applies at c : = b c := b c := b and v : = u v := u v := u , as u ∉ int ( U k , b ) u \notin\operatorname{int}(U_{k,b}) u ∈ / int ( U k , b ) . By Lemma 5.3 (ii) in U k , a U_{k,a} U k , a , d ( s k , u ) = h U k , a ( u ) d(s_k,u) = h_{U_{k,a}}(u) d ( s k , u ) = h U k , a ( u ) and d ( t k , u ) = h ˉ U k , a ( u ) d(t_k,u) = \bar{h}_{U_{k,a}}(u) d ( t k , u ) = h ˉ U k , a ( u ) . Hence
d ( ρ k , b , u ) = min ( α + d ( s k , u ) , β k + d ( t k , u ) ) = min ( α + h U k , a ( u ) , β k + h ˉ U k , a ( u ) ) . d(\rho_{k,b},u) = \min(\alpha+ d(s_k,u),\ \beta_k + d(t_k,u)) = \min(\alpha+ h_{U_{k,a}}(u),\ \beta_k + \bar{h}_{U_{k,a}}(u)). d ( ρ k , b , u ) = min ( α + d ( s k , u ) , β k + d ( t k , u )) = min ( α + h U k , a ( u ) , β k + h ˉ U k , a ( u )) .
By Lemma 5.3(iv) in U k , a U_{k,a} U k , a , d ( ρ k , a , u ) < min ( α + h U k , a ( u ) , β k + h ˉ U k , a ( u ) ) d(\rho_{k,a},u) < \min(\alpha+ h_{U_{k,a}}(u),\ \beta_k + \bar{h}_{U_{k,a}}(u)) d ( ρ k , a , u ) < min ( α + h U k , a ( u ) , β k + h ˉ U k , a ( u )) . Hence d ( ρ k , a , u ) < d ( ρ k , b , u ) d(\rho_{k,a},u) < d(\rho_{k,b},u) d ( ρ k , a , u ) < d ( ρ k , b , u ) . ∎
Corollary 5.9 (the rows of two arms). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). Let D D D and p p p be the numbers of Definition 4.4 , Y 1 , … , Y 4 Y^1,\ldots,Y^4 Y 1 , … , Y 4 the arms and w a = y π a p w_a = y_{\pi_a}^p w a = y π a p their rows (Definition 4.8 ), and δ 1 = d ( T 1 , ⋅ ) \delta_1 = d(T_1,\mathord\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2 = d(T_2,\mathord\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). Let a ≠ b a \ne b a = b be indices with π a = π b \pi_a = \pi_b π a = π b , that is, { a , b } = { 1 , 2 } \{a,b\} = \{1,2\} { a , b } = { 1 , 2 } or { a , b } = { 3 , 4 } \{a,b\} = \{3,4\} { a , b } = { 3 , 4 } (Definition 4.6).
(i) *For every vertex v ∉ int ( Y a ) ∪ int ( Y b ) v \notin\operatorname{int}(Y^a) \cup\operatorname{int}(Y^b) v ∈ / int ( Y a ) ∪ int ( Y b ) , d ( w a , v ) = d ( w b , v ) d(w_a,v) = d(w_b,v) d ( w a , v ) = d ( w b , v ) . *
(ii) For every u ∈ int ( Y a ) u \in\operatorname{int}(Y^a) u ∈ int ( Y a ) , d ( w a , u ) < d ( w b , u ) d(w_a,u) < d(w_b,u) d ( w a , u ) < d ( w b , u ) .
Proof. Put π : = π a = π b \pi:= \pi_a = \pi_b π := π a = π b . By Definition 4.6, π = 7 \pi= 7 π = 7 or π = p \pi= p π = p . By Definition 4.4 , p = 2 m + 4 p = 2m + 4 p = 2 m + 4 and D = 4 m + 15 D = 4m + 15 D = 4 m + 15 , and by Lemma 4.5 (iii), m ≥ 3 m \ge3 m ≥ 3 . So
π = 7 : π = 7 , D − π = 4 m + 8 ≥ 16 , π = p : π = 2 m + 4 ≥ 10 , D − π = 2 m + 11 ≥ 17. \begin{aligned}
\pi= 7 &: \quad\pi= 7,\qquad D - \pi= 4m + 8 \ge16,\\
\pi= p &: \quad\pi= 2m + 4 \ge10,\qquad D - \pi= 2m + 11 \ge17.
\end{aligned} π = 7 π = p : π = 7 , D − π = 4 m + 8 ≥ 16 , : π = 2 m + 4 ≥ 10 , D − π = 2 m + 11 ≥ 17.
In both cases π ≥ 7 \pi\ge7 π ≥ 7 and D − π ≥ 15 D - \pi\ge15 D − π ≥ 15 .
::: (1) We prove (i). As v ∉ int ( Y a ) v \notin\operatorname{int}(Y^{a}) v ∈ / int ( Y a ) and v ∉ int ( Y b ) v \notin\operatorname{int}(Y^{b}) v ∈ / int ( Y b ) , the first formula of Lemma 5.5 (iii), at w a w_a w a and at w b w_b w b , gives
d ( w a , v ) = min ( π + δ 1 ( v ) , D − π + δ 2 ( v ) ) = d ( w b , v ) . d(w_a,v)=\min\left(\pi+\delta_1(v),\ D-\pi+\delta_2(v)\right)=d(w_b,v). d ( w a , v ) = min ( π + δ 1 ( v ) , D − π + δ 2 ( v ) ) = d ( w b , v ) .
(2) We prove (ii). Let u ∈ int ( Y a ) u \in\operatorname{int}(Y^{a}) u ∈ int ( Y a ) . By Lemma 4.12 (i), int ( Y a ) ∩ int ( Y b ) = ∅ \operatorname{int}(Y^{a}) \cap\operatorname{int}(Y^{b})=\varnothing int ( Y a ) ∩ int ( Y b ) = ∅ , so u ∉ int ( Y b ) u \notin\operatorname{int}(Y^{b}) u ∈ / int ( Y b ) , and the first formula of Lemma 5.5 (iii) gives
d ( w b , u ) = min ( π + δ 1 ( u ) , D − π + δ 2 ( u ) ) . d(w_b,u)=\min\left(\pi+\delta_1(u),\ D-\pi+\delta_2(u)\right). d ( w b , u ) = min ( π + δ 1 ( u ) , D − π + δ 2 ( u ) ) .
By Lemma 4.12 (i), u = y i a u=y_i^a u = y i a with 1 ≤ i ≤ D − 1 1\le i\le D-1 1 ≤ i ≤ D − 1 , or u = y ~ a u=\widetilde{y}^{a} u = y a . If u = y i a u=y_i^a u = y i a , then d ( w a , u ) = ∣ i − π ∣ d(w_a,u)=|i-\pi| d ( w a , u ) = ∣ i − π ∣ by the second formula of Lemma 5.5 (iii), and δ 1 ( u ) = i \delta_1(u)=i δ 1 ( u ) = i , δ 2 ( u ) = D − i \delta_2(u)=D-i δ 2 ( u ) = D − i by the line y i a y_i^a y i a of the table (T1). As i ≥ 1 i\ge1 i ≥ 1 and π ≥ 1 \pi\ge1 π ≥ 1 ,
∣ i − π ∣ = max ( i , π ) − min ( i , π ) < max ( i , π ) + min ( i , π ) = π + δ 1 ( u ) , |i-\pi|=\max(i,\pi)-\min(i,\pi)<\max(i,\pi)+\min(i,\pi)=\pi+\delta_1(u), ∣ i − π ∣ = max ( i , π ) − min ( i , π ) < max ( i , π ) + min ( i , π ) = π + δ 1 ( u ) ,
and as D − i ≥ 1 D-i\ge1 D − i ≥ 1 and D − π ≥ 1 D-\pi\ge1 D − π ≥ 1 , in the same way,
∣ i − π ∣ = ∣ ( D − i ) − ( D − π ) ∣ < ( D − i ) + ( D − π ) = D − π + δ 2 ( u ) . |i-\pi|=|(D-i)-(D-\pi)|<(D-i)+(D-\pi)=D-\pi+\delta_2(u). ∣ i − π ∣ = ∣ ( D − i ) − ( D − π ) ∣ < ( D − i ) + ( D − π ) = D − π + δ 2 ( u ) .
So d ( w a , u ) < d ( w b , u ) d(w_a,u)<d(w_b,u) d ( w a , u ) < d ( w b , u ) . If u = y ~ a u=\widetilde{y}^{a} u = y a , then d ( w a , u ) = 2 d(w_a,u)=2 d ( w a , u ) = 2 by the third formula of Lemma 5.5 (iii), and ( δ 1 , δ 2 ) ( u ) = ( π , D − π ) (\delta_1,\delta_2)(u)=(\pi,D-\pi) ( δ 1 , δ 2 ) ( u ) = ( π , D − π ) by the line y ~ a \widetilde{y}^{a} y a of the table (T1). So d ( w b , u ) = min ( 2 π , 2 ( D − π ) ) ≥ 14 > 2 = d ( w a , u ) d(w_b,u)=\min(2\pi,2(D-\pi))\ge14>2=d(w_a,u) d ( w b , u ) = min ( 2 π , 2 ( D − π )) ≥ 14 > 2 = d ( w a , u ) . ∎
Corollary 5.10 (a row and a vertex outside its arm). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6). Let D D D be the number of Definition 4.4 , Y 1 , … , Y 4 Y^1,\ldots,Y^4 Y 1 , … , Y 4 the arms and w a = y π a a w_a=y_{\pi_a}^a w a = y π a a their rows (Definition 4.8 ), and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\mathord\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\mathord\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). Let 1 ≤ a ≤ 4 1\le a\le4 1 ≤ a ≤ 4 and u ∉ int ( Y a ) u\notin\operatorname{int}(Y^a) u ∈ / int ( Y a ) .
(i) If δ 1 ( u ) ≤ D − π a \delta_1(u)\le D-\pi_a δ 1 ( u ) ≤ D − π a , then d ( w a , u ) = π a + δ 1 ( u ) d(w_a,u)=\pi_a+\delta_1(u) d ( w a , u ) = π a + δ 1 ( u ) .
(ii) If δ 2 ( u ) ≤ π a \delta_2(u)\le\pi_a δ 2 ( u ) ≤ π a , then d ( w a , u ) = D − π a + δ 2 ( u ) d(w_a,u)=D-\pi_a+\delta_2(u) d ( w a , u ) = D − π a + δ 2 ( u ) .
Proof. As u ∉ int ( Y a ) u\notin\operatorname{int}(Y^a) u ∈ / int ( Y a ) , the first formula of Lemma 5.5 (iii) gives
d ( w a , u ) = min ( π a + δ 1 ( u ) , D − π a + δ 2 ( u ) ) . d(w_a,u)=\min\left(\pi_a+\delta_1(u),\ D-\pi_a+\delta_2(u)\right). d ( w a , u ) = min ( π a + δ 1 ( u ) , D − π a + δ 2 ( u ) ) . By Lemma 5.2 (iv), the triangle inequality and the symmetry of d d d (Definition 2.1),
D = d ( T 1 , T 2 ) ≤ d ( T 1 , u ) + d ( u , T 2 ) = δ 1 ( u ) + δ 2 ( u ) . D=d(T_1,T_2)\le d(T_1,u)+d(u,T_2)=\delta_1(u)+\delta_2(u). D = d ( T 1 , T 2 ) ≤ d ( T 1 , u ) + d ( u , T 2 ) = δ 1 ( u ) + δ 2 ( u ) . (1) We prove (i). As δ 1 ( u ) ≤ D − π a \delta_1(u)\le D-\pi_a δ 1 ( u ) ≤ D − π a , the first term satisfies π a + δ 1 ( u ) ≤ D \pi_a+\delta_1(u)\le D π a + δ 1 ( u ) ≤ D . As δ 2 ( u ) ≥ D − δ 1 ( u ) \delta_2(u)\ge D-\delta_1(u) δ 2 ( u ) ≥ D − δ 1 ( u ) , the second term satisfies
D − π a + δ 2 ( u ) ≥ 2 D − ( π a + δ 1 ( u ) ) ≥ 2 D − D = D , D-\pi_a+\delta_2(u)\ge2D-(\pi_a+\delta_1(u))\ge2D-D=D, D − π a + δ 2 ( u ) ≥ 2 D − ( π a + δ 1 ( u )) ≥ 2 D − D = D , where the last inequality comes from the preceding one. So the minimum is its first term, π a + δ 1 ( u ) \pi_a+\delta_1(u) π a + δ 1 ( u ) .
(2) We prove (ii). As δ 2 ( u ) ≤ π a \delta_2(u)\le\pi_a δ 2 ( u ) ≤ π a , the second term satisfies D − π a + δ 2 ( u ) ≤ D D-\pi_a+\delta_2(u)\le D D − π a + δ 2 ( u ) ≤ D . As δ 1 ( u ) ≥ D − δ 2 ( u ) ≥ D − π a \delta_1(u)\ge D-\delta_2(u)\ge D-\pi_a δ 1 ( u ) ≥ D − δ 2 ( u ) ≥ D − π a , the first term satisfies π a + δ 1 ( u ) ≥ D \pi_a+\delta_1(u)\ge D π a + δ 1 ( u ) ≥ D . So the minimum is its second term, D − π a + δ 2 ( u ) D-\pi_a+\delta_2(u) D − π a + δ 2 ( u ) . ∎
The lower bound and the forcing
Lemma 6.1 (the lower bound). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let W W W be a set resolving G G G (Definition 2.2). For each level k k k (Definition 4.2 ) let
I k : = int ( U k , 1 ) ∪ int ( U k , 2 ) ∪ int ( U k , 3 ) I_k := \operatorname{int}(U_{k,1}) \cup\operatorname{int}(U_{k,2}) \cup\operatorname{int}(U_{k,3}) I k := int ( U k , 1 ) ∪ int ( U k , 2 ) ∪ int ( U k , 3 ) be the set of the members of the copies of the level k k k (Definition 4.7 ). Let w j = y π j j w_j = y^{j}_{\pi_j} w j = y π j j (1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 ) be the rows of the arms (Definition 4.8 ), and y ~ j \widetilde{y}^{j} y j the vertex of the arm Y j Y^j Y j adjacent to y π j − 1 j y^{j}_{\pi_j-1} y π j − 1 j and y π j + 1 j y^{j}_{\pi_j+1} y π j + 1 j (Definition 4.6). Let
P 0 : = { q , q ′ } , P j : = { w j , y ~ j } ( 1 ≤ j ≤ 4 ) P_0 := \{q,q'\}, \qquad P_j := \{w_j,\widetilde{y}^{j}\} \quad(1 \le j \le4) P 0 := { q , q ′ } , P j := { w j , y j } ( 1 ≤ j ≤ 4 ) be the five pairs of Lemma 4.12 (iii).
(i) For every level k k k , at most one option c c c has W ∩ int ( U k , c ) = ∅ W \cap\operatorname{int}(U_{k,c}) = \varnothing W ∩ int ( U k , c ) = ∅ .
(ii) W W W meets each of the pairs P 0 , … , P 4 P_0,\ldots,P_4 P 0 , … , P 4 .
(iii) ∣ W ∣ ≥ 2 m + 5 |W| \ge2m+5 ∣ W ∣ ≥ 2 m + 5 .
(iv) If ∣ W ∣ = 2 m + 5 |W| = 2m+5 ∣ W ∣ = 2 m + 5 , then for every level k k k , exactly two of the sets int ( U k , 1 ) \operatorname{int}(U_{k,1}) int ( U k , 1 ) , int ( U k , 2 ) \operatorname{int}(U_{k,2}) int ( U k , 2 ) , int ( U k , 3 ) \operatorname{int}(U_{k,3}) int ( U k , 3 ) meet W W W , each in exactly one vertex; W W W meets each pair P j P_j P j in exactly one vertex; and W ⊆ I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 W \subseteq I_1 \cup\cdots\cup I_m \cup P_0 \cup\cdots\cup P_4 W ⊆ I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 .
Proof. (1) We prove (i). Let k k k be a level, and suppose that two distinct options c , c ′ c,c' c , c ′ have W ∩ int ( U k , c ) = W ∩ int ( U k , c ′ ) = ∅ W \cap\operatorname{int}(U_{k,c}) = W \cap\operatorname{int}(U_{k,c'}) = \varnothing W ∩ int ( U k , c ) = W ∩ int ( U k , c ′ ) = ∅ . Put u : = v 1 k , c u := v^{k,c}_1 u := v 1 k , c and u ′ : = v 1 k , c ′ u' := v^{k,c'}_1 u ′ := v 1 k , c ′ . By Definition 4.4 ,
L k = 4 m + 8 − 2 k ≥ 2 m + 8 , L_k = 4m + 8 - 2k \ge2m + 8, L k = 4 m + 8 − 2 k ≥ 2 m + 8 ,
so 1 ≤ L k − 1 1 \le L_k - 1 1 ≤ L k − 1 , and u , u ′ u,u' u , u ′ are spine members of U k , c U_{k,c} U k , c and of U k , c ′ U_{k,c'} U k , c ′ (Definition 4.7 ). They are distinct, as int ( U k , c ) ∩ int ( U k , c ′ ) = ∅ \operatorname{int}(U_{k,c}) \cap\operatorname{int}(U_{k,c'}) = \varnothing int ( U k , c ) ∩ int ( U k , c ′ ) = ∅ (Lemma 4.12 (i)). By Lemma 4.10 (iv) with i = 1 i=1 i = 1 , in U k , c U_{k,c} U k , c and in U k , c ′ U_{k,c'} U k , c ′ ,
( h U k , c , h ‾ U k , c ) ( u ) = ( 1 , L k − 1 ) = ( h U k , c ′ , h ‾ U k , c ′ ) ( u ′ ) . (h_{U_{k,c}},\overline{h}_{U_{k,c}})(u) = (1,L_k-1) = (h_{U_{k,c'}},\overline{h}_{U_{k,c'}})(u'). ( h U k , c , h U k , c ) ( u ) = ( 1 , L k − 1 ) = ( h U k , c ′ , h U k , c ′ ) ( u ′ ) .
Let w ∈ W w \in W w ∈ W . By the supposition, w ∉ int ( U k , c ) w \notin\operatorname{int}(U_{k,c}) w ∈ / int ( U k , c ) and w ∉ int ( U k , c ′ ) w \notin\operatorname{int}(U_{k,c'}) w ∈ / int ( U k , c ′ ) . So Lemma 5.4 (i) applies to the member u u u of U k , c U_{k,c} U k , c and to the member u ′ u' u ′ of U k , c ′ U_{k,c'} U k , c ′ , with this w w w :
d ( w , u ) = min ( d ( w , s k ) + 1 , d ( w , t k ) + L k − 1 ) (xref‘Lemma 5.4(i)‘ in U k , c ) , d ( w , u ′ ) = min ( d ( w , s k ) + 1 , d ( w , t k ) + L k − 1 ) (xref‘Lemma 5.4(i)‘ in U k , c ′ ) . \begin{aligned}
d(w,u) &= \min(d(w,s_k)+1,d(w,t_k)+L_k-1) && \text{({xref}`Lemma 5.4(i)` in }U_{k,c}),\\
d(w,u') &= \min(d(w,s_k)+1,d(w,t_k)+L_k-1) && \text{({xref}`Lemma 5.4(i)` in }U_{k,c'}).
\end{aligned} d ( w , u ) d ( w , u ′ ) = min ( d ( w , s k ) + 1 , d ( w , t k ) + L k − 1 ) = min ( d ( w , s k ) + 1 , d ( w , t k ) + L k − 1 ) ( xref ‘Lemma 5.4(i)‘ in U k , c ) , ( xref ‘Lemma 5.4(i)‘ in U k , c ′ ) .
The right-hand sides are equal, so d ( w , u ) = d ( w , u ′ ) d(w,u) = d(w,u') d ( w , u ) = d ( w , u ′ ) . So no vertex of W W W separates u u u and u ′ u' u ′ , and W W W does not resolve G G G (Definition 2.2), a contradiction. This proves (i).
(2) We prove (ii). By Lemma 5.1, G G G is connected, and by Lemma 4.12 (iii), the two vertices of each pair P j P_j P j are twins. By Lemma 2.15 (iii), W W W contains a vertex of each pair P j P_j P j . (3) We prove (iii). Put X : = I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 X := I_1 \cup\cdots\cup I_m \cup P_0 \cup\cdots\cup P_4 X := I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 . The m + 5 m+5 m + 5 sets I 1 , … , I m , P 0 , … , P 4 I_1,\ldots,I_m,P_0,\ldots,P_4 I 1 , … , I m , P 0 , … , P 4 are pairwise disjoint: the sets int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) are pairwise disjoint (Lemma 4.12(i)), so I k ∩ I k ′ = ∅ I_k \cap I_{k'} = \varnothing I k ∩ I k ′ = ∅ for k ≠ k ′ k \ne k' k = k ′ ; no vertex lies in two of the pairs, and no vertex of a pair lies in a set int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) (Lemma 4.12(iii)). Hence
∣ W ∣ ≥ ∣ W ∩ X ∣ = ∑ k = 1 m ∣ W ∩ I k ∣ + ∑ j = 0 4 ∣ W ∩ P j ∣ . (3) |W| \ge|W \cap X| = \sum_{k=1}^{m} |W \cap I_k| + \sum_{j=0}^{4} |W \cap P_j|. \tag*{(3)} ∣ W ∣ ≥ ∣ W ∩ X ∣ = k = 1 ∑ m ∣ W ∩ I k ∣ + j = 0 ∑ 4 ∣ W ∩ P j ∣. (3)
Let k k k be a level. The three sets W ∩ int ( U k , c ) W \cap\operatorname{int}(U_{k,c}) W ∩ int ( U k , c ) are pairwise disjoint, and by (i) at least two of them are nonempty, so
∣ W ∩ I k ∣ = ∑ c = 1 3 ∣ W ∩ int ( U k , c ) ∣ ≥ 2. |W \cap I_k| = \sum_{c=1}^{3} |W \cap\operatorname{int}(U_{k,c})| \ge2. ∣ W ∩ I k ∣ = c = 1 ∑ 3 ∣ W ∩ int ( U k , c ) ∣ ≥ 2.
By (ii), ∣ W ∩ P j ∣ ≥ 1 |W \cap P_j| \ge1 ∣ W ∩ P j ∣ ≥ 1 for 0 ≤ j ≤ 4 0 \le j \le4 0 ≤ j ≤ 4 . With (E2), ∣ W ∣ ≥ 2 m + 5 |W| \ge2m+5 ∣ W ∣ ≥ 2 m + 5 .
(4) We prove (iv). Let ∣ W ∣ = 2 m + 5 |W| = 2m+5 ∣ W ∣ = 2 m + 5 . By (E2) and the bounds of (3),
∣ W ∣ ≥ ∣ W ∩ X ∣ = ∑ k = 1 m ∣ W ∩ I k ∣ + ∑ j = 0 4 ∣ W ∩ P j ∣ ≥ 2 m + 5 = ∣ W ∣ . |W| \ge|W \cap X| = \sum_{k=1}^{m} |W \cap I_k| + \sum_{j=0}^{4} |W \cap P_j| \ge2m+5 = |W|. ∣ W ∣ ≥ ∣ W ∩ X ∣ = k = 1 ∑ m ∣ W ∩ I k ∣ + j = 0 ∑ 4 ∣ W ∩ P j ∣ ≥ 2 m + 5 = ∣ W ∣.
so both inequalities are equalities. The first gives ∣ W ∩ X ∣ = ∣ W ∣ |W \cap X| = |W| ∣ W ∩ X ∣ = ∣ W ∣ , that is, W ⊆ X W \subseteq X W ⊆ X . In the second, each of the m + 5 m+5 m + 5 terms is at least its bound (2 for I k I_k I k , 1 for P j P_j P j ), and their sum equals the sum 2 m + 5 2m+5 2 m + 5 of the bounds. So each term equals its bound: ∣ W ∩ I k ∣ = 2 |W \cap I_k| = 2 ∣ W ∩ I k ∣ = 2 for every level k k k , and ∣ W ∩ P j ∣ = 1 |W \cap P_j| = 1 ∣ W ∩ P j ∣ = 1 for 0 ≤ j ≤ 4 0 \le j \le4 0 ≤ j ≤ 4 .
Let k k k be a level. The three sets W ∩ int ( U k , c ) W \cap\operatorname{int}(U_{k,c}) W ∩ int ( U k , c ) , c ∈ { 1 , 2 , 3 } c \in\{1,2,3\} c ∈ { 1 , 2 , 3 } , are pairwise disjoint and their union is W ∩ I k W \cap I_k W ∩ I k , so
∣ W ∩ int ( U k , 1 ) ∣ + ∣ W ∩ int ( U k , 2 ) ∣ + ∣ W ∩ int ( U k , 3 ) ∣ = ∣ W ∩ I k ∣ = 2. |W \cap\operatorname{int}(U_{k,1})| + |W \cap\operatorname{int}(U_{k,2})| + |W \cap\operatorname{int}(U_{k,3})| = |W \cap I_k| = 2. ∣ W ∩ int ( U k , 1 ) ∣ + ∣ W ∩ int ( U k , 2 ) ∣ + ∣ W ∩ int ( U k , 3 ) ∣ = ∣ W ∩ I k ∣ = 2.
By (i), at least two of these three numbers are at least 1. So exactly two of them are 1 and the third is 0; that is, exactly two of the sets int ( U k , 1 ) , int ( U k , 2 ) , int ( U k , 3 ) \operatorname{int}(U_{k,1}), \operatorname{int}(U_{k,2}), \operatorname{int}(U_{k,3}) int ( U k , 1 ) , int ( U k , 2 ) , int ( U k , 3 ) meet W W W , each in exactly one vertex. This proves (iv).
Lemma 6.2 (the forcing). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let W W W be a set resolving G G G (Definition 2.2) with ∣ W ∣ = 2 m + 5 |W| = 2m+5 ∣ W ∣ = 2 m + 5 . Let k k k be a level and c c c an option (Definition 4.2 ) with W ∩ int ( U k , c ) ≠ ∅ W \cap\operatorname{int}(U_{k,c}) \ne\varnothing W ∩ int ( U k , c ) = ∅ , and let ρ k , c = r 1 k , c \rho_{k,c} = r_1^{k,c} ρ k , c = r 1 k , c be the core of U k , c U_{k,c} U k , c (Definition 4.8 ). Then
W ∩ int ( U k , c ) = { ρ k , c } . W \cap\operatorname{int}(U_{k,c}) = \{\rho_{k,c}\}. W ∩ int ( U k , c ) = { ρ k , c } .
Proof. Let U : = U k , c U := U_{k,c} U := U k , c , and let L k L_k L k and μ k \mu_k μ k be the numbers of Definition 4.4 .
(1) The landmark w w w and the copy U 0 U_0 U 0 with no landmark. By Lemma 6.1(iv), exactly two of the sets int ( U k , 1 ) , int ( U k , 2 ) , int ( U k , 3 ) \operatorname{int}(U_{k,1}), \operatorname{int}(U_{k,2}), \operatorname{int}(U_{k,3}) int ( U k , 1 ) , int ( U k , 2 ) , int ( U k , 3 ) meet W W W , each in exactly one vertex. One of them is int ( U ) \operatorname{int}(U) int ( U ) , as W ∩ int ( U ) ≠ ∅ W \cap\operatorname{int}(U) \ne\varnothing W ∩ int ( U ) = ∅ ; so W ∩ int ( U ) = { w } W \cap\operatorname{int}(U) = \{w\} W ∩ int ( U ) = { w } for one vertex w w w , and there is an option c 0 ≠ c c_0 \ne c c 0 = c with W ∩ int ( U k , c 0 ) = ∅ W \cap\operatorname{int}(U_{k,c_0}) = \varnothing W ∩ int ( U k , c 0 ) = ∅ . Put U 0 : = U k , c 0 U_0 := U_{k,c_0} U 0 := U k , c 0 . Suppose, for a contradiction, that w ≠ ρ k , c w \ne\rho_{k,c} w = ρ k , c . In (2) and (3) we find two distinct vertices x x x and x ′ x' x ′ , and in (4) we show that no landmark separates them. (2) The vertex x x x . The landmark w w w is a member of U U U , and w ≠ ρ k , c w \ne\rho_{k,c} w = ρ k , c by the supposition. Put x : = r μ k + 1 k , c x := r^{k,c}_{\mu_k+1} x := r μ k + 1 k , c if w w w is a spine or crossing member of U U U , and x : = v L k − 1 k , c x := v^{k,c}_{L_k-1} x := v L k − 1 k , c if w w w is a t t t -ear member of U U U (Definition 4.7 ). By Lemma 4.10 (vi), x x x is a common member of U U U , x ≠ w x \ne w x = w , and
d U ( w , x ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) . d_U(w,x) = \min\bigl(h_U(w)+h_U(x),\ \bar{h}_U(w)+\bar{h}_U(x)\bigr). d U ( w , x ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) .
By Lemma 5.3 (i), d ( w , x ) = d U ( w , x ) d(w,x)=d_U(w,x) d ( w , x ) = d U ( w , x ) . Hence
d ( w , x ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) . (4) d(w,x) = \min\bigl(h_U(w)+h_U(x),\ \bar{h}_U(w)+\bar{h}_U(x)\bigr). \tag*{(4)} d ( w , x ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) . (4)
(3) The counterpart x ′ x' x ′ . Let x ′ x' x ′ be the counterpart of x x x in U 0 U_0 U 0 (Definition 4.7 ), that is, x ′ : = r μ k + 1 k , c 0 x' := r^{k,c_0}_{\mu_k+1} x ′ := r μ k + 1 k , c 0 if x = r μ k + 1 k , c x=r^{k,c}_{\mu_k+1} x = r μ k + 1 k , c , and x ′ : = v L k − 1 k , c 0 x' := v^{k,c_0}_{L_k-1} x ′ := v L k − 1 k , c 0 if x = v L k − 1 k , c x=v^{k,c}_{L_k-1} x = v L k − 1 k , c . As c 0 ≠ c c_0 \ne c c 0 = c , x ′ ≠ x x' \ne x x ′ = x (Definition 4.7 ). By Lemma 4.10 (iv) in U U U and in U 0 U_0 U 0 , at i = μ k + 1 i=\mu_k+1 i = μ k + 1 for the t t t -ear members and at i = L k − 1 i=L_k-1 i = L k − 1 for the spine members,
( h U , h ˉ U ) ( r μ k + 1 k , c ) = ( L k − μ k + ( μ k + 1 ) , μ k + 2 − ( μ k + 1 ) ) = ( L k + 1 , 1 ) = ( h U 0 , h ˉ U 0 ) ( r μ k + 1 k , c 0 ) , (h_U,\bar{h}_U)(r^{k,c}_{\mu_k+1})=(L_k-\mu_k+(\mu_k+1),\ \mu_k+2-(\mu_k+1))=(L_k+1,1)=(h_{U_0},\bar{h}_{U_0})(r^{k,c_0}_{\mu_k+1}), ( h U , h ˉ U ) ( r μ k + 1 k , c ) = ( L k − μ k + ( μ k + 1 ) , μ k + 2 − ( μ k + 1 )) = ( L k + 1 , 1 ) = ( h U 0 , h ˉ U 0 ) ( r μ k + 1 k , c 0 ) ,
( h U , h ˉ U ) ( v L k − 1 k , c ) = ( L k − 1 , L k − ( L k − 1 ) ) = ( L k − 1 , 1 ) = ( h U 0 , h ˉ U 0 ) ( v L k − 1 k , c 0 ) . (h_U,\bar{h}_U)(v^{k,c}_{L_k-1})=(L_k-1,\ L_k-(L_k-1))=(L_k-1,1)=(h_{U_0},\bar{h}_{U_0})(v^{k,c_0}_{L_k-1}). ( h U , h ˉ U ) ( v L k − 1 k , c ) = ( L k − 1 , L k − ( L k − 1 )) = ( L k − 1 , 1 ) = ( h U 0 , h ˉ U 0 ) ( v L k − 1 k , c 0 ) .
So in both cases
( h U 0 , h ˉ U 0 ) ( x ′ ) = ( h U , h ˉ U ) ( x ) . (5) (h_{U_0},\bar{h}_{U_0})(x')=(h_U,\bar{h}_U)(x). \tag*{(5)} ( h U 0 , h ˉ U 0 ) ( x ′ ) = ( h U , h ˉ U ) ( x ) . (5)
(4) No landmark separates x x x and x ′ x' x ′ . Let w ′ ∈ W w'\in W w ′ ∈ W .
The case w ′ = w w'=w w ′ = w . As w ∈ int ( U ) w\in\operatorname{int}(U) w ∈ int ( U ) and int ( U ) ∩ int ( U 0 ) = ∅ \operatorname{int}(U)\cap\operatorname{int}(U_0)=\varnothing int ( U ) ∩ int ( U 0 ) = ∅ (Lemma 4.12 (i)), w ∉ int ( U 0 ) w\notin\operatorname{int}(U_0) w ∈ / int ( U 0 ) , so Lemma 5.4 (i) applies to the member x ′ x' x ′ of U 0 U_0 U 0 with this w w w . By Lemma 5.3 (ii) at w ∈ V ( U ) w\in V(U) w ∈ V ( U ) and the symmetry of d d d (Definition 2.1), d ( w , s k ) = h U ( w ) d(w,s_k)=h_U(w) d ( w , s k ) = h U ( w ) and d ( w , t k ) = h ˉ U ( w ) d(w,t_k)=\bar{h}_U(w) d ( w , t k ) = h ˉ U ( w ) . Hence
d ( w , x ′ ) = min ( d ( w , s k ) + h U 0 ( x ′ ) , d ( w , t k ) + h ˉ U 0 ( x ′ ) ) (xref‘Lemma 5.4(i)‘) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) (xref‘Lemma 5.3(ii)‘, (xref‘E4‘)) = d ( w , x ) (by (xref‘E3‘)). \begin{aligned}
d(w,x')&=\min\bigl(d(w,s_k)+h_{U_0}(x'),\ d(w,t_k)+\bar{h}_{U_0}(x')\bigr) && \text{({xref}`Lemma 5.4(i)`)}\\
&=\min\bigl(h_U(w)+h_U(x),\ \bar{h}_U(w)+\bar{h}_U(x)\bigr) && \text{({xref}`Lemma 5.3(ii)`, ({xref}`E4`))}\\
&=d(w,x) && \text{(by ({xref}`E3`)).}
\end{aligned} d ( w , x ′ ) = min ( d ( w , s k ) + h U 0 ( x ′ ) , d ( w , t k ) + h ˉ U 0 ( x ′ ) ) = min ( h U ( w ) + h U ( x ) , h ˉ U ( w ) + h ˉ U ( x ) ) = d ( w , x ) ( xref ‘Lemma 5.4(i)‘) ( xref ‘Lemma 5.3(ii)‘, ( xref ‘E4‘)) (by ( xref ‘E3‘)).
The case w ′ ≠ w w'\ne w w ′ = w . By (1), W ∩ int ( U ) = { w } W\cap\operatorname{int}(U)=\{w\} W ∩ int ( U ) = { w } and W ∩ int ( U 0 ) = ∅ W\cap\operatorname{int}(U_0)=\varnothing W ∩ int ( U 0 ) = ∅ , so w ′ ∉ int ( U ) w'\notin\operatorname{int}(U) w ′ ∈ / int ( U ) and w ′ ∉ int ( U 0 ) w'\notin\operatorname{int}(U_0) w ′ ∈ / int ( U 0 ) . Hence
d ( w ′ , x ) = min ( d ( w ′ , s k ) + h U ( x ) , d ( w ′ , t k ) + h ˉ U ( x ) ) (xref‘Lemma 5.4(i)‘ in U ) = min ( d ( w ′ , s k ) + h U 0 ( x ′ ) , d ( w ′ , t k ) + h ˉ U 0 ( x ′ ) ) (by (xref‘E4‘)) = d ( w ′ , x ′ ) (xref‘Lemma 5.4(i)‘ in U 0 ). \begin{aligned}
d(w',x)&=\min\bigl(d(w',s_k)+h_U(x),\ d(w',t_k)+\bar{h}_U(x)\bigr) && \text{({xref}`Lemma 5.4(i)` in $U$)}\\
&=\min\bigl(d(w',s_k)+h_{U_0}(x'),\ d(w',t_k)+\bar{h}_{U_0}(x')\bigr) && \text{(by ({xref}`E4`))}\\
&=d(w',x') && \text{({xref}`Lemma 5.4(i)` in $U_0$).}
\end{aligned} d ( w ′ , x ) = min ( d ( w ′ , s k ) + h U ( x ) , d ( w ′ , t k ) + h ˉ U ( x ) ) = min ( d ( w ′ , s k ) + h U 0 ( x ′ ) , d ( w ′ , t k ) + h ˉ U 0 ( x ′ ) ) = d ( w ′ , x ′ ) ( xref ‘Lemma 5.4(i)‘ in U ) (by ( xref ‘E4‘)) ( xref ‘Lemma 5.4(i)‘ in U 0 ).
(5) By (4), no landmark separates the distinct vertices x x x and x ′ x' x ′ , so W W W does not resolve G G G (Definition 2.2), a contradiction. Hence w = ρ k , c w=\rho_{k,c} w = ρ k , c , that is, W ∩ int ( U ) = { ρ k , c } W\cap\operatorname{int}(U)=\{\rho_{k,c}\} W ∩ int ( U ) = { ρ k , c } .
Corollary 6.3 (small resolving sets are patterns). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let W W W be a set resolving G G G (Definition 2.2) with ∣ W ∣ ≤ 2 m + 5 |W|\le2m+5 ∣ W ∣ ≤ 2 m + 5 .
(i) ∣ W ∣ = 2 m + 5 |W|=2m+5 ∣ W ∣ = 2 m + 5 .
(ii) There are an automorphism ψ \psi ψ of G G G and a choice f f f with ψ ( W ) = W f \psi(W)=W_f ψ ( W ) = W f , where W f W_f W f is the pattern of f f f (Definition 4.11 ).
Proof. Let I k I_k I k (1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m ), P 0 : = { q , q ′ } P_0 := \{q,q'\} P 0 := { q , q ′ } and P j : = { w j , y ~ j } P_j := \{w_j,\widetilde{y}^j\} P j := { w j , y j } (1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 ) be the sets of Lemma 6.1 .
We prove (i). By Lemma 6.1 (iii), ∣ W ∣ ≥ 2 m + 5 |W| \ge2m+5 ∣ W ∣ ≥ 2 m + 5 ; with ∣ W ∣ ≤ 2 m + 5 |W| \le2m+5 ∣ W ∣ ≤ 2 m + 5 , ∣ W ∣ = 2 m + 5 |W| = 2m+5 ∣ W ∣ = 2 m + 5 .
We prove (ii). We first show that W W W is a pattern up to the vertices it takes in the pairs P j P_j P j . Let k k k be a level. By (i) and Lemma 6.1 (iv), exactly two of the sets int ( U k , 1 ) \operatorname{int}(U_{k,1}) int ( U k , 1 ) , int ( U k , 2 ) \operatorname{int}(U_{k,2}) int ( U k , 2 ) , int ( U k , 3 ) \operatorname{int}(U_{k,3}) int ( U k , 3 ) meet W W W . Let f k f_k f k be the option of the set that does not meet W W W :
W ∩ int ( U k , f k ) = ∅ , W ∩ int ( U k , c ) ≠ ∅ ( c ≠ f k ) . W \cap\operatorname{int}(U_{k,f_k}) = \varnothing,\qquad W \cap\operatorname{int}(U_{k,c}) \ne\varnothing\quad(c \ne f_k). W ∩ int ( U k , f k ) = ∅ , W ∩ int ( U k , c ) = ∅ ( c = f k ) .
For c ≠ f k c \ne f_k c = f k , the hypotheses of Lemma 6.2 hold (∣ W ∣ = 2 m + 5 |W| = 2m+5 ∣ W ∣ = 2 m + 5 by (i), and W ∩ int ( U k , c ) ≠ ∅ W \cap\operatorname{int}(U_{k,c}) \ne\varnothing W ∩ int ( U k , c ) = ∅ ), so W ∩ int ( U k , c ) = { ρ k , c } W \cap\operatorname{int}(U_{k,c}) = \{\rho_{k,c}\} W ∩ int ( U k , c ) = { ρ k , c } . Hence
W ∩ I k = ⋃ c = 1 3 ( W ∩ int ( U k , c ) ) = { ρ k , c : c ≠ f k } . W \cap I_k = \bigcup_{c=1}^{3} \left(W \cap\operatorname{int}(U_{k,c})\right) = \{\rho_{k,c}:c \ne f_k\}. W ∩ I k = c = 1 ⋃ 3 ( W ∩ int ( U k , c ) ) = { ρ k , c : c = f k } .
By Lemma 6.1 (iv), W W W meets each pair P j P_j P j in exactly one vertex, which we call p j p_j p j , so p 0 ∈ { q , q ′ } p_0 \in\{q,q'\} p 0 ∈ { q , q ′ } and p j ∈ { w j , y ~ j } p_j \in\{w_j,\widetilde{y}^j\} p j ∈ { w j , y j } for 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 . Also W ⊆ I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 W \subseteq I_1 \cup\cdots\cup I_m \cup P_0 \cup\cdots\cup P_4 W ⊆ I 1 ∪ ⋯ ∪ I m ∪ P 0 ∪ ⋯ ∪ P 4 , so W W W is the union of the sets W ∩ I k W \cap I_k W ∩ I k and W ∩ P j = { p j } W \cap P_j = \{p_j\} W ∩ P j = { p j } . With the choice f : = ( f 1 , … , f m ) f := (f_1,\ldots,f_m) f := ( f 1 , … , f m ) , this gives
W = { ρ k , c : 1 ≤ k ≤ m , c ≠ f k } ∪ { p 0 , p 1 , p 2 , p 3 , p 4 } . (6) W = \{\rho_{k,c}:1 \le k \le m,\ c \ne f_k\} \cup\{p_0,p_1,p_2,p_3,p_4\}. \tag*{(6)} W = { ρ k , c : 1 ≤ k ≤ m , c = f k } ∪ { p 0 , p 1 , p 2 , p 3 , p 4 } . (6)
By Definition 4.11 , W f = { ρ k , c : 1 ≤ k ≤ m , c ≠ f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } W_f = \{\rho_{k,c}:1 \le k \le m,\ c \ne f_k\} \cup\{q,w_1,w_2,w_3,w_4\} W f = { ρ k , c : 1 ≤ k ≤ m , c = f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } . This is the same set with q , w 1 , … , w 4 q,w_1,\ldots,w_4 q , w 1 , … , w 4 in place of p 0 , … , p 4 p_0,\ldots,p_4 p 0 , … , p 4 .
The map ψ \psi ψ . For 0 ≤ j ≤ 4 0 \le j \le4 0 ≤ j ≤ 4 , let a j a_j a j be the vertex of P j P_j P j that lies in W f W_f W f , and b j b_j b j the other one:
a 0 : = q , b 0 : = q ′ ; a j : = w j , b j : = y ~ j ( 1 ≤ j ≤ 4 ) . a_0 := q,\quad b_0 := q';\qquad a_j := w_j,\quad b_j := \widetilde{y}^j\quad(1 \le j \le4). a 0 := q , b 0 := q ′ ; a j := w j , b j := y j ( 1 ≤ j ≤ 4 ) .
So p j = a j p_j = a_j p j = a j or p j = b j p_j = b_j p j = b j . Let J : = { j : p j = b j } J := \{j:p_j=b_j\} J := { j : p j = b j } be the set of the pairs where W W W takes the other vertex. Define ψ : V ( G ) → V ( G ) \psi:V(G) \to V(G) ψ : V ( G ) → V ( G ) by
ψ ( a j ) : = b j , ψ ( b j ) : = a j ( j ∈ J ) ; ψ ( u ) : = u for every other vertex u . \psi(a_j) := b_j,\quad\psi(b_j) := a_j\quad(j \in J);\qquad\psi(u) := u\quad\text{for every other vertex }u. ψ ( a j ) := b j , ψ ( b j ) := a j ( j ∈ J ) ; ψ ( u ) := u for every other vertex u .
This is well defined: the pairs P 0 , … , P 4 P_0,\ldots,P_4 P 0 , … , P 4 are pairwise disjoint (Lemma 4.12 (iii)), so every vertex lies in at most one pair. So ψ \psi ψ exchanges a j a_j a j and b j b_j b j for j ∈ J j \in J j ∈ J , and fixes every other vertex. In particular ψ ( p j ) = a j \psi(p_j)=a_j ψ ( p j ) = a j for every j j j . If j ∈ J j \in J j ∈ J , then p j = b j p_j=b_j p j = b j and ψ ( b j ) = a j \psi(b_j)=a_j ψ ( b j ) = a j . If j ∉ J j \notin J j ∈ / J , then p j = a j p_j=a_j p j = a j , which ψ \psi ψ fixes.
ψ \psi ψ is an automorphism of G G G . For j ∈ J j \in J j ∈ J , let ψ j \psi_j ψ j exchange a j a_j a j and b j b_j b j and fix every other vertex. As a j , b j a_j,b_j a j , b j are twins (Lemma 4.12 (iii)) and G G G is connected, ψ j \psi_j ψ j is an automorphism of G G G (Lemma 2.15 (i)). Let j 1 < ⋯ < j t j_1 < \cdots< j_t j 1 < ⋯ < j t be the elements of J J J . We show
ψ = ψ j 1 ∘ ⋯ ∘ ψ j t \psi= \psi_{j_1} \circ\cdots\circ\psi_{j_t} ψ = ψ j 1 ∘ ⋯ ∘ ψ j t
(the identity if J = ∅ J=\varnothing J = ∅ ). Let u u u be a vertex of G G G .
If u ∈ P j u \in P_j u ∈ P j with j ∈ J j \in J j ∈ J : for j ′ ≠ j j' \ne j j ′ = j , the map ψ j ′ \psi_{j'} ψ j ′ moves only the two vertices of P j ′ P_{j'} P j ′ , which are not in P j P_j P j , so it fixes both u u u and ψ j ( u ) \psi_j(u) ψ j ( u ) . Hence the composition sends u u u to ψ j ( u ) \psi_j(u) ψ j ( u ) , the other vertex of P j P_j P j , which is ψ ( u ) \psi(u) ψ ( u ) .
Otherwise, every ψ j ′ \psi_{j'} ψ j ′ with j ′ ∈ J j' \in J j ′ ∈ J fixes u u u , and the composition sends u u u to u = ψ ( u ) u=\psi(u) u = ψ ( u ) .
A composition of automorphisms is an automorphism, so ψ \psi ψ is an automorphism of $G. (5) ψ ( W ) = W f \psi(W)=W_f ψ ( W ) = W f . Let k k k be a level and c c c an option. The row ρ k , c \rho_{k,c} ρ k , c lies in int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) (Definitions Definitions 4.7 and 4.8). By Lemma Lemma 4.12 (iii), no vertex of the pairs P 0 , … , P 4 P_0,\ldots,P_4 P 0 , … , P 4 lies in int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) . So ρ k , c \rho_{k,c} ρ k , c is none of the vertices a j , b j a_j,b_j a j , b j (0 ≤ j ≤ 4 0\le j\le4 0 ≤ j ≤ 4 ), and by (3), ψ ( ρ k , c ) = ρ k , c \psi(\rho_{k,c})=\rho_{k,c} ψ ( ρ k , c ) = ρ k , c . Also by (3), ψ ( p j ) = a j \psi(p_j)=a_j ψ ( p j ) = a j . By (E5) and Definition Definition 4.11 ,
ψ ( W ) = { ρ k , c : 1 ≤ k ≤ m , c ≠ f k } ∪ { a 0 , a 1 , a 2 , a 3 , a 4 } = { ρ k , c : 1 ≤ k ≤ m , c ≠ f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } = W f . \begin{aligned}
\psi(W)=\{\rho_{k,c}:1\le k\le m,\ c\ne f_k\}\cup\{a_0,a_1,a_2,a_3,a_4\} \\
&=\{\rho_{k,c}:1\le k\le m,\ c\ne f_k\}\cup\{q,w_1,w_2,w_3,w_4\}=W_f.
\end{aligned} ψ ( W ) = { ρ k , c : 1 ≤ k ≤ m , c = f k } ∪ { a 0 , a 1 , a 2 , a 3 , a 4 } = { ρ k , c : 1 ≤ k ≤ m , c = f k } ∪ { q , w 1 , w 2 , w 3 , w 4 } = W f .
This proves (ii).
The pairs a pattern leaves unseparated
Lemma 7.1 (pairs inside a copy). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let k k k be a level and c c c an option (Definition 4.2 ), and x ≠ y x\ne y x = y two members of U k , c U_{k,c} U k , c (Definition 4.7 ). Then q q q or the row w 3 = y 7 3 w_3=y^3_7 w 3 = y 7 3 (Definitions 4.6 and 4.8 ) separates x x x and y y y (Definition 2.2).
Proof. Let U : = U k , c U:=U_{k,c} U := U k , c , and write h h h , h ˉ \bar{h} h ˉ , κ \kappa κ for h U h_U h U , h ˉ U \bar{h}_U h ˉ U , κ U \kappa_U κ U (Definition 4.7 ). Let L k L_k L k , L m L_m L m and σ k \sigma_k σ k be the numbers of Definition 4.4 . By Corollary 5.6(iii) and (ii), for every member u u u of U U U ,
d ( w 3 , u ) = 7 + k + h ( u ) , d ( q , u ) = { m − k + 1 + min ( L m + h ( u ) , h ˉ ( u ) − 1 ) if k < m , 1 + h ˉ ( u ) if k = m . (7) d(w_3,u)=7+k+h(u),\qquad d(q,u)=
\begin{cases}
m-k+1+\min\left(L_m+h(u),\bar{h}(u)-1\right) & \text{if } k<m,\\
1+\bar{h}(u) & \text{if } k=m.
\end{cases} \tag*{(7)} d ( w 3 , u ) = 7 + k + h ( u ) , d ( q , u ) = { m − k + 1 + min ( L m + h ( u ) , h ˉ ( u ) − 1 ) 1 + h ˉ ( u ) if k < m , if k = m . (7)
(1) The case h ( x ) ≠ h ( y ) h(x)\ne h(y) h ( x ) = h ( y ) . By (E6), d ( w 3 , x ) = 7 + k + h ( x ) ≠ 7 + k + h ( y ) = d ( w 3 , y ) d(w_3,x)=7+k+h(x)\ne7+k+h(y)=d(w_3,y) d ( w 3 , x ) = 7 + k + h ( x ) = 7 + k + h ( y ) = d ( w 3 , y ) , so w 3 w_3 w 3 separates x x x and y y y .
(2) The case h ( x ) = h ( y ) = : η h(x)=h(y)=:\eta h ( x ) = h ( y ) =: η . We show that q q q separates x x x and y y y . By Lemma 4.10 (iii), the profiles of x x x and y y y are distinct, so h ˉ ( x ) ≠ h ˉ ( y ) \bar{h}(x)\ne\bar{h}(y) h ˉ ( x ) = h ˉ ( y ) . The claim is symmetric in x x x and y y y , so we may exchange their names and assume h ˉ ( x ) < h ˉ ( y ) \bar{h}(x)<\bar{h}(y) h ˉ ( x ) < h ˉ ( y ) . If k = m k=m k = m , then by (E6) d ( q , x ) = 1 + h ˉ ( x ) < 1 + h ˉ ( y ) = d ( q , y ) d(q,x)=1+\bar{h}(x)<1+\bar{h}(y)=d(q,y) d ( q , x ) = 1 + h ˉ ( x ) < 1 + h ˉ ( y ) = d ( q , y ) , and q q q separates x x x and y y y . Let k < m k<m k < m , and suppose, for a contradiction, that d ( q , x ) = d ( q , y ) d(q,x)=d(q,y) d ( q , x ) = d ( q , y ) . By (E6) this means
min ( L m + η , h ˉ ( x ) − 1 ) = min ( L m + η , h ˉ ( y ) − 1 ) . \min\left(L_m+\eta,\bar{h}(x)-1\right)=\min\left(L_m+\eta,\bar{h}(y)-1\right). min ( L m + η , h ˉ ( x ) − 1 ) = min ( L m + η , h ˉ ( y ) − 1 ) .
If h ˉ ( x ) − 1 < L m + η \bar{h}(x)-1<L_m+\eta h ˉ ( x ) − 1 < L m + η , the left side is h ˉ ( x ) − 1 \bar{h}(x)-1 h ˉ ( x ) − 1 , while both terms of the right side exceed h ˉ ( x ) − 1 \bar{h}(x)-1 h ˉ ( x ) − 1 , a contradiction. So h ˉ ( x ) − 1 ≥ L m + η \bar{h}(x)-1\ge L_m+\eta h ˉ ( x ) − 1 ≥ L m + η , and h ˉ ( y ) − 1 > h ˉ ( x ) − 1 ≥ L m + η \bar{h}(y)-1>\bar{h}(x)-1\ge L_m+\eta h ˉ ( y ) − 1 > h ˉ ( x ) − 1 ≥ L m + η . Hence, with the skew κ = h ˉ − h \kappa=\bar{h}-h κ = h ˉ − h of Definition 4.7 ,
κ ( x ) = h ˉ ( x ) − η ≥ L m + 1 , κ ( y ) = h ˉ ( y ) − η ≥ L m + 1. \kappa(x)=\bar{h}(x)-\eta\ge L_m+1,\qquad\kappa(y)=\bar{h}(y)-\eta\ge L_m+1. κ ( x ) = h ˉ ( x ) − η ≥ L m + 1 , κ ( y ) = h ˉ ( y ) − η ≥ L m + 1.
(3) The contradiction. By Definition 4.4 , L m = 4 m + 8 − 2 m = 2 m + 8 L_m=4m+8-2m=2m+8 L m = 4 m + 8 − 2 m = 2 m + 8 and σ k = 2 k ≤ 2 m \sigma_k=2k\le2m σ k = 2 k ≤ 2 m , so L m + 1 ≥ σ k + 9 > σ k + 4 L_m+1\ge\sigma_k+9>\sigma_k+4 L m + 1 ≥ σ k + 9 > σ k + 4 . Hence κ ( x ) > σ k + 4 \kappa(x)>\sigma_k+4 κ ( x ) > σ k + 4 and κ ( y ) > σ k + 4 \kappa(y)>\sigma_k+4 κ ( y ) > σ k + 4 , so x x x and y y y are spine members of U U U (Lemma 4.10 (iv)), that is, x = v i k , c x=v_i^{k,c} x = v i k , c and y = v i ′ k , c y=v_{i'}^{k,c} y = v i ′ k , c with $1\le i,i'\le L_k-1$ (Definition 4.7 ). Then i = h ( x ) = h ( y ) = i ′ i=h(x)=h(y)=i' i = h ( x ) = h ( y ) = i ′ (Lemma 4.10 (iv)), so x = y x=y x = y , which contradicts x ≠ y x\ne y x = y . Hence q q q separates x x x and $y.
Lemma 7.2 (members of rowed copies). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let f f f be a choice and W : = W f W := W_f W := W f its pattern (Definition 4.11 ). Let k k k be a level and c ≠ f k c \ne f_k c = f k an option (Definition 4.2 ), so that U k , c U_{k,c} U k , c is a rowed copy of the level k k k (Definition 4.11 ), and let x x x be a member of U k , c U_{k,c} U k , c (Definition 4.7 ). Then W W W separates x x x from every vertex y ≠ x y \ne x y = x of G G G (Definition 2.2).
Proof. Let c ′ c' c ′ be the option other than c c c and f k f_k f k . Then U k , c ′ U_{k,c'} U k , c ′ is the other rowed copy of the level k k k , and by Definition 4.11 the cores ρ k , c \rho_{k,c} ρ k , c and ρ k , c ′ \rho_{k,c'} ρ k , c ′ lie in W W W , as do q q q and w 3 w_3 w 3 . Let α \alpha α and β k \beta_k β k be the numbers of Definition 4.4 , and y ≠ x y \ne x y = x a vertex of G G G . By Lemma 4.12 (i), y y y lies in int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) , in int ( U k , c ′ ) \operatorname{int}(U_{k,c'}) int ( U k , c ′ ) , or in neither, and (1)–(3) treat these cases.
(1) The case y ∈ int ( U k , c ) y \in\operatorname{int}(U_{k,c}) y ∈ int ( U k , c ) . Then x x x and y y y are two distinct members of U k , c U_{k,c} U k , c . By Lemma 7.1 , q q q or w 3 w_3 w 3 separates them, and both lie in W W W .
(2) The case y ∈ int ( U k , c ′ ) y \in\operatorname{int}(U_{k,c'}) y ∈ int ( U k , c ′ ) . Corollary 5.8 (ii) with ( a , b ) = ( c , c ′ ) (a,b)=(c,c') ( a , b ) = ( c , c ′ ) at the member u : = x u := x u := x of U k , c U_{k,c} U k , c , and with ( a , b ) = ( c ′ , c ) (a,b)=(c',c) ( a , b ) = ( c ′ , c ) at the member u : = y u := y u := y of U k , c ′ U_{k,c'} U k , c ′ , gives
d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) , d ( ρ k , c ′ , y ) < d ( ρ k , c , y ) . d(\rho_{k,c},x) < d(\rho_{k,c'},x), \qquad d(\rho_{k,c'},y) < d(\rho_{k,c},y). d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) , d ( ρ k , c ′ , y ) < d ( ρ k , c , y ) .
Suppose that neither ρ k , c \rho_{k,c} ρ k , c nor ρ k , c ′ \rho_{k,c'} ρ k , c ′ separates x x x and y y y : d ( ρ k , c , x ) = d ( ρ k , c , y ) d(\rho_{k,c},x)=d(\rho_{k,c},y) d ( ρ k , c , x ) = d ( ρ k , c , y ) and d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) d(\rho_{k,c'},x)=d(\rho_{k,c'},y) d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) . Then
d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) < d ( ρ k , c , y ) = d ( ρ k , c , x ) , d(\rho_{k,c},x) < d(\rho_{k,c'},x) = d(\rho_{k,c'},y) < d(\rho_{k,c},y) = d(\rho_{k,c},x), d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) < d ( ρ k , c , y ) = d ( ρ k , c , x ) ,
a contradiction. So ρ k , c \rho_{k,c} ρ k , c or ρ k , c ′ \rho_{k,c'} ρ k , c ′ separates x x x and y y y .
(3) The case y ∉ int ( U k , c ) ∪ int ( U k , c ′ ) y \notin\operatorname{int}(U_{k,c}) \cup\operatorname{int}(U_{k,c'}) y ∈ / int ( U k , c ) ∪ int ( U k , c ′ ) . Suppose that neither ρ k , c \rho_{k,c} ρ k , c nor ρ k , c ′ \rho_{k,c'} ρ k , c ′ separates x x x and y y y : d ( ρ k , c , x ) = d ( ρ k , c , y ) d(\rho_{k,c},x)=d(\rho_{k,c},y) d ( ρ k , c , x ) = d ( ρ k , c , y ) and d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) d(\rho_{k,c'},x)=d(\rho_{k,c'},y) d ( ρ k , c ′ , x ) = d ( ρ k , c ′ , y ) . By Corollary 5.8 (i) at c c c and at c ′ c' c ′ , with v : = y v := y v := y ,
d ( ρ k , c , y ) = min { α + d ( s k , y ) , β k + d ( t k , y ) } = d ( ρ k , c ′ , y ) . d(\rho_{k,c},y) = \min\{\alpha+ d(s_k,y),\ \beta_k + d(t_k,y)\} = d(\rho_{k,c'},y). d ( ρ k , c , y ) = min { α + d ( s k , y ) , β k + d ( t k , y )} = d ( ρ k , c ′ , y ) .
Hence
d ( ρ k , c , x ) = d ( ρ k , c , y ) = d ( ρ k , c ′ , y ) = d ( ρ k , c ′ , x ) . d(\rho_{k,c},x) = d(\rho_{k,c},y) = d(\rho_{k,c'},y) = d(\rho_{k,c'},x). d ( ρ k , c , x ) = d ( ρ k , c , y ) = d ( ρ k , c ′ , y ) = d ( ρ k , c ′ , x ) .
This contradicts Corollary 5.8 (ii) with ( a , b ) = ( c , c ′ ) (a,b)=(c,c') ( a , b ) = ( c , c ′ ) at the member u : = x u := x u := x of U k , c U_{k,c} U k , c , which gives d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) d(\rho_{k,c},x) < d(\rho_{k,c'},x) d ( ρ k , c , x ) < d ( ρ k , c ′ , x ) . So ρ k , c \rho_{k,c} ρ k , c or ρ k , c ′ \rho_{k,c'} ρ k , c ′ separates x x x and y y y . □
Lemma 7.3 (pairs inside an arm). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 , and j ′ : = 3 j' := 3 j ′ := 3 if j ≤ 2 j \le2 j ≤ 2 , j ′ : = 1 j' := 1 j ′ := 1 if j ≥ 3 j \ge3 j ≥ 3 , so that { π j , π j ′ } = { p , 7 } \{\pi_j,\pi_{j'}\}=\{p,7\} { π j , π j ′ } = { p , 7 } (Definition 4.6). Let x ≠ y x \ne y x = y be two vertices of int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) (Definition 4.8 ). Then the row w j w_j w j or the row w j ′ w_{j'} w j ′ separates x x x and y y y (Definition 2.2).
Proof. Put π : = π j \pi:= \pi_j π := π j , and let D D D and p p p be the numbers of Definition 4.4 . By Lemma 4.12 (i), int ( Y j ) = { y 1 j , … , y D − 1 j , y ~ j } \operatorname{int}(Y^j)=\{y^j_1,\ldots,y^j_{D-1},\tilde{y}^j\} int ( Y j ) = { y 1 j , … , y D − 1 j , y ~ j } , and by Lemma 5.5 (iii),
d ( w j , y i j ) = ∣ i − π ∣ ( 1 ≤ i ≤ D − 1 ) , d ( w j , y ~ j ) = 2. d(w_j,y^j_i)=|i-\pi| \quad(1 \le i \le D-1), \qquad d(w_j,\tilde{y}^j)=2. d ( w j , y i j ) = ∣ i − π ∣ ( 1 ≤ i ≤ D − 1 ) , d ( w j , y ~ j ) = 2.
Either d ( w j , x ) ≠ d ( w j , y ) d(w_j,x) \ne d(w_j,y) d ( w j , x ) = d ( w j , y ) or d ( w j , x ) = d ( w j , y ) d(w_j,x)=d(w_j,y) d ( w j , x ) = d ( w j , y ) , and (1)–(3) treat the two cases.
(1) The case d ( w j , x ) ≠ d ( w j , y ) d(w_j,x) \ne d(w_j,y) d ( w j , x ) = d ( w j , y ) . Then w j w_j w j separates x x x and y y y .
(2) The case d ( w j , x ) = d ( w j , y ) d(w_j,x)=d(w_j,y) d ( w j , x ) = d ( w j , y ) : x x x and y y y lie symmetrically around π \pi π . We show that { x , y } \{x,y\} { x , y } is { y π − e j , y π + e j } \{y^j_{\pi-e},y^j_{\pi+e}\} { y π − e j , y π + e j } for some 1 ≤ e ≤ π − 1 1 \le e \le\pi-1 1 ≤ e ≤ π − 1 , or { y ~ j , y π − 2 j } \{\tilde{y}^j,y^j_{\pi-2}\} { y ~ j , y π − 2 j } , or { y ~ j , y π + 2 j } \{\tilde{y}^j,y^j_{\pi+2}\} { y ~ j , y π + 2 j } .
::: If x = y i j x=y_i^j x = y i j and y = y i ′ j y=y_{i'}^j y = y i ′ j with i ≠ i ′ i\ne i' i = i ′ , the distances above give
∣ i − π ∣ = d ( w j , x ) = d ( w j , y ) = ∣ i ′ − π ∣ , |i-\pi|=d(w_j,x)=d(w_j,y)=|i'-\pi|, ∣ i − π ∣ = d ( w j , x ) = d ( w j , y ) = ∣ i ′ − π ∣ ,
so i − π = − ( i ′ − π ) i-\pi=-(i'-\pi) i − π = − ( i ′ − π ) , as i ≠ i ′ i\ne i' i = i ′ . Put e : = ∣ i − π ∣ e:=|i-\pi| e := ∣ i − π ∣ . Then the numbers i − π i-\pi i − π and i ′ − π i'-\pi i ′ − π are e e e and − e -e − e in some order, so { i , i ′ } = { π − e , π + e } \{i,i'\}=\{\pi-e,\pi+e\} { i , i ′ } = { π − e , π + e } and { x , y } = { y π − e j , y π + e j } \{x,y\}=\{y_{\pi-e}^j,y_{\pi+e}^j\} { x , y } = { y π − e j , y π + e j } . Here e ≥ 1 e\ge1 e ≥ 1 , as e = 0 e=0 e = 0 would give i = π = i ′ i=\pi=i' i = π = i ′ . Also e ≤ π − 1 e\le\pi-1 e ≤ π − 1 , as π − e \pi-e π − e is one of i , i ′ i,i' i , i ′ , which are at least 1.
If y ~ j \widetilde y^j y j is one of x , y x,y x , y , the other is some y i j y_i^j y i j , and in the same way 2 = d ( w j , y ~ j ) = d ( w j , y i j ) = ∣ i − π ∣ 2=d(w_j,\widetilde y^j)=d(w_j,y_i^j)=|i-\pi| 2 = d ( w j , y j ) = d ( w j , y i j ) = ∣ i − π ∣ . So i = π − 2 i=\pi-2 i = π − 2 or i = π + 2 i=\pi+2 i = π + 2 .
(3) The case d ( w j , x ) = d ( w j , y ) d(w_j,x)=d(w_j,y) d ( w j , x ) = d ( w j , y ) : w j ′ w_{j'} w j ′ separates x x x and y y y . By the lines y i j y_i^j y i j and y ~ j \widetilde y^j y j of the table T1, δ 1 ( y i j ) = i \delta_1(y_i^j)=i δ 1 ( y i j ) = i and δ 1 ( y ~ j ) = π \delta_1(\widetilde y^j)=\pi δ 1 ( y j ) = π . So by (2), the two numbers δ 1 ( x ) , δ 1 ( y ) \delta_1(x),\delta_1(y) δ 1 ( x ) , δ 1 ( y ) are π − e \pi-e π − e and π + e \pi+e π + e , or π \pi π and π − 2 \pi-2 π − 2 , or π \pi π and π + 2 \pi+2 π + 2 .
These two numbers differ, as e ≥ 1 e\ge1 e ≥ 1 . We show that they are at most D − π j ′ D-\pi_{j'} D − π j ′ . First, π + e ≤ 2 π − 1 \pi+e\le2\pi-1 π + e ≤ 2 π − 1 as e ≤ π − 1 e\le\pi-1 e ≤ π − 1 , and π + 2 ≤ 2 π − 1 \pi+2\le2\pi-1 π + 2 ≤ 2 π − 1 as π ≥ 7 \pi\ge7 π ≥ 7 (π ∈ { p , 7 } \pi\in\{p,7\} π ∈ { p , 7 } and p = 2 m + 4 ≥ 8 p=2m+4\ge8 p = 2 m + 4 ≥ 8 , Definition 4.4 and Lemma 4.5 (iii)). So both are at most 2 π − 1 2\pi-1 2 π − 1 . Next, by Definition 4.4 , p = 2 m + 4 p=2m+4 p = 2 m + 4 and D = 4 m + 15 D=4m+15 D = 4 m + 15 , so
π = p , π j ′ = 7 : 2 π − 1 = 4 m + 7 , D − π j ′ = 4 m + 8 , π = 7 , π j ′ = p : 2 π − 1 = 13 , D − π j ′ = 2 m + 11 ≥ 15. \begin{aligned}
\pi=p,\ \pi_{j'}=7 &: \quad2\pi-1=4m+7,\quad D-\pi_{j'}=4m+8,\\
\pi=7,\ \pi_{j'}=p &: \quad2\pi-1=13,\quad D-\pi_{j'}=2m+11\ge15.
\end{aligned} π = p , π j ′ = 7 π = 7 , π j ′ = p : 2 π − 1 = 4 m + 7 , D − π j ′ = 4 m + 8 , : 2 π − 1 = 13 , D − π j ′ = 2 m + 11 ≥ 15.
In both cases 2 π − 1 ≤ D − π j ′ 2\pi-1\le D-\pi_{j'} 2 π − 1 ≤ D − π j ′ , so δ 1 ( x ) , δ 1 ( y ) ≤ D − π j ′ \delta_1(x),\delta_1(y)\le D-\pi_{j'} δ 1 ( x ) , δ 1 ( y ) ≤ D − π j ′ .
We now apply Corollary 5.10(i) with a : = j ′ a:=j' a := j ′ . Its hypotheses are u ∉ int ( Y j ′ ) u\notin\operatorname{int}(Y^{j'}) u ∈ / int ( Y j ′ ) and δ 1 ( u ) ≤ D − π j ′ \delta_1(u)\le D-\pi_{j'} δ 1 ( u ) ≤ D − π j ′ . By the definition of j ′ j' j ′ in the statement, j ′ ≠ j j'\ne j j ′ = j , so int ( Y j ) ∩ int ( Y j ′ ) = ∅ \operatorname{int}(Y^j)\cap\operatorname{int}(Y^{j'})=\varnothing int ( Y j ) ∩ int ( Y j ′ ) = ∅ (Lemma 4.12 (i)), and x , y ∉ int ( Y j ′ ) x,y\notin\operatorname{int}(Y^{j'}) x , y ∈ / int ( Y j ′ ) .
At u : = x u:=x u := x : x ∉ int ( Y j ′ ) x\notin\operatorname{int}(Y^{j'}) x ∈ / int ( Y j ′ ) and δ 1 ( x ) ≤ D − π j ′ \delta_1(x)\le D-\pi_{j'} δ 1 ( x ) ≤ D − π j ′ , so Corollary 5.10(i) gives d ( w j ′ , x ) = π j ′ + δ 1 ( x ) d(w_{j'},x)=\pi_{j'}+\delta_1(x) d ( w j ′ , x ) = π j ′ + δ 1 ( x ) .
At u : = y u:=y u := y : y ∉ int ( Y j ′ ) y\notin\operatorname{int}(Y^{j'}) y ∈ / int ( Y j ′ ) and δ 1 ( y ) ≤ D − π j ′ \delta_1(y)\le D-\pi_{j'} δ 1 ( y ) ≤ D − π j ′ , so Corollary 5.10(i) gives d ( w j ′ , y ) = π j ′ + δ 1 ( y ) d(w_{j'},y)=\pi_{j'}+\delta_1(y) d ( w j ′ , y ) = π j ′ + δ 1 ( y ) .
As δ 1 ( x ) ≠ δ 1 ( y ) \delta_1(x)\ne\delta_1(y) δ 1 ( x ) = δ 1 ( y ) , d ( w j ′ , x ) ≠ d ( w j ′ , y ) d(w_{j'},x)\ne d(w_{j'},y) d ( w j ′ , x ) = d ( w j ′ , y ) , so w j ′ w_{j'} w j ′ separates x x x and y y y .
The arms
Lemma 7.4 (the arms). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let f f f be a choice and W : = W f W:=W_f W := W f its pattern (Definition 4.11 ). Let 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 and x ∈ int ( Y j ) x\in\operatorname{int}(Y^j) x ∈ int ( Y j ) , where Y j Y^j Y j is the arm j j j (Definition 4.8 ). Then W W W separates x x x from every vertex y ≠ x y\ne x y = x of G G G (Definition 2.2).
Proof. Let j ∗ j^* j ∗ be the other index with π j ∗ = π j \pi_{j^*}=\pi_j π j ∗ = π j , that is, { j , j ∗ } = { 1 , 2 } \{j,j^*\}=\{1,2\} { j , j ∗ } = { 1 , 2 } or { j , j ∗ } = { 3 , 4 } \{j,j^*\}=\{3,4\} { j , j ∗ } = { 3 , 4 } (Definition 4.6). By Definition 4.11 , w 1 , … , w 4 w_1,\ldots,w_4 w 1 , … , w 4 lie in W W W . As x ∈ int ( Y j ) x\in\operatorname{int}(Y^j) x ∈ int ( Y j ) , Corollary 5.9 (ii) with ( a , b ) = ( j , j ∗ ) (a,b)=(j,j^*) ( a , b ) = ( j , j ∗ ) at u : = x u:=x u := x gives
d ( w j , x ) < d ( w j ∗ , x ) . (8) d(w_j,x)<d(w_{j^*},x). \tag*{(8)} d ( w j , x ) < d ( w j ∗ , x ) . (8) Let y ≠ x y\ne x y = x be a vertex of G G G . By Lemma 4.12 (i), y y y lies in int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , in int ( Y j ∗ ) \operatorname{int}(Y^{j^*}) int ( Y j ∗ ) , or in neither, and (1)–(3) treat these cases.
(1) The case y ∈ int ( Y j ∗ ) y\in\operatorname{int}(Y^{j^*}) y ∈ int ( Y j ∗ ) . Let j ′ : = 3 j':=3 j ′ := 3 if j ≤ 2 j\le2 j ≤ 2 and j ′ : = 1 j':=1 j ′ := 1 if j ≥ 3 j\ge3 j ≥ 3 . By Lemma 7.3 , w j w_j w j or w j ′ w_{j'} w j ′ separates x x x and y y y , and both lie in W W W .
(2) The case y ∈ int ( Y j ∗ ) y \in\operatorname{int}(Y^{j^*}) y ∈ int ( Y j ∗ ) . Corollary 5.9 (ii) with ( a , b ) = ( j ∗ , j ) (a,b)=(j^*,j) ( a , b ) = ( j ∗ , j ) at u : = y ∈ int ( Y j ∗ ) u:=y \in\operatorname{int}(Y^{j^*}) u := y ∈ int ( Y j ∗ ) gives d ( w j ∗ , y ) < d ( w j , y ) d(w_{j^*},y)<d(w_j,y) d ( w j ∗ , y ) < d ( w j , y ) . Suppose that neither w j w_j w j nor w j ∗ w_{j^*} w j ∗ separates x x x and y y y . We then have
d ( w j , x ) < d ( w j ∗ , x ) by (E7) , d ( w j ∗ , x ) = d ( w j ∗ , y ) by the supposition , d ( w j ∗ , y ) < d ( w j , y ) by the inequality above , d ( w j , y ) = d ( w j , x ) by the supposition . \begin{aligned}
d(w_j,x)&<d(w_{j^*},x) &&\text{by (E7)},\\
d(w_{j^*},x)&=d(w_{j^*},y) &&\text{by the supposition},\\
d(w_{j^*},y)&<d(w_j,y) &&\text{by the inequality above},\\
d(w_j,y)&=d(w_j,x) &&\text{by the supposition}.
\end{aligned} d ( w j , x ) d ( w j ∗ , x ) d ( w j ∗ , y ) d ( w j , y ) < d ( w j ∗ , x ) = d ( w j ∗ , y ) < d ( w j , y ) = d ( w j , x ) by (E7) , by the supposition , by the inequality above , by the supposition .
Chaining these four relations gives d ( w j , x ) < d ( w j , x ) d(w_j,x)<d(w_j,x) d ( w j , x ) < d ( w j , x ) , a contradiction. So w j w_j w j or w j ∗ w_{j^*} w j ∗ separates x x x and y y y .
(3) The case y ∉ int ( Y j ) ∪ int ( Y j ∗ ) y \notin\operatorname{int}(Y^j) \cup\operatorname{int}(Y^{j^*}) y ∈ / int ( Y j ) ∪ int ( Y j ∗ ) . Suppose that neither w j w_j w j nor w j ∗ w_{j^*} w j ∗ separates x x x and y y y . By the case hypothesis, y y y lies neither in int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) nor in int ( Y j ∗ ) \operatorname{int}(Y^{j^*}) int ( Y j ∗ ) , so Corollary 5.9 (i) applies with ( a , b ) = ( j , j ∗ ) (a,b)=(j,j^*) ( a , b ) = ( j , j ∗ ) at v : = y v:=y v := y and gives d ( w j , y ) = d ( w j ∗ , y ) d(w_j,y)=d(w_{j^*},y) d ( w j , y ) = d ( w j ∗ , y ) . Hence
d ( w j , x ) = d ( w j , y ) = d ( w j ∗ , y ) = d ( w j ∗ , x ) . d(w_j,x)=d(w_j,y)=d(w_{j^*},y)=d(w_{j^*},x). d ( w j , x ) = d ( w j , y ) = d ( w j ∗ , y ) = d ( w j ∗ , x ) .
This contradicts (E7). So w j w_j w j or w j ∗ w_{j^*} w j ∗ separates x x x and y y y .
Lemma 7.5 (four vertices of the skeleton). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let w 1 , w 3 w_1,w_3 w 1 , w 3 be the rows of the arms 1 and 3, and for a level k k k and an option c c c , ρ k , c \rho_{k,c} ρ k , c the core of U k , c U_{k,c} U k , c (Definition 4.8 ). Let y y y be a vertex of G G G .
(i) If y ≠ T 1 y\ne T_1 y = T 1 and y ∉ int ( Y 3 ) y\notin\operatorname{int}(Y^3) y ∈ / int ( Y 3 ) , then w 3 w_3 w 3 separates T 1 T_1 T 1 and y y y .
(ii) If y ≠ T 2 y\ne T_2 y = T 2 and y ∉ int ( Y 1 ) ∪ int ( Y 3 ) y\notin\operatorname{int}(Y^1)\cup\operatorname{int}(Y^3) y ∈ / int ( Y 1 ) ∪ int ( Y 3 ) , then w 1 w_1 w 1 or w 3 w_3 w 3 separates T 2 T_2 T 2 and y y y .
(iii) Let k k k be a level and c c c an option. If y ≠ t k y\ne t_k y = t k and y ∉ int ( U k , c ) y\notin\operatorname{int}(U_{k,c}) y ∈ / int ( U k , c ) , then ρ k , c \rho_{k,c} ρ k , c separates t k t_k t k and y y y .
(iv) If y ≠ q ′ y\ne q' y = q ′ , then q q q , w 1 w_1 w 1 or w 3 w_3 w 3 separates q ′ q' q ′ and y y y .
Proof. Let D D D , p p p , α \alpha α and β k \beta_k β k be the numbers of Definition 4.4 , and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). By Definition 4.4 and Lemma 4.5 (i),(iii), D − p = p + 7 D-p=p+7 D − p = p + 7 , α = β k + σ k = β k + 2 k \alpha=\beta_k+\sigma_k=\beta_k+2k α = β k + σ k = β k + 2 k , and D − 7 = 4 m + 8 ≥ 16 D-7=4m+8\ge16 D − 7 = 4 m + 8 ≥ 16 as m ≥ 3 m\ge3 m ≥ 3 (Lemma 4.5 (iii)).
(1) We prove (i). By the second formula of Lemma 5.5 (iii) with j = 3 j=3 j = 3 and i = 0 i=0 i = 0 , as y 0 3 = T 1 y_0^3=T_1 y 0 3 = T 1 and π 3 = 7 \pi_3=7 π 3 = 7 (Definition 4.6), d ( w 3 , T 1 ) = ∣ 0 − π 3 ∣ = 7 d(w_3,T_1)=|0-\pi_3|=7 d ( w 3 , T 1 ) = ∣0 − π 3 ∣ = 7 . As y ∉ int ( Y 3 ) y\notin\operatorname{int}(Y^3) y ∈ / int ( Y 3 ) , the first formula of Lemma 5.5 (iii) with j = 3 j=3 j = 3 gives
d ( w 3 , y ) = min ( π 3 + δ 1 ( y ) , D − π 3 + δ 2 ( y ) ) = min ( 7 + δ 1 ( y ) , D − 7 + δ 2 ( y ) ) . d(w_3,y)=\min(\pi_3+\delta_1(y),D-\pi_3+\delta_2(y))=\min(7+\delta_1(y),D-7+\delta_2(y)). d ( w 3 , y ) = min ( π 3 + δ 1 ( y ) , D − π 3 + δ 2 ( y )) = min ( 7 + δ 1 ( y ) , D − 7 + δ 2 ( y )) .
Here δ 1 ( y ) ≥ 1 \delta_1(y)\ge1 δ 1 ( y ) ≥ 1 as y ≠ T 1 y\ne T_1 y = T 1 , and D − 7 ≥ 16 D-7\ge16 D − 7 ≥ 16 . So d ( w 3 , y ) ≥ min ( 8 , 16 ) = 8 > 7 = d ( w 3 , T 1 ) d(w_3,y)\ge\min(8,16)=8>7=d(w_3,T_1) d ( w 3 , y ) ≥ min ( 8 , 16 ) = 8 > 7 = d ( w 3 , T 1 ) .
(2) We prove (ii). We first compute the distances from w 1 w_1 w 1 and w 3 w_3 w 3 to T 2 T_2 T 2 . The second formula of Lemma 5.5 (iii) gives d ( w j , y i j ) = ∣ i − π j ∣ d(w_j,y_i^j)=|i-\pi_j| d ( w j , y i j ) = ∣ i − π j ∣ for 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 and $0\le i\le D. With j = 1 j=1 j = 1 and i = D i=D i = D : as y D 1 = T 2 y_D^1=T_2 y D 1 = T 2 (Definition 4.6), it gives d ( w 1 , T 2 ) = ∣ D − π 1 ∣ d(w_1,T_2)=|D-\pi_1| d ( w 1 , T 2 ) = ∣ D − π 1 ∣ . As π 1 = p \pi_1=p π 1 = p (Definition 4.6) and D − p = p + 7 > 0 D-p=p+7>0 D − p = p + 7 > 0 ,
d ( w 1 , T 2 ) = ∣ D − p ∣ = D − p = p + 7. d(w_1,T_2)=|D-p|=D-p=p+7. d ( w 1 , T 2 ) = ∣ D − p ∣ = D − p = p + 7.
With j = 3 j=3 j = 3 and i = D i=D i = D : as y D 3 = T 2 y_D^3=T_2 y D 3 = T 2 , it gives d ( w 3 , T 2 ) = ∣ D − π 3 ∣ d(w_3,T_2)=|D-\pi_3| d ( w 3 , T 2 ) = ∣ D − π 3 ∣ . As π 3 = 7 \pi_3=7 π 3 = 7 (Definition 4.6) and D − 7 ≥ 16 > 0 D-7\ge16>0 D − 7 ≥ 16 > 0 ,
d ( w 3 , T 2 ) = ∣ D − 7 ∣ = D − 7. (9) d(w_3,T_2)=|D-7|=D-7. \tag*{(9)} d ( w 3 , T 2 ) = ∣ D − 7∣ = D − 7. (9)
Suppose that neither w 1 w_1 w 1 nor w 3 w_3 w 3 separates T 2 T_2 T 2 and y y y ; in particular d ( w 1 , y ) = d ( w 1 , T 2 ) = p + 7 d(w_1,y)=d(w_1,T_2)=p+7 d ( w 1 , y ) = d ( w 1 , T 2 ) = p + 7 . As y ∉ int ( Y 1 ) y\notin\operatorname{int}(Y^1) y ∈ / int ( Y 1 ) , the first formula of Lemma 5.5 (iii) with j = 1 j=1 j = 1 gives, as π 1 = p \pi_1=p π 1 = p and D − p = p + 7 D-p=p+7 D − p = p + 7 ,
d ( w 1 , y ) = min ( π 1 + δ 1 ( y ) , D − π 1 + δ 2 ( y ) ) = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y ) ) . d(w_1,y)=\min(\pi_1+\delta_1(y),D-\pi_1+\delta_2(y))=\min(p+\delta_1(y),p+7+\delta_2(y)). d ( w 1 , y ) = min ( π 1 + δ 1 ( y ) , D − π 1 + δ 2 ( y )) = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y )) .
So p + 7 = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y ) ) p+7=\min(p+\delta_1(y),p+7+\delta_2(y)) p + 7 = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y )) . As y ≠ T 2 y\ne T_2 y = T 2 , δ 2 ( y ) ≥ 1 \delta_2(y)\ge1 δ 2 ( y ) ≥ 1 , so the second term exceeds p + 7 p+7 p + 7 , and p + δ 1 ( y ) = p + 7 p+\delta_1(y)=p+7 p + δ 1 ( y ) = p + 7 , that is, δ 1 ( y ) = 7 \delta_1(y)=7 δ 1 ( y ) = 7 . As y ∉ int ( Y 3 ) y\notin\operatorname{int}(Y^3) y ∈ / int ( Y 3 ) and δ 1 ( y ) = 7 ≤ D − 7 = D − π 3 \delta_1(y)=7\le D-7=D-\pi_3 δ 1 ( y ) = 7 ≤ D − 7 = D − π 3 , Corollary 5.10(i) with a : = 3 a:=3 a := 3 gives d ( w 3 , y ) = π 3 + δ 1 ( y ) = 7 + 7 = 14 d(w_3,y)=\pi_3+\delta_1(y)=7+7=14 d ( w 3 , y ) = π 3 + δ 1 ( y ) = 7 + 7 = 14 . With (E8) and D − 7 ≥ 16 D-7\ge16 D − 7 ≥ 16 , d ( w 3 , T 2 ) ≥ 16 d(w_3,T_2)\ge16 d ( w 3 , T 2 ) ≥ 16 . This contradicts d ( w 3 , y ) = d ( w 3 , T 2 ) d(w_3,y)=d(w_3,T_2) d ( w 3 , y ) = d ( w 3 , T 2 ) . So w 1 w_1 w 1 or w 3 w_3 w 3 separates T 2 T_2 T 2 and y y y .
(3) We prove (iii). By Lemma 5.5 (i), d ( ρ j , c , t k ) = β j + ∣ j − k ∣ d(\rho_{j,c},t_k)=\beta_j+|j-k| d ( ρ j , c , t k ) = β j + ∣ j − k ∣ ; with j = k j=k j = k , d ( ρ k , c , t k ) = β k d(\rho_{k,c},t_k)=\beta_k d ( ρ k , c , t k ) = β k . As y ∉ int ( U k , c ) y\notin\operatorname{int}(U_{k,c}) y ∈ / int ( U k , c ) , Corollary 5.8 (i) gives
d ( ρ k , c , y ) = min ( α + d ( s k , y ) , β k + d ( t k , y ) ) . d(\rho_{k,c},y)=\min(\alpha+d(s_k,y),\beta_k+d(t_k,y)). d ( ρ k , c , y ) = min ( α + d ( s k , y ) , β k + d ( t k , y )) .
Both terms exceed β k \beta_k β k : α + d ( s k , y ) ≥ α > β k \alpha+d(s_k,y)\ge\alpha>\beta_k α + d ( s k , y ) ≥ α > β k , and β k + d ( t k , y ) ≥ β k + 1 \beta_k+d(t_k,y)\ge\beta_k+1 β k + d ( t k , y ) ≥ β k + 1 as y ≠ t k y\ne t_k y = t k . So d ( ρ k , c , y ) > d ( ρ k , c , t k ) d(\rho_{k,c},y)>d(\rho_{k,c},t_k) d ( ρ k , c , y ) > d ( ρ k , c , t k ) , and ρ k , c \rho_{k,c} ρ k , c separates t k t_k t k and y y y .
(4) We prove (iv). Let y ≠ q ′ y\ne q' y = q ′ . If y = q y=q y = q : d ( q , q ) = 0 ≠ 2 = d ( q , q ′ ) d(q,q)=0\ne2=d(q,q') d ( q , q ) = 0 = 2 = d ( q , q ′ ) (Lemma 5.4 (iii)). Let y ∉ { q , q ′ } y\notin\{q,q'\} y ∈ / { q , q ′ } . By Lemma 5.4 (iii), d ( q , q ′ ) = 2 d(q,q')=2 d ( q , q ′ ) = 2 and d ( q , y ) = 1 + min ( d ( t m , y ) , d ( t m − 1 , y ) ) d(q,y)=1+\min(d(t_m,y),d(t_{m-1},y)) d ( q , y ) = 1 + min ( d ( t m , y ) , d ( t m − 1 , y )) . So q q q separates q ′ q' q ′ and y y y unless min ( d ( t m , y ) , d ( t m − 1 , y ) ) = 1 \min(d(t_m,y),d(t_{m-1},y))=1 min ( d ( t m , y ) , d ( t m − 1 , y )) = 1 . By Definition 4.6, the neighbours of t m t_m t m are
t m − 1 , q , q ′ , v L m − 1 m , c , r μ m + 1 m , c ( c ∈ { 1 , 2 , 3 } ) , t_{m-1},\quad q,\quad q',\quad v_{L_{m-1}}^{m,c},\quad r_{\mu_{m+1}}^{m,c}\quad(c\in\{1,2,3\}), t m − 1 , q , q ′ , v L m − 1 m , c , r μ m + 1 m , c ( c ∈ { 1 , 2 , 3 }) ,
and the neighbours of t m − 1 t_{m-1} t m − 1 are
t m , t m − 2 , q , q ′ , v L m − 1 − 1 m − 1 , c , r μ m − 1 + 1 m − 1 , c ( c ∈ { 1 , 2 , 3 } ) , t_m,\quad t_{m-2},\quad q,\quad q',\quad v_{L_{m-1}-1}^{m-1,c},\quad r_{\mu_{m-1}+1}^{m-1,c}\quad(c\in\{1,2,3\}), t m , t m − 2 , q , q ′ , v L m − 1 − 1 m − 1 , c , r μ m − 1 + 1 m − 1 , c ( c ∈ { 1 , 2 , 3 }) ,
where t m − 2 t_{m-2} t m − 2 exists as m ≥ 3 m\ge3 m ≥ 3 (Lemma 4.5 (iii)). As y ∉ { q , q ′ } y\notin\{q,q'\} y ∈ / { q , q ′ } , the minimum is 1 exactly when y y y is a vertex of one of the five kinds
t m − 2 , v L m − 1 m , c , r μ m + 1 m , c , v L m − 1 − 1 m − 1 , c , r μ m − 1 + 1 m − 1 , c ( c ∈ { 1 , 2 , 3 } ) . (10) t_{m-2},\quad v_{L_{m-1}}^{m,c},\quad r_{\mu_{m+1}}^{m,c},\quad v_{L_{m-1}-1}^{m-1,c},\quad r_{\mu_{m-1}+1}^{m-1,c}\quad(c\in\{1,2,3\}). \tag*{(10)} t m − 2 , v L m − 1 m , c , r μ m + 1 m , c , v L m − 1 − 1 m − 1 , c , r μ m − 1 + 1 m − 1 , c ( c ∈ { 1 , 2 , 3 }) . (10)
Let y y y be such a vertex. We prove that w 3 w_3 w 3 or w 1 w_1 w 1 separates q ′ q' q ′ and y y y . Neither q ′ q' q ′ nor a vertex of (E9) lies in int ( Y 1 ) ∪ int ( Y 3 ) \operatorname{int}(Y^1)\cup\operatorname{int}(Y^3) int ( Y 1 ) ∪ int ( Y 3 ) , since the vertices of an arm Y j Y^j Y j other than T 1 , T 2 T_1,T_2 T 1 , T 2 are the y j y_j y j and y ~ j \tilde y_j y ~ j (Definition 4.6). So the first formula of Lemma 5.5 (iii), with π 3 = 7 \pi_3=7 π 3 = 7 and π 1 = p \pi_1=p π 1 = p , gives for each such vertex v v v
d ( w 3 , v ) = min ( 7 + δ 1 ( v ) , D − 7 + δ 2 ( v ) ) , d ( w 1 , v ) = min ( p + δ 1 ( v ) , D − p + δ 2 ( v ) ) , d(w_3,v)=\min(7+\delta_1(v),D-7+\delta_2(v)),\qquad d(w_1,v)=\min(p+\delta_1(v),D-p+\delta_2(v)), d ( w 3 , v ) = min ( 7 + δ 1 ( v ) , D − 7 + δ 2 ( v )) , d ( w 1 , v ) = min ( p + δ 1 ( v ) , D − p + δ 2 ( v )) ,
where D − 7 = 4 m + 8 D-7=4m+8 D − 7 = 4 m + 8 , p = 2 m + 4 p=2m+4 p = 2 m + 4 and D − p = 2 m + 11 D-p=2m+11 D − p = 2 m + 11 (Definition 4.4 ). We compute δ 1 ( v ) \delta_1(v) δ 1 ( v ) and δ 2 ( v ) \delta_2(v) δ 2 ( v ) from the table (T1). The line q , q ′ q,q' q , q ′ gives ( δ 1 , δ 2 ) ( q ′ ) = ( D − 6 − m , 7 + m ) = ( 3 m + 9 , m + 7 ) (\delta_1,\delta_2)(q')=(D-6-m,7+m)=(3m+9,m+7) ( δ 1 , δ 2 ) ( q ′ ) = ( D − 6 − m , 7 + m ) = ( 3 m + 9 , m + 7 ) . The line t k t_k t k at k = m − 2 k=m-2 k = m − 2 gives ( δ 1 , δ 2 ) ( t m − 2 ) = ( D − 7 − ( m − 2 ) , 7 + m − 2 ) = ( 3 m + 10 , m + 5 ) (\delta_1,\delta_2)(t_{m-2})=(D-7-(m-2),7+m-2)=(3m+10,m+5) ( δ 1 , δ 2 ) ( t m − 2 ) = ( D − 7 − ( m − 2 ) , 7 + m − 2 ) = ( 3 m + 10 , m + 5 ) . For a member u u u of U j , c U_{j,c} U j , c , the line u ∈ int ( U j , c ) u\in\operatorname{int}(U_{j,c}) u ∈ int ( U j , c ) gives δ 1 ( u ) = j + h U j , c ( u ) \delta_1(u)=j+h_{U_j,c}(u) δ 1 ( u ) = j + h U j , c ( u ) and δ 2 ( u ) = 7 + j + h ˉ U j , c ( u ) \delta_2(u)=7+j+\bar{h}_{U_j,c}(u) δ 2 ( u ) = 7 + j + h ˉ U j , c ( u ) , and by Lemma 4.10 (iv) the profiles are ( h , h ˉ ) ( v L j − 1 m , c ) = ( L j − 1 , 1 ) (h,\bar{h})(v_{L_{j-1}}^{m,c})=(L_j-1,1) ( h , h ˉ ) ( v L j − 1 m , c ) = ( L j − 1 , 1 ) and ( h , h ˉ ) ( r μ j + 1 m , c ) = ( L j + 1 , 1 ) (h,\bar{h})(r_{\mu_{j+1}}^{m,c})=(L_j+1,1) ( h , h ˉ ) ( r μ j + 1 m , c ) = ( L j + 1 , 1 ) . With L m = 2 m + 8 L_m=2m+8 L m = 2 m + 8 and L m − 1 = 2 m + 10 L_{m-1}=2m+10 L m − 1 = 2 m + 10 (Definition 4.4 , L k = 4 m + 8 − 2 k L_k=4m+8-2k L k = 4 m + 8 − 2 k ):
The row w 3 w_3 w 3 . In every line of the table, δ 2 ( v ) ≥ m + 5 \delta_2(v)\ge m+5 δ 2 ( v ) ≥ m + 5 and δ 1 ( v ) ≤ 3 m + 10 \delta_1(v)\le3m+10 δ 1 ( v ) ≤ 3 m + 10 , so D − 7 + δ 2 ( v ) ≥ 5 m + 13 D-7+\delta_2(v)\ge5m+13 D − 7 + δ 2 ( v ) ≥ 5 m + 13 and 7 + δ 1 ( v ) ≤ 3 m + 17 7+\delta_1(v)\le3m+17 7 + δ 1 ( v ) ≤ 3 m + 17 ; as m ≥ 3 m\ge3 m ≥ 3 , 5 m + 13 > 3 m + 17 5m+13>3m+17 5 m + 13 > 3 m + 17 . So d ( w 3 , v ) = 7 + δ 1 ( v ) d(w_3,v)=7+\delta_1(v) d ( w 3 , v ) = 7 + δ 1 ( v ) for every v v v of the table:
d ( w 3 , q ′ ) = 3 m + 16 , d ( w 3 , t m − 2 ) = 3 m + 17 , d ( w 3 , v L m − 1 m , c ) = 3 m + 14 , d ( w 3 , r μ m + 1 m , c ) = 3 m + 16 , d ( w 3 , v L m − 1 − 1 m − 1 , c ) = 3 m + 15 , d ( w 3 , r μ m − 1 + 1 m − 1 , c ) = 3 m + 17. \begin{aligned}
d(w_3,q')&=3m+16, & d(w_3,t_{m-2})&=3m+17,\\
d(w_3,v_{L_{m-1}}^{m,c})&=3m+14, & d(w_3,r_{\mu_{m+1}}^{m,c})&=3m+16,\\
d(w_3,v_{L_{m-1}-1}^{m-1,c})&=3m+15, & d(w_3,r_{\mu_{m-1}+1}^{m-1,c})&=3m+17.
\end{aligned} d ( w 3 , q ′ ) d ( w 3 , v L m − 1 m , c ) d ( w 3 , v L m − 1 − 1 m − 1 , c ) = 3 m + 16 , = 3 m + 14 , = 3 m + 15 , d ( w 3 , t m − 2 ) d ( w 3 , r μ m + 1 m , c ) d ( w 3 , r μ m − 1 + 1 m − 1 , c ) = 3 m + 17 , = 3 m + 16 , = 3 m + 17.
So w 3 w_3 w 3 separates q ′ q' q ′ from every vertex of (E9) except r μ m + 1 m , c r_{\mu_{m+1}}^{m,c} r μ m + 1 m , c .
The row w 1 w_1 w 1 . By the table, δ 1 ( q ′ ) = δ 1 ( r μ m + 1 m , c ) = 3 m + 9 \delta_1(q')=\delta_1(r_{\mu_{m+1}}^{m,c})=3m+9 δ 1 ( q ′ ) = δ 1 ( r μ m + 1 m , c ) = 3 m + 9 , so p + δ 1 ( v ) = 2 m + 4 + 3 m + 9 = 5 m + 13 p+\delta_1(v)=2m+4+3m+9=5m+13 p + δ 1 ( v ) = 2 m + 4 + 3 m + 9 = 5 m + 13 for both v = q ′ v=q' v = q ′ and v = r μ m + 1 m , c v=r_{\mu_{m+1}}^{m,c} v = r μ m + 1 m , c . At v = q ′ v=q' v = q ′ , δ 2 ( v ) = m + 7 \delta_2(v)=m+7 δ 2 ( v ) = m + 7 and D − p + δ 2 ( v ) = 2 m + 11 + m + 7 = 3 m + 18 D-p+\delta_2(v)=2m+11+m+7=3m+18 D − p + δ 2 ( v ) = 2 m + 11 + m + 7 = 3 m + 18 . At v = r μ m + 1 m , c v=r_{\mu_{m+1}}^{m,c} v = r μ m + 1 m , c , δ 2 ( v ) = m + 8 \delta_2(v)=m+8 δ 2 ( v ) = m + 8 and D − p + δ 2 ( v ) = 2 m + 11 + m + 8 = 3 m + 19 D-p+\delta_2(v)=2m+11+m+8=3m+19 D − p + δ 2 ( v ) = 2 m + 11 + m + 8 = 3 m + 19 . As m ≥ 3 m\ge3 m ≥ 3 , 5 m + 13 ≥ 3 m + 19 5m+13\ge3m+19 5 m + 13 ≥ 3 m + 19 , so the minimum is the second term in both cases:
d ( w 1 , q ′ ) = 3 m + 18 , d ( w 1 , r μ m + 1 m , c ) = 3 m + 19. d(w_1,q')=3m+18,\qquad d(w_1,r_{\mu_{m+1}}^{m,c})=3m+19. d ( w 1 , q ′ ) = 3 m + 18 , d ( w 1 , r μ m + 1 m , c ) = 3 m + 19.
So w 1 w_1 w 1 separates q ′ q' q ′ and r μ m + 1 m , c r_{\mu_{m+1}}^{m,c} r μ m + 1 m , c . This proves (iv).
Lemma 7.6 (the vertices z i z_i z i ). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let w 1 w_1 w 1 be the row of the arm 1 and, for an option c c c , ρ 1 , c \rho_{1,c} ρ 1 , c the core of U 1 , c U_{1,c} U 1 , c (Definition 4.8 ). Let 1 ≤ i ≤ 7 1\le i\le7 1 ≤ i ≤ 7 , and y ≠ z i y\ne z_i y = z i a vertex of G G G in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 , with y ∉ int ( U 1 , c ) y\notin\operatorname{int}(U_{1,c}) y ∈ / int ( U 1 , c ) . Then ρ 1 , c \rho_{1,c} ρ 1 , c or w 1 w_1 w 1 separates z i z_i z i and y y y .
Proof. Let D D D , p p p , α \alpha α and β 1 \beta_1 β 1 be the numbers of Definition 4.4 , and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). By Definition 4.4 and Lemma 4.5 (iii), D = 4 m + 15 ≥ 27 D=4m+15\ge27 D = 4 m + 15 ≥ 27 . By Lemma 4.5 (i), α = β 1 + σ 1 = β 1 + 2 \alpha=\beta_1+\sigma_1=\beta_1+2 α = β 1 + σ 1 = β 1 + 2 and D − p = p + 7 D-p=p+7 D − p = p + 7 . By Definition 4.6, π 1 = p \pi_1=p π 1 = p .
(1) The distances from z i z_i z i . By the line z i z_i z i of the table (T1), δ 1 ( z i ) = D − 8 + i \delta_1(z_i)=D-8+i δ 1 ( z i ) = D − 8 + i and δ 2 ( z i ) = 8 − i \delta_2(z_i)=8-i δ 2 ( z i ) = 8 − i . The vertex z i z_i z i lies in S S S , so z i ∉ int ( U 1 , c ) z_i\notin\operatorname{int}(U_{1,c}) z i ∈ / int ( U 1 , c ) and z i ∉ int ( Y 1 ) z_i\notin\operatorname{int}(Y^1) z i ∈ / int ( Y 1 ) (Lemma 4.12 (i)). Corollary 5.8 (i) therefore applies at the level 1, the option c c c and v : = z i v:=z_i v := z i , and gives
d ( ρ 1 , c , z i ) = min ( α + d ( s 1 , z i ) , β 1 + d ( t 1 , z i ) ) . d(\rho_{1,c},z_i)=\min\left(\alpha+d(s_1,z_i),\ \beta_1+d(t_1,z_i)\right). d ( ρ 1 , c , z i ) = min ( α + d ( s 1 , z i ) , β 1 + d ( t 1 , z i ) ) .
By Lemma 5.2 (iii), d ( t 1 , z i ) = i d(t_1,z_i)=i d ( t 1 , z i ) = i . By the triangle inequality and the symmetry of d d d (Definition 2.1),
δ 1 ( z i ) = d ( T 1 , z i ) ≤ d ( T 1 , s 1 ) + d ( s 1 , z i ) = δ 1 ( s 1 ) + d ( s 1 , z i ) . \delta_1(z_i)=d(T_1,z_i)\le d(T_1,s_1)+d(s_1,z_i)=\delta_1(s_1)+d(s_1,z_i). δ 1 ( z i ) = d ( T 1 , z i ) ≤ d ( T 1 , s 1 ) + d ( s 1 , z i ) = δ 1 ( s 1 ) + d ( s 1 , z i ) .
By the lines z i z_i z i and s k s_k s k of the table (T1), at k = 1 k=1 k = 1 , δ 1 ( z i ) = D − 8 + i \delta_1(z_i)=D-8+i δ 1 ( z i ) = D − 8 + i and δ 1 ( s 1 ) = 1 \delta_1(s_1)=1 δ 1 ( s 1 ) = 1 . Hence
d ( s 1 , z i ) ≥ δ 1 ( z i ) − δ 1 ( s 1 ) = ( D − 8 + i ) − 1 = D − 9 + i . d(s_1,z_i)\ge\delta_1(z_i)-\delta_1(s_1)=(D-8+i)-1=D-9+i. d ( s 1 , z i ) ≥ δ 1 ( z i ) − δ 1 ( s 1 ) = ( D − 8 + i ) − 1 = D − 9 + i .
So α + d ( s 1 , z i ) ≥ α + D − 9 + i > β 1 + i \alpha+d(s_1,z_i)\ge\alpha+D-9+i>\beta_1+i α + d ( s 1 , z i ) ≥ α + D − 9 + i > β 1 + i , as α > β 1 \alpha>\beta_1 α > β 1 and D ≥ 9 D\ge9 D ≥ 9 . Hence d ( ρ 1 , c , z i ) = β 1 + i d(\rho_{1,c},z_i)=\beta_1+i d ( ρ 1 , c , z i ) = β 1 + i . As z i ∉ int ( Y 1 ) z_i \notin\operatorname{int}(Y^1) z i ∈ / int ( Y 1 ) and δ 2 ( z i ) = 8 − i ≤ 7 ≤ p = π 1 \delta_2(z_i)=8-i\le7\le p=\pi_1 δ 2 ( z i ) = 8 − i ≤ 7 ≤ p = π 1 , Corollary 5.10(ii) with a : = 1 a:=1 a := 1 gives
d ( w 1 , z i ) = D − π 1 + δ 2 ( z i ) = ( D − p ) + ( 8 − i ) = p + 15 − i . d(w_1,z_i)=D-\pi_1+\delta_2(z_i)=(D-p)+(8-i)=p+15-i. d ( w 1 , z i ) = D − π 1 + δ 2 ( z i ) = ( D − p ) + ( 8 − i ) = p + 15 − i .
(2) If neither separates. Suppose that neither ρ 1 , c \rho_{1,c} ρ 1 , c nor w 1 w_1 w 1 separates z i z_i z i and y y y . As y ∉ int ( U 1 , c ) y\notin\operatorname{int}(U_{1,c}) y ∈ / int ( U 1 , c ) , Corollary 5.8 (i) applies at the level 1, the option c c c and v : = y v:=y v := y , and gives, with α = β 1 + 2 \alpha=\beta_1+2 α = β 1 + 2 ,
d ( ρ 1 , c , y ) = min ( α + d ( s 1 , y ) , β 1 + d ( t 1 , y ) ) = min ( β 1 + 2 + d ( s 1 , y ) , β 1 + d ( t 1 , y ) ) . d(\rho_{1,c},y)=\min(\alpha+d(s_1,y),\beta_1+d(t_1,y))=\min(\beta_1+2+d(s_1,y),\beta_1+d(t_1,y)). d ( ρ 1 , c , y ) = min ( α + d ( s 1 , y ) , β 1 + d ( t 1 , y )) = min ( β 1 + 2 + d ( s 1 , y ) , β 1 + d ( t 1 , y )) .
As d ( ρ 1 , c , y ) = d ( ρ 1 , c , z i ) = β 1 + i d(\rho_{1,c},y)=d(\rho_{1,c},z_i)=\beta_1+i d ( ρ 1 , c , y ) = d ( ρ 1 , c , z i ) = β 1 + i , one of the two terms equals β 1 + i \beta_1+i β 1 + i , so d ( s 1 , y ) = i − 2 d(s_1,y)=i-2 d ( s 1 , y ) = i − 2 or d ( t 1 , y ) = i d(t_1,y)=i d ( t 1 , y ) = i .
(3) The case d ( s 1 , y ) = i − 2 d(s_1,y)=i-2 d ( s 1 , y ) = i − 2 . By the triangle inequality and the line s k s_k s k of the table (T1) at k = 1 k=1 k = 1 ,
δ 1 ( y ) ≤ δ 1 ( s 1 ) + d ( s 1 , y ) = 1 + ( i − 2 ) = i − 1 ≤ 6. \delta_1(y)\le\delta_1(s_1)+d(s_1,y)=1+(i-2)=i-1\le6. δ 1 ( y ) ≤ δ 1 ( s 1 ) + d ( s 1 , y ) = 1 + ( i − 2 ) = i − 1 ≤ 6.
As y ∉ int ( Y 1 ) y\notin\operatorname{int}(Y^1) y ∈ / int ( Y 1 ) and δ 1 ( y ) ≤ 6 ≤ D − p = D − π 1 \delta_1(y)\le6\le D-p=D-\pi_1 δ 1 ( y ) ≤ 6 ≤ D − p = D − π 1 , Corollary 5.10(i) with a : = 1 a:=1 a := 1 gives d ( w 1 , y ) = π 1 + δ 1 ( y ) = p + δ 1 ( y ) ≤ p + 6 d(w_1,y)=\pi_1+\delta_1(y)=p+\delta_1(y)\le p+6 d ( w 1 , y ) = π 1 + δ 1 ( y ) = p + δ 1 ( y ) ≤ p + 6 . By (1), d ( w 1 , z i ) = p + 15 − i ≥ p + 8 d(w_1,z_i)=p+15-i\ge p+8 d ( w 1 , z i ) = p + 15 − i ≥ p + 8 , as i ≤ 7 i\le7 i ≤ 7 . This contradicts d ( w 1 , y ) = d ( w 1 , z i ) d(w_1,y)=d(w_1,z_i) d ( w 1 , y ) = d ( w 1 , z i ) .
(4) The case d ( t 1 , y ) = i d(t_1,y)=i d ( t 1 , y ) = i . By the triangle inequality and the line t k t_k t k of the table (T1) at k = 1 k=1 k = 1 ,
δ 1 ( y ) ≥ δ 1 ( t 1 ) − d ( t 1 , y ) = ( D − 8 ) − i . \delta_1(y)\ge\delta_1(t_1)-d(t_1,y)=(D-8)-i. δ 1 ( y ) ≥ δ 1 ( t 1 ) − d ( t 1 , y ) = ( D − 8 ) − i .
As y ∉ int ( Y 1 ) y\notin\operatorname{int}(Y^1) y ∈ / int ( Y 1 ) , the first formula of Lemma 5.5 (iii) with j = 1 j=1 j = 1 gives, as π 1 = p \pi_1=p π 1 = p and D − p = p + 7 D-p=p+7 D − p = p + 7 ,
d ( w 1 , y ) = min ( π 1 + δ 1 ( y ) , D − π 1 + δ 2 ( y ) ) = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y ) ) . d(w_1,y)=\min(\pi_1+\delta_1(y),D-\pi_1+\delta_2(y))=\min(p+\delta_1(y),p+7+\delta_2(y)). d ( w 1 , y ) = min ( π 1 + δ 1 ( y ) , D − π 1 + δ 2 ( y )) = min ( p + δ 1 ( y ) , p + 7 + δ 2 ( y )) .
The first term is at least p + D − 8 − i > p + 15 − i p+D-8-i>p+15-i p + D − 8 − i > p + 15 − i , as D ≥ 27 > 23 D\ge27>23 D ≥ 27 > 23 . As d ( w 1 , y ) = d ( w 1 , z i ) = p + 15 − i d(w_1,y)=d(w_1,z_i)=p+15-i d ( w 1 , y ) = d ( w 1 , z i ) = p + 15 − i , the minimum is its second term. So p + 7 + δ 2 ( y ) = p + 15 − i p+7+\delta_2(y)=p+15-i p + 7 + δ 2 ( y ) = p + 15 − i , that is, δ 2 ( y ) = ( p + 15 − i ) − ( p + 7 ) = 8 − i \delta_2(y)=(p+15-i)-(p+7)=8-i δ 2 ( y ) = ( p + 15 − i ) − ( p + 7 ) = 8 − i . As 1 ≤ i ≤ 7 1\le i\le7 1 ≤ i ≤ 7 , 1 ≤ 8 − i ≤ 7 1\le8-i\le7 1 ≤ 8 − i ≤ 7 . As y y y lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , Lemma 5.7 (ii) gives y = z 8 − ( 8 − i ) = z i y=z_{8-(8-i)}=z_i y = z 8 − ( 8 − i ) = z i . This contradicts y ≠ z i y\ne z_i y = z i .
Lemma 7.7 (the vertices s k s_k s k ). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let w 3 w_3 w 3 be the row of the arm 3, k k k a level, c c c an option and ρ k , c \rho_{k,c} ρ k , c the core of U k , c U_{k,c} U k , c (Definition 4.8 ). Let y ≠ s k y\ne s_k y = s k be a vertex of G G G in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 . Then ρ k , c \rho_{k,c} ρ k , c or w 3 w_3 w 3 separates s k s_k s k and y y y .
Proof. Let D D D , α \alpha α , β k \beta_k β k , σ k \sigma_k σ k and μ j \mu_j μ j (1 ≤ j ≤ m 1\le j\le m 1 ≤ j ≤ m ) be the numbers of Definition 4.4 , and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\mathord\cdot) δ 1 = d ( T 1 , ⋅ ) , δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\mathord\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). By Definition 4.4 and Lemma 4.5 (i), α = β k + σ k = β k + 2 k \alpha=\beta_k+\sigma_k=\beta_k+2k α = β k + σ k = β k + 2 k and D − 7 = 4 m + 8 D-7=4m+8 D − 7 = 4 m + 8 . By Definition 4.6, π 3 = 7 \pi_3=7 π 3 = 7 .
(1) The distances from s k s_k s k . By Lemma 5.5 (i), d ( ρ j , c , s k ) = α + ∣ j − k ∣ d(\rho_{j,c},s_k)=\alpha+|j-k| d ( ρ j , c , s k ) = α + ∣ j − k ∣ ; with j = k j=k j = k , d ( ρ k , c , s k ) = α d(\rho_{k,c},s_k)=\alpha d ( ρ k , c , s k ) = α . By the line s k s_k s k of the table (T1), δ 1 ( s k ) = k ≤ m ≤ D − 7 = D − π 3 \delta_1(s_k)=k\le m\le D-7=D-\pi_3 δ 1 ( s k ) = k ≤ m ≤ D − 7 = D − π 3 . As s k ∉ int ( Y 3 ) s_k\notin\operatorname{int}(Y^3) s k ∈ / int ( Y 3 ) (Lemma 4.12 (i)), Corollary 5.10(i) with a : = 3 a:=3 a := 3 gives
d ( w 3 , s k ) = π 3 + δ 1 ( s k ) = 7 + k . d(w_3,s_k)=\pi_3+\delta_1(s_k)=7+k. d ( w 3 , s k ) = π 3 + δ 1 ( s k ) = 7 + k . (2) If neither separates, then δ 1 ( y ) = k \delta_1(y)=k δ 1 ( y ) = k . Suppose that neither ρ k , c \rho_{k,c} ρ k , c nor w 3 w_3 w 3 separates s k s_k s k and y y y . As y ∉ int ( Y 3 ) y\notin\operatorname{int}(Y^3) y ∈ / int ( Y 3 ) , the first formula of Lemma 5.5 (iii) with j = 3 j=3 j = 3 gives, as π 3 = 7 \pi_3=7 π 3 = 7 ,
d ( w 3 , y ) = min ( π 3 + δ 1 ( y ) , D − π 3 + δ 2 ( y ) ) = min ( 7 + δ 1 ( y ) , D − 7 + δ 2 ( y ) ) . d(w_3,y)=\min(\pi_3+\delta_1(y),D-\pi_3+\delta_2(y))=\min(7+\delta_1(y),D-7+\delta_2(y)). d ( w 3 , y ) = min ( π 3 + δ 1 ( y ) , D − π 3 + δ 2 ( y )) = min ( 7 + δ 1 ( y ) , D − 7 + δ 2 ( y )) . As δ 2 ( y ) ≥ 0 \delta_2(y)\ge0 δ 2 ( y ) ≥ 0 and k ≤ m k\le m k ≤ m , the second term is at least D − 7 = 4 m + 8 > 7 + k D-7=4m+8>7+k D − 7 = 4 m + 8 > 7 + k . As d ( w 3 , y ) = d ( w 3 , s k ) = 7 + k d(w_3,y)=d(w_3,s_k)=7+k d ( w 3 , y ) = d ( w 3 , s k ) = 7 + k , the minimum is its first term. So 7 + δ 1 ( y ) = 7 + k 7+\delta_1(y)=7+k 7 + δ 1 ( y ) = 7 + k , that is, δ 1 ( y ) = k \delta_1(y)=k δ 1 ( y ) = k .
(3) Where y y y lies. We apply Lemma 5.7 with u : = y u := y u := y . Its hypothesis holds, as y y y lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , 1 ≤ j ≤ 4 1 \le j \le4 1 ≤ j ≤ 4 . By (2), δ 1 ( y ) = k \delta_1(y) = k δ 1 ( y ) = k , and 1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m , so Lemma 5.7 (i) applies. It gives two possibilities.
The first is y = s δ 1 ( y ) = s k y = s_{\delta_1(y)} = s_k y = s δ 1 ( y ) = s k . It is excluded, as y ≠ s k y \ne s_k y = s k .
The second is that y y y is a member of a copy U j , c ′ U_{j,c'} U j , c ′ with j < δ 1 ( y ) = k j < \delta_1(y) = k j < δ 1 ( y ) = k and h U j , c ′ ( y ) = δ 1 ( y ) − j = k − j h_{U_{j,c'}}(y) = \delta_1(y) - j = k - j h U j , c ′ ( y ) = δ 1 ( y ) − j = k − j .
(4) y y y is diagonal. As j < k j < k j < k , ( k , c ) ≠ ( j , c ′ ) (k,c) \ne(j,c') ( k , c ) = ( j , c ′ ) , so Corollary 5.6(i), at the level j j j , the option c ′ c' c ′ and the member y y y of U j , c ′ U_{j,c'} U j , c ′ , applies to the row ρ k , c \rho_{k,c} ρ k , c :
d ( ρ k , c , y ) = ∣ k − j ∣ + β k + min ( σ k + h U j , c ′ ( y ) , h ˉ U j , c ′ ( y ) ) . d(\rho_{k,c},y)=|k-j|+\beta_k+\min\left(\sigma_k+h_{U_{j,c'}}(y),\bar{h}_{U_{j,c'}}(y)\right). d ( ρ k , c , y ) = ∣ k − j ∣ + β k + min ( σ k + h U j , c ′ ( y ) , h ˉ U j , c ′ ( y ) ) .
Here ∣ k − j ∣ = k − j |k-j| = k-j ∣ k − j ∣ = k − j , as j < k j < k j < k , and σ k + h U j , c ′ ( y ) = 2 k + ( k − j ) = 3 k − j \sigma_k + h_{U_{j,c'}}(y) = 2k + (k-j) = 3k-j σ k + h U j , c ′ ( y ) = 2 k + ( k − j ) = 3 k − j . So
d ( ρ k , c , y ) = ( k − j ) + β k + min ( 3 k − j , h ˉ U j , c ′ ( y ) ) . d(\rho_{k,c},y)=(k-j)+\beta_k+\min\left(3k-j,\bar{h}_{U_{j,c'}}(y)\right). d ( ρ k , c , y ) = ( k − j ) + β k + min ( 3 k − j , h ˉ U j , c ′ ( y ) ) .
As ρ k , c \rho_{k,c} ρ k , c does not separate s k s_k s k and y y y , d ( ρ k , c , y ) = d ( ρ k , c , s k ) = α = β k + 2 k d(\rho_{k,c},y) = d(\rho_{k,c},s_k) = \alpha= \beta_k + 2k d ( ρ k , c , y ) = d ( ρ k , c , s k ) = α = β k + 2 k . So
min ( 3 k − j , h ˉ U j , c ′ ( y ) ) = ( β k + 2 k ) − ( k − j ) − β k = k + j . \min\left(3k-j,\bar{h}_{U_{j,c'}}(y)\right)=(\beta_k+2k)-(k-j)-\beta_k=k+j. min ( 3 k − j , h ˉ U j , c ′ ( y ) ) = ( β k + 2 k ) − ( k − j ) − β k = k + j .
As j < k j < k j < k , ( 3 k − j ) − ( k + j ) = 2 ( k − j ) > 0 (3k-j)-(k+j)=2(k-j)>0 ( 3 k − j ) − ( k + j ) = 2 ( k − j ) > 0 , so the minimum is its second term: h ˉ U j , c ′ ( y ) = k + j \bar{h}_{U_{j,c'}}(y) = k+j h ˉ U j , c ′ ( y ) = k + j . So, with the skew of Definition 4.7 ,
κ U j , c ′ ( y ) = h ˉ U j , c ′ ( y ) − h U j , c ′ ( y ) = ( k + j ) − ( k − j ) = 2 j = σ j , \kappa_{U_{j,c'}}(y)=\bar{h}_{U_{j,c'}}(y)-h_{U_{j,c'}}(y)=(k+j)-(k-j)=2j=\sigma_j, κ U j , c ′ ( y ) = h ˉ U j , c ′ ( y ) − h U j , c ′ ( y ) = ( k + j ) − ( k − j ) = 2 j = σ j ,
that is, y y y is a diagonal member of U j , c ′ U_{j,c'} U j , c ′ .
(5) The contradiction . By (4), y y y is a diagonal member of U j , c ′ U_{j,c'} U j , c ′ . So Lemma 4.10 (v), at the level j j j and the option c ′ c' c ′ , applies to the member y y y , and gives h U j , c ′ ( y ) ≥ μ j h_{U_{j,c'}}(y) \ge\mu_j h U j , c ′ ( y ) ≥ μ j , where μ j = 2 m + 4 − 2 j \mu_j = 2m + 4 - 2j μ j = 2 m + 4 − 2 j (Definition 4.4 ). But by (3), h U j , c ′ ( y ) = k − j ≤ m − j h_{U_{j,c'}}(y) = k-j \le m-j h U j , c ′ ( y ) = k − j ≤ m − j , and m − j < 2 ( m − j ) + 4 = μ j m-j < 2(m-j)+4 = \mu_j m − j < 2 ( m − j ) + 4 = μ j as m ≥ j m \ge j m ≥ j . So h U j , c ′ ( y ) < μ j h_{U_{j,c'}}(y) < \mu_j h U j , c ′ ( y ) < μ j , a contradiction.
Lemma 7.8 (the skeleton). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let f f f be a choice and W : = W f W := W_f W := W f its pattern (Definition 4.11 ), and S S S the skeleton (Definition 4.8 ). Let x ∈ S x \in S x ∈ S . Then W W W separates x x x from every vertex y ≠ x y \ne x y = x of G G G (Definition 2.2).
Proof. For each level k k k fix an option c k ≠ f k c_k \ne f_k c k = f k . By Definition 4.11 , ρ k , c k \rho_{k,c_k} ρ k , c k (1 ≤ k ≤ m 1 \le k \le m 1 ≤ k ≤ m ), q q q , w 1 w_1 w 1 and w 3 w_3 w 3 lie in W W W . Let y ≠ x y \ne x y = x be a vertex of G G G . If y y y is a member of a rowed copy, Lemma 7.2 , applied to y y y , shows that W W W separates y y y from x x x . If y ∈ int ( Y j ) y \in\operatorname{int}(Y^j) y ∈ int ( Y j ) for some j j j , Lemma 7.4 , applied to y y y , does the same. So from now on y y y lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , and in no int ( U k , c k ) \operatorname{int}(U_{k,c_k}) int ( U k , c k ) , as these copies are rowed.
By Definition 4.8 , x x x is T 1 T_1 T 1 , T 2 T_2 T 2 , t k t_k t k or s k s_k s k for a level k k k , q ′ q' q ′ , or z i z_i z i for 1 ≤ i ≤ 7 1 \le i \le7 1 ≤ i ≤ 7 .
If x = T 1 x = T_1 x = T 1 : as y ∉ int ( Y 3 ) y \notin\operatorname{int}(Y^3) y ∈ / int ( Y 3 ) , Lemma 7.5 (i) shows that w 3 w_3 w 3 separates x x x and y y y .
If x = T 2 x = T_2 x = T 2 : as y ∉ int ( Y 1 ) ∪ int ( Y 3 ) y \notin\operatorname{int}(Y^1) \cup\operatorname{int}(Y^3) y ∈ / int ( Y 1 ) ∪ int ( Y 3 ) , Lemma 7.5 (ii) shows that w 1 w_1 w 1 or w 3 w_3 w 3 separates them.
If x = t k x = t_k x = t k : as y ∉ int ( U k , c k ) y \notin\operatorname{int}(U_{k,c_k}) y ∈ / int ( U k , c k ) , Lemma 7.5 (iii) with c : = c k c := c_k c := c k shows that ρ k , c k \rho_{k,c_k} ρ k , c k separates them.
If x = q ′ x = q' x = q ′ : Lemma 7.5 (iv) shows that q q q , w 1 w_1 w 1 or w 3 w_3 w 3 separates them.
If x = z i x=z_i x = z i : y y y lies in no arm and y ∉ int ( U 1 , c 1 ) y \notin\operatorname{int}(U_{1,c_1}) y ∈ / int ( U 1 , c 1 ) , so Lemma 7.6 with c : = c 1 c:=c_1 c := c 1 shows that ρ 1 , c 1 \rho_{1,c_1} ρ 1 , c 1 or w 1 w_1 w 1 separates them.
If x = s k x=s_k x = s k : as y y y lies in no arm, Lemma 7.7 with c : = c k c:=c_k c := c k shows that ρ k , c k \rho_{k,c_k} ρ k , c k or w 3 w_3 w 3 separates them.
In each case y ≠ x y \ne x y = x , as assumed. All these landmarks lie in W W W .
Lemma 7.9 (the equations of two levels). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let L m L_m L m , β j \beta_j β j and σ j \sigma_j σ j (1 ≤ j ≤ m 1 \le j \le m 1 ≤ j ≤ m ) be the numbers of Definition 4.4 , w 3 w_3 w 3 the row of the arm 3 and ρ j , c \rho_{j,c} ρ j , c the cores (Definition 4.8 ), and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\cdot) δ 1 = d ( T 1 , ⋅ ) (Lemma 5.1). Let k < k ′ k<k' k < k ′ be levels, Δ : = k ′ − k \Delta:=k'-k Δ := k ′ − k , a a a and b b b options (Definition 4.2 ), x x x a member of U k , a U_{k,a} U k , a and y y y a member of U k ′ , b U_{k',b} U k ′ , b ; profiles and skews of x x x are taken in U k , a U_{k,a} U k , a , and those of y y y in U k ′ , b U_{k',b} U k ′ , b (Definition 4.7 ). Let c ≠ a c\ne a c = a and c ′ ≠ b c'\ne b c ′ = b be options.
(i) If w 3 w_3 w 3 does not separate x x x and y y y , then δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) , that is, h U k ′ , b ( y ) = h U k , a ( x ) − Δ h_{U_{k',b}}(y)=h_{U_{k,a}}(x)-\Delta h U k ′ , b ( y ) = h U k , a ( x ) − Δ .
(ii) Suppose that neither w 3 w_3 w 3 nor q q q separates x x x and y y y . If k ′ < m k'<m k ′ < m , then
min ( L m , κ U k ′ , b ( y ) − 1 ) = min ( L m , κ U k , a ( x ) − 1 ) + 2 Δ ; \min\left(L_m,\kappa_{U_{k',b}}(y)-1\right)=\min\left(L_m,\kappa_{U_{k,a}}(x)-1\right)+2\Delta; min ( L m , κ U k ′ , b ( y ) − 1 ) = min ( L m , κ U k , a ( x ) − 1 ) + 2Δ ; if k ′ = m k'=m k ′ = m , then
κ U m , b ( y ) = min ( L m , κ U k , a ( x ) − 1 ) + 2 Δ . \kappa_{U_{m,b}}(y)=\min\left(L_m,\kappa_{U_{k,a}}(x)-1\right)+2\Delta. κ U m , b ( y ) = min ( L m , κ U k , a ( x ) − 1 ) + 2Δ. (iii) If neither w 3 w_3 w 3 nor ρ k , c \rho_{k,c} ρ k , c separates x x x and y y y , then min ( σ k , κ U k , a ( x ) ) = min ( σ k , κ U k ′ , b ( y ) ) \min(\sigma_k,\kappa_{U_{k,a}}(x))=\min(\sigma_k,\kappa_{U_{k',b}}(y)) min ( σ k , κ U k , a ( x )) = min ( σ k , κ U k ′ , b ( y )) .
(iv) If neither w 3 w_3 w 3 nor ρ k ′ , c ′ \rho_{k',c'} ρ k ′ , c ′ separates x x x and y y y , then min ( σ k ′ , κ U k ′ , b ( y ) ) = min ( σ k ′ , κ U k , a ( x ) ) + 2 Δ \min(\sigma_{k'},\kappa_{U_{k',b}}(y))=\min(\sigma_{k'},\kappa_{U_{k,a}}(x))+2\Delta min ( σ k ′ , κ U k ′ , b ( y )) = min ( σ k ′ , κ U k , a ( x )) + 2Δ .
Proof. Put U : = U k , a U:=U_{k,a} U := U k , a and U ′ : = U k ′ , b U':=U_{k',b} U ′ := U k ′ , b . We first record an identity. By Definition 4.7 , κ U ( x ) = h ˉ U ( x ) − h U ( x ) \kappa_U(x)=\bar{h}_U(x)-h_U(x) κ U ( x ) = h ˉ U ( x ) − h U ( x ) , so h ˉ U ( x ) = h U ( x ) + κ U ( x ) \bar{h}_U(x)=h_U(x)+\kappa_U(x) h ˉ U ( x ) = h U ( x ) + κ U ( x ) . Adding h U ( x ) h_U(x) h U ( x ) to both terms of a minimum adds it to the minimum, so for every integer s s s ,
min ( s + h U ( x ) , h ˉ U ( x ) ) = h U ( x ) + min ( s , κ U ( x ) ) , (11) \min\left(s+h_U(x),\bar{h}_U(x)\right)=h_U(x)+\min\left(s,\kappa_U(x)\right), \tag*{(11)} min ( s + h U ( x ) , h ˉ U ( x ) ) = h U ( x ) + min ( s , κ U ( x ) ) , (11)
and likewise at y y y in U ′ U' U ′ : min ( s + h U ′ ( y ) , h ˉ U ′ ( y ) ) = h U ′ ( y ) + min ( s , κ U ′ ( y ) ) \min(s+h_{U'}(y),\bar{h}_{U'}(y))=h_{U'}(y)+\min(s,\kappa_{U'}(y)) min ( s + h U ′ ( y ) , h ˉ U ′ ( y )) = h U ′ ( y ) + min ( s , κ U ′ ( y )) .
(1) We prove (i). Suppose that w 3 w_3 w 3 does not separate x x x and y y y . Corollary 5.6(iii) at the level k k k , the option a a a and the member x x x gives d ( w 3 , x ) = 7 + δ 1 ( x ) = 7 + k + h U ( x ) d(w_3,x)=7+\delta_1(x)=7+k+h_U(x) d ( w 3 , x ) = 7 + δ 1 ( x ) = 7 + k + h U ( x ) ; at the level k ′ k' k ′ , the option b b b and the member y y y it gives d ( w 3 , y ) = 7 + δ 1 ( y ) = 7 + k ′ + h U ′ ( y ) d(w_3,y)=7+\delta_1(y)=7+k'+h_{U'}(y) d ( w 3 , y ) = 7 + δ 1 ( y ) = 7 + k ′ + h U ′ ( y ) . As w 3 w_3 w 3 does not separate x x x and y y y , d ( w 3 , x ) = d ( w 3 , y ) d(w_3,x)=d(w_3,y) d ( w 3 , x ) = d ( w 3 , y ) . So 7 + δ 1 ( x ) = 7 + δ 1 ( y ) 7+\delta_1(x)=7+\delta_1(y) 7 + δ 1 ( x ) = 7 + δ 1 ( y ) , that is, δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) ; and 7 + k + h U ( x ) = 7 + k ′ + h U ′ ( y ) 7+k+h_U(x)=7+k'+h_{U'}(y) 7 + k + h U ( x ) = 7 + k ′ + h U ′ ( y ) , that is, h U ′ ( y ) = h U ( x ) − ( k ′ − k ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-(k'-k)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − ( k ′ − k ) = h U ( x ) − Δ .
(2) We prove (ii). Suppose that neither w 3 w_3 w 3 nor q q q separates x x x and y y y . By (i), h U ′ ( y ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − Δ . As k < k ′ ≤ m k<k'\le m k < k ′ ≤ m , k < m k<m k < m , so Corollary 5.6(ii) gives d ( q , x ) = m − k + 1 + min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) d(q,x)=m-k+1+\min(L_m+h_U(x),\bar{h}_U(x)-1) d ( q , x ) = m − k + 1 + min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) . As h ˉ U ( x ) − 1 = h U ( x ) + ( κ U ( x ) − 1 ) \bar{h}_U(x)-1=h_U(x)+(\kappa_U(x)-1) h ˉ U ( x ) − 1 = h U ( x ) + ( κ U ( x ) − 1 ) (Definition 4.7 ),
d ( q , x ) = m − k + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) . (12) d(q,x)=m-k+1+h_U(x)+\min(L_m,\kappa_U(x)-1). \tag*{(12)} d ( q , x ) = m − k + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) . (12)
As q q q does not separate x x x and y y y , d ( q , y ) = d ( q , x ) d(q,y)=d(q,x) d ( q , y ) = d ( q , x ) . We compute d ( q , y ) d(q,y) d ( q , y ) in the two cases of (ii). Case k ′ < m k' < m k ′ < m . Corollary 5.6(ii) at the level k ′ k' k ′ gives d ( q , y ) = m − k ′ + 1 + min ( L m + h U ′ ( y ) , h ˉ U ′ ( y ) − 1 ) d(q,y)=m-k'+1+\min(L_m+h_{U'}(y),\bar{h}_{U'}(y)-1) d ( q , y ) = m − k ′ + 1 + min ( L m + h U ′ ( y ) , h ˉ U ′ ( y ) − 1 ) , and h ˉ U ′ ( y ) − 1 = h U ′ ( y ) + ( κ U ′ ( y ) − 1 ) \bar{h}_{U'}(y)-1=h_{U'}(y)+(\kappa_{U'}(y)-1) h ˉ U ′ ( y ) − 1 = h U ′ ( y ) + ( κ U ′ ( y ) − 1 ) , so
d ( q , y ) = m − k ′ + 1 + h U ′ ( y ) + min ( L m , κ U ′ ( y ) − 1 ) . d(q,y)=m-k'+1+h_{U'}(y)+\min(L_m,\kappa_{U'}(y)-1). d ( q , y ) = m − k ′ + 1 + h U ′ ( y ) + min ( L m , κ U ′ ( y ) − 1 ) .
With k ′ = k + Δ k'=k+\Delta k ′ = k + Δ , h U ′ ( y ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − Δ and (E11), d ( q , y ) = d ( q , x ) d(q,y)=d(q,x) d ( q , y ) = d ( q , x ) reads
m − k + 1 + h U ( x ) − 2 Δ + min ( L m , κ U ′ ( y ) − 1 ) = m − k + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) , m-k+1+h_U(x)-2\Delta+\min(L_m,\kappa_{U'}(y)-1)=m-k+1+h_U(x)+\min(L_m,\kappa_U(x)-1), m − k + 1 + h U ( x ) − 2Δ + min ( L m , κ U ′ ( y ) − 1 ) = m − k + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) ,
that is, min ( L m , κ U ′ ( y ) − 1 ) = min ( L m , κ U ( x ) − 1 ) + 2 Δ \min(L_m,\kappa_{U'}(y)-1)=\min(L_m,\kappa_U(x)-1)+2\Delta min ( L m , κ U ′ ( y ) − 1 ) = min ( L m , κ U ( x ) − 1 ) + 2Δ .
Case k ′ = m k'=m k ′ = m . Corollary 5.6(ii) at the level m m m gives d ( q , y ) = 1 + h ˉ U ′ ( y ) d(q,y)=1+\bar{h}_{U'}(y) d ( q , y ) = 1 + h ˉ U ′ ( y ) , and h ˉ U ′ ( y ) = h U ′ ( y ) + κ U ′ ( y ) \bar{h}_{U'}(y)=h_{U'}(y)+\kappa_{U'}(y) h ˉ U ′ ( y ) = h U ′ ( y ) + κ U ′ ( y ) , so
d ( q , y ) = 1 + h U ′ ( y ) + κ U ′ ( y ) = 1 + h U ( x ) − Δ + κ U ′ ( y ) . d(q,y)=1+h_{U'}(y)+\kappa_{U'}(y)=1+h_U(x)-\Delta+\kappa_{U'}(y). d ( q , y ) = 1 + h U ′ ( y ) + κ U ′ ( y ) = 1 + h U ( x ) − Δ + κ U ′ ( y ) .
Here m − k = Δ m-k=\Delta m − k = Δ , so (E11) reads d ( q , x ) = Δ + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) d(q,x)=\Delta+1+h_U(x)+\min(L_m,\kappa_U(x)-1) d ( q , x ) = Δ + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) , and d ( q , y ) = d ( q , x ) d(q,y)=d(q,x) d ( q , y ) = d ( q , x ) reads
1 + h U ( x ) − Δ + κ U ′ ( y ) = Δ + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) , 1+h_U(x)-\Delta+\kappa_{U'}(y)=\Delta+1+h_U(x)+\min(L_m,\kappa_U(x)-1), 1 + h U ( x ) − Δ + κ U ′ ( y ) = Δ + 1 + h U ( x ) + min ( L m , κ U ( x ) − 1 ) ,
that is, κ U ′ ( y ) = min ( L m , κ U ( x ) − 1 ) + 2 Δ \kappa_{U'}(y)=\min(L_m,\kappa_U(x)-1)+2\Delta κ U ′ ( y ) = min ( L m , κ U ( x ) − 1 ) + 2Δ . This proves (ii).
(3) We prove (iii). Suppose that neither w 3 w_3 w 3 nor ρ k , c \rho_{k,c} ρ k , c separates x x x and y y y . By (i), h U ′ ( y ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − Δ . We apply Corollary 5.6(i) to the row ρ k , c \rho_{k,c} ρ k , c ; it requires the member’s copy to differ from U k , c U_{k,c} U k , c . At the member x x x of U k , a U_{k,a} U k , a , ( k , c ) ≠ ( k , a ) (k,c)\ne(k,a) ( k , c ) = ( k , a ) as c ≠ a c\ne a c = a , so, with (E10) at s : = σ k s:=\sigma_k s := σ k ,
d ( ρ k , c , x ) = ∣ k − k ∣ + β k + min ( σ k + h U ( x ) , h ˉ U ( x ) ) = β k + h U ( x ) + min ( σ k , κ U ( x ) ) . d(\rho_{k,c},x)=|k-k|+\beta_k+\min(\sigma_k+h_U(x),\bar{h}_U(x))=\beta_k+h_U(x)+\min(\sigma_k,\kappa_U(x)). d ( ρ k , c , x ) = ∣ k − k ∣ + β k + min ( σ k + h U ( x ) , h ˉ U ( x )) = β k + h U ( x ) + min ( σ k , κ U ( x )) .
At the member y y y of U k ′ , b U_{k',b} U k ′ , b , ( k , c ) ≠ ( k ′ , b ) (k,c)\ne(k',b) ( k , c ) = ( k ′ , b ) as k ≠ k ′ k\ne k' k = k ′ , so, with (E10) and then h U ′ ( y ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − Δ ,
d ( ρ k , c , y ) = ∣ k − k ′ ∣ + β k + h U ′ ( y ) + min ( σ k , κ U ′ ( y ) ) = Δ + β k + h U ( x ) − Δ + min ( σ k , κ U ′ ( y ) ) . d(\rho_{k,c},y)=|k-k'|+\beta_k+h_{U'}(y)+\min(\sigma_k,\kappa_{U'}(y))=\Delta+\beta_k+h_U(x)-\Delta+\min(\sigma_k,\kappa_{U'}(y)). d ( ρ k , c , y ) = ∣ k − k ′ ∣ + β k + h U ′ ( y ) + min ( σ k , κ U ′ ( y )) = Δ + β k + h U ( x ) − Δ + min ( σ k , κ U ′ ( y )) .
As ρ k , c \rho_{k,c} ρ k , c does not separate x x x and y y y , d ( ρ k , c , x ) = d ( ρ k , c , y ) d(\rho_{k,c},x)=d(\rho_{k,c},y) d ( ρ k , c , x ) = d ( ρ k , c , y ) . Subtracting β k + h U ( x ) \beta_k+h_U(x) β k + h U ( x ) from both sides gives (iii).
(4) We prove (iv). Suppose that neither w 3 w_3 w 3 nor ρ k ′ , c ′ \rho_{k',c'} ρ k ′ , c ′ separates x x x and y y y . By (i), h U ′ ( y ) = h U ( x ) − Δ h_{U'}(y)=h_U(x)-\Delta h U ′ ( y ) = h U ( x ) − Δ . We apply Corollary 5.6(i) to the row ρ k ′ , c ′ \rho_{k',c'} ρ k ′ , c ′ . At the member x x x of U k , a U_{k,a} U k , a , ( k ′ , c ′ ) ≠ ( k , a ) (k',c')\ne(k,a) ( k ′ , c ′ ) = ( k , a ) as k ′ ≠ k k'\ne k k ′ = k , so, with (E10) at s : = σ k ′ s:=\sigma_{k'} s := σ k ′ ,
d ( ρ k ′ , c ′ , x ) = ∣ k ′ − k ∣ + β k ′ + h U ( x ) + min ( σ k ′ , κ U ( x ) ) = Δ + β k ′ + h U ( x ) + min ( σ k ′ , κ U ( x ) ) . d(\rho_{k',c'},x)=|k'-k|+\beta_{k'}+h_U(x)+\min(\sigma_{k'},\kappa_U(x))=\Delta+\beta_{k'}+h_U(x)+\min(\sigma_{k'},\kappa_U(x)). d ( ρ k ′ , c ′ , x ) = ∣ k ′ − k ∣ + β k ′ + h U ( x ) + min ( σ k ′ , κ U ( x )) = Δ + β k ′ + h U ( x ) + min ( σ k ′ , κ U ( x )) .
At the member y y y of U k ′ , b U_{k',b} U k ′ , b , ( k ′ , c ′ ) ≠ ( k ′ , b ) (k',c')\ne(k',b) ( k ′ , c ′ ) = ( k ′ , b ) as c ′ ≠ b c'\ne b c ′ = b , so
d ( ρ k ′ , c ′ , y ) = ∣ k ′ − k ′ ∣ + β k ′ + h U ′ ( y ) + min ( σ k ′ , κ U ′ ( y ) ) = β k ′ + h U ( x ) − Δ + min ( σ k ′ , κ U ′ ( y ) ) . d(\rho_{k',c'},y)=|k'-k'|+\beta_{k'}+h_{U'}(y)+\min(\sigma_{k'},\kappa_{U'}(y))=\beta_{k'}+h_U(x)-\Delta+\min(\sigma_{k'},\kappa_{U'}(y)). d ( ρ k ′ , c ′ , y ) = ∣ k ′ − k ′ ∣ + β k ′ + h U ′ ( y ) + min ( σ k ′ , κ U ′ ( y )) = β k ′ + h U ( x ) − Δ + min ( σ k ′ , κ U ′ ( y )) .
As ρ k ′ , c ′ \rho_{k',c'} ρ k ′ , c ′ does not separate x x x and y y y , these are equal. Subtracting β k ′ + h U ( x ) \beta_{k'}+h_U(x) β k ′ + h U ( x ) from both sides,
Δ + min ( σ k ′ , κ U ( x ) ) = − Δ + min ( σ k ′ , κ U ′ ( y ) ) , \Delta+\min(\sigma_{k'},\kappa_U(x))=-\Delta+\min(\sigma_{k'},\kappa_{U'}(y)), Δ + min ( σ k ′ , κ U ( x )) = − Δ + min ( σ k ′ , κ U ′ ( y )) ,
and adding Δ \Delta Δ to both sides gives (iv).
Lemma 7.10 (free members of two levels). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let f f f be a choice and W : = W f W := W_f W := W f its pattern (Definition 4.11 }), and $\delta_1 = d(T_1,\mathord\cdot)$ (Lemma 5.1). Let $1 \le k < k' \le m$, $x$ a member of the free copy $U_{k,f_k}$ and $y$ a member of the free copy $U_{k',f_{k'}}$ ({xref}Definition 4.11). If $W$ does not separate $x$ and $y$, then $k' < m$, $x$ is a diagonal member of $U_{k,f_k}$, $y$ is a diagonal member of $U_{k',f_{k'}}$ ({xref}Definition 4.7`), and δ 1 ( x ) = δ 1 ( y ) \delta_1(x) = \delta_1(y) δ 1 ( x ) = δ 1 ( y ) .
Proof. Put U : = U k , f k U := U_{k,f_k} U := U k , f k , U ′ : = U k ′ , f k ′ U' := U_{k',f_{k'}} U ′ := U k ′ , f k ′ , and Δ : = k ′ − k \Delta:= k' - k Δ := k ′ − k ; Δ ≥ 1 \Delta\ge1 Δ ≥ 1 as k < k ′ k < k' k < k ′ . Let L m L_m L m , σ k \sigma_k σ k and σ k ′ \sigma_{k'} σ k ′ be the numbers of Definition 4.4 ; by that definition, σ k = 2 k \sigma_k = 2k σ k = 2 k , σ k ′ = 2 k ′ \sigma_{k'} = 2k' σ k ′ = 2 k ′ and L m = 4 m + 8 − 2 m = 2 m + 8 L_m = 4m + 8 - 2m = 2m + 8 L m = 4 m + 8 − 2 m = 2 m + 8 , so σ k ′ = σ k + 2 Δ \sigma_{k'} = \sigma_k + 2\Delta σ k ′ = σ k + 2Δ , and σ k ′ ≤ 2 m < L m \sigma_{k'} \le2^m < L_m σ k ′ ≤ 2 m < L m as k ′ ≤ m k' \le m k ′ ≤ m . Choose options c ≠ f k c \ne f_k c = f k and c ′ ≠ f k ′ c' \ne f_{k'} c ′ = f k ′ . By Definition 4.11 , w 3 w_3 w 3 , q q q , ρ k , c \rho_{k,c} ρ k , c and ρ k ′ , c ′ \rho_{k',c'} ρ k ′ , c ′ lie in W W W .
Suppose that W W W does not separate x x x and y y y . Then none of these four landmarks separates them. So Lemma 7.9 applies with a : = f k a := f_k a := f k , b : = f k ′ b := f_{k'} b := f k ′ and the options c , c ′ c,c' c , c ′ : its hypotheses hold, as k < k ′ k < k' k < k ′ , x x x is a member of U k , f k U_{k,f_k} U k , f k , y y y is a member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ , c ≠ f k c \ne f_k c = f k and c ′ ≠ f k ′ c' \ne f_{k'} c ′ = f k ′ . By Lemma 7.9 (i), δ 1 ( x ) = δ 1 ( y ) \delta_1(x) = \delta_1(y) δ 1 ( x ) = δ 1 ( y ) . By Lemma 7.9 (ii), (iii) and (iv),
min ( L m , κ U ′ ( y ) − 1 ) = min ( L m , κ U ( x ) − 1 ) + 2 Δ if k ′ < m , (13) \min(L_m,\kappa_{U'}(y)-1)=\min(L_m,\kappa_U(x)-1)+2\Delta\qquad\text{if } k'<m, \tag*{(13)} min ( L m , κ U ′ ( y ) − 1 ) = min ( L m , κ U ( x ) − 1 ) + 2Δ if k ′ < m , (13)
κ U ′ ( y ) = min ( L m , κ U ( x ) − 1 ) + 2 Δ if k ′ = m , (14) \kappa_{U'}(y)=\min(L_m,\kappa_U(x)-1)+2\Delta\qquad\text{if } k'=m, \tag*{(14)} κ U ′ ( y ) = min ( L m , κ U ( x ) − 1 ) + 2Δ if k ′ = m , (14)
min ( σ k , κ U ( x ) ) = min ( σ k , κ U ′ ( y ) ) , (15) \min(\sigma_k,\kappa_U(x))=\min(\sigma_k,\kappa_{U'}(y)), \tag*{(15)} min ( σ k , κ U ( x )) = min ( σ k , κ U ′ ( y )) , (15)
min ( σ k ′ , κ U ′ ( y ) ) = min ( σ k ′ , κ U ( x ) ) + 2 Δ . (16) \min(\sigma_{k'},\kappa_{U'}(y))=\min(\sigma_{k'},\kappa_U(x))+2\Delta. \tag*{(16)} min ( σ k ′ , κ U ′ ( y )) = min ( σ k ′ , κ U ( x )) + 2Δ. (16)
(1) κ U ( x ) ≤ σ k \kappa_U(x) \le\sigma_k κ U ( x ) ≤ σ k . The left side of (E15) is a minimum one of whose terms is σ k ′ \sigma_{k'} σ k ′ , so it is at most σ k ′ \sigma_{k'} σ k ′ . Hence min ( σ k ′ , κ U ( x ) ) + 2 Δ ≤ σ k ′ \min(\sigma_{k'},\kappa_U(x)) + 2\Delta\le\sigma_{k'} min ( σ k ′ , κ U ( x )) + 2Δ ≤ σ k ′ , that is, min ( σ k ′ , κ U ( x ) ) ≤ σ k ′ − 2 Δ = σ k \min(\sigma_{k'},\kappa_U(x)) \le\sigma_{k'} - 2\Delta= \sigma_k min ( σ k ′ , κ U ( x )) ≤ σ k ′ − 2Δ = σ k . As σ k < σ k ′ \sigma_k < \sigma_{k'} σ k < σ k ′ , this minimum is not σ k ′ \sigma_{k'} σ k ′ ; so it is κ U ( x ) \kappa_U(x) κ U ( x ) , and κ U ( x ) ≤ σ k \kappa_U(x) \le\sigma_k κ U ( x ) ≤ σ k .
(2) κ U ( x ) = σ k \kappa_U(x) = \sigma_k κ U ( x ) = σ k . By (1), min ( σ k , κ U ( x ) ) = κ U ( x ) \min(\sigma_k,\kappa_U(x)) = \kappa_U(x) min ( σ k , κ U ( x )) = κ U ( x ) , so (E14) gives κ U ( x ) = min ( σ k , κ U ′ ( y ) ) \kappa_U(x) = \min(\sigma_k,\kappa_{U'}(y)) κ U ( x ) = min ( σ k , κ U ′ ( y )) . So κ U ( x ) = σ k \kappa_U(x) = \sigma_k κ U ( x ) = σ k or κ U ( x ) = κ U ′ ( y ) \kappa_U(x) = \kappa_{U'}(y) κ U ( x ) = κ U ′ ( y ) . Suppose that κ U ( x ) = κ U ′ ( y ) = : κ \kappa_U(x) = \kappa_{U'}(y) =: \kappa κ U ( x ) = κ U ′ ( y ) =: κ ; then κ ≤ σ k < L m \kappa\le\sigma_k < L_m κ ≤ σ k < L m , so min ( L m , κ − 1 ) = κ − 1 \min(L_m,\kappa- 1) = \kappa- 1 min ( L m , κ − 1 ) = κ − 1 . If k ′ < m k' < m k ′ < m , (E12) gives κ − 1 = κ − 1 + 2 Δ \kappa- 1 = \kappa- 1 + 2\Delta κ − 1 = κ − 1 + 2Δ ; if k ′ = m k' = m k ′ = m , (E13) gives κ = κ − 1 + 2 Δ \kappa= \kappa- 1 + 2\Delta κ = κ − 1 + 2Δ . Both contradict Δ ≥ 1 \Delta\ge1 Δ ≥ 1 . So κ U ( x ) = σ k \kappa_U(x) = \sigma_k κ U ( x ) = σ k , and x x x is a diagonal member of U U U (Definition 4.7 ). As σ k < L m \sigma_k < L_m σ k < L m , min ( L m , κ U ( x ) − 1 ) = σ k − 1 \min(L_m,\kappa_U(x)-1) = \sigma_k - 1 min ( L m , κ U ( x ) − 1 ) = σ k − 1 .
(3) k ′ < m k' < m k ′ < m . Suppose that k ′ = m k' = m k ′ = m . Then (E13) and (2) give κ U ′ ( y ) = σ k − 1 + 2 Δ = σ m − 1 \kappa_{U'}(y) = \sigma_k - 1 + 2\Delta= \sigma_m - 1 κ U ′ ( y ) = σ k − 1 + 2Δ = σ m − 1 . So the left side of (E15) is min ( σ m , σ m − 1 ) = σ m − 1 \min(\sigma_m,\sigma_m-1) = \sigma_m - 1 min ( σ m , σ m − 1 ) = σ m − 1 , while its right side is min ( σ m , σ k ) + 2 Δ = σ k + 2 Δ = σ m \min(\sigma_m,\sigma_k) + 2\Delta= \sigma_k + 2\Delta= \sigma_m min ( σ m , σ k ) + 2Δ = σ k + 2Δ = σ m , as σ k < σ m \sigma_k < \sigma_m σ k < σ m . This contradicts (E15). So k ′ < m k' < m k ′ < m .
(4) κ U ′ ( y ) = σ k ′ \kappa_{U'}(y) = \sigma_{k'} κ U ′ ( y ) = σ k ′ . By (3), k ′ < m k' < m k ′ < m , so (E12) and (2) give
min ( L m , κ U ′ ( y ) − 1 ) = σ k − 1 + 2 Δ = σ k ′ − 1. \min(L_m,\kappa_{U'}(y)-1)=\sigma_k-1+2\Delta=\sigma_{k'}-1. min ( L m , κ U ′ ( y ) − 1 ) = σ k − 1 + 2Δ = σ k ′ − 1.
As σ k ′ − 1 < L m \sigma_{k'} - 1 < L_m σ k ′ − 1 < L m , this minimum is not L m L_m L m ; so it is κ U ′ ( y ) − 1 \kappa_{U'}(y) - 1 κ U ′ ( y ) − 1 , and κ U ′ ( y ) = σ k ′ \kappa_{U'}(y) = \sigma_{k'} κ U ′ ( y ) = σ k ′ . So y y y is a diagonal member of U ′ U' U ′ (Definition 4.7 ).
Lemma 7.11 (diagonal members of free copies). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let p p p , L m L_m L m , β j \beta_j β j and σ j \sigma_j σ j (1 ≤ j ≤ m 1 \le j \le m 1 ≤ j ≤ m ) be the numbers of Definition 4.4 , π i \pi_i π i (1 ≤ i ≤ 4 1 \le i \le4 1 ≤ i ≤ 4 ) the positions of Definition 4.6, ρ j , c \rho_{j,c} ρ j , c and w i w_i w i the rows (Definition 4.8 ), and δ 1 = d ( T 1 , ⋅ ) \delta_1 = d(T_1,\mathord\cdot) δ 1 = d ( T 1 , ⋅ ) (Lemma 5.1). Let f f f be a choice and W : = W f W := W_f W := W f its pattern (Definition 4.11 ). Let k k k be a level and x x x a diagonal member of the free copy U k , f k U_{k,f_k} U k , f k (Definitions 4.7 and 4.11).
(i) For every row ρ j , c ∈ W \rho_{j,c} \in W ρ j , c ∈ W , d ( ρ j , c , x ) = β j + j + δ 1 ( x ) d(\rho_{j,c},x) = \beta_j + j + \delta_1(x) d ( ρ j , c , x ) = β j + j + δ 1 ( x ) .
(ii) If k < m k < m k < m , then d ( q , x ) = m + δ 1 ( x ) d(q,x)=m+\delta_{1}(x) d ( q , x ) = m + δ 1 ( x ) .
(iii) For 1 ≤ i ≤ 4 1 \le i \le4 1 ≤ i ≤ 4 , d ( w i , x ) = π i + δ 1 ( x ) d(w_i,x)=\pi_i+\delta_{1}(x) d ( w i , x ) = π i + δ 1 ( x ) .
(iv) d ( T 2 , x ) = 7 + δ 1 ( x ) + 2 k d(T_2,x)=7+\delta_{1}(x)+2k d ( T 2 , x ) = 7 + δ 1 ( x ) + 2 k .
(v) If k < m k < m k < m , and k ′ ≠ k k' \ne k k ′ = k is a level with k ′ < m k' < m k ′ < m , and y y y a diagonal member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ with δ 1 ( y ) = δ 1 ( x ) \delta_{1}(y)=\delta_{1}(x) δ 1 ( y ) = δ 1 ( x ) , then W W W does not separate x x x and y y y .
Proof. Put U : = U k , f k U:=U_{k,f_k} U := U k , f k . As x x x is a diagonal member of U U U , κ U ( x ) = σ k = 2 k \kappa_U(x)=\sigma_k=2k κ U ( x ) = σ k = 2 k (Definitions 4.7 and 4.4), and κ U ( x ) = h ˉ U ( x ) − h U ( x ) \kappa_U(x)=\bar{h}_U(x)-h_U(x) κ U ( x ) = h ˉ U ( x ) − h U ( x ) (Definition 4.7); so
h ˉ U ( x ) = h U ( x ) + 2 k . (17) \bar{h}_U(x)=h_U(x)+2k. \tag*{(17)} h ˉ U ( x ) = h U ( x ) + 2 k . (17)
Let δ 2 = d ( T 2 , ⋅ ) \delta_2=d(T_2,\cdot) δ 2 = d ( T 2 , ⋅ ) (Lemma 5.1). By the line u ∈ int ( U k , c ) u \in\operatorname{int}(U_{k,c}) u ∈ int ( U k , c ) of the table (T1) of Lemma 5.1, at the member x x x of U U U , and by (E16),
δ 1 ( x ) = k + h U ( x ) , δ 2 ( x ) = 7 + k + h ˉ U ( x ) = 7 + k + h U ( x ) + 2 k = 7 + δ 1 ( x ) + 2 k . (18) \delta_1(x)=k+h_U(x), \qquad\delta_2(x)=7+k+\bar{h}_U(x)=7+k+h_U(x)+2k=7+\delta_1(x)+2k. \tag*{(18)} δ 1 ( x ) = k + h U ( x ) , δ 2 ( x ) = 7 + k + h ˉ U ( x ) = 7 + k + h U ( x ) + 2 k = 7 + δ 1 ( x ) + 2 k . (18)
(1) We prove (i). Let ρ j , c ∈ W \rho_{j,c}\in W ρ j , c ∈ W . By Definition 4.11, c ≠ f j c\ne f_j c = f j ; so ( j , c ) ≠ ( k , f k ) (j,c)\ne(k,f_k) ( j , c ) = ( k , f k ) , and Corollary 5.6(i) applies at the level k k k , the option f k f_k f k and the member x x x of U U U , to the row ρ j , c \rho_{j,c} ρ j , c :
d ( ρ j , c , x ) = ∣ j − k ∣ + β j + min ( σ j + h U ( x ) , h ˉ U ( x ) ) . d(\rho_{j,c},x)=|j-k|+\beta_j+\min\left(\sigma_j+h_U(x),\bar{h}_U(x)\right). d ( ρ j , c , x ) = ∣ j − k ∣ + β j + min ( σ j + h U ( x ) , h ˉ U ( x ) ) .
By Definition 4.4, σ j = 2 j \sigma_j=2j σ j = 2 j , and by (E16), h ˉ U ( x ) = h U ( x ) + 2 k \bar{h}_U(x)=h_U(x)+2k h ˉ U ( x ) = h U ( x ) + 2 k ; so
min ( σ j + h U ( x ) , h ˉ U ( x ) ) = min ( 2 j + h U ( x ) , 2 k + h U ( x ) ) = h U ( x ) + 2 min ( j , k ) . \min\left(\sigma_j+h_U(x),\bar{h}_U(x)\right)=\min\left(2j+h_U(x),2k+h_U(x)\right)=h_U(x)+2\min(j,k). min ( σ j + h U ( x ) , h ˉ U ( x ) ) = min ( 2 j + h U ( x ) , 2 k + h U ( x ) ) = h U ( x ) + 2 min ( j , k ) .
As ∣ j − k ∣ = max ( j , k ) − min ( j , k ) |j-k|=\max(j,k)-\min(j,k) ∣ j − k ∣ = max ( j , k ) − min ( j , k ) , we get ∣ j − k ∣ + 2 min ( j , k ) = max ( j , k ) + min ( j , k ) = j + k |j-k|+2\min(j,k)=\max(j,k)+\min(j,k)=j+k ∣ j − k ∣ + 2 min ( j , k ) = max ( j , k ) + min ( j , k ) = j + k . Hence, by (E17),
d ( ρ j , c , x ) = j + k + β j + h U ( x ) = β j + j + δ 1 ( x ) . d(\rho_{j,c},x)=j+k+\beta_j+h_U(x)=\beta_j+j+\delta_1(x). d ( ρ j , c , x ) = j + k + β j + h U ( x ) = β j + j + δ 1 ( x ) .
(2) We prove (ii). Let k < m k<m k < m . Corollary 5.6(ii) at the level k k k , the option f k f_k f k and the member x x x of U U U gives
d ( q , x ) = m − k + 1 + min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) . d(q,x)=m-k+1+\min\left(L_m+h_U(x),\bar{h}_U(x)-1\right). d ( q , x ) = m − k + 1 + min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) .
By Definition 4.4, L m = 4 m + 8 − 2 m = 2 m + 8 L_m=4m+8-2m=2m+8 L m = 4 m + 8 − 2 m = 2 m + 8 , and 2 k − 1 < 2 m < L m 2k-1<2m<L_m 2 k − 1 < 2 m < L m ; so, by (E16),
min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) = min ( L m + h U ( x ) , 2 k − 1 + h U ( x ) ) = 2 k − 1 + h U ( x ) . \min\left(L_m+h_U(x),\bar{h}_U(x)-1\right)=\min\left(L_m+h_U(x),2k-1+h_U(x)\right)=2k-1+h_U(x). min ( L m + h U ( x ) , h ˉ U ( x ) − 1 ) = min ( L m + h U ( x ) , 2 k − 1 + h U ( x ) ) = 2 k − 1 + h U ( x ) .
Hence, by (E17),
d ( q , x ) = m − k + 1 + 2 k − 1 + h U ( x ) = m + ( k + h U ( x ) ) = m + δ 1 ( x ) . d(q,x)=m-k+1+2k-1+h_U(x)=m+(k+h_U(x))=m+\delta_1(x). d ( q , x ) = m − k + 1 + 2 k − 1 + h U ( x ) = m + ( k + h U ( x )) = m + δ 1 ( x ) .
(3) We prove (iii) for i = 3 , 4 i=3,4 i = 3 , 4 . Corollary 5.6(iii) at the level k k k , the option f k f_k f k and the member x x x of U U U gives d ( w 3 , x ) = d ( w 4 , x ) = 7 + δ 1 ( x ) d(w_3,x)=d(w_4,x)=7+\delta_1(x) d ( w 3 , x ) = d ( w 4 , x ) = 7 + δ 1 ( x ) . By Definition 4.6, π 3 = π 4 = 7 \pi_3=\pi_4=7 π 3 = π 4 = 7 . So d ( w i , x ) = π i + δ 1 ( x ) d(w_i,x)=\pi_i+\delta_1(x) d ( w i , x ) = π i + δ 1 ( x ) for i = 3 , 4 i=3,4 i = 3 , 4 .
(4) We prove (iii) for i = 1 , 2 i=1,2 i = 1 , 2 . Corollary 5.6(iv) at the level k k k , the option f k f_k f k and the member x x x of U U U gives
d ( w 1 , x ) = d ( w 2 , x ) = min ( p + δ 1 ( x ) , p + 7 + δ 2 ( x ) ) . d(w_1,x)=d(w_2,x)=\min\left(p+\delta_1(x),p+7+\delta_2(x)\right). d ( w 1 , x ) = d ( w 2 , x ) = min ( p + δ 1 ( x ) , p + 7 + δ 2 ( x ) ) .
By (E17), p + 7 + δ 2 ( x ) = p + 14 + δ 1 ( x ) + 2 k > p + δ 1 ( x ) p+7+\delta_2(x)=p+14+\delta_1(x)+2k>p+\delta_1(x) p + 7 + δ 2 ( x ) = p + 14 + δ 1 ( x ) + 2 k > p + δ 1 ( x ) . So the minimum is p + δ 1 ( x ) p+\delta_1(x) p + δ 1 ( x ) . By Definition 4.6, π 1 = π 2 = p \pi_1=\pi_2=p π 1 = π 2 = p . So d ( w i , x ) = π i + δ 1 ( x ) d(w_i,x)=\pi_i+\delta_1(x) d ( w i , x ) = π i + δ 1 ( x ) for i = 1 , 2 i=1,2 i = 1 , 2 .
(5) We prove (iv). By (E17), d ( T 2 , x ) = δ 2 ( x ) = 7 + δ 1 ( x ) + 2 k d(T_2,x)=\delta_2(x)=7+\delta_1(x)+2k d ( T 2 , x ) = δ 2 ( x ) = 7 + δ 1 ( x ) + 2 k .
(6) We prove (v). Let k < m k<m k < m , k ′ ≠ k k'\ne k k ′ = k a level with k ′ < m k'<m k ′ < m , and y y y a diagonal member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ with δ 1 ( y ) = δ 1 ( x ) \delta_1(y)=\delta_1(x) δ 1 ( y ) = δ 1 ( x ) . By Definition 4.11, the landmarks of W W W are the rows ρ j , c \rho_{j,c} ρ j , c with c ≠ f j c\ne f_j c = f j , the vertex q q q and the rows w 1 , … , w 4 w_1,\ldots,w_4 w 1 , … , w 4 . Items (i), (ii) and (iii) hold at x x x , and also at y y y with k ′ k' k ′ in place of k k k , as y y y is a diagonal member of the free copy U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ . In these formulas the level k k k of x x x does not appear; so at y y y they give the same expressions with δ 1 ( y ) \delta_1(y) δ 1 ( y ) in place of δ 1 ( x ) \delta_1(x) δ 1 ( x ) . So, with δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) ,
d ( ρ j , c , x ) = β j + j + δ 1 ( x ) = β j + j + δ 1 ( y ) = d ( ρ j , c , y ) ( ρ j , c ∈ W ) , d(\rho_{j,c},x)=\beta_j+j+\delta_1(x)=\beta_j+j+\delta_1(y)=d(\rho_{j,c},y)\quad(\rho_{j,c}\in W), d ( ρ j , c , x ) = β j + j + δ 1 ( x ) = β j + j + δ 1 ( y ) = d ( ρ j , c , y ) ( ρ j , c ∈ W ) ,
d ( q , x ) = m + δ 1 ( x ) = m + δ 1 ( y ) = d ( q , y ) , d(q,x)=m+\delta_1(x)=m+\delta_1(y)=d(q,y), d ( q , x ) = m + δ 1 ( x ) = m + δ 1 ( y ) = d ( q , y ) ,
d ( w i , x ) = π i + δ 1 ( x ) = π i + δ 1 ( y ) = d ( w i , y ) ( 1 ≤ i ≤ 4 ) . d(w_i,x)=\pi_i+\delta_1(x)=\pi_i+\delta_1(y)=d(w_i,y)\quad(1\leq i\leq4). d ( w i , x ) = π i + δ 1 ( x ) = π i + δ 1 ( y ) = d ( w i , y ) ( 1 ≤ i ≤ 4 ) .
So no landmark of W W W separates x x x and y y y (Definition 2.2).
Theorem 7.12 (validity of patterns). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let f f f be a choice and W f W_f W f its pattern, with the free copies U k , f k U_{k,f_k} U k , f k (Definition 4.11), and δ 1 = d ( T 1 , ⋅ ) \delta_1=d(T_1,\mathord\cdot) δ 1 = d ( T 1 , ⋅ ) (Lemma 5.1).
(i) Two distinct vertices x , y x,y x , y of G G G are not separated by W f W_f W f if and only if there are levels k ≠ k ′ k\ne k' k = k ′ , both less than m m m , such that
x x x is a diagonal member of U k , f k U_{k,f_k} U k , f k (Definition 4.7),
y y y is a diagonal member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ , and
δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) .
(ii) W f ∪ { T 2 } W_f\cup\{T_2\} W f ∪ { T 2 } resolves G G G .
Proof. Put W : = W f W:=W_f W := W f .
(1) We prove the “if” part of (i). Let k ≠ k ′ k\ne k' k = k ′ be levels less than m m m , x x x a diagonal member of U k , f k U_{k,f_k} U k , f k and y y y a diagonal member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ with δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) . By Lemma 7.11(v) at the level k k k , the member x x x , the level k ′ k' k ′ and the member y y y (its hypotheses k < m k<m k < m and k ′ < m k'<m k ′ < m hold), W W W does not separate x x x and y y y .
(2) We prove the “only if” part of (i). Let x ≠ y x\ne y x = y be two vertices of G G G not separated by W W W . Let v v v be x x x or y y y , and v ′ v' v ′ the other one; so v ′ ≠ v v'\ne v v ′ = v and W W W does not separate v v v and v ′ v' v ′ . By Lemma 4.12(i), v v v lies in S S S , or v = q v=q v = q , or v v v is a member of a copy U ℓ , c U_{\ell,c} U ℓ , c , or v v v lies in some int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) . Then:
v ∉ S v\notin S v ∈ / S : Lemma 7.8 at the vertex v v v would say that W W W separates v v v from v ′ v' v ′ ;
v ≠ q v\ne q v = q : q ∈ W q\in W q ∈ W (Definition 4.11), and a landmark separates itself from every other vertex (Definition 2.2), so W W W would separate q q q from v ′ v' v ′ ;
v v v is not a member of a rowed copy: if v v v were a member of U ℓ , c U_{\ell,c} U ℓ , c with c ≠ f ℓ c\ne f_\ell c = f ℓ , then Lemma 7.2 at the level ℓ \ell ℓ , the option c c c and the member v v v would say that W W W separates v v v from v ′ ≠ v v'\ne v v ′ = v ;
v v v lies in no int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) (1 ≤ j ≤ 4 1\leq j\leq4 1 ≤ j ≤ 4 ): if it did, Lemma 7.4 at j j j and the vertex v v v would say that W W W separates v v v from v ′ v' v ′ .
So, for some level ℓ \ell ℓ , v v v is a member of a copy U ℓ , c U_{\ell,c} U ℓ , c with c = f ℓ c=f_{\ell} c = f ℓ , that is, of the free copy U ℓ , f ℓ U_{\ell,f_{\ell}} U ℓ , f ℓ (Definition 4.11 ).
Hence x x x is a member of U k , f k U_{k,f_k} U k , f k and y y y a member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ for some levels k , k ′ k,k' k , k ′ . If k = k ′ k=k' k = k ′ , then x ≠ y x\ne y x = y are two members of U k , f k U_{k,f_k} U k , f k , and Lemma 7.1 at the level k k k , the option f k f_k f k and the members x , y x,y x , y says that q q q or w 3 w_3 w 3 separates them; both lie in W W W (Definition 4.11 ), a contradiction. So k ≠ k ′ k\ne k' k = k ′ . Exchanging x x x and y y y if necessary, we may assume that k < k ′ k<k' k < k ′ : the hypothesis (W W W does not separate x x x and y y y ) and the conclusion are symmetric in x x x and y y y . Then Lemma 7.10 applies at the levels k < k ′ k<k' k < k ′ , the member x x x of U k , f k U_{k,f_k} U k , f k and the member y y y of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ : k < k ′ < m k<k'<m k < k ′ < m , x x x and y y y are diagonal members and δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) .
(3) We prove (ii). Let x ≠ y x\ne y x = y be two vertices of G G G . If W W W separates them, so does W ∪ { T 2 } W\cup\{T_2\} W ∪ { T 2 } . Otherwise, by (i), x x x is a diagonal member of U k , f k U_{k,f_k} U k , f k and y y y a diagonal member of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ with k ≠ k ′ k\ne k' k = k ′ and δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) . Lemma 7.11 (iv) at the level k k k and the member x x x gives d ( T 2 , x ) = 7 + δ 1 ( x ) + 2 k d(T_2,x)=7+\delta_1(x)+2k d ( T 2 , x ) = 7 + δ 1 ( x ) + 2 k , and at the level k ′ k' k ′ and the member y y y , d ( T 2 , y ) = 7 + δ 1 ( y ) + 2 k ′ d(T_2,y)=7+\delta_1(y)+2k' d ( T 2 , y ) = 7 + δ 1 ( y ) + 2 k ′ . As δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) and k ≠ k ′ k\ne k' k = k ′ , d ( T 2 , x ) ≠ d ( T 2 , y ) d(T_2,x)\ne d(T_2,y) d ( T 2 , x ) = d ( T 2 , y ) . So T 2 T_2 T 2 separates x x x and y y y . Hence W ∪ { T 2 } W\cup\{T_2\} W ∪ { T 2 } separates every two distinct vertices of G G G , that is, resolves G G G (Definition 2.2).
Treewidth
Definition 8.1 (tree decompositions). Let H H H be a graph. A tree decomposition of H H H (Robertson and Seymour; see [4 Section 2] ) is a tree (Definition 2.1) T \mathcal{T} T together with a set B ν ⊆ V ( H ) B_\nu\subseteq V(H) B ν ⊆ V ( H ) , the bag of ν \nu ν , for each node ν \nu ν of T \mathcal{T} T , such that
(a) every vertex of H H H lies in some bag;
(b) for every edge x y xy x y of H H H , some bag contains both x x x and y y y ;
(c) for every vertex x x x of H H H , the nodes ν \nu ν with x ∈ B ν x\in B_\nu x ∈ B ν induce a connected subtree of T \mathcal{T} T .
Its width is max ν ∣ B ν ∣ − 1 \max_\nu|B_\nu|-1 max ν ∣ B ν ∣ − 1 . The treewidth of H H H is the least width of a tree decomposition of H H H .
Definition 8.2 (two-terminal series–parallel graphs). A two-terminal graph ( H ; s , t ) (H;s,t) ( H ; s , t ) is a graph H H H with two distinct vertices s , t s,t s , t of H H H , its terminals. For a path ( u 0 , u 1 , … , u ℓ ) (u_0,u_1,\ldots,u_\ell) ( u 0 , u 1 , … , u ℓ ) in a graph, with ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , we write Π ( u 0 , … , u ℓ ) \Pi(u_0,\ldots,u_\ell) Π ( u 0 , … , u ℓ ) for the two-terminal graph ( P ; u 0 , u ℓ ) (P;u_0,u_\ell) ( P ; u 0 , u ℓ ) , where P P P is the graph of the path (Definition 2.1). Let ( H 1 ; s 1 , t 1 ) (H_1;s_1,t_1) ( H 1 ; s 1 , t 1 ) and ( H 2 ; s 2 , t 2 ) (H_2;s_2,t_2) ( H 2 ; s 2 , t 2 ) be two-terminal graphs whose graphs are subgraphs of one graph.
If s 1 = s 2 s_1=s_2 s 1 = s 2 , t 1 = t 2 t_1=t_2 t 1 = t 2 and V ( H 1 ) ∩ V ( H 2 ) = { s 1 , t 1 } V(H_1)\cap V(H_2)=\{s_1,t_1\} V ( H 1 ) ∩ V ( H 2 ) = { s 1 , t 1 } , their parallel composition is
( H 1 ; s 1 , t 1 ) ∥ ( H 2 ; s 2 , t 2 ) : = ( H 1 ∪ H 2 ; s 1 , t 1 ) . (H_1;s_1,t_1)\mathbin{\|}(H_2;s_2,t_2):=(H_1\cup H_2;s_1,t_1). ( H 1 ; s 1 , t 1 ) ∥ ( H 2 ; s 2 , t 2 ) := ( H 1 ∪ H 2 ; s 1 , t 1 ) . Here H 1 ∪ H 2 H_1\cup H_2 H 1 ∪ H 2 is the graph whose vertices and edges are those of H 1 H_1 H 1 and those of H 2 H_2 H 2 . A single edge is a two-terminal graph ( K 2 ; s , t ) (K_2;s,t) ( K 2 ; s , t ) , where K 2 K_2 K 2 is the graph with the two vertices s , t s,t s , t and the edge s t st s t . A two-terminal graph is series–parallel (Eppstein [12 ] ), written ( H ; s , t ) ∈ S P (H;s,t)\in\mathcal{SP} ( H ; s , t ) ∈ S P , or H ∈ S P H\in\mathcal{SP} H ∈ S P when the terminals are fixed by the context, when it is obtained from single edges by a finite sequence of series and parallel compositions.
Definition 8.2 is the definition of two-terminal series parallel graphs of [12 Section 1] and of [4 Section 8.3] , written for subgraphs of one graph: there a composition takes a disjoint union and identifies the terminals, here the two graphs already meet exactly in those vertices. Two differences do not matter: [12 ] orients every edge from the source to the sink and takes undirected graphs through an orientation, and both allow multigraphs, so an edge s 1 t 1 s_{1}t_{1} s 1 t 1 lying in both graphs of a parallel composition is one edge here and two parallel edges there.
Lemma 8.3 (series–parallel graphs). Let S P \mathcal{SP} S P be the class of Definition 8.2 .
(i) For every path ( u 0 , … , u ℓ ) (u_{0},\ldots,u_{\ell}) ( u 0 , … , u ℓ ) with ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 , Π ( u 0 , … , u ℓ ) ∈ S P \Pi(u_{0},\ldots,u_{\ell}) \in\mathcal{SP} Π ( u 0 , … , u ℓ ) ∈ S P .
(ii) If ( H ; s , t ) ∈ S P (H;s,t) \in\mathcal{SP} ( H ; s , t ) ∈ S P and ψ \psi ψ is an isomorphism from H H H onto a graph H ′ H' H ′ , then the two-terminal graph ( H ′ ; ψ ( s ) , ψ ( t ) ) (H';\psi(s),\psi(t)) ( H ′ ; ψ ( s ) , ψ ( t )) is in S P \mathcal{SP} S P .
(iii) Every ( H ; s , t ) ∈ S P (H;s,t) \in\mathcal{SP} ( H ; s , t ) ∈ S P has treewidth at most two (Definition 8.1 ) [4 Theorem 41] .
(iv) Let ( H ; s , t ) ∈ S P (H;s,t) \in\mathcal{SP} ( H ; s , t ) ∈ S P . Then H H H is connected, and for every vertex v v v of H H H , every vertex u ≠ v u \ne v u = v of H H H is joined to s s s or to t t t by a path of H − v H-v H − v .
Proof. (1) We prove (i), by induction on ℓ \ell ℓ . If ℓ = 1 \ell= 1 ℓ = 1 , then Π ( u 0 , u 1 ) \Pi(u_{0},u_{1}) Π ( u 0 , u 1 ) is the single edge ( K 2 ; u 0 , u 1 ) (K_{2};u_{0},u_{1}) ( K 2 ; u 0 , u 1 ) , in S P \mathcal{SP} S P by Definition 8.2 . Let ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 . By the induction hypothesis, Π ( u 0 , … , u ℓ − 1 ) ∈ S P \Pi(u_{0},\ldots,u_{\ell-1}) \in\mathcal{SP} Π ( u 0 , … , u ℓ − 1 ) ∈ S P , and Π ( u ℓ − 1 , u ℓ ) \Pi(u_{\ell-1},u_{\ell}) Π ( u ℓ − 1 , u ℓ ) is a single edge. The vertices of a path are distinct, so the two paths share exactly the vertex u ℓ − 1 u_{\ell-1} u ℓ − 1 , and their union is the graph of the path ( u 0 , … , u ℓ ) (u_{0},\ldots,u_{\ell}) ( u 0 , … , u ℓ ) . So
Π ( u 0 , … , u ℓ ) = Π ( u 0 , … , u ℓ − 1 ) ∘ Π ( u ℓ − 1 , u ℓ ) ∈ S P . \Pi(u_{0},\ldots,u_{\ell})=\Pi(u_{0},\ldots,u_{\ell-1})\circ\Pi(u_{\ell-1},u_{\ell})\in\mathcal{SP}. Π ( u 0 , … , u ℓ ) = Π ( u 0 , … , u ℓ − 1 ) ∘ Π ( u ℓ − 1 , u ℓ ) ∈ S P .
(2) We prove (ii), by induction on the number of compositions in a construction of ( H ; s , t ) (H;s,t) ( H ; s , t ) from single edges. If there is none, ( H ; s , t ) (H;s,t) ( H ; s , t ) is a single edge ( K 2 ; s , t ) (K_{2};s,t) ( K 2 ; s , t ) , and ψ \psi ψ maps it onto the single edge ( ψ ( K 2 ) ; ψ ( s ) , ψ ( t ) ) (\psi(K_{2});\psi(s),\psi(t)) ( ψ ( K 2 ) ; ψ ( s ) , ψ ( t )) , which is in S P \mathcal{SP} S P . Otherwise the last composition is a series composition ( H 1 ∪ H 2 ; s 1 , t 2 ) (H_{1}\cup H_{2};s_{1},t_{2}) ( H 1 ∪ H 2 ; s 1 , t 2 ) or a parallel composition ( H 1 ∪ H 2 ; s 1 , t 1 ) (H_{1}\cup H_{2};s_{1},t_{1}) ( H 1 ∪ H 2 ; s 1 , t 1 ) of two graphs ( H 1 ; s 1 , t 1 ) , ( H 2 ; s 2 , t 2 ) ∈ S P (H_{1};s_{1},t_{1}),(H_{2};s_{2},t_{2})\in\mathcal{SP} ( H 1 ; s 1 , t 1 ) , ( H 2 ; s 2 , t 2 ) ∈ S P constructed with fewer compositions, for which (ii) holds by the induction hypothesis.
In the series case, t 1 = s 2 t_{1}=s_{2} t 1 = s 2 and V ( H 1 ) ∩ V ( H 2 ) = { t 1 } V(H_{1})\cap V(H_{2})=\{t_{1}\} V ( H 1 ) ∩ V ( H 2 ) = { t 1 } ; let ψ \psi ψ be an isomorphism from H 1 ∪ H 2 H_{1}\cup H_{2} H 1 ∪ H 2 onto H ′ H' H ′ . The restrictions of ψ \psi ψ to H 1 H_{1} H 1 and to H 2 H_{2} H 2 are isomorphisms onto the subgraphs ψ ( H 1 ) \psi(H_{1}) ψ ( H 1 ) and ψ ( H 2 ) \psi(H_{2}) ψ ( H 2 ) of H ′ H' H ′ , so, by the induction hypothesis, ( ψ ( H 1 ) ; ψ ( s 1 ) , ψ ( t 1 ) ) (\psi(H_{1});\psi(s_{1}),\psi(t_{1})) ( ψ ( H 1 ) ; ψ ( s 1 ) , ψ ( t 1 )) and ( ψ ( H 2 ) ; ψ ( s 2 ) , ψ ( t 2 ) ) (\psi(H_{2});\psi(s_{2}),\psi(t_{2})) ( ψ ( H 2 ) ; ψ ( s 2 ) , ψ ( t 2 )) are in S P \mathcal{SP} S P . As t 1 = s 2 t_{1}=s_{2} t 1 = s 2 , ψ ( t 1 ) = ψ ( s 2 ) \psi(t_{1})=\psi(s_{2}) ψ ( t 1 ) = ψ ( s 2 ) ; as ψ \psi ψ is injective, V ( ψ ( H 1 ) ) ∩ V ( ψ ( H 2 ) ) = ψ ( V ( H 1 ) ∩ V ( H 2 ) ) = { ψ ( t 1 ) } V(\psi(H_{1}))\cap V(\psi(H_{2}))=\psi(V(H_{1})\cap V(H_{2}))=\{\psi(t_{1})\} V ( ψ ( H 1 )) ∩ V ( ψ ( H 2 )) = ψ ( V ( H 1 ) ∩ V ( H 2 )) = { ψ ( t 1 )} ; and as ψ \psi ψ is onto, ψ ( H 1 ) ∪ ψ ( H 2 ) = ψ ( H 1 ∪ H 2 ) = H ′ \psi(H_{1})\cup\psi(H_{2})=\psi(H_{1}\cup H_{2})=H' ψ ( H 1 ) ∪ ψ ( H 2 ) = ψ ( H 1 ∪ H 2 ) = H ′ . So ( H ′ ; ψ ( s 1 ) , ψ ( t 2 ) ) (H';\psi(s_{1}),\psi(t_{2})) ( H ′ ; ψ ( s 1 ) , ψ ( t 2 )) is the series composition of two members of S P \mathcal{SP} S P , and is in S P \mathcal{SP} S P .
In the parallel case, s 1 = s 2 s_{1}=s_{2} s 1 = s 2 , t 1 = t 2 t_{1}=t_{2} t 1 = t 2 and V ( H 1 ) ∩ V ( H 2 ) = { s 1 , t 1 } V(H_{1})\cap V(H_{2})=\{s_{1},t_{1}\} V ( H 1 ) ∩ V ( H 2 ) = { s 1 , t 1 } ; let ψ \psi ψ be an isomorphism from H 1 ∪ H 2 H_{1}\cup H_{2} H 1 ∪ H 2 onto H ′ H' H ′ . The restrictions of ψ \psi ψ to H 1 H_{1} H 1 and to H 2 H_{2} H 2 are isomorphisms onto the subgraphs ψ ( H 1 ) \psi(H_{1}) ψ ( H 1 ) and ψ ( H 2 ) \psi(H_{2}) ψ ( H 2 ) of H ′ H' H ′ , so, by the induction hypothesis, ( ψ ( H 1 ) ; ψ ( s 1 ) , ψ ( t 1 ) ) (\psi(H_{1});\psi(s_{1}),\psi(t_{1})) ( ψ ( H 1 ) ; ψ ( s 1 ) , ψ ( t 1 )) and ( ψ ( H 2 ) ; ψ ( s 2 ) , ψ ( t 2 ) ) (\psi(H_{2});\psi(s_{2}),\psi(t_{2})) ( ψ ( H 2 ) ; ψ ( s 2 ) , ψ ( t 2 )) are in S P \mathcal{SP} S P . As s 1 = s 2 s_{1}=s_{2} s 1 = s 2 and t 1 = t 2 t_{1}=t_{2} t 1 = t 2 , ψ ( s 1 ) = ψ ( s 2 ) \psi(s_{1})=\psi(s_{2}) ψ ( s 1 ) = ψ ( s 2 ) and ψ ( t 1 ) = ψ ( t 2 ) \psi(t_{1})=\psi(t_{2}) ψ ( t 1 ) = ψ ( t 2 ) ; as ψ \psi ψ is injective, V ( ψ ( H 1 ) ) ∩ V ( ψ ( H 2 ) ) = ψ ( V ( H 1 ) ∩ V ( H 2 ) ) = { ψ ( s 1 ) , ψ ( t 1 ) } V(\psi(H_{1}))\cap V(\psi(H_{2}))=\psi(V(H_{1})\cap V(H_{2}))=\{\psi(s_{1}),\psi(t_{1})\} V ( ψ ( H 1 )) ∩ V ( ψ ( H 2 )) = ψ ( V ( H 1 ) ∩ V ( H 2 )) = { ψ ( s 1 ) , ψ ( t 1 )} ; and as ψ \psi ψ is onto, ψ ( H 1 ) ∪ ψ ( H 2 ) = ψ ( H 1 ∪ H 2 ) = H ′ \psi(H_{1})\cup\psi(H_{2})=\psi(H_{1}\cup H_{2})=H' ψ ( H 1 ) ∪ ψ ( H 2 ) = ψ ( H 1 ∪ H 2 ) = H ′ . So ( H ′ ; ψ ( s 1 ) , ψ ( t 1 ) ) (H';\psi(s_{1}),\psi(t_{1})) ( H ′ ; ψ ( s 1 ) , ψ ( t 1 )) is the parallel composition of two members of S P \mathcal{SP} S P , and is in S P \mathcal{SP} S P .
(3) We prove (iii). As noted after Definition 8.2 , the compositions of that definition are those of [4 Section 8.3] , except that an edge lying in both graphs of a parallel composition is one edge of the union and two parallel edges of the multigraph. So every ( H ; s , t ) ∈ S P (H;s,t)\in\mathcal{SP} ( H ; s , t ) ∈ S P is isomorphic to a series parallel graph G G G of [4 ] with some parallel edges merged. By [4 Theorem 41] , G G G has a tree decomposition of width at most two. It is also one of H H H : Definition 8.1 involves the edges only in condition (b), which asks less of a graph with fewer edges, and an isomorphism carries a tree decomposition onto one of the same width. So the treewidth of H H H is at most two.
(4) We prove (iv), by induction on the number of compositions in a construction of ( H ; s , t ) (H; s,t) ( H ; s , t ) from single edges. If there is none, ( H ; s , t ) (H; s,t) ( H ; s , t ) is a single edge ( K 2 ; s , t ) (K_2; s,t) ( K 2 ; s , t ) : it is connected, and for v ∈ { s , t } v \in\{s,t\} v ∈ { s , t } the only vertex u ≠ v u \ne v u = v is the other terminal, joined to itself by the path ( u ) (u) ( u ) . Otherwise the last composition is a series composition ( H 1 ∪ H 2 ; s 1 , t 2 ) (H_1 \cup H_2; s_1,t_2) ( H 1 ∪ H 2 ; s 1 , t 2 ) or a parallel composition ( H 1 ∪ H 2 ; s 1 , t 1 ) (H_1 \cup H_2; s_1,t_1) ( H 1 ∪ H 2 ; s 1 , t 1 ) of two graphs ( H 1 ; s 1 , t 1 ) , ( H 2 ; s 2 , t 2 ) ∈ S P (H_1; s_1,t_1),(H_2; s_2,t_2) \in\mathit{SP} ( H 1 ; s 1 , t 1 ) , ( H 2 ; s 2 , t 2 ) ∈ SP constructed with fewer compositions, for which (iv) holds by the induction hypothesis. In both cases H 1 H_1 H 1 and H 2 H_2 H 2 are connected and share a vertex (t 1 t_1 t 1 , or s 1 s_1 s 1 ), so H = H 1 ∪ H 2 H = H_1 \cup H_2 H = H 1 ∪ H 2 is connected. Let v v v be a vertex of H H H and u ≠ v u \ne v u = v a vertex of H H H . A path of H 1 − v H_1-v H 1 − v or of H 2 − v H_2-v H 2 − v is a path of H − v H-v H − v .
The series case. Here s = s 1 s=s_1 s = s 1 , t = t 2 t=t_2 t = t 2 , and V ( H 1 ) ∩ V ( H 2 ) = { c } V(H_1) \cap V(H_2)=\{c\} V ( H 1 ) ∩ V ( H 2 ) = { c } with c : = t 1 = s 2 c:=t_1=s_2 c := t 1 = s 2 . Each of H 1 , H 2 H_1,H_2 H 1 , H 2 has the terminal c c c and one terminal of H H H : s s s for H 1 H_1 H 1 and t t t for H 2 H_2 H 2 . If v = c v=c v = c : u u u lies in some H i H_i H i , and by the induction hypothesis u u u is joined in H i − c H_i-c H i − c to a terminal of H i H_i H i other than c c c , which is a terminal of H H H . If v ≠ c v \ne c v = c : let i i i be the index with v ∈ V ( H i ) v \in V(H_i) v ∈ V ( H i ) and j j j the other one, so that v ∉ V ( H j ) v \notin V(H_j) v ∈ / V ( H j ) and H j − v = H j H_j-v=H_j H j − v = H j is connected; so every vertex of H j H_j H j , and in particular c c c , is joined in H j H_j H j to the terminal of H H H in H j H_j H j . If u ∈ V ( H j ) u \in V(H_j) u ∈ V ( H j ) , this joins u u u . If u ∈ V ( H i ) u \in V(H_i) u ∈ V ( H i ) , by the induction hypothesis u u u is joined in H i − v H_i-v H i − v to a terminal of H i H_i H i : to the terminal of H H H in H i H_i H i , or to c c c , and then on to the terminal of H H H in H j H_j H j .
The parallel case. Here s = s 1 = s 2 s=s_1=s_2 s = s 1 = s 2 , t = t 1 = t 2 t=t_1=t_2 t = t 1 = t 2 and V ( H 1 ) ∩ V ( H 2 ) = { s , t } V(H_1) \cap V(H_2)=\{s,t\} V ( H 1 ) ∩ V ( H 2 ) = { s , t } . If v ∈ { s , t } v \in\{s,t\} v ∈ { s , t } : u u u lies in some H i H_i H i , and by the induction hypothesis u u u is joined in H i − v H_i-v H i − v to s s s or to t t t . If v ∉ { s , t } v \notin\{s,t\} v ∈ / { s , t } : let i i i be the index with v ∈ V ( H i ) v \in V(H_i) v ∈ V ( H i ) and j j j the other one, so that H j − v = H j H_j-v=H_j H j − v = H j is connected and joins every vertex of H j H_j H j to s s s . If u ∈ V ( H j ) u \in V(H_j) u ∈ V ( H j ) , this joins u u u . If u ∈ V ( H i ) u \in V(H_i) u ∈ V ( H i ) , by the induction hypothesis u u u is joined in H i − v H_i-v H i − v to s s s or to t t t .
Lemma 8.4 (the template is series–parallel). Let T = T ( L , μ ; E ) \mathbf{T}=\mathbf{T}(L,\mu;E) T = T ( L , μ ; E ) be a template (Definition 3.1 ), with the spine v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L , the terminals s = v 0 s=v_0 s = v 0 and t = v L t=v_L t = v L , the t t t -ear r 0 , … , r μ + 2 r_0,\ldots,r_{\mu+2} r 0 , … , r μ + 2 (r 0 = v L − μ r_0=v_{L-\mu} r 0 = v L − μ , r μ + 2 = v L r_{\mu+2}=v_L r μ + 2 = v L ) and the crossings x 0 j , … , x ℓ j j x_0^j,\ldots,x_{\ell_j}^j x 0 j , … , x ℓ j j , j < e j<e j < e , with x 0 j = v a j = v b j x_0^j=v_{a_j}=v_{b_j} x 0 j = v a j = v b j , a j = μ − 1 − j a_j=\mu-1-j a j = μ − 1 − j , b j = μ + 1 + j b_j=\mu+1+j b j = μ + 1 + j and ℓ j = 2 j + 2 + ε j \ell_j=2j+2+\varepsilon_j ℓ j = 2 j + 2 + ε j . Then ( T ; s , t ) ∈ S P (\mathbf{T};s,t)\in\mathit{SP} ( T ; s , t ) ∈ SP (Definition 8.2 ).
Proof. By Definition 3.1 , the vertices v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L , r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 and x 1 j , … , x ℓ j − 1 j x_1^j,\ldots,x_{\ell_j-1}^j x 1 j , … , x ℓ j − 1 j (j < e j<e j < e ) are pairwise distinct, and T \mathbf{T} T is the union of the spine, the t t t -ear and the crossings. By Lemma 3.3 , 1 ≤ a j < b j ≤ L − μ − 1 1 \le a_j < b_j \le L-\mu-1 1 ≤ a j < b j ≤ L − μ − 1 for j < e j<e j < e , and L − μ ≥ 5 L-\mu\ge5 L − μ ≥ 5 ; by Definition 3.1 , μ ≥ 3 \mu\ge3 μ ≥ 3 . Put X j : = Π ( x 0 j , … , x ℓ j j ) X^j:=\mathop{\Pi}(x_0^j,\ldots,x_{\ell_j}^j) X j := Π ( x 0 j , … , x ℓ j j ) for j < e j<e j < e ; it has ℓ j = 2 j + 2 + ε j ≥ 4 \ell_j=2j+2+\varepsilon_j \ge4 ℓ j = 2 j + 2 + ε j ≥ 4 edges, as ε j ≥ 2 \varepsilon_j \ge2 ε j ≥ 2 . Every path below has at least one edge, so it is in S P \mathit{SP} SP by Lemma 8.3 (i). For each composition we give the intersection of the vertex sets, which follows from the distinctness above. By Definition 3.1 , e ∈ { 0 , 1 , 2 } e\in\{0,1,2\} e ∈ { 0 , 1 , 2 } ; steps (2), (4) and (5) treat the three values.
(1) The end R. Put
A : = Π ( v L − μ , v L − μ + 1 , … , v L ) , R ′ : = Π ( r 0 , r 1 , … , r μ + 2 ) , R : = A ∥ R ′ , A:=\mathop{\Pi}(v_{L-\mu},v_{L-\mu+1},\ldots,v_L),\qquad R':=\mathop{\Pi}(r_0,r_1,\ldots,r_{\mu+2}),\qquad R:=A\mathbin{\|}R', A := Π ( v L − μ , v L − μ + 1 , … , v L ) , R ′ := Π ( r 0 , r 1 , … , r μ + 2 ) , R := A ∥ R ′ ,
where A A A has μ ≥ 3 \mu\ge3 μ ≥ 3 edges and R ′ R' R ′ has μ + 2 \mu+2 μ + 2 edges, both with the terminals ( v L − μ , v L ) (v_{L-\mu},v_L) ( v L − μ , v L ) , and V ( A ) ∩ V ( R ′ ) = { v L − μ , v L } V(A)\cap V(R')=\{v_{L-\mu},v_L\} V ( A ) ∩ V ( R ′ ) = { v L − μ , v L } , as r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 are not spine vertices. So R ∈ S P R\in\mathit{SP} R ∈ SP , with the terminals ( v L − μ , v L ) (v_{L-\mu},v_L) ( v L − μ , v L ) , and R R R is the union of the spine from v L − μ v_{L-\mu} v L − μ to v L v_L v L and the t t t -ear. (2) The case e = 0 e=0 e = 0 . Put P : = Π ( v 0 , … , v L − μ ) P := \Pi(v_0,\ldots,v_{L-\mu}) P := Π ( v 0 , … , v L − μ ) , with L − μ ≥ 5 L-\mu\ge5 L − μ ≥ 5 edges. Then V ( P ) ∩ V ( R ) = { v L − μ } V(P)\cap V(R)=\{v_{L-\mu}\} V ( P ) ∩ V ( R ) = { v L − μ } , and P ∪ R P\cup R P ∪ R is the union of the spine and the t t t -ear, which is T T T . So
( T ; s , t ) = P ∘ R ∈ S P . (T;s,t)=P\circ R\in SP. ( T ; s , t ) = P ∘ R ∈ S P .
(3) The middle M 0 M_0 M 0 , when e ≥ 1 e\ge1 e ≥ 1 . Here a 0 = μ − 1 a_0=\mu-1 a 0 = μ − 1 and b 0 = μ + 1 b_0=\mu+1 b 0 = μ + 1 . Put
M 0 : = Π ( v μ − 1 , v μ , v μ + 1 ) ∥ X 0 , M_0:=\Pi(v_{\mu-1},v_\mu,v_{\mu+1})\parallel X^0, M 0 := Π ( v μ − 1 , v μ , v μ + 1 ) ∥ X 0 ,
where the spine path has 2 edges and X 0 X^0 X 0 has ℓ 0 ≥ 4 \ell_0\ge4 ℓ 0 ≥ 4 edges, both with the terminals ( v μ − 1 , v μ + 1 ) (v_{\mu-1},v_{\mu+1}) ( v μ − 1 , v μ + 1 ) , and the intersection of their vertex sets is { v μ − 1 , v μ + 1 } \{v_{\mu-1},v_{\mu+1}\} { v μ − 1 , v μ + 1 } , as x 1 0 , … , x ℓ 0 − 1 0 x^0_1,\ldots,x^0_{\ell_0-1} x 1 0 , … , x ℓ 0 − 1 0 are not spine vertices. So M 0 ∈ S P M_0\in SP M 0 ∈ S P , with the terminals ( v μ − 1 , v μ + 1 ) (v_{\mu-1},v_{\mu+1}) ( v μ − 1 , v μ + 1 ) ; its vertices are v μ − 1 , v μ , v μ + 1 v_{\mu-1},v_\mu,v_{\mu+1} v μ − 1 , v μ , v μ + 1 and the members of the crossing 0.
(4) The case e = 1 e=1 e = 1 . Put
P 1 : = Π ( v 0 , … , v μ − 1 ) , P 2 : = Π ( v μ + 1 , … , v L − μ ) , P_1:=\Pi(v_0,\ldots,v_{\mu-1}),\qquad P_2:=\Pi(v_{\mu+1},\ldots,v_{L-\mu}), P 1 := Π ( v 0 , … , v μ − 1 ) , P 2 := Π ( v μ + 1 , … , v L − μ ) ,
with μ − 1 ≥ 2 \mu-1\ge2 μ − 1 ≥ 2 and L − μ − ( μ + 1 ) ≥ 1 L-\mu-(\mu+1)\ge1 L − μ − ( μ + 1 ) ≥ 1 edges, the latter as b 0 = μ + 1 ≤ L − μ − 1 b_0=\mu+1\le L-\mu-1 b 0 = μ + 1 ≤ L − μ − 1 . Then
V ( P 1 ) ∩ V ( M 0 ) = { v μ − 1 } , V ( P 1 ∪ M 0 ) ∩ V ( P 2 ) = { v μ + 1 } , V(P_1)\cap V(M_0)=\{v_{\mu-1}\},\qquad V(P_1\cup M_0)\cap V(P_2)=\{v_{\mu+1}\}, V ( P 1 ) ∩ V ( M 0 ) = { v μ − 1 } , V ( P 1 ∪ M 0 ) ∩ V ( P 2 ) = { v μ + 1 } ,
V ( P 1 ∪ M 0 ∪ P 2 ) ∩ V ( R ) = { v L − μ } , V(P_1\cup M_0\cup P_2)\cap V(R)=\{v_{L-\mu}\}, V ( P 1 ∪ M 0 ∪ P 2 ) ∩ V ( R ) = { v L − μ } ,
so the series compositions
H 1 : = P 1 ∘ M 0 , H 2 : = H 1 ∘ P 2 , H 3 : = H 2 ∘ R H_1:=P_1\circ M_0,\qquad H_2:=H_1\circ P_2,\qquad H_3:=H_2\circ R H 1 := P 1 ∘ M 0 , H 2 := H 1 ∘ P 2 , H 3 := H 2 ∘ R
are defined, with the terminals ( v 0 , v μ + 1 ) (v_0,v_{\mu+1}) ( v 0 , v μ + 1 ) , ( v 0 , v L − μ ) (v_0,v_{L-\mu}) ( v 0 , v L − μ ) and ( v 0 , v L ) = ( s , t ) (v_0,v_L)=(s,t) ( v 0 , v L ) = ( s , t ) , and H 3 ∈ S P H_3\in SP H 3 ∈ S P . The union P 1 ∪ Π ( v μ − 1 , v μ , v μ + 1 ) ∪ P 2 ∪ A P_1\cup\Pi(v_{\mu-1},v_\mu,v_{\mu+1})\cup P_2\cup A P 1 ∪ Π ( v μ − 1 , v μ , v μ + 1 ) ∪ P 2 ∪ A is the spine, so H 3 = P 1 ∪ M 0 ∪ P 2 ∪ R H_3=P_1\cup M_0\cup P_2\cup R H 3 = P 1 ∪ M 0 ∪ P 2 ∪ R is the union of the spine, the crossing 0 and the t t t -ear, which is T T T . So ( T ; s , t ) ∈ S P (T;s,t)\in SP ( T ; s , t ) ∈ S P .
(5) The case e = 2 e=2 e = 2 . Here a 1 = μ − 2 a_1=\mu-2 a 1 = μ − 2 and b 1 = μ + 2 b_1=\mu+2 b 1 = μ + 2 . Put
N : = ( Π ( v μ − 2 , v μ − 1 ) ∘ M 0 ) ∘ Π ( v μ + 1 , v μ + 2 ) , N:=\bigl(\Pi(v_{\mu-2},v_{\mu-1})\circ M_0\bigr)\circ\Pi(v_{\mu+1},v_{\mu+2}), N := ( Π ( v μ − 2 , v μ − 1 ) ∘ M 0 ) ∘ Π ( v μ + 1 , v μ + 2 ) ,
the series compositions being defined as V ( Π ( v μ − 2 , v μ − 1 ) ) ∩ V ( M 0 ) = { v μ − 1 } V(\Pi(v_{\mu-2},v_{\mu-1}))\cap V(M_0)=\{v_{\mu-1}\} V ( Π ( v μ − 2 , v μ − 1 )) ∩ V ( M 0 ) = { v μ − 1 } and the vertices of Π ( v μ − 2 , v μ − 1 ) ∪ M 0 \Pi(v_{\mu-2},v_{\mu-1})\cup M_0 Π ( v μ − 2 , v μ − 1 ) ∪ M 0 meet those of Π ( v μ + 1 , v μ + 2 ) \Pi(v_{\mu+1},v_{\mu+2}) Π ( v μ + 1 , v μ + 2 ) in { v μ + 1 } \{v_{\mu+1}\} { v μ + 1 } ; N N N has the terminals ( v μ − 2 , v μ + 2 ) (v_{\mu-2},v_{\mu+2}) ( v μ − 2 , v μ + 2 ) and the vertices v μ − 2 , … , v μ + 2 v_{\mu-2},\ldots,v_{\mu+2} v μ − 2 , … , v μ + 2 and the members of the crossing 0. The crossing X 1 X^1 X 1 has the vertices v μ − 2 , x 1 1 , … , x ℓ 1 − 1 1 , v μ + 2 v_{\mu-2},x^1_1,\ldots,x^1_{\ell_1-1},v_{\mu+2} v μ − 2 , x 1 1 , … , x ℓ 1 − 1 1 , v μ + 2 , so V ( N ) ∩ V ( X 1 ) = { v μ − 2 , v μ + 2 } V(N)\cap V(X^1)=\{v_{\mu-2},v_{\mu+2}\} V ( N ) ∩ V ( X 1 ) = { v μ − 2 , v μ + 2 } , and
M 1 : = N ∥ X 1 ∈ S P , M_1:=N\parallel X^1\in SP, M 1 := N ∥ X 1 ∈ S P ,
with the terminals ( v μ − 2 , v μ + 2 ) (v_{\mu-2},v_{\mu+2}) ( v μ − 2 , v μ + 2 ) . Put P 1 : = Π ( v 0 , … , v μ − 2 ) P_1:=\Pi(v_0,\ldots,v_{\mu-2}) P 1 := Π ( v 0 , … , v μ − 2 ) and P 2 : = Π ( v μ + 2 , … , v L − μ ) P_2:=\Pi(v_{\mu+2},\ldots,v_{L-\mu}) P 2 := Π ( v μ + 2 , … , v L − μ ) , with μ − 2 ≥ 1 \mu-2\ge1 μ − 2 ≥ 1 and L − μ − ( μ + 2 ) ≥ 1 L-\mu-(\mu+2)\ge1 L − μ − ( μ + 2 ) ≥ 1 edges, as 1 ≤ a 1 1\le a_1 1 ≤ a 1 and b 1 ≤ L − μ − 1 b_1\le L-\mu-1 b 1 ≤ L − μ − 1 . Then
V ( P 1 ) ∩ V ( M 1 ) = { v μ − 2 } , V ( P 1 ∪ M 1 ) ∩ V ( P 2 ) = { v μ + 2 } , V(P_1)\cap V(M_1)=\{v_{\mu-2}\},\qquad V(P_1\cup M_1)\cap V(P_2)=\{v_{\mu+2}\}, V ( P 1 ) ∩ V ( M 1 ) = { v μ − 2 } , V ( P 1 ∪ M 1 ) ∩ V ( P 2 ) = { v μ + 2 } ,
V ( P 1 ∪ M 1 ∪ P 2 ) ∩ V ( R ) = { v L − μ } , V(P_1\cup M_1\cup P_2)\cap V(R)=\{v_{L-\mu}\}, V ( P 1 ∪ M 1 ∪ P 2 ) ∩ V ( R ) = { v L − μ } ,
so the series compositions
H 1 : = P 1 ∘ M 1 , H 2 : = H 1 ∘ P 2 , H 3 : = H 2 ∘ R H_1:=P_1\circ M_1,\qquad H_2:=H_1\circ P_2,\qquad H_3:=H_2\circ R H 1 := P 1 ∘ M 1 , H 2 := H 1 ∘ P 2 , H 3 := H 2 ∘ R
are defined, with the terminals ( v 0 , v μ + 2 ) (v_0,v_{\mu+2}) ( v 0 , v μ + 2 ) , ( v 0 , v L − μ ) (v_0,v_{L-\mu}) ( v 0 , v L − μ ) and ( v 0 , v L ) = ( s , t ) (v_0,v_L)=(s,t) ( v 0 , v L ) = ( s , t ) , and H 3 ∈ S P H_3\in SP H 3 ∈ S P . Its graph is P 1 ∪ M 1 ∪ P 2 ∪ R P_1\cup M_1\cup P_2\cup R P 1 ∪ M 1 ∪ P 2 ∪ R : the union of P 1 P_1 P 1 , Π ( v μ − 2 , v μ − 1 ) \Pi(v_{\mu-2},v_{\mu-1}) Π ( v μ − 2 , v μ − 1 ) , Π ( v μ − 1 , v μ , v μ + 1 ) \Pi(v_{\mu-1},v_\mu,v_{\mu+1}) Π ( v μ − 1 , v μ , v μ + 1 ) , Π ( v μ + 1 , v μ + 2 ) \Pi(v_{\mu+1},v_{\mu+2}) Π ( v μ + 1 , v μ + 2 ) , P 2 P_2 P 2 and A A A is the spine, and the rest is X 0 X^0 X 0 , X 1 X^1 X 1 and the t t t -ear; so the graph is T T T , and ( T ; s , t ) ∈ S P (T;s,t)\in SP ( T ; s , t ) ∈ S P . ∎
Theorem 8.5 (treewidth of G φ G_\varphi G φ ). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6).
( G ; T 1 , T 2 ) ∈ S P (G; T_1, T_2) \in SP ( G ; T 1 , T 2 ) ∈ S P (Definition 8.2 ).
G G G has a tree decomposition of width at most two (Definition 8.1 ); so the treewidth of G G G is at most two.
Proof. We use the notation of Definitions 4.6, 4.7 and 4.8 . By Definition 4.6, the vertices T 1 T_1 T 1 , T 2 T_2 T 2 , s k s_k s k , t k t_k t k , z i z_i z i , q q q , q ′ q' q ′ , the members of the copies, the y i j y_i^j y i j (1 ≤ i ≤ D − 1 1 \leq i \leq D-1 1 ≤ i ≤ D − 1 ) and the y ~ j \widetilde{y}_j y j are pairwise distinct; this gives the intersections of vertex sets below.
(1) The copies. Let k k k be a level and c c c an option. By Lemma 4.5 (ii), T : = T ( L k , μ k ; E k , c ) T := T(L_k,\mu_k;E_{k,c}) T := T ( L k , μ k ; E k , c ) is a template, so ( T ; s , t ) ∈ S P (T;s,t) \in SP ( T ; s , t ) ∈ S P by Lemma 8.4 . By Lemma 4.9 , the map ψ \psi ψ there has ψ ( s ) = s k \psi(s)=s_k ψ ( s ) = s k , ψ ( t ) = t k \psi(t)=t_k ψ ( t ) = t k , and by Lemma 4.9 (i) it is an isomorphism from T T T onto U k , c U_{k,c} U k , c . By Lemma 8.3 (ii), ( U k , c ; s k , t k ) ∈ S P (U_{k,c};s_k,t_k) \in SP ( U k , c ; s k , t k ) ∈ S P .
(2) The arms. Let 1 ≤ j ≤ 4 1 \leq j \leq4 1 ≤ j ≤ 4 and π : = π j \pi:= \pi_j π := π j . By Definition 4.6, π ∈ { 7 , p } \pi\in\{7,p\} π ∈ { 7 , p } , and by Definition 4.4 , p = 2 m + 4 p=2m+4 p = 2 m + 4 and D = 4 m + 15 D=4m+15 D = 4 m + 15 ; so 2 ≤ π ≤ D − 2 2 \leq\pi\leq D-2 2 ≤ π ≤ D − 2 . Put
C j : = Π ( y π − 1 j , y π j , y π + 1 j ) ∥ Π ( y π − 1 j , y ~ j , y π + 1 j ) , C_j := \Pi(y_{\pi-1}^j,y_\pi^j,y_{\pi+1}^j)\mathbin{\|}\Pi(y_{\pi-1}^j,\widetilde{y}^j,y_{\pi+1}^j), C j := Π ( y π − 1 j , y π j , y π + 1 j ) ∥ Π ( y π − 1 j , y j , y π + 1 j ) ,
two paths with 2 edges and the terminals ( y π − 1 j , y π + 1 j ) (y_{\pi-1}^j,y_{\pi+1}^j) ( y π − 1 j , y π + 1 j ) , whose vertex sets meet in { y π − 1 j , y π + 1 j } \{y_{\pi-1}^j,y_{\pi+1}^j\} { y π − 1 j , y π + 1 j } . Then
Y j = ( Π ( y 0 j , … , y π − 1 j ) ∘ C j ) ∘ Π ( y π + 1 j , … , y D j ) , Y^j = \bigl(\Pi(y_0^j,\ldots,y_{\pi-1}^j)\circ C_j\bigr)\circ\Pi(y_{\pi+1}^j,\ldots,y_D^j), Y j = ( Π ( y 0 j , … , y π − 1 j ) ∘ C j ) ∘ Π ( y π + 1 j , … , y D j ) ,
where the two paths have π − 1 ≥ 1 \pi-1 \geq1 π − 1 ≥ 1 and D − π − 1 ≥ 1 D-\pi-1 \geq1 D − π − 1 ≥ 1 edges, the first meets C j C_j C j in { y π − 1 j } \{y_{\pi-1}^j\} { y π − 1 j } , and the union of the first and C j C_j C j meets the last in { y π + 1 j } \{y_{\pi+1}^j\} { y π + 1 j } ; the union of the three is the arm Y j Y^j Y j of Definition 4.8 . So ( Y j ; T 1 , T 2 ) ∈ S P (Y^j;T_1,T_2) \in SP ( Y j ; T 1 , T 2 ) ∈ S P , as y 0 j = T 1 y_0^j=T_1 y 0 j = T 1 and y D j = T 2 y_D^j=T_2 y D j = T 2 .
(3) The levels. For 1 ≤ k ≤ m 1 \leq k \leq m 1 ≤ k ≤ m let Q k Q_k Q k be the subgraph of G G G formed by the copies of the levels k , … , m k,\ldots,m k , … , m and the frame edges s i s i + 1 s_i s_{i+1} s i s i + 1 , t i + 1 t i t_{i+1}t_i t i + 1 t i for k ≤ i < m k \leq i < m k ≤ i < m ; its vertices are the s i s_i s i , t i t_i t i (k ≤ i ≤ m k \leq i \leq m k ≤ i ≤ m ) and the members of the copies of the levels i ≥ k i \geq k i ≥ k , and, if k ≤ m − 1 k \leq m-1 k ≤ m − 1 , the vertices q q q and q ′ q' q ′ with their four edges. We show by downward induction on k k k that ( Q k ; s k , t k ) ∈ S P (Q_k;s_k,t_k) \in SP ( Q k ; s k , t k ) ∈ S P . For k = m k=m k = m , the three copies of the level m m m pairwise meet in { s m , t m } \{s_m,t_m\} { s m , t m } , so
Q m = U m , 1 ∪ U m , 2 ∪ U m , 3 = ( U m , 1 ∥ U m , 2 ) ∥ U m , 3 ∈ S P , Q_m = U_{m,1}\cup U_{m,2}\cup U_{m,3}=(U_{m,1}\mathbin{\|}U_{m,2})\mathbin{\|}U_{m,3}\in SP, Q m = U m , 1 ∪ U m , 2 ∪ U m , 3 = ( U m , 1 ∥ U m , 2 ) ∥ U m , 3 ∈ S P ,
with the terminals ( s m , t m ) (s_m,t_m) ( s m , t m ) , by (1). Let k < m k<m k < m and ( Q k + 1 ; s k + 1 , t k + 1 ) ∈ S P (Q_{k+1};s_{k+1},t_{k+1}) \in SP ( Q k + 1 ; s k + 1 , t k + 1 ) ∈ S P . Let R k R_k R k be the single edge Π ( t k + 1 , t k ) \Pi(t_{k+1},t_k) Π ( t k + 1 , t k ) if k < m − 1 k<m-1 k < m − 1 , and for k = m − 1 k=m-1 k = m − 1 let
R m − 1 : = Π ( t m , t m − 1 ) ∥ Π ( t m , q , t m − 1 ) ∥ Π ( t m , q ′ , t m − 1 ) , R_{m-1}:=\Pi(t_m,t_{m-1})\mathbin{\|}\Pi(t_m,q,t_{m-1})\mathbin{\|}\Pi(t_m,q',t_{m-1}), R m − 1 := Π ( t m , t m − 1 ) ∥ Π ( t m , q , t m − 1 ) ∥ Π ( t m , q ′ , t m − 1 ) ,
the three paths from t m t_m t m to t m − 1 t_{m-1} t m − 1 of Definition 4.6 (the frame edge and the two paths through q q q and q ′ q' q ′ ), which pairwise meet in { t m , t m − 1 } \{t_m,t_{m-1}\} { t m , t m − 1 } as q ≠ q ′ q\ne q' q = q ′ are not frame vertices; so R m − 1 ∈ S P R_{m-1}\in SP R m − 1 ∈ S P with the terminals ( t m , t m − 1 ) (t_m,t_{m-1}) ( t m , t m − 1 ) and the vertices t m , t m − 1 , q , q ′ t_m,t_{m-1},q,q' t m , t m − 1 , q , q ′ . The vertex s k s_k s k is not a vertex of Q k + 1 Q_{k+1} Q k + 1 , so V ( Π ( s k , s k + 1 ) ) ∩ V ( Q k + 1 ) = { s k + 1 } V(\Pi(s_k,s_{k+1}))\cap V(Q_{k+1})=\{s_{k+1}\} V ( Π ( s k , s k + 1 )) ∩ V ( Q k + 1 ) = { s k + 1 } . The vertices of R k R_k R k other than t k + 1 t_{k+1} t k + 1 are t k t_k t k if k < m − 1 k<m-1 k < m − 1 , and t m − 1 , q , q ′ t_{m-1}, q, q' t m − 1 , q , q ′ if k = m − 1 k=m-1 k = m − 1 ; none of them is a vertex of Π ( s k , s k + 1 ) ∪ Q k + 1 \Pi(s_k,s_{k+1})\cup Q_{k+1} Π ( s k , s k + 1 ) ∪ Q k + 1 , as t k ∉ V ( Q k + 1 ) t_k\notin V(Q_{k+1}) t k ∈ / V ( Q k + 1 ) and, for k = m − 1 k=m-1 k = m − 1 , q , q ′ ∉ V ( Q m ) q,q'\notin V(Q_m) q , q ′ ∈ / V ( Q m ) . So the vertices of Π ( s k , s k + 1 ) ∪ Q k + 1 \Pi(s_k,s_{k+1})\cup Q_{k+1} Π ( s k , s k + 1 ) ∪ Q k + 1 meet those of R k R_k R k in { t k + 1 } \{t_{k+1}\} { t k + 1 } . Hence
B k : = ( Π ( s k , s k + 1 ) ∘ Q k + 1 ) ∘ R k ∈ S P , B_k:=\left(\Pi(s_k,s_{k+1})\circ Q_{k+1}\right)\circ R_k\in SP, B k := ( Π ( s k , s k + 1 ) ∘ Q k + 1 ) ∘ R k ∈ S P ,
with the terminals ( s k , t k ) (s_k,t_k) ( s k , t k ) and the vertices V ( Q k + 1 ) ∪ { s k , t k } V(Q_{k+1})\cup\{s_k,t_k\} V ( Q k + 1 ) ∪ { s k , t k } , plus q , q ′ q,q' q , q ′ if k = m − 1 k=m-1 k = m − 1 . The copies U k , 1 , U k , 2 , U k , 3 U_{k,1},U_{k,2},U_{k,3} U k , 1 , U k , 2 , U k , 3 pairwise meet in { s k , t k } \{s_k,t_k\} { s k , t k } , and each meets B k B_k B k in { s k , t k } \{s_k,t_k\} { s k , t k } , as its members are not vertices of Q k + 1 Q_{k+1} Q k + 1 . So
Q k = ( ( U k , 1 ∥ U k , 2 ) ∥ U k , 3 ) ∥ B k ∈ S P , Q_k=\left((U_{k,1}\mathbin{\|}U_{k,2})\mathbin{\|}U_{k,3}\right)\mathbin{\|}B_k\in SP, Q k = ( ( U k , 1 ∥ U k , 2 ) ∥ U k , 3 ) ∥ B k ∈ S P ,
with the terminals ( s k , t k ) (s_k,t_k) ( s k , t k ) ; its graph is the union of the copies of the level k k k , of Q k + 1 Q_{k+1} Q k + 1 and of the edges s k s k + 1 s_ks_{k+1} s k s k + 1 , t k + 1 t k t_{k+1}t_k t k + 1 t k , and for k = m − 1 k=m-1 k = m − 1 of the vertices q , q ′ q,q' q , q ′ and their edges, which is Q k Q_k Q k .
(4) The graph G G G ; we prove (i). Put
P : = Π ( T 1 , s 1 ) ∘ Q 1 ∘ Π ( t 1 , z 1 , … , z 7 , T 2 ) , P:=\Pi(T_1,s_1)\circ Q_1\circ\Pi(t_1,z_1,\ldots,z_7,T_2), P := Π ( T 1 , s 1 ) ∘ Q 1 ∘ Π ( t 1 , z 1 , … , z 7 , T 2 ) ,
the compositions being defined as V ( Π ( T 1 , s 1 ) ) ∩ V ( Q 1 ) = { s 1 } V(\Pi(T_1,s_1))\cap V(Q_1)=\{s_1\} V ( Π ( T 1 , s 1 )) ∩ V ( Q 1 ) = { s 1 } and the vertices of Π ( T 1 , s 1 ) ∪ Q 1 \Pi(T_1,s_1)\cup Q_1 Π ( T 1 , s 1 ) ∪ Q 1 meet those of Π ( t 1 , z 1 , … , z 7 , T 2 ) \Pi(t_1,z_1,\ldots,z_7,T_2) Π ( t 1 , z 1 , … , z 7 , T 2 ) in { t 1 } \{t_1\} { t 1 } ; so P ∈ S P P\in SP P ∈ S P with the terminals ( T 1 , T 2 ) (T_1,T_2) ( T 1 , T 2 ) , and P P P is the union of the frame and the copies. By Lemma 4.12 (i), the sets int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) are pairwise disjoint and disjoint from V ( P ) V(P) V ( P ) , so P P P and the arms pairwise meet in { T 1 , T 2 } \{T_1,T_2\} { T 1 , T 2 } . Hence
H 0 : = ( ( ( P ∥ Y 1 ) ∥ Y 2 ) ∥ Y 3 ) ∥ Y 4 ∈ S P , H_0:=\left(((P\mathbin{\|}Y^1)\mathbin{\|}Y^2)\mathbin{\|}Y^3\right)\mathbin{\|}Y^4\in SP, H 0 := ( (( P ∥ Y 1 ) ∥ Y 2 ) ∥ Y 3 ) ∥ Y 4 ∈ S P ,
by (2) and (3). By Definition 4.6, G G G is the union of the frame, the copies, the pair q , q ′ q,q' q , q ′ with its four edges, and the arms; the first three form P P P (q , q ′ q,q' q , q ′ lie in Q m − 1 Q_{m-1} Q m − 1 , by (3)); so H 0 = G H_0=G H 0 = G . This proves (i).
(5) We prove (ii). By (i) and Lemma 8.3 (iii), G G G has treewidth at most two, that is, a tree decomposition of width at most two (Definition 8.1 ).
Pathwidth
Definition 9.1 (path decompositions, boundaries, layouts). Let H H H be a graph. A path decomposition of H H H is a tree decomposition of H H H (Definition 8.1 ) whose tree is a path ν 1 , … , ν r \nu_1,\ldots,\nu_r ν 1 , … , ν r ; its width is its width as a tree decomposition. The pathwidth of H H H is the least width of a path decomposition of H H H ; so the treewidth of H H H is at most its pathwidth.
For a set P ⊆ V ( H ) P\subseteq V(H) P ⊆ V ( H ) , N ( P ) N(P) N ( P ) is the set of vertices of H H H with a neighbour in P P P , and the boundary of P P P is ∂ P : = N ( P ) ∖ P \partial P:=N(P)\setminus P ∂ P := N ( P ) ∖ P , the set of vertices outside P P P with a neighbour in P P P . For an ordering v 1 , … , v n v_1,\ldots,v_n v 1 , … , v n of V ( H ) V(H) V ( H ) , its prefixes are the sets P i : = { v 1 , … , v i } P_i:=\{v_1,\ldots,v_i\} P i := { v 1 , … , v i } (1 ≤ i ≤ n 1\leq i\leq n 1 ≤ i ≤ n ); the ordering is a layout of width k k k when ∣ ∂ P i ∣ ≤ k |\partial P_i|\leq k ∣ ∂ P i ∣ ≤ k for every i i i .
Lemma 9.2 (layouts give path decompositions). Let H H H be a graph and v 1 , … , v n v_1,\ldots,v_n v 1 , … , v n a layout of H H H of width k k k , with the prefixes P i P_i P i and their boundaries ∂ P i \partial P_i ∂ P i (Definition 9.1). Then the path ν 1 , … , ν n \nu_1,\ldots,\nu_n ν 1 , … , ν n with the bags X i : = { v i } ∪ ∂ P i X_i:=\{v_i\}\cup\partial P_i X i := { v i } ∪ ∂ P i is a path decomposition of H H H of width at most k k k .
Proof. We check the conditions (a)–(c) of Definition 8.1 . Condition (a): v i ∈ X i v_i\in X_i v i ∈ X i . Condition (b): let v i v j v_iv_j v i v j be an edge with i < j i<j i < j ; then v j ∈ N ( P i ) v_j\in N(P_i) v j ∈ N ( P i ) and v j ∉ P i v_j\notin P_i v j ∈ / P i , so v j ∈ ∂ P i v_j\in\partial P_i v j ∈ ∂ P i , and both v i v_i v i and v j v_j v j lie in X i X_i X i . Condition (c): let v = v j v=v_j v = v j . For i > j i>j i > j , v ∈ P i v\in P_i v ∈ P i , so v ∉ ∂ P i v\notin\partial P_i v ∈ / ∂ P i , and v ≠ v i v\ne v_i v = v i , so v ∉ X i v\notin X_i v ∈ / X i . For i < j i<j i < j , v ∈ X i v\in X_i v ∈ X i iff v ∈ ∂ P i v\in\partial P_i v ∈ ∂ P i iff some neighbour of v v v lies in P i P_i P i . If v v v has no neighbour among v 1 , … , v j − 1 v_1,\ldots,v_{j-1} v 1 , … , v j − 1 , the nodes whose bags contain v v v are v j v_j v j alone. Otherwise let i 0 < j i_0<j i 0 < j be the least index of a neighbour of v v v ; then v ∈ X i v\in X_i v ∈ X i exactly for i 0 ≤ i ≤ j i_0\leq i\leq j i 0 ≤ i ≤ j , and these nodes form the subpath v i 0 , … , v j v_{i_0},\ldots,v_j v i 0 , … , v j . The width: ∣ X i ∣ ≤ 1 + ∣ ∂ P i ∣ ≤ k + 1 |X_i|\leq1+|\partial P_i|\leq k+1 ∣ X i ∣ ≤ 1 + ∣ ∂ P i ∣ ≤ k + 1 .
Lemma 9.3 (placing a vertex). Let H H H be a graph, P ⊆ V ( H ) P\subseteq V(H) P ⊆ V ( H ) and w ∈ V ( H ) ∖ P w\in V(H)\setminus P w ∈ V ( H ) ∖ P , with boundaries as in Definition 9.1. Then
∂ ( P ∪ { w } ) = ( ∂ P ∖ { w } ) ∪ ( N ( w ) ∖ ( P ∪ { w } ) ) . \partial(P\cup\{w\})=(\partial P\setminus\{w\})\cup(N(w)\setminus(P\cup\{w\})). ∂ ( P ∪ { w }) = ( ∂ P ∖ { w }) ∪ ( N ( w ) ∖ ( P ∪ { w })) . Proof. A vertex x ∉ P ∪ { w } x\notin P\cup\{w\} x ∈ / P ∪ { w } lies in ∂ ( P ∪ { w } ) \partial(P\cup\{w\}) ∂ ( P ∪ { w }) iff it has a neighbour in P ∪ { w } P\cup\{w\} P ∪ { w } , that is, iff it has a neighbour in P P P , which means x ∈ ∂ P x\in\partial P x ∈ ∂ P , or w w w is a neighbour of x x x , which means x ∈ N ( w ) x\in N(w) x ∈ N ( w ) (Definition 9.1).
Definition 9.4 (paths with ears). A graph H H H is a path with ears when it consists of a path W = ( w 0 , w 1 , … , w n ) W=(w_0,w_1,\ldots,w_n) W = ( w 0 , w 1 , … , w n ) with n ≥ 2 n\geq2 n ≥ 2 and of paths F 1 , … , F h F_1,\ldots,F_h F 1 , … , F h (h ≥ 0 h\geq0 h ≥ 0 ), the ears, where F j = ( w α j , f 1 j , … , f ℓ j − 1 j , w β j ) F_j=(w_{\alpha_j},f^j_1,\ldots,f^j_{\ell_j-1},w_{\beta_j}) F j = ( w α j , f 1 j , … , f ℓ j − 1 j , w β j ) with ℓ j ≥ 2 \ell_j\geq2 ℓ j ≥ 2 and 1 ≤ α j < β j ≤ n 1\leq\alpha_j<\beta_j\leq n 1 ≤ α j < β j ≤ n , such that the inner vertices f i j f^j_i f i j of the ears are pairwise distinct, distinct from the w i w_i w i , and of degree two in H H H , and E ( H ) E(H) E ( H ) consists of the edges of W W W and of the F j F_j F j . The depth of H H H is d : = max 1 ≤ i < n { j : α j ≤ i < β j } d:=\max_{1\leq i<n}\{j:\alpha_j\leq i<\beta_j\} d := max 1 ≤ i < n { j : α j ≤ i < β j } , with d : = 0 d:=0 d := 0 if h = 0 h=0 h = 0 . The ear order of H H H is the list w 1 , … , w n − 1 w_1,\ldots,w_{n-1} w 1 , … , w n − 1 in which, right after w i w_i w i , the inner vertices f 1 j , … , f ℓ j − 1 j f^j_1,\ldots,f^j_{\ell_j-1} f 1 j , … , f ℓ j − 1 j of each ear F j F_j F j with α j = i \alpha_j=i α j = i are inserted, in increasing j j j .
Lemma 9.5 (the ear order). Let H H H be a path with ears of depth d d d , with the notation of Definition 9.4 ; boundaries are taken in H H H .
(i) The ear order lists every vertex of H H H other than w 0 , w n w_0,w_n w 0 , w n exactly once.
(ii) For every nonempty prefix Q Q Q of the ear order, ∂ Q ⊆ { w 0 , w n } ∪ M \partial Q\subseteq\{w_0,w_n\}\cup M ∂ Q ⊆ { w 0 , w n } ∪ M for a set M M M of at most d + 1 d+1 d + 1 vertices.
(iii) For the set Q Q Q of all vertices other than w 0 , w n w_0,w_n w 0 , w n , ∂ Q = { w 0 , w n } \partial Q=\{w_0,w_n\} ∂ Q = { w 0 , w n } .
Proof. (1) We prove (i). The vertices of H H H other than w 0 , w n w_0,w_n w 0 , w n are w 1 , … , w n − 1 w_1,\ldots,w_{n-1} w 1 , … , w n − 1 and the inner vertices of the ears, pairwise distinct (Definition 9.4 ); the ear order lists each w i w_i w i once and the inner vertices of each ear once, after w α j w_{\alpha_j} w α j .
(2) Traversing an ear. Let P ⊆ V ( H ) P\subseteq V(H) P ⊆ V ( H ) contain w α j w_{\alpha_j} w α j but no inner vertex of the ear F j F_j F j , and let U i : = { f 1 j , … , f i j } U_i:=\{f^j_1,\ldots,f^j_i\} U i := { f 1 j , … , f i j } for 1 ≤ i ≤ ℓ j − 1 1\leq i\leq\ell_j-1 1 ≤ i ≤ ℓ j − 1 . We claim
∂ ( P ∪ U i ) = ( ∂ P ∖ U i ) ∪ ( { f i + 1 j } ∖ P ) . \partial(P\cup U_i)=(\partial P\setminus U_i)\cup(\{f^j_{i+1}\}\setminus P). ∂ ( P ∪ U i ) = ( ∂ P ∖ U i ) ∪ ({ f i + 1 j } ∖ P ) .
where f ℓ j j : = w β j f^j_{\ell_j}:=w_{\beta_j} f ℓ j j := w β j . Indeed, a vertex x ∉ P ∪ U i x\notin P\cup U_i x ∈ / P ∪ U i lies in ∂ ( P ∪ U i ) \partial(P\cup U_i) ∂ ( P ∪ U i ) iff it has a neighbour in P P P , which means x ∈ ∂ P x\in\partial P x ∈ ∂ P , or a neighbour f i ′ j f^j_{i'} f i ′ j with 1 ≤ i ′ ≤ i 1\leq i'\leq i 1 ≤ i ′ ≤ i ; the neighbours of f i ′ j f^j_{i'} f i ′ j are f i ′ − 1 j f^j_{i'-1} f i ′ − 1 j and f i ′ + 1 j f^j_{i'+1} f i ′ + 1 j , as f i ′ j f^j_{i'} f i ′ j has degree two, and the only one outside P ∪ U i P\cup U_i P ∪ U i is f i + 1 j f^j_{i+1} f i + 1 j , since f 0 j = w α j ∈ P f^j_0=w_{\alpha_j}\in P f 0 j = w α j ∈ P . So, while the ear is traversed, the boundary changes only by the replacement of f 1 j f^j_1 f 1 j , which lies in ∂ P \partial P ∂ P , by the current inner vertex, and at the end by w β j w_{\beta_j} w β j if that vertex is unplaced.
(3) We prove (ii), with the sets
S i : = { w 0 , w n , w i + 1 } ∪ { w β j : α j ≤ i < β j } ( 1 ≤ i ≤ n − 1 ) . S_i:=\{w_0,w_n,w_{i+1}\}\cup\{w_{\beta_j}:\alpha_j\leq i<\beta_j\}\qquad(1\leq i\leq n-1). S i := { w 0 , w n , w i + 1 } ∪ { w β j : α j ≤ i < β j } ( 1 ≤ i ≤ n − 1 ) .
Let Q i Q_i Q i be the prefix ending with the last inner vertex of the last ear starting at w i w_i w i , or with w i w_i w i if no ear starts there, and Q 0 : = ∅ Q_0:=\varnothing Q 0 := ∅ . We show by induction on i i i that ∂ Q i ⊆ S i \partial Q_i\subseteq S_i ∂ Q i ⊆ S i , and that every prefix between Q i − 1 Q_{i-1} Q i − 1 and Q i Q_i Q i has its boundary in { w 0 , w n } ∪ M \{w_0,w_n\}\cup M { w 0 , w n } ∪ M with ∣ M ∣ ≤ d + 1 |M|\leq d+1 ∣ M ∣ ≤ d + 1 . Let 1 ≤ i ≤ n − 1 1 \le i \le n-1 1 ≤ i ≤ n − 1 and assume ∂ Q i − 1 ⊆ S i − 1 \partial Q_{i-1} \subseteq S_{i-1} ∂ Q i − 1 ⊆ S i − 1 (for i = 1 i=1 i = 1 , ∂ Q 0 = ∅ \partial Q_0=\varnothing ∂ Q 0 = ∅ ). The vertex placed after Q i − 1 Q_{i-1} Q i − 1 is w i w_i w i , so Lemma 9.3 with P : = Q i − 1 P:=Q_{i-1} P := Q i − 1 and w : = w i w:=w_i w := w i gives
∂ ( Q i − 1 ∪ { w i } ) = ( ∂ Q i − 1 ∖ { w i } ) ∪ ( N ( w i ) ∖ ( Q i − 1 ∪ { w i } ) ) . \partial(Q_{i-1}\cup\{w_i\})=(\partial Q_{i-1}\setminus\{w_i\})\cup(N(w_i)\setminus(Q_{i-1}\cup\{w_i\})). ∂ ( Q i − 1 ∪ { w i }) = ( ∂ Q i − 1 ∖ { w i }) ∪ ( N ( w i ) ∖ ( Q i − 1 ∪ { w i })) .
We bound the two sets. First, by the induction hypothesis and the definition of S i − 1 S_{i-1} S i − 1 , removing w i w_i w i removes the vertices w β j w_{\beta_j} w β j with β j = i \beta_j=i β j = i :
∂ Q i − 1 ∖ { w i } ⊆ S i − 1 ∖ { w i } = { w 0 , w n } ∪ { w β j : α j ≤ i − 1 , β j > i } . \partial Q_{i-1}\setminus\{w_i\}\subseteq S_{i-1}\setminus\{w_i\}=\{w_0,w_n\}\cup\{w_{\beta_j}:\alpha_j\le i-1,\ \beta_j>i\}. ∂ Q i − 1 ∖ { w i } ⊆ S i − 1 ∖ { w i } = { w 0 , w n } ∪ { w β j : α j ≤ i − 1 , β j > i } .
Second, by Definition 9.4 , N ( w i ) = { w i − 1 , w i + 1 } ∪ { f 1 j : α j = i } ∪ { f ℓ j − 1 j : β j = i } N(w_i)=\{w_{i-1},w_{i+1}\}\cup\{f_1^j:\alpha_j=i\}\cup\{f_{\ell_j-1}^j:\beta_j=i\} N ( w i ) = { w i − 1 , w i + 1 } ∪ { f 1 j : α j = i } ∪ { f ℓ j − 1 j : β j = i } . Here w i − 1 ∈ Q i − 1 w_{i-1}\in Q_{i-1} w i − 1 ∈ Q i − 1 if i ≥ 2 i\ge2 i ≥ 2 , and w i − 1 = w 0 w_{i-1}=w_0 w i − 1 = w 0 if i = 1 i=1 i = 1 ; and each f ℓ j − 1 j f_{\ell_j-1}^j f ℓ j − 1 j with β j = i \beta_j=i β j = i lies in Q i − 1 Q_{i-1} Q i − 1 , since the ear F j F_j F j has α j < β j = i \alpha_j<\beta_j=i α j < β j = i and its inner vertices were placed right after w α j w_{\alpha_j} w α j . So
N ( w i ) ∖ ( Q i − 1 ∪ { w i } ) ⊆ { w 0 , w i + 1 } ∪ { f 1 j : α j = i } . N(w_i)\setminus(Q_{i-1}\cup\{w_i\})\subseteq\{w_0,w_{i+1}\}\cup\{f_1^j:\alpha_j=i\}. N ( w i ) ∖ ( Q i − 1 ∪ { w i }) ⊆ { w 0 , w i + 1 } ∪ { f 1 j : α j = i } .
Together,
∂ ( Q i − 1 ∪ { w i } ) ⊆ { w 0 , w n , w i + 1 } ∪ { w β j : α j ≤ i − 1 , β j > i } ∪ { f 1 j : α j = i } . \partial(Q_{i-1}\cup\{w_i\})\subseteq\{w_0,w_n,w_{i+1}\}\cup\{w_{\beta_j}:\alpha_j\le i-1,\ \beta_j>i\}\cup\{f_1^j:\alpha_j=i\}. ∂ ( Q i − 1 ∪ { w i }) ⊆ { w 0 , w n , w i + 1 } ∪ { w β j : α j ≤ i − 1 , β j > i } ∪ { f 1 j : α j = i } .
Then the ears F j F_j F j with α j = i \alpha_j=i α j = i are traversed in turn, and by (2) each traversal replaces f 1 j f_1^j f 1 j by the current inner vertex and, at the end, by w β j w_{\beta_j} w β j , which is unplaced as β j > i \beta_j>i β j > i . So at every prefix between Q i − 1 Q_{i-1} Q i − 1 and Q i Q_i Q i , the boundary is contained in { w 0 , w n , w i + 1 } \{w_0,w_n,w_{i+1}\} { w 0 , w n , w i + 1 } together with one vertex for each ear F j F_j F j with α j ≤ i < β j \alpha_j\le i<\beta_j α j ≤ i < β j : its far end w β j w_{\beta_j} w β j , its first inner vertex f 1 j f_1^j f 1 j , or its current inner vertex. There are at most d d d such ears, so ∣ M ∣ ≤ d + 1 |M|\le d+1 ∣ M ∣ ≤ d + 1 ; and at Q i Q_i Q i every such ear contributes w β j w_{\beta_j} w β j , so ∂ Q i ⊆ S i \partial Q_i\subseteq S_i ∂ Q i ⊆ S i .
(4) We prove (iii). By (3) at i = n − 1 i=n-1 i = n − 1 , ∂ Q n − 1 ⊆ S n − 1 = { w 0 , w n } \partial Q_{n-1}\subseteq S_{n-1}=\{w_0,w_n\} ∂ Q n − 1 ⊆ S n − 1 = { w 0 , w n } , as β j ≤ n \beta_j\le n β j ≤ n for every j j j ; and w 0 , w n ∈ ∂ Q n − 1 w_0,w_n\in\partial Q_{n-1} w 0 , w n ∈ ∂ Q n − 1 , being adjacent to w 1 , w n − 1 ∈ Q n − 1 w_1,w_{n-1}\in Q_{n-1} w 1 , w n − 1 ∈ Q n − 1 and unplaced.
Lemma 9.6. (the pieces of G φ G_\varphi G φ as paths with ears). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6), with the copies U k , c U_{k,c} U k , c and their vertices v i k , c v_i^{k,c} v i k , c , r i k , c r_i^{k,c} r i k , c , x i k , c , j x_i^{k,c,j} x i k , c , j (Definition 4.7 ), the arms Y j Y^j Y j (Definition 4.8 ) and the tail z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 .
(i) Let k k k be a level and c c c an option, and write L : = L k L:=L_k L := L k , μ : = μ k \mu:=\mu_k μ := μ k , e : = ∣ Z k , c ∣ e:=|Z_{k,c}| e := ∣ Z k , c ∣ , a j : = μ − 1 − j a_j:=\mu-1-j a j := μ − 1 − j , b j : = μ + 1 + j b_j:=\mu+1+j b j := μ + 1 + j , and v i v_i v i , r i r_i r i , x i j x_i^j x i j for the vertices v i k , c v_i^{k,c} v i k , c , r i k , c r_i^{k,c} r i k , c , x i k , c , j x_i^{k,c,j} x i k , c , j of U k , c U_{k,c} U k , c (Definition 4.7 ). Then U k , c U_{k,c} U k , c is a path with ears (Definition 9.4 ) with the path v 0 , … , v L v_0,\ldots,v_L v 0 , … , v L (v 0 = s k v_0=s_k v 0 = s k , v L = t k v_L=t_k v L = t k ), the ears X j = ( v a j , x 1 j , … , x ℓ j − 1 j , v b j ) X^j=(v_{a_j},x_1^j,\ldots,x_{\ell_j-1}^j,v_{b_j}) X j = ( v a j , x 1 j , … , x ℓ j − 1 j , v b j ) (j < e j<e j < e ) and R = ( v L − μ , r 1 , … , r μ + 1 , t k ) R=(v_{L-\mu},r_1,\ldots,r_{\mu+1},t_k) R = ( v L − μ , r 1 , … , r μ + 1 , t k ) , and depth 2 2 2 if e = 2 e=2 e = 2 and 1 1 1 otherwise. Its ear order (Definition 9.4 ) is the list of its members v 1 , … , v L − 1 v_1,\ldots,v_{L-1} v 1 , … , v L − 1 in which, for each j < e j<e j < e , the members x 1 j , … , x ℓ j − 1 j x_1^j,\ldots,x_{\ell_j-1}^j x 1 j , … , x ℓ j − 1 j are inserted right after v a j v_{a_j} v a j , and r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 right after v L − μ v_{L-\mu} v L − μ .
(ii) Each arm Y j Y^j Y j is a path with ears with the path y 0 j , … , y D j y_0^j,\ldots,y_D^j y 0 j , … , y D j (y 0 j = T 1 y_0^j=T_1 y 0 j = T 1 , y D j = T 2 y_D^j=T_2 y D j = T 2 ) and the one ear ( y π j − 1 j , y ~ π j j , y π j + 1 j ) (y_{\pi_j-1}^j,\widetilde y_{\pi_j}^j,y_{\pi_j+1}^j) ( y π j − 1 j , y π j j , y π j + 1 j ) , of depth 1 1 1 ; its ear order is y 1 j , … , y π j − 1 j , y ~ π j j , y π j + 1 j , … , y D − 1 j y_1^j,\ldots,y_{\pi_j-1}^j,\widetilde y_{\pi_j}^j,y_{\pi_j+1}^j,\ldots,y_{D-1}^j y 1 j , … , y π j − 1 j , y π j j , y π j + 1 j , … , y D − 1 j .
(iii) The subgraph Z Z Z of G G G formed by the path t 1 , z 1 , … , z 7 , T 2 t_1,z_1,\ldots,z_7,T_2 t 1 , z 1 , … , z 7 , T 2 is a path with ears with no ear, of depth 0 0 0 , with the ear order z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 ; and Z Z Z is attached at { t 1 , T 2 } \{t_1,T_2\} { t 1 , T 2 } (Definition 2.4 ).
Proof. (1) We prove (i). By Definition 4.6, U k , c U_{k,c} U k , c is the template T ( L k , μ k ; E k , c ) \mathrm{T}(L_k,\mu_k;E_{k,c}) T ( L k , μ k ; E k , c ) with its vertices renamed, so Definition 3.1 applies to it: it consists of the spine, a path of length L ≥ 2 L \ge2 L ≥ 2 , the t t t -ear and the crossings, paths whose inner vertices r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 and x 1 j , … , x ℓ j − 1 j x^j_1,\ldots,x^j_{\ell_j-1} x 1 j , … , x ℓ j − 1 j are pairwise distinct, distinct from the spine vertices, and of degree two; the t t t -ear has μ + 2 ≥ 2 \mu+2 \ge2 μ + 2 ≥ 2 edges and runs from v L − μ v_{L-\mu} v L − μ to v L v_L v L , with 1 ≤ L − μ < L 1 \le L-\mu< L 1 ≤ L − μ < L ; the crossing j j j has ℓ j ≥ 2 \ell_j \ge2 ℓ j ≥ 2 edges and runs from v a j v_{a_j} v a j to v b j v_{b_j} v b j , with 1 ≤ a j < b j ≤ L − μ − 1 1 \le a_j < b_j \le L-\mu-1 1 ≤ a j < b j ≤ L − μ − 1 (Lemma 3.3 ). So U k , c U_{k,c} U k , c is a path with ears as stated. Its depth (Definition 9.4): for a position i i i with 1 ≤ i < L 1 \le i < L 1 ≤ i < L , the ear R R R , with α = L − μ \alpha=L-\mu α = L − μ and β = L \beta=L β = L , satisfies α ≤ i < β \alpha\le i < \beta α ≤ i < β iff L − μ ≤ i L-\mu\le i L − μ ≤ i , and the ear X j X^j X j iff a j ≤ i < b j a_j \le i < b_j a j ≤ i < b j . As b j ≤ L − μ − 1 b_j \le L-\mu-1 b j ≤ L − μ − 1 , no position satisfies both L − μ ≤ i L-\mu\le i L − μ ≤ i and i < b j i < b_j i < b j . So the number of ears F F F with α F ≤ i < β F \alpha_F \le i < \beta_F α F ≤ i < β F is at most 1 at the positions i ≥ L − μ i \ge L-\mu i ≥ L − μ , and at most e e e at the positions i < L − μ i < L-\mu i < L − μ . When e = 2 e=2 e = 2 , a 1 < a 0 < b 0 < b 1 a_1<a_0<b_0<b_1 a 1 < a 0 < b 0 < b 1 by the formulas, so this number is 2 at the positions a 0 ≤ i < b 0 a_0 \le i < b_0 a 0 ≤ i < b 0 and at most 2 everywhere. When e ≤ 1 e \le1 e ≤ 1 it is at most 1 everywhere, and it is 1 at i = L − μ ≤ L − 1 i=L-\mu\le L-1 i = L − μ ≤ L − 1 . So the depth is 2 if e = 2 e=2 e = 2 and 1 otherwise. By Definition 9.4, the ear order inserts the inner vertices of each ear right after its first end: x 1 j , … , x ℓ j − 1 j x^j_1,\ldots,x^j_{\ell_j-1} x 1 j , … , x ℓ j − 1 j right after v a j v_{a_j} v a j and r 1 , … , r μ + 1 r_1,\ldots,r_{\mu+1} r 1 , … , r μ + 1 right after v L − μ v_{L-\mu} v L − μ ; no two ears start at the same vertex, as a e − 1 < ⋯ < a 0 < L − μ a_{e-1}<\cdots<a_0<L-\mu a e − 1 < ⋯ < a 0 < L − μ , so the order of insertion at one vertex does not arise. This is the list stated in (i).
(2) We prove (ii). By Definition 4.6, the arm Y j Y^j Y j consists of the path y 0 j , … , y D j y^j_0,\ldots,y^j_D y 0 j , … , y D j and the vertex y ~ j \widetilde{y}^j y j with the edges y ~ j y π j − 1 j \widetilde{y}^j y^j_{\pi_j-1} y j y π j − 1 j , y ~ j y π j + 1 j \widetilde{y}^j y^j_{\pi_j+1} y j y π j + 1 j , and y ~ j \widetilde{y}^j y j has no other neighbour in G G G ; and π j ∈ { 7 , p } \pi_j \in\{7,p\} π j ∈ { 7 , p } with p = 2 m + 4 p=2m+4 p = 2 m + 4 and D = 4 m + 15 D=4m+15 D = 4 m + 15 (Definition 4.4), so 1 ≤ π j − 1 < π j + 1 ≤ D 1 \le\pi_j-1 < \pi_j+1 \le D 1 ≤ π j − 1 < π j + 1 ≤ D . So Y j Y^j Y j is a path with the one ear ( y π j − 1 j , y ~ j , y π j + 1 j ) (y^j_{\pi_j-1},\widetilde{y}^j,y^j_{\pi_j+1}) ( y π j − 1 j , y j , y π j + 1 j ) , of depth 1, and its ear order is as stated.
(3) We prove (iii). By Definition 4.6, t 1 , z 1 , … , z 7 , T 2 t_1,z_1,\ldots,z_7,T_2 t 1 , z 1 , … , z 7 , T 2 is a path of G G G , and the vertices z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 have no other neighbours in G G G : they belong to the frame only, and the parts of G G G share only the terminals s k , t k s_k,t_k s k , t k of the copies and T 1 , T 2 T_1,T_2 T 1 , T 2 of the arms. So Z Z Z is a path with no ear, of depth 0, with the ear order z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 ; and every edge of G G G with an end in int ( Z ) = { z 1 , … , z 7 } \operatorname{int}(Z)=\{z_1,\ldots,z_7\} int ( Z ) = { z 1 , … , z 7 } is an edge of Z Z Z , so Z Z Z is attached at { t 1 , T 2 } \{t_1,T_2\} { t 1 , T 2 } .
Lemma 9.7 (gluing an attached subgraph)
Let G G G be a graph and X X X a subgraph of G G G attached at { a , b } \{a,b\} { a , b } (Definition 2.4). Let P ⊆ V ( G ) ∖ int ( X ) P \subseteq V(G) \setminus\operatorname{int}(X) P ⊆ V ( G ) ∖ int ( X ) and Q ⊆ int ( X ) Q \subseteq\operatorname{int}(X) Q ⊆ int ( X ) . Then, with ∂ \partial ∂ the boundary in G G G and ∂ X \partial_X ∂ X the boundary in X X X (Definition 9.1),
∂ ( P ∪ Q ) ⊆ ( ∂ P ∖ Q ) ∪ { a , b } ∪ ( ∂ X Q ∩ int ( X ) ) . \partial(P \cup Q) \subseteq(\partial P \setminus Q) \cup\{a,b\} \cup(\partial_X Q \cap\operatorname{int}(X)). ∂ ( P ∪ Q ) ⊆ ( ∂ P ∖ Q ) ∪ { a , b } ∪ ( ∂ X Q ∩ int ( X )) .
Proof. By Definition 9.1, ∂ S = N ( S ) ∖ S \partial S=N(S)\setminus S ∂ S = N ( S ) ∖ S for every S ⊆ V ( G ) S \subseteq V(G) S ⊆ V ( G ) , and N ( P ∪ Q ) = N ( P ) ∪ N ( Q ) N(P\cup Q)=N(P)\cup N(Q) N ( P ∪ Q ) = N ( P ) ∪ N ( Q ) , since a vertex has a neighbour in P ∪ Q P\cup Q P ∪ Q iff it has one in P P P or one in Q Q Q . Hence
∂ ( P ∪ Q ) = ( N ( P ) ∪ N ( Q ) ) ∖ ( P ∪ Q ) = ( N ( P ) ∖ ( P ∪ Q ) ) ∪ ( N ( Q ) ∖ ( P ∪ Q ) ) \partial(P\cup Q)=(N(P)\cup N(Q))\setminus(P\cup Q)=(N(P)\setminus(P\cup Q))\cup(N(Q)\setminus(P\cup Q)) ∂ ( P ∪ Q ) = ( N ( P ) ∪ N ( Q )) ∖ ( P ∪ Q ) = ( N ( P ) ∖ ( P ∪ Q )) ∪ ( N ( Q ) ∖ ( P ∪ Q ))
⊆ ( ∂ P ∖ Q ) ∪ ( N ( Q ) ∖ Q ) . \subseteq(\partial P\setminus Q)\cup(N(Q)\setminus Q). ⊆ ( ∂ P ∖ Q ) ∪ ( N ( Q ) ∖ Q ) .
As Q ⊆ int ( X ) Q\subseteq\operatorname{int}(X) Q ⊆ int ( X ) and X X X is attached at { a , b } \{a,b\} { a , b } , every edge of G G G at a vertex of Q Q Q is an edge of X X X (Definition 2.4), so the neighbours in G G G of the vertices of Q Q Q are their neighbours in X X X : N ( Q ) = N X ( Q ) N(Q)=N_X(Q) N ( Q ) = N X ( Q ) , and N ( Q ) ∖ Q = N X ( Q ) ∖ Q = ∂ X Q N(Q)\setminus Q=N_X(Q)\setminus Q=\partial_XQ N ( Q ) ∖ Q = N X ( Q ) ∖ Q = ∂ X Q . Finally ∂ X Q ⊆ V ( X ) = int ( X ) ∪ { a , b } \partial_XQ\subseteq V(X)=\operatorname{int}(X)\cup\{a,b\} ∂ X Q ⊆ V ( X ) = int ( X ) ∪ { a , b } (Definition 2.4), so ∂ X Q ⊆ ( ∂ X Q ∩ int ( X ) ) ∪ { a , b } \partial_XQ\subseteq(\partial_XQ\cap\operatorname{int}(X))\cup\{a,b\} ∂ X Q ⊆ ( ∂ X Q ∩ int ( X )) ∪ { a , b } . Together,
∂ ( P ∪ Q ) ⊆ ( ∂ P ∖ Q ) ∪ { a , b } ∪ ( ∂ X Q ∩ int ( X ) ) . \partial(P\cup Q)\subseteq(\partial P\setminus Q)\cup\{a,b\}\cup(\partial_XQ\cap\operatorname{int}(X)). ∂ ( P ∪ Q ) ⊆ ( ∂ P ∖ Q ) ∪ { a , b } ∪ ( ∂ X Q ∩ int ( X )) .
Theorem 9.8 (pathwidth of G φ G_{\varphi} G φ ). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). Then G G G has a layout of width five, hence a path decomposition of width at most five (Definition 9.1); so the pathwidth of G G G is at most five.
Proof. We use the notation of Definitions 4.6 and 4.7 and of Lemma 9.6 ; boundaries are taken in G G G unless said otherwise.
(1) The ordering. For k = m , m − 1 , … , 1 k=m,m-1,\ldots,1 k = m , m − 1 , … , 1 in turn: the ear orders of U k , 1 , U k , 2 , U k , 3 U_{k,1},U_{k,2},U_{k,3} U k , 1 , U k , 2 , U k , 3 ; then s k s_k s k ; then t k t_k t k ; and, for k = m k=m k = m only, then q q q and q ′ q' q ′ . Then the ear order z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 of Z Z Z . Then the ear orders of Y 1 , Y 2 , Y 3 , Y 4 Y^1,Y^2,Y^3,Y^4 Y 1 , Y 2 , Y 3 , Y 4 in turn. Then T 1 T_1 T 1 , then T 2 T_2 T 2 . By Lemma 4.12 (i) and Lemma 9.5 (i) applied to the pieces of Lemma 9.6 , every vertex of G G G appears exactly once. Moreover, by Lemma 9.5 (i), the ear order of a piece X X X lists exactly the vertices of X X X other than its two attachment vertices, that is, int ( X ) \operatorname{int}(X) int ( X ) (Definition 2.4 ). So, for every piece X X X : the set P P P of the vertices placed before the ear order of X X X is disjoint from int ( X ) \operatorname{int}(X) int ( X ) ; a nonempty prefix Q Q Q of the ear order of X X X is a subset of int ( X ) \operatorname{int}(X) int ( X ) ; and Q = int ( X ) Q=\operatorname{int}(X) Q = int ( X ) at the end of the ear order. We bound the boundary B B B of every prefix, going through the ordering, and use at each piece the same two facts: Lemma 9.7, for the piece X X X attached at { a , b } \{a,b\} { a , b } , the set P P P of the vertices placed before the piece, and a prefix Q Q Q of its ear order; and Lemma 9.5 (ii), (iii) for ∂ X Q \partial_XQ ∂ X Q .
(2) A copy. Let X : = U k , c X:=U_{k,c} X := U k , c , attached at { s k , t k } \{s_k,t_k\} { s k , t k } (Lemma 4.12 (ii)), and let P P P be the set of the vertices placed before the ear order of X X X . We prove the following claim: if ∂ P ⊆ { s k , t k } \partial P\subseteq\{s_k,t_k\} ∂ P ⊆ { s k , t k } , then ∣ B ∣ ≤ 5 |B|\leq5 ∣ B ∣ ≤ 5 for every prefix of the ordering ending in the ear order of X X X , and ∂ ( P ∪ int ( X ) ) ⊆ { s k , t k } \partial(P\cup\operatorname{int}(X))\subseteq\{s_k,t_k\} ∂ ( P ∪ int ( X )) ⊆ { s k , t k } .
Let Q Q Q be a nonempty prefix of the ear order of X X X . The prefix of the ordering ending with Q Q Q is P ∪ Q P\cup Q P ∪ Q , so B = ∂ ( P ∪ Q ) B=\partial(P\cup Q) B = ∂ ( P ∪ Q ) , and by (1), P ⊆ V ( G ) ∖ int ( X ) P\subseteq V(G)\setminus\operatorname{int}(X) P ⊆ V ( G ) ∖ int ( X ) and Q ⊆ int ( X ) Q\subseteq\operatorname{int}(X) Q ⊆ int ( X ) . So Lemma 9.7 applies with a : = s k a:=s_k a := s k and b : = t k b:=t_k b := t k and gives
B ⊆ ( ∂ P ∖ Q ) ∪ { s k , t k } ∪ ( ∂ X Q ∩ int ( X ) ) ⊆ { s k , t k } ∪ ( ∂ X Q ∩ int ( X ) ) , B\subseteq(\partial P\setminus Q)\cup\{s_k,t_k\}\cup(\partial_XQ\cap\operatorname{int}(X))\subseteq\{s_k,t_k\}\cup(\partial_XQ\cap\operatorname{int}(X)), B ⊆ ( ∂ P ∖ Q ) ∪ { s k , t k } ∪ ( ∂ X Q ∩ int ( X )) ⊆ { s k , t k } ∪ ( ∂ X Q ∩ int ( X )) ,
the second inclusion by the hypothesis ∂ P ⊆ { s k , t k } \partial P\subseteq\{s_k,t_k\} ∂ P ⊆ { s k , t k } . It remains to bound ∂ X Q ∩ int ( X ) \partial_XQ\cap\operatorname{int}(X) ∂ X Q ∩ int ( X ) . By Lemma 9.6 (i), X X X is a path with ears with w 0 = s k w_0=s_k w 0 = s k , w n = t k w_n=t_k w n = t k and depth d ≤ 2 d\leq2 d ≤ 2 , and Q Q Q is a nonempty prefix of its ear order; so Lemma 9.5 (ii) gives ∂ X Q ⊆ { s k , t k } ∪ M \partial_XQ\subseteq\{s_k,t_k\}\cup M ∂ X Q ⊆ { s k , t k } ∪ M for a set M M M with ∣ M ∣ ≤ d + 1 ≤ 3 |M|\leq d+1\leq3 ∣ M ∣ ≤ d + 1 ≤ 3 . Hence ∂ X Q ∩ int ( X ) ⊆ M \partial_XQ\cap\operatorname{int}(X)\subseteq M ∂ X Q ∩ int ( X ) ⊆ M and ∣ B ∣ ≤ ∣ { s k , t k } ∣ + ∣ M ∣ ≤ 2 + 3 = 5 |B|\leq|\{s_k,t_k\}|+|M|\leq2+3=5 ∣ B ∣ ≤ ∣ { s k , t k } ∣ + ∣ M ∣ ≤ 2 + 3 = 5 . At the end of the ear order, Q = int ( X ) Q=\operatorname{int}(X) Q = int ( X ) by (1), and Lemma 9.5 (iii) gives ∂ X Q = { s k , t k } \partial_XQ=\{s_k,t_k\} ∂ X Q = { s k , t k } ; so ∂ X Q ∩ int ( X ) = ∅ \partial_XQ\cap\operatorname{int}(X)=\varnothing ∂ X Q ∩ int ( X ) = ∅ , and B = ∂ ( P ∪ int ( X ) ) ⊆ { s k , t k } B=\partial(P\cup\operatorname{int}(X))\subseteq\{s_k,t_k\} B = ∂ ( P ∪ int ( X )) ⊆ { s k , t k } . This proves the claim.
(3) The frame vertices of the level m m m . Let P P P be the set of the vertices placed before s m s_m s m , and suppose ∂ P ⊆ { s m , t m } \partial P\subseteq\{s_m,t_m\} ∂ P ⊆ { s m , t m } . We prove the following claim: the four prefixes P ∪ { s m } P\cup\{s_m\} P ∪ { s m } , P ∪ { s m , t m } P\cup\{s_m,t_m\} P ∪ { s m , t m } , P ∪ { s m , t m , q } P\cup\{s_m,t_m,q\} P ∪ { s m , t m , q } and P ∪ { s m , t m , q , q ′ } P\cup\{s_m,t_m,q,q'\} P ∪ { s m , t m , q , q ′ } have at most four boundary vertices each, and ∂ ( P ∪ { s m , t m , q , q ′ } ) ⊆ { s m − 1 , t m − 1 } \partial(P\cup\{s_m,t_m,q,q'\})\subseteq\{s_{m-1},t_{m-1}\} ∂ ( P ∪ { s m , t m , q , q ′ }) ⊆ { s m − 1 , t m − 1 } .
By (1), P = int ( U m , 1 ) ∪ int ( U m , 2 ) ∪ int ( U m , 3 ) P=\operatorname{int}(U_{m,1})\cup\operatorname{int}(U_{m,2})\cup\operatorname{int}(U_{m,3}) P = int ( U m , 1 ) ∪ int ( U m , 2 ) ∪ int ( U m , 3 ) . By Definition 4.6,
N ( s m ) = { s m − 1 , v 1 m , 1 , v 1 m , 2 , v 1 m , 3 } , N(s_m)=\{s_{m-1},v^{m,1}_1,v^{m,2}_1,v^{m,3}_1\}, N ( s m ) = { s m − 1 , v 1 m , 1 , v 1 m , 2 , v 1 m , 3 } ,
N ( t m ) = { t m − 1 , q , q ′ } ∪ { v L m − 1 m , c , r μ m + 1 m , c : c = 1 , 2 , 3 } , N(t_m)=\{t_{m-1},q,q'\}\cup\{v^{m,c}_{L_{m-1}},r^{m,c}_{\mu_{m+1}}:c=1,2,3\}, N ( t m ) = { t m − 1 , q , q ′ } ∪ { v L m − 1 m , c , r μ m + 1 m , c : c = 1 , 2 , 3 } ,
N ( q ) = N ( q ′ ) = { t m , t m − 1 } , N(q)=N(q')=\{t_m,t_{m-1}\}, N ( q ) = N ( q ′ ) = { t m , t m − 1 } ,
and the v 1 m , c v^{m,c}_1 v 1 m , c , v L m − 1 m , c v^{m,c}_{L_{m-1}} v L m − 1 m , c , r μ m + 1 m , c r^{m,c}_{\mu_{m+1}} r μ m + 1 m , c are members of U m , c U_{m,c} U m , c , hence in P P P . Lemma 9.3 with w : = s m w:=s_m w := s m gives
∂ ( P ∪ { s m } ) = ( ∂ P ∖ { s m } ) ∪ ( N ( s m ) ∖ ( P ∪ { s m } ) ) ⊆ { t m } ∪ { s m − 1 } . \partial(P\cup\{s_m\})=(\partial P\setminus\{s_m\})\cup(N(s_m)\setminus(P\cup\{s_m\}))\subseteq\{t_m\}\cup\{s_{m-1}\}. ∂ ( P ∪ { s m }) = ( ∂ P ∖ { s m }) ∪ ( N ( s m ) ∖ ( P ∪ { s m })) ⊆ { t m } ∪ { s m − 1 } .
Lemma 9.3 with w : = t m w:=t_m w := t m gives
∂ ( P ∪ { s m , t m } ) = ( ∂ ( P ∪ { s m } ) ∖ { t m } ) ∪ ( N ( t m ) ∖ ( P ∪ { s m , t m } ) ) \partial(P\cup\{s_m,t_m\})=(\partial(P\cup\{s_m\})\setminus\{t_m\})\cup(N(t_m)\setminus(P\cup\{s_m,t_m\})) ∂ ( P ∪ { s m , t m }) = ( ∂ ( P ∪ { s m }) ∖ { t m }) ∪ ( N ( t m ) ∖ ( P ∪ { s m , t m }))
⊆ { s m − 1 } ∪ { t m − 1 , q , q ′ } . \subseteq\{s_{m-1}\}\cup\{t_{m-1},q,q'\}. ⊆ { s m − 1 } ∪ { t m − 1 , q , q ′ } .
Lemma 9.3 with w : = q w := q w := q gives
∂ ( P ∪ { s m , t m , q } ) = ( ∂ ( P ∪ { s m , t m } ) ∖ { q } ) ∪ ( N ( q ) ∖ ( P ∪ { s m , t m , q } ) ) ⊆ { s m − 1 , t m − 1 , q ′ } ∪ { t m − 1 } . \partial(P \cup\{s_m,t_m,q\}) = (\partial(P \cup\{s_m,t_m\}) \setminus\{q\}) \cup(N(q) \setminus(P \cup\{s_m,t_m,q\}))
\subseteq\{s_{m-1},t_{m-1},q'\} \cup\{t_{m-1}\}. ∂ ( P ∪ { s m , t m , q }) = ( ∂ ( P ∪ { s m , t m }) ∖ { q }) ∪ ( N ( q ) ∖ ( P ∪ { s m , t m , q })) ⊆ { s m − 1 , t m − 1 , q ′ } ∪ { t m − 1 } .
Lemma 9.3 with w : = q ′ w := q' w := q ′ gives
∂ ( P ∪ { s m , t m , q , q ′ } ) = ( ∂ ( P ∪ { s m , t m , q } ) ∖ { q ′ } ) ∪ ( N ( q ′ ) ∖ ( P ∪ { s m , t m , q , q ′ } ) ) ⊆ { s m − 1 , t m − 1 } ∪ { t m − 1 } . \partial(P \cup\{s_m,t_m,q,q'\}) = (\partial(P \cup\{s_m,t_m,q\}) \setminus\{q'\}) \cup(N(q') \setminus(P \cup\{s_m,t_m,q,q'\}))
\subseteq\{s_{m-1},t_{m-1}\} \cup\{t_{m-1}\}. ∂ ( P ∪ { s m , t m , q , q ′ }) = ( ∂ ( P ∪ { s m , t m , q }) ∖ { q ′ }) ∪ ( N ( q ′ ) ∖ ( P ∪ { s m , t m , q , q ′ })) ⊆ { s m − 1 , t m − 1 } ∪ { t m − 1 } .
The four boundaries have at most four vertices. This proves the claim.
(4) The frame vertices of a level k k k with 1 < k < m 1 < k < m 1 < k < m . Let k k k be a level with 1 < k < m 1 < k < m 1 < k < m , let P P P be the set of the vertices placed before s k s_k s k , and suppose ∂ P ⊆ { s k , t k } \partial P \subseteq\{s_k,t_k\} ∂ P ⊆ { s k , t k } . We prove the following claim: the two prefixes P ∪ { s k } P \cup\{s_k\} P ∪ { s k } and P ∪ { s k , t k } P \cup\{s_k,t_k\} P ∪ { s k , t k } have at most two boundary vertices each, and ∂ ( P ∪ { s k , t k } ) ⊆ { s k − 1 , t k − 1 } \partial(P \cup\{s_k,t_k\}) \subseteq\{s_{k-1},t_{k-1}\} ∂ ( P ∪ { s k , t k }) ⊆ { s k − 1 , t k − 1 } .
By (1), P P P consists of the vertices of the levels k + 1 , … , m k+1,\ldots,m k + 1 , … , m , of q , q ′ q,q' q , q ′ , and of int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) for c = 1 , 2 , 3 c = 1,2,3 c = 1 , 2 , 3 . By Definition 4.6,
N ( s k ) = { s k − 1 , s k + 1 , v 1 k , 1 , v 1 k , 2 , v 1 k , 3 } , N(s_k) = \{s_{k-1},s_{k+1},v_1^{k,1},v_1^{k,2},v_1^{k,3}\}, N ( s k ) = { s k − 1 , s k + 1 , v 1 k , 1 , v 1 k , 2 , v 1 k , 3 } ,
N ( t k ) = { t k − 1 , t k + 1 } ∪ { v L k − 1 k , c , r μ k + 1 k , c : c = 1 , 2 , 3 } ∪ { q , q ′ : k = m − 1 } , N(t_k) = \{t_{k-1},t_{k+1}\} \cup\{v_{L_{k-1}}^{k,c},r_{\mu_{k+1}}^{k,c}:c = 1,2,3\} \cup\{q,q': k = m-1\}, N ( t k ) = { t k − 1 , t k + 1 } ∪ { v L k − 1 k , c , r μ k + 1 k , c : c = 1 , 2 , 3 } ∪ { q , q ′ : k = m − 1 } ,
and the v 1 k , c v_1^{k,c} v 1 k , c , v L k − 1 k , c v_{L_{k-1}}^{k,c} v L k − 1 k , c , r μ k + 1 k , c r_{\mu_{k+1}}^{k,c} r μ k + 1 k , c are members of U k , c U_{k,c} U k , c , hence in P P P , as are s k + 1 s_{k+1} s k + 1 , t k + 1 t_{k+1} t k + 1 , q q q , q ′ q' q ′ . Lemma 9.3 with w : = s k w := s_k w := s k gives
∂ ( P ∪ { s k } ) = ( ∂ P ∖ { s k } ) ∪ ( N ( s k ) ∖ ( P ∪ { s k } ) ) ⊆ { t k } ∪ { s k − 1 } . \partial(P \cup\{s_k\}) = (\partial P \setminus\{s_k\}) \cup(N(s_k) \setminus(P \cup\{s_k\})) \subseteq\{t_k\} \cup\{s_{k-1}\}. ∂ ( P ∪ { s k }) = ( ∂ P ∖ { s k }) ∪ ( N ( s k ) ∖ ( P ∪ { s k })) ⊆ { t k } ∪ { s k − 1 } .
Lemma 9.3 with w : = t k w := t_k w := t k gives
∂ ( P ∪ { s k , t k } ) = ( ∂ ( P ∪ { s k } ) ∖ { t k } ) ∪ ( N ( t k ) ∖ ( P ∪ { s k , t k } ) ) ⊆ { s k − 1 } ∪ { t k − 1 } . \partial(P \cup\{s_k,t_k\}) = (\partial(P \cup\{s_k\}) \setminus\{t_k\}) \cup(N(t_k) \setminus(P \cup\{s_k,t_k\})) \subseteq\{s_{k-1}\} \cup\{t_{k-1}\}. ∂ ( P ∪ { s k , t k }) = ( ∂ ( P ∪ { s k }) ∖ { t k }) ∪ ( N ( t k ) ∖ ( P ∪ { s k , t k })) ⊆ { s k − 1 } ∪ { t k − 1 } .
The two boundaries have at most two vertices. This proves the claim.
(5) The frame vertices of the level 1. Let P P P be the set of the vertices placed before s 1 s_1 s 1 , and suppose ∂ P ⊆ { s 1 , t 1 } \partial P \subseteq\{s_1,t_1\} ∂ P ⊆ { s 1 , t 1 } . We prove the following claim: the two prefixes P ∪ { s 1 } P \cup\{s_1\} P ∪ { s 1 } and P ∪ { s 1 , t 1 } P \cup\{s_1,t_1\} P ∪ { s 1 , t 1 } have at most two boundary vertices each, and ∂ ( P ∪ { s 1 , t 1 } ) ⊆ { T 1 , z 1 } \partial(P \cup\{s_1,t_1\}) \subseteq\{T_1,z_1\} ∂ ( P ∪ { s 1 , t 1 }) ⊆ { T 1 , z 1 } .
By (1), P P P consists of the vertices of the levels 2 , … , m 2,\ldots,m 2 , … , m , of q , q ′ q,q' q , q ′ , and of int ( U 1 , c ) \operatorname{int}(U_{1,c}) int ( U 1 , c ) for c = 1 , 2 , 3 c = 1,2,3 c = 1 , 2 , 3 . By Definition 4.6, the frame consists of the paths T 1 , s 1 , … , s m T_1,s_1,\ldots,s_m T 1 , s 1 , … , s m and t m , … , t 1 , z 1 , … , z 7 , T 2 t_m,\ldots,t_1,z_1,\ldots,z_7,T_2 t m , … , t 1 , z 1 , … , z 7 , T 2 , so
N ( s 1 ) = { T 1 , s 2 , v 1 1 , 1 , v 1 1 , 2 , v 1 1 , 3 } , N(s_1) = \{T_1,s_2,v_1^{1,1},v_1^{1,2},v_1^{1,3}\}, N ( s 1 ) = { T 1 , s 2 , v 1 1 , 1 , v 1 1 , 2 , v 1 1 , 3 } ,
N ( t 1 ) = { z 1 , t 2 } ∪ { v L 1 − 1 1 , c , r μ 1 + 1 1 , c : c = 1 , 2 , 3 } , N(t_1) = \{z_1,t_2\} \cup\{v_{L_1-1}^{1,c},r_{\mu_1+1}^{1,c}:c = 1,2,3\}, N ( t 1 ) = { z 1 , t 2 } ∪ { v L 1 − 1 1 , c , r μ 1 + 1 1 , c : c = 1 , 2 , 3 } ,
and the v 1 1 , c v_1^{1,c} v 1 1 , c , v L 1 − 1 1 , c v_{L_1-1}^{1,c} v L 1 − 1 1 , c , r μ 1 + 1 1 , c r_{\mu_1+1}^{1,c} r μ 1 + 1 1 , c are members of U 1 , c U_{1,c} U 1 , c , hence in P P P , as are s 2 s_2 s 2 , t 2 t_2 t 2 . Lemma 9.3 with w : = s 1 w := s_1 w := s 1 gives
∂ ( P ∪ { s 1 } ) = ( ∂ P ∖ { s 1 } ) ∪ ( N ( s 1 ) ∖ ( P ∪ { s 1 } ) ) ⊆ { t 1 } ∪ { T 1 } . \partial(P \cup\{s_1\}) = (\partial P \setminus\{s_1\}) \cup(N(s_1) \setminus(P \cup\{s_1\})) \subseteq\{t_1\} \cup\{T_1\}. ∂ ( P ∪ { s 1 }) = ( ∂ P ∖ { s 1 }) ∪ ( N ( s 1 ) ∖ ( P ∪ { s 1 })) ⊆ { t 1 } ∪ { T 1 } .
Lemma 9.3 with w : = t 1 w := t_1 w := t 1 gives
∂ ( P ∪ { s 1 , t 1 } ) = ( ∂ ( P ∪ { s 1 } ) ∖ { t 1 } ) ∪ ( N ( t 1 ) ∖ ( P ∪ { s 1 , t 1 } ) ) ⊆ { T 1 } ∪ { z 1 } . \partial(P \cup\{s_1,t_1\}) = (\partial(P \cup\{s_1\}) \setminus\{t_1\}) \cup(N(t_1) \setminus(P \cup\{s_1,t_1\})) \subseteq\{T_1\} \cup\{z_1\}. ∂ ( P ∪ { s 1 , t 1 }) = ( ∂ ( P ∪ { s 1 }) ∖ { t 1 }) ∪ ( N ( t 1 ) ∖ ( P ∪ { s 1 , t 1 })) ⊆ { T 1 } ∪ { z 1 } .
The two boundaries have at most two vertices. This proves the claim.
(6) The levels. Let P k P_k P k be the set of the vertices placed before the ear order of U k , 1 U_{k,1} U k , 1 ; by (1), P m = ∅ P_m=\emptyset P m = ∅ , and for $1<k\le m$, P k − 1 P_{k-1} P k − 1 is the set P ∪ { s m , t m , q , q ′ } P\cup\{s_m,t_m,q,q'\} P ∪ { s m , t m , q , q ′ } of (3) if k = m k=m k = m and the set P ∪ { s k , t k } P\cup\{s_k,t_k\} P ∪ { s k , t k } of (4) if k < m k<m k < m , where P P P is the set placed before s k s_k s k . We prove by induction on k = m , m − 1 , … , 1 k=m,m-1,\ldots,1 k = m , m − 1 , … , 1 that ∂ P k ⊆ { s k , t k } \partial P_k\subseteq\{s_k,t_k\} ∂ P k ⊆ { s k , t k } and that ∣ B ∣ ≤ 5 |B|\le5 ∣ B ∣ ≤ 5 for every prefix ending with a vertex of the level k k k , that is, a member of U k , 1 U_{k,1} U k , 1 , U k , 2 U_{k,2} U k , 2 , U k , 3 U_{k,3} U k , 3 , or s k , t k s_k,t_k s k , t k , or q , q ′ q,q' q , q ′ when k = m k=m k = m . For k = m k=m k = m , ∂ P m = ∅ \partial P_m=\emptyset ∂ P m = ∅ . Let k k k be a level with ∂ P k ⊆ { s k , t k } \partial P_k\subseteq\{s_k,t_k\} ∂ P k ⊆ { s k , t k } . The claim of (2) for U k , 1 U_{k,1} U k , 1 gives ∣ B ∣ ≤ 5 |B|\le5 ∣ B ∣ ≤ 5 during its ear order and ∂ ( P k ∪ int ( U k , 1 ) ) ⊆ { s k , t k } \partial(P_k\cup\operatorname{int}(U_{k,1}))\subseteq\{s_k,t_k\} ∂ ( P k ∪ int ( U k , 1 )) ⊆ { s k , t k } ; as P k ∪ int ( U k , 1 ) P_k\cup\operatorname{int}(U_{k,1}) P k ∪ int ( U k , 1 ) is the set placed before the ear order of U k , 2 U_{k,2} U k , 2 , the claim of (2) for U k , 2 U_{k,2} U k , 2 gives the same, and then the claim for U k , 3 U_{k,3} U k , 3 . So the set P P P placed before s k s_k s k has ∂ P ⊆ { s k , t k } \partial P\subseteq\{s_k,t_k\} ∂ P ⊆ { s k , t k } . If k > 1 k>1 k > 1 , the claim of (3) if k = m k=m k = m , or of (4) if k < m k<m k < m , gives ∣ B ∣ ≤ 4 |B|\le4 ∣ B ∣ ≤ 4 for the prefixes ending with s k , t k s_k,t_k s k , t k and, for k = m k=m k = m , q , q ′ q,q' q , q ′ , and ∂ P k − 1 ⊆ { s k − 1 , t k − 1 } \partial P_{k-1}\subseteq\{s_{k-1},t_{k-1}\} ∂ P k − 1 ⊆ { s k − 1 , t k − 1 } , the hypothesis for $k-1. If k = 1 k=1 k = 1 , the claim of (5) gives ∣ B ∣ ≤ 2 |B|\le2 ∣ B ∣ ≤ 2 for the prefixes ending with s 1 s_1 s 1 and t 1 t_1 t 1 , and ∂ ( P ∪ { s 1 , t 1 } ) ⊆ { T 1 , z 1 } \partial(P\cup\{s_1,t_1\})\subseteq\{T_1,z_1\} ∂ ( P ∪ { s 1 , t 1 }) ⊆ { T 1 , z 1 } for the prefix ending with t 1 t_1 t 1 .
(7) The tail. Let X : = Z X:=Z X := Z , attached at { t 1 , T 2 } \{t_1,T_2\} { t 1 , T 2 } (Lemma 9.6 (iii)), and let P P P be the set of the vertices placed before z 1 z_1 z 1 ; by (6), ∂ P ⊆ { T 1 , z 1 } \partial P\subseteq\{T_1,z_1\} ∂ P ⊆ { T 1 , z 1 } , and t 1 ∈ P t_1\in P t 1 ∈ P . We prove the following claim: ∣ B ∣ ≤ 3 |B|\le3 ∣ B ∣ ≤ 3 for every prefix of the ordering ending in z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 , and ∂ ( P ∪ int ( X ) ) ⊆ { T 1 , T 2 } \partial(P\cup\operatorname{int}(X))\subseteq\{T_1,T_2\} ∂ ( P ∪ int ( X )) ⊆ { T 1 , T 2 } .
Let Q Q Q be a nonempty prefix of z 1 , … , z 7 z_1,\ldots,z_7 z 1 , … , z 7 , the ear order of X X X . The prefix of the ordering ending with Q Q Q is P ∪ Q P\cup Q P ∪ Q , so B = ∂ ( P ∪ Q ) B=\partial(P\cup Q) B = ∂ ( P ∪ Q ) , and by (1), P ⊆ V ( G ) ∖ int ( X ) P\subseteq V(G)\setminus\operatorname{int}(X) P ⊆ V ( G ) ∖ int ( X ) and Q ⊆ int ( X ) Q\subseteq\operatorname{int}(X) Q ⊆ int ( X ) . So Lemma 9.7 applies with a : = t 1 a:=t_1 a := t 1 and b : = T 2 b:=T_2 b := T 2 and gives
B ⊆ ( ∂ P ∖ Q ) ∪ { t 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X ) ) ⊆ { T 1 } ∪ { t 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X ) ) , B\subseteq(\partial P\setminus Q)\cup\{t_1,T_2\}\cup(\partial_XQ\cap\operatorname{int}(X))\subseteq\{T_1\}\cup\{t_1,T_2\}\cup(\partial_XQ\cap\operatorname{int}(X)), B ⊆ ( ∂ P ∖ Q ) ∪ { t 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X )) ⊆ { T 1 } ∪ { t 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X )) ,
the second inclusion as ∂ P ⊆ { T 1 , z 1 } \partial P\subseteq\{T_1,z_1\} ∂ P ⊆ { T 1 , z 1 } and z 1 ∈ Q z_1\in Q z 1 ∈ Q . Moreover t 1 ∉ B t_1\notin B t 1 ∈ / B , as t 1 ∈ P t_1\in P t 1 ∈ P ; so B ⊆ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X ) ) B\subseteq\{T_1,T_2\}\cup(\partial_XQ\cap\operatorname{int}(X)) B ⊆ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X )) . It remains to bound ∂ X Q ∩ int ( X ) \partial_XQ\cap\operatorname{int}(X) ∂ X Q ∩ int ( X ) . By Lemma 9.6 (iii), X X X is a path with ears with w 0 = t 1 w_0=t_1 w 0 = t 1 , w n = T 2 w_n=T_2 w n = T 2 and depth 0, and Q Q Q is a nonempty prefix of its ear order; so Lemma 9.5 (ii) gives ∂ X Q ⊆ { t 1 , T 2 } ∪ M \partial_XQ\subseteq\{t_1,T_2\}\cup M ∂ X Q ⊆ { t 1 , T 2 } ∪ M for a set M M M with ∣ M ∣ ≤ 1 |M|\le1 ∣ M ∣ ≤ 1 . Hence ∂ X Q ∩ int ( X ) ⊆ M \partial_XQ\cap\operatorname{int}(X)\subseteq M ∂ X Q ∩ int ( X ) ⊆ M and ∣ B ∣ ≤ ∣ { T 1 , T 2 } ∣ + ∣ M ∣ ≤ 2 + 1 = 3 |B|\le|\{T_1,T_2\}|+|M|\le2+1=3 ∣ B ∣ ≤ ∣ { T 1 , T 2 } ∣ + ∣ M ∣ ≤ 2 + 1 = 3 . At the end of the ear order, Q = int ( X ) Q=\operatorname{int}(X) Q = int ( X ) by (1), and Lemma 9.5 (iii) gives ∂ X Q = { t 1 , T 2 } \partial_XQ=\{t_1,T_2\} ∂ X Q = { t 1 , T 2 } ; so ∂ X Q ∩ int ( X ) = ∅ \partial_XQ\cap\operatorname{int}(X)=\emptyset ∂ X Q ∩ int ( X ) = ∅ , and B = ∂ ( P ∪ int ( X ) ) ⊆ { T 1 , T 2 } B=\partial(P\cup\operatorname{int}(X))\subseteq\{T_1,T_2\} B = ∂ ( P ∪ int ( X )) ⊆ { T 1 , T 2 } . This proves the claim.
(8) An arm. Let 1 ≤ j ≤ 4 1\le j\le4 1 ≤ j ≤ 4 , let X : = Y j X:=Y_j X := Y j , attached at { T 1 , T 2 } \{T_1,T_2\} { T 1 , T 2 } (Lemma 4.12 (ii)), and let P P P be the set of the vertices placed before the ear order of X X X . We prove the following claim: if ∂ P ⊆ { T 1 , T 2 } \partial P\subseteq\{T_1,T_2\} ∂ P ⊆ { T 1 , T 2 } , then ∣ B ∣ ≤ 4 |B|\le4 ∣ B ∣ ≤ 4 for every prefix of the ordering ending in the ear order of X X X , and ∂ ( P ∪ int ( X ) ) ⊆ { T 1 , T 2 } \partial(P\cup\operatorname{int}(X))\subseteq\{T_1,T_2\} ∂ ( P ∪ int ( X )) ⊆ { T 1 , T 2 } .
Let Q Q Q be a nonempty prefix of the ear order of X X X . The prefix of the ordering ending with Q Q Q is P ∪ Q P\cup Q P ∪ Q , so B = ∂ ( P ∪ Q ) B=\partial(P\cup Q) B = ∂ ( P ∪ Q ) , and by (1), P ⊆ V ( G ) ∖ int ( X ) P\subseteq V(G)\setminus\operatorname{int}(X) P ⊆ V ( G ) ∖ int ( X ) and Q ⊆ int ( X ) Q\subseteq\operatorname{int}(X) Q ⊆ int ( X ) . So Lemma 9.7 applies with a : = T 1 a:=T_1 a := T 1 and b : = T 2 b:=T_2 b := T 2 and gives
B ⊆ ( ∂ P ∖ Q ) ∪ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X ) ) ⊆ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X ) ) , B\subseteq(\partial P\setminus Q)\cup\{T_1,T_2\}\cup(\partial_XQ\cap\operatorname{int}(X))\subseteq\{T_1,T_2\}\cup(\partial_XQ\cap\operatorname{int}(X)), B ⊆ ( ∂ P ∖ Q ) ∪ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X )) ⊆ { T 1 , T 2 } ∪ ( ∂ X Q ∩ int ( X )) ,
the second inclusion by the hypothesis ∂ P ⊆ { T 1 , T 2 } \partial P\subseteq\{T_1,T_2\} ∂ P ⊆ { T 1 , T 2 } . It remains to bound ∂ X Q ∩ int ( X ) \partial_XQ\cap\operatorname{int}(X) ∂ X Q ∩ int ( X ) . By Lemma 9.6 (ii), X X X is a path with ears with w 0 = T 1 w_0=T_1 w 0 = T 1 , w n = T 2 w_n=T_2 w n = T 2 and depth 1, and Q Q Q is a nonempty prefix of its ear order; so Lemma 9.5 (ii) gives ∂ X Q ⊆ { T 1 , T 2 } ∪ M \partial_XQ\subseteq\{T_1,T_2\}\cup M ∂ X Q ⊆ { T 1 , T 2 } ∪ M for a set M M M with ∣ M ∣ ≤ 2 |M|\le2 ∣ M ∣ ≤ 2 . Hence ∂ X Q ∩ int ( X ) ⊆ M \partial_XQ\cap\operatorname{int}(X)\subseteq M ∂ X Q ∩ int ( X ) ⊆ M and ∣ B ∣ ≤ ∣ { T 1 , T 2 } ∣ + ∣ M ∣ ≤ 2 + 2 = 4 |B|\le|\{T_1,T_2\}|+|M|\le2+2=4 ∣ B ∣ ≤ ∣ { T 1 , T 2 } ∣ + ∣ M ∣ ≤ 2 + 2 = 4 . At the end of the ear order, Q = int ( X ) Q=\operatorname{int}(X) Q = int ( X ) by (1), and Lemma 9.5 (iii) gives ∂ X Q = { T 1 , T 2 } \partial_XQ=\{T_1,T_2\} ∂ X Q = { T 1 , T 2 } ; so ∂ X Q ∩ int ( X ) = ∅ \partial_XQ\cap\operatorname{int}(X)=\emptyset ∂ X Q ∩ int ( X ) = ∅ , and B = ∂ ( P ∪ int ( X ) ) ⊆ { T 1 , T 2 } B=\partial(P\cup\operatorname{int}(X))\subseteq\{T_1,T_2\} B = ∂ ( P ∪ int ( X )) ⊆ { T 1 , T 2 } . This proves the claim.
(9) The four arms. Let P j P^j P j be the set of the vertices placed before the ear order of Y j Y_j Y j ; by (1), P 1 = P ∪ int ( Z ) P^1=P\cup\operatorname{int}(Z) P 1 = P ∪ int ( Z ) for the set P P P of (7), and P j + 1 = P j ∪ int ( Y j ) P^{j+1}=P^j\cup\operatorname{int}(Y_j) P j + 1 = P j ∪ int ( Y j ) for 1 ≤ j ≤ 3 1\le j\le3 1 ≤ j ≤ 3 . We prove by induction on j = 1 , … , 4 j=1,\ldots,4 j = 1 , … , 4 that ∂ P j ⊆ { T 1 , T 2 } \partial P^j\subseteq\{T_1,T_2\} ∂ P j ⊆ { T 1 , T 2 } and that ∣ B ∣ ≤ 4 |B|\le4 ∣ B ∣ ≤ 4 for every prefix of the ordering ending in the ear order of Y j Y^j Y j . For j = 1 j=1 j = 1 , ∂ P 1 ⊆ { T 1 , T 2 } \partial P^1 \subseteq\{T_1,T_2\} ∂ P 1 ⊆ { T 1 , T 2 } by (7). Let 1 ≤ j ≤ 3 1 \leq j \leq3 1 ≤ j ≤ 3 with ∂ P j ⊆ { T 1 , T 2 } \partial P^j \subseteq\{T_1,T_2\} ∂ P j ⊆ { T 1 , T 2 } . The claim of (8) for Y j Y^j Y j gives ∣ B ∣ ≤ 4 |B| \leq4 ∣ B ∣ ≤ 4 during its ear order and ∂ P j + 1 = ∂ ( P j ∪ int ( Y j ) ) ⊆ { T 1 , T 2 } \partial P^{j+1}=\partial(P^j\cup\operatorname{int}(Y^j))\subseteq\{T_1,T_2\} ∂ P j + 1 = ∂ ( P j ∪ int ( Y j )) ⊆ { T 1 , T 2 } , the hypothesis for j + 1 j+1 j + 1 . For j = 4 j=4 j = 4 , the claim of (8) for Y 4 Y^4 Y 4 gives ∣ B ∣ ≤ 4 |B| \leq4 ∣ B ∣ ≤ 4 during its ear order.
(10) The end. Let P P P be the set of the vertices placed before T 1 T_1 T 1 . By (1), T 1 T_1 T 1 comes right after the ear order of Y 4 Y^4 Y 4 , so P = P 4 ∪ int ( Y 4 ) P=P^4\cup\operatorname{int}(Y^4) P = P 4 ∪ int ( Y 4 ) with P 4 P^4 P 4 the set of (9), and the claim of (8) for Y 4 Y^4 Y 4 , with ∂ P 4 ⊆ { T 1 , T 2 } \partial P^4\subseteq\{T_1,T_2\} ∂ P 4 ⊆ { T 1 , T 2 } from (9), gives ∂ P ⊆ { T 1 , T 2 } \partial P\subseteq\{T_1,T_2\} ∂ P ⊆ { T 1 , T 2 } . By Definition 4.6,
N ( T 1 ) = { s 1 , y 1 1 , y 1 2 , y 1 3 , y 1 4 } , N ( T 2 ) = { z 7 , y D − 1 1 , y D − 1 2 , y D − 1 3 , y D − 1 4 } . N(T_1)=\{s_1,y_1^1,y_1^2,y_1^3,y_1^4\},\qquad N(T_2)=\{z_7,y_{D-1}^1,y_{D-1}^2,y_{D-1}^3,y_{D-1}^4\}. N ( T 1 ) = { s 1 , y 1 1 , y 1 2 , y 1 3 , y 1 4 } , N ( T 2 ) = { z 7 , y D − 1 1 , y D − 1 2 , y D − 1 3 , y D − 1 4 } .
and all these vertices lie in P P P . Lemma 9.3 with w : = T 1 w:=T_1 w := T 1 gives
∂ ( P ∪ { T 1 } ) = ( ∂ P ∖ { T 1 } ) ∪ ( N ( T 1 ) ∖ ( P ∪ { T 1 } ) ) ⊆ { T 2 } ∪ ∅ . \partial(P\cup\{T_1\})=(\partial P\setminus\{T_1\})\cup\left(N(T_1)\setminus(P\cup\{T_1\})\right)\subseteq\{T_2\}\cup\varnothing. ∂ ( P ∪ { T 1 }) = ( ∂ P ∖ { T 1 }) ∪ ( N ( T 1 ) ∖ ( P ∪ { T 1 }) ) ⊆ { T 2 } ∪ ∅ .
Lemma 9.3 with w : = T 2 w:=T_2 w := T 2 gives
∂ ( P ∪ { T 1 , T 2 } ) = ( ∂ ( P ∪ { T 1 } ) ∖ { T 2 } ) ∪ ( N ( T 2 ) ∖ ( P ∪ { T 1 , T 2 } ) ) = ∅ . \partial(P\cup\{T_1,T_2\})=\left(\partial(P\cup\{T_1\})\setminus\{T_2\}\right)\cup\left(N(T_2)\setminus(P\cup\{T_1,T_2\})\right)=\varnothing. ∂ ( P ∪ { T 1 , T 2 }) = ( ∂ ( P ∪ { T 1 }) ∖ { T 2 } ) ∪ ( N ( T 2 ) ∖ ( P ∪ { T 1 , T 2 }) ) = ∅ .
The two boundaries have at most one vertex.
By (1), every prefix of the ordering ends with a vertex of a level, of the tail, of an arm, or with T 1 T_1 T 1 or T 2 T_2 T 2 ; so, by (6), (7), (9) and (10), every prefix has at most five boundary vertices. The ordering is a layout of width five (Definition 9.1), and Lemma 9.2 gives a path decomposition of width at most five.
Four properties of G φ G_\varphi G φ
Lemma 10.1 (four properties of G φ G_\varphi G φ ). Let φ \varphi φ be a restricted formula and G : = G φ G:=G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Let D = 4 m + 15 D=4m+15 D = 4 m + 15 be the number of Definition 4.4 .
(i) G G G is not outerplanar: it contains a subdivision of K 2 , 3 K_{2,3} K 2 , 3 .
(ii) d ( T 1 , T 2 ) = D d(T_1,T_2)=D d ( T 1 , T 2 ) = D ; so the diameter of G G G , the largest distance between two of its vertices, is at least 4 m + 15 4m+15 4 m + 15 .
(iii) ∣ E ( G ) ∣ − ∣ V ( G ) ∣ + 1 ≤ 12 m + 9 |E(G)|-|V(G)|+1\leq12m+9 ∣ E ( G ) ∣ − ∣ V ( G ) ∣ + 1 ≤ 12 m + 9 ; so deleting some set of at most 12 m + 9 12m+9 12 m + 9 edges of G G G leaves a spanning tree of G G G .
(iv) G G G is two-connected (Definition 2.1).
Proof. (1) We prove (i). Let k k k be a level. By Definition 4.6, the spines v 0 k , c , … , v L k k , c v_0^{k,c},\ldots,v_{L_k}^{k,c} v 0 k , c , … , v L k k , c of the three copies U k , 1 , U k , 2 , U k , 3 U_{k,1},U_{k,2},U_{k,3} U k , 1 , U k , 2 , U k , 3 are paths from v 0 k , c = s k v_0^{k,c}=s_k v 0 k , c = s k to v L k k , c = t k v_{L_k}^{k,c}=t_k v L k k , c = t k with L k = 4 m + 8 − 2 k ≥ 2 L_k=4m+8-2k\geq2 L k = 4 m + 8 − 2 k ≥ 2 edges, whose inner vertices are members of distinct copies, hence pairwise distinct. Three internally disjoint s k s_k s k –t k t_k t k paths with at least two edges each form a subdivision of K 2 , 3 K_{2,3} K 2 , 3 , and a graph containing a subdivision of K 2 , 3 K_{2,3} K 2 , 3 has K 2 , 3 K_{2,3} K 2 , 3 as a minor. By [4 Lemma 78 and the remark after it] , the class of outerplanar graphs is closed under taking minors and K 2 , 3 K_{2,3} K 2 , 3 is not outerplanar. So G G G is not outerplanar.
(2) We prove (ii). By Lemma 5.2 (iv), d ( T 1 , T 2 ) = D d(T_1,T_2)=D d ( T 1 , T 2 ) = D , and D = 4 m + 15 D=4m+15 D = 4 m + 15 by Definition 4.4 . So the largest distance between two vertices of G G G is at least $4m+15.
(3) We prove (iii). By Definition 4.6, G G G is the union of the frame, the 3 m 3m 3 m copies, the pair q , q ′ q,q' q , q ′ with its four edges and the four arms, whose vertices other than the terminals s k , t k s_k,t_k s k , t k of the copies and T 1 , T 2 T_1,T_2 T 1 , T 2 of the arms are pairwise distinct. Every edge of a copy has an end among its members (no edge of a copy joins s k s_k s k to t k t_k t k , as L k ≥ 2 L_k \ge2 L k ≥ 2 and the t t t -ear and the crossings end at spine vertices other than both terminals), every edge of an arm has an end in int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , and the four edges at q , q ′ q,q' q , q ′ have an end in { q , q ′ } \{q,q'\} { q , q ′ } ; so the edge sets of the parts are pairwise disjoint, and ∣ E ( G ) ∣ |E(G)| ∣ E ( G ) ∣ is their sum. We count the edges minus the vertices, part by part, counting the terminals in the frame:
the frame, the paths T 1 , s 1 , … , s m T_1,s_1,\ldots,s_m T 1 , s 1 , … , s m and t m , … , t 1 , z 1 , … , z 7 , T 2 t_m,\ldots,t_1,z_1,\ldots,z_7,T_2 t m , … , t 1 , z 1 , … , z 7 , T 2 : 2 m + 9 2m+9 2 m + 9 vertices and 2 m + 7 2m+7 2 m + 7 edges, a difference of − 2 -2 − 2 ;
a copy U k , c U_{k,c} U k , c with e : = ∣ Z k , c ∣ e:=|Z_{k,c}| e := ∣ Z k , c ∣ crossings: L k + ( μ k + 2 ) + ∑ j < e ℓ j k , c L_k+(\mu_k+2)+\sum_{j<e}\ell_j^{k,c} L k + ( μ k + 2 ) + ∑ j < e ℓ j k , c edges and ( L k − 1 ) + ( μ k + 1 ) + ∑ j < e ( ℓ j k , c − 1 ) (L_k-1)+(\mu_k+1)+\sum_{j<e}(\ell_j^{k,c}-1) ( L k − 1 ) + ( μ k + 1 ) + ∑ j < e ( ℓ j k , c − 1 ) vertices other than s k , t k s_k,t_k s k , t k , a difference of 2 + e ≤ 4 2+e\le4 2 + e ≤ 4 , as e ≤ 2 e\le2 e ≤ 2 (Lemma 4.3 (ii));
the pair q , q ′ q,q' q , q ′ : 4 4 4 edges and 2 2 2 vertices, a difference of 2 2 2 ;
an arm Y j Y^j Y j : D + 2 D+2 D + 2 edges and the D D D vertices y 1 j , … , y D − 1 j , y ~ j y^j_1,\ldots,y^j_{D-1},\widetilde{y}^j y 1 j , … , y D − 1 j , y j other than T 1 , T 2 T_1,T_2 T 1 , T 2 , a difference of 2 2 2 .
Hence
∣ E ( G ) ∣ − ∣ V ( G ) ∣ ≤ − 2 + 3 m ⋅ 4 + 2 + 4 ⋅ 2 = 12 m + 8. |E(G)|-|V(G)|\le-2+3m\cdot4+2+4\cdot2=12m+8. ∣ E ( G ) ∣ − ∣ V ( G ) ∣ ≤ − 2 + 3 m ⋅ 4 + 2 + 4 ⋅ 2 = 12 m + 8.
As G G G is connected, it has a spanning tree, and a tree with ∣ V ( G ) ∣ |V(G)| ∣ V ( G ) ∣ vertices has ∣ V ( G ) ∣ − 1 |V(G)|-1 ∣ V ( G ) ∣ − 1 edges [11 Section 1.5] ; deleting the other ∣ E ( G ) ∣ − ∣ V ( G ) ∣ + 1 ≤ 12 m + 9 |E(G)|-|V(G)|+1\le12m+9 ∣ E ( G ) ∣ − ∣ V ( G ) ∣ + 1 ≤ 12 m + 9 edges of G G G leaves that tree.
(4) We prove (iv). G G G has the four distinct vertices T 1 , T 2 , s 1 , t 1 T_1,T_2,s_1,t_1 T 1 , T 2 , s 1 , t 1 (Definition 4.6). Let v v v be a vertex of G G G . We prove that G − v G-v G − v is connected, that is, that any two vertices of G − v G-v G − v are joined by a path of G − v G-v G − v . If some vertex T T T of G − v G-v G − v is joined in G − v G-v G − v to every vertex of G − v G-v G − v , this holds: two vertices are joined through T T T . We find such a vertex T T T .
By Theorem 8.5 (i), ( G ; T 1 , T 2 ) ∈ S P (G;T_1,T_2)\in SP ( G ; T 1 , T 2 ) ∈ S P , so by Lemma 8.3 (iv) every vertex of G − v G-v G − v is joined in G − v G-v G − v to T 1 T_1 T 1 or to T 2 T_2 T 2 .
If v ∈ { T 1 , T 2 } v\in\{T_1,T_2\} v ∈ { T 1 , T 2 } , then v v v is not a vertex of G − v G-v G − v , so every vertex of G − v G-v G − v is joined in G − v G-v G − v to the other terminal, and that terminal is such a T T T .
Let v ∉ { T 1 , T 2 } v\notin\{T_1,T_2\} v ∈ / { T 1 , T 2 } . By Definition 4.6, each arm Y j Y^j Y j contains the path y 0 j , … , y D j y^j_0,\ldots,y^j_D y 0 j , … , y D j from T 1 T_1 T 1 to T 2 T_2 T 2 , whose inner vertices lie in int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) , and the four sets int ( Y j ) \operatorname{int}(Y^j) int ( Y j ) are pairwise disjoint (Lemma 4.12 (i)). So v v v lies in at most one of them, and for another j j j the path y 0 j , … , y D j y^j_0,\ldots,y^j_D y 0 j , … , y D j joins T 1 T_1 T 1 and T 2 T_2 T 2 in G − v G-v G − v . Hence a vertex of G − v G-v G − v joined to T 2 T_2 T 2 is joined to T 1 T_1 T 1 through this path, so every vertex of G − v G-v G − v is joined in G − v G-v G − v to T 1 T_1 T 1 , and T 1 T_1 T 1 is such a T T T .
So G − v G-v G − v is connected for every vertex v v v , and G G G is two-connected (Definition 2.1). □
The main theorem
Lemma 11.1 (the cells of a copy). Let φ \varphi φ be a restricted formula and G : = G φ G := G_{\varphi} G := G φ (Definition 4.6). Let k k k be a level, c c c an option and Z k , c Z_{k,c} Z k , c its option set (Definition 4.2 ), μ k \mu_k μ k the number of Definition 4.4 , and δ 1 = d ( T 1 , ⋅ ) \delta_1 = d(T_1,\mathord{\cdot}) δ 1 = d ( T 1 , ⋅ ) (Lemma 5.1). Then the set of values of δ 1 \delta_1 δ 1 at the diagonal members of U k , c U_{k,c} U k , c (Definition 4.7 ) is
{ 2 m + 4 − k } ∪ Z k , c , \{2m+4-k\}\cup Z_{k,c}, { 2 m + 4 − k } ∪ Z k , c , and δ 1 \delta_1 δ 1 is injective on these members.
Proof. (1) Let Z k , c = { ζ 0 < ⋯ < ζ e − 1 } Z_{k,c}=\{\zeta_0<\cdots<\zeta_{e-1}\} Z k , c = { ζ 0 < ⋯ < ζ e − 1 } , so that e = ∣ Z k , c ∣ e=|Z_{k,c}| e = ∣ Z k , c ∣ and the entries of E k , c E_{k,c} E k , c are ε j = 2 ( ζ j − k − μ k ) \varepsilon_j=2(\zeta_j-k-\mu_k) ε j = 2 ( ζ j − k − μ k ) for j < e j<e j < e (Definition 4.4 ). By Lemma 3.7 (iii), the diagonal members of the template T ( L k , μ k ; E k , c ) T(L_k,\mu_k;E_{k,c}) T ( L k , μ k ; E k , c ) are v μ k v_{\mu_k} v μ k , with h = μ k h=\mu_k h = μ k , and x j + 1 + ε j / 2 x^{j+1+\varepsilon_j/2} x j + 1 + ε j /2 for each j < e j<e j < e , with h = μ k + ε j / 2 h=\mu_k+\varepsilon_j/2 h = μ k + ε j /2 . By Lemma 4.9 (iii), the isomorphism ψ \psi ψ of Lemma 4.9 maps the diagonal members of the template onto those of U k , c U_{k,c} U k , c ; so these are v μ k k , c v_{\mu_k}^{k,c} v μ k k , c and x j + 1 + ε j / 2 k , c , j x_{j+1+\varepsilon_j/2}^{k,c,j} x j + 1 + ε j /2 k , c , j (j < e j<e j < e ), and by Lemma 4.9 (ii) their profiles are
h U k , c ( v μ k k , c ) = μ k , h U k , c ( x j + 1 + ε j / 2 k , c , j ) = μ k + ε j / 2 = μ k + ( ζ j − k − μ k ) = ζ j − k . h_{U_{k,c}}(v_{\mu_k}^{k,c})=\mu_k,\qquad h_{U_{k,c}}(x_{j+1+\varepsilon_j/2}^{k,c,j})=\mu_k+\varepsilon_j/2=\mu_k+(\zeta_j-k-\mu_k)=\zeta_j-k. h U k , c ( v μ k k , c ) = μ k , h U k , c ( x j + 1 + ε j /2 k , c , j ) = μ k + ε j /2 = μ k + ( ζ j − k − μ k ) = ζ j − k . (2) By the line u ∈ int ( U k , c ) u\in\operatorname{int}(U_{k,c}) u ∈ int ( U k , c ) of the table (Table 1 (PDF p. 55) ) of Lemma 5.1, δ 1 ( u ) = k + h U k , c ( u ) \delta_1(u)=k+h_{U_{k,c}}(u) δ 1 ( u ) = k + h U k , c ( u ) for every member u u u of U k , c U_{k,c} U k , c . With (1) and μ k = 2 m + 4 − 2 k \mu_k=2m+4-2k μ k = 2 m + 4 − 2 k (Definition 4.4 ),
δ 1 ( v μ k k , c ) = k + μ k = 2 m + 4 − k , δ 1 ( x j + 1 + ε j / 2 k , c , j ) = k + ( ζ j − k ) = ζ j ( j < e ) . \delta_1(v_{\mu_k}^{k,c})=k+\mu_k=2m+4-k,\qquad\delta_1(x_{j+1+\varepsilon_j/2}^{k,c,j})=k+(\zeta_j-k)=\zeta_j\quad(j<e). δ 1 ( v μ k k , c ) = k + μ k = 2 m + 4 − k , δ 1 ( x j + 1 + ε j /2 k , c , j ) = k + ( ζ j − k ) = ζ j ( j < e ) . So the set of values is { 2 m + 4 − k } ∪ Z k , c \{2m+4-k\}\cup Z_{k,c} { 2 m + 4 − k } ∪ Z k , c . These e + 1 e+1 e + 1 values are pairwise distinct: as k ≥ 1 k\ge1 k ≥ 1 , 2 m + 4 − k ≤ 2 m + 3 2m+4-k\le2m+3 2 m + 4 − k ≤ 2 m + 3 ; by Lemma 4.3 (i), every cell is at least 2 m + 6 2m+6 2 m + 6 , so ζ j ≥ 2 m + 6 > 2 m + 3 \zeta_j\ge2m+6>2m+3 ζ j ≥ 2 m + 6 > 2 m + 3 for each j < e j<e j < e ; and ζ 0 < ζ 1 \zeta_0<\zeta_1 ζ 0 < ζ 1 if e = 2 e=2 e = 2 . The e + 1 e+1 e + 1 diagonal members are distinct vertices with pairwise distinct values of δ 1 \delta_1 δ 1 , so δ 1 \delta_1 δ 1 is injective on them.
Table 1 (PDF p. 55).
Definition 11.2 (the assignment and the literals of a choice). Let φ \varphi φ be a restricted formula with the clauses C 1 , … , C n C_1,\ldots,C_n C 1 , … , C n and the variables ξ 1 , … , ξ r \xi_1,\ldots,\xi_r ξ 1 , … , ξ r (Definition 4.1 ). For a choice f f f (Definition 4.11 ) let A f A_f A f be the assignment that gives each variable the value set by its selected option, A f ( ξ g ) : = v ( f n + g ) A_f(\xi_g):=v(f_{n+g}) A f ( ξ g ) := v ( f n + g ) (1 ≤ g ≤ r 1\le g\le r 1 ≤ g ≤ r ), so that A f ( ξ g ) = true A_f(\xi_g)=\text{true} A f ( ξ g ) = true iff f n + g = 1 f_{n+g}=1 f n + g = 1 (Definition 4.2 ), and let λ i ( f ) : = λ i , min ( f i , ∣ C i ∣ ) ∈ C i \lambda_i(f):=\lambda_{i,\min(f_i,|C_i|)}\in C_i λ i ( f ) := λ i , m i n ( f i , ∣ C i ∣ ) ∈ C i be the literal selected by f i f_i f i at the level i i i (1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n ) (Definition 4.2 ).
Lemma 11.3 (patterns and satisfying choices). Let φ \varphi φ be a restricted formula with the clauses C 1 , … , C n C_1,\ldots,C_n C 1 , … , C n and the variables ξ 1 , … , ξ r \xi_1,\ldots,\xi_r ξ 1 , … , ξ r , so that m = n + r + 1 m=n+r+1 m = n + r + 1 (Definition 4.1 ), and with the levels 1 , … , n 1,\ldots,n 1 , … , n of the clauses, n + 1 , … , n + r n+1,\ldots,n+r n + 1 , … , n + r of the variables and m m m the idle level (Definition 4.2 ). Let G : = G φ G:=G_{\varphi} G := G φ (Definition 4.6), f f f a choice and W f W_f W f its pattern (Definition 4.11 ), and A f A_f A f , λ i ( f ) \lambda_i(f) λ i ( f ) (1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n ) as in Definition 11.2. Then W f W_f W f resolves G G G iff A f A_f A f satisfies λ i ( f ) \lambda_i(f) λ i ( f ) for every 1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n (Figure 5 ).
Proof. (1) By Definition 2.2, W f W_f W f resolves G G G iff it separates every two distinct vertices of G G G . By Theorem 7.12 (i), W f W_f W f does not resolve G G G iff there are levels k ≠ k ′ k\ne k' k = k ′ with k , k ′ < m k,k'<m k , k ′ < m , a diagonal member x x x of U k , f k U_{k,f_k} U k , f k and a diagonal member y y y of U k ′ , f k ′ U_{k',f_{k'}} U k ′ , f k ′ with δ 1 ( x ) = δ 1 ( y ) \delta_1(x)=\delta_1(y) δ 1 ( x ) = δ 1 ( y ) ; such x x x and y y y are distinct, being members of different copies (Lemma 4.12 (i)). By Lemma 11.1 at
the level k k k and the option f k f_k f k , the values of δ 1 \delta_1 δ 1 at the diagonal members of U k , f k U_{k,f_k} U k , f k form the set { 2 m + 4 − k } ∪ Z k , f k \{2m+4-k\}\cup Z_{k,f_k} { 2 m + 4 − k } ∪ Z k , f k , and at the level k ′ k' k ′ and the option f k ′ f_{k'} f k ′ the set { 2 m + 4 − k ′ } ∪ Z k ′ , f k ′ \{2m+4-k'\}\cup Z_{k',f_{k'}} { 2 m + 4 − k ′ } ∪ Z k ′ , f k ′ . So, naming the two levels so that k < k ′ k<k' k < k ′ , W f W_f W f resolves G G G iff for all levels k < k ′ k<k' k < k ′ with k ′ < m k'<m k ′ < m the sets { 2 m + 4 − k } ∪ Z k , f k \{2m+4-k\}\cup Z_{k,f_k} { 2 m + 4 − k } ∪ Z k , f k and { 2 m + 4 − k ′ } ∪ Z k ′ , f k ′ \{2m+4-k'\}\cup Z_{k',f_{k'}} { 2 m + 4 − k ′ } ∪ Z k ′ , f k ′ are disjoint. As k ≠ k ′ k\ne k' k = k ′ , 2 m + 4 − k ≠ 2 m + 4 − k ′ 2m+4-k\ne2m+4-k' 2 m + 4 − k = 2 m + 4 − k ′ ; and 2 m + 4 − k ≤ 2 m + 3 < 2 m + 6 2m+4-k\le2m+3<2m+6 2 m + 4 − k ≤ 2 m + 3 < 2 m + 6 , while every cell is at least 2 m + 6 2m+6 2 m + 6 (Lemma 4.3 (i)), so neither common value lies in an option set. Hence the two sets are disjoint iff Z k , f k ∩ Z k ′ , f k ′ = ∅ Z_{k,f_k}\cap Z_{k',f_{k'}}=\varnothing Z k , f k ∩ Z k ′ , f k ′ = ∅ , and W f W_f W f resolves G G G iff Z k , f k ∩ Z k ′ , f k ′ = ∅ Z_{k,f_k}\cap Z_{k',f_{k'}}=\varnothing Z k , f k ∩ Z k ′ , f k ′ = ∅ for all levels k < k ′ k<k' k < k ′ with k ′ < m k'<m k ′ < m ; as Z m , c = ∅ Z_{m,c}=\varnothing Z m , c = ∅ (Definition 4.2 ), the condition k ′ < m k'<m k ′ < m may be dropped.
(2) Lemma 4.3(iv) for the choice f f f . For 1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n let g ( i ) g(i) g ( i ) be the index with ξ g ( i ) \xi_{g(i)} ξ g ( i ) the variable of λ i ( f ) \lambda_i(f) λ i ( f ) ; the level of ξ g ( i ) \xi_{g(i)} ξ g ( i ) is n + g ( i ) n+g(i) n + g ( i ) (Definition 4.2 ). Let k < k ′ k<k' k < k ′ be levels. By Definition 11.2, if k ≤ n k\le n k ≤ n , the literal that f k f_k f k selects at the level k k k is λ k ( f ) \lambda_k(f) λ k ( f ) . So Lemma 4.3 (iv), at the levels k < k ′ k<k' k < k ′ and the options f k , f k ′ f_k,f_{k'} f k , f k ′ , says
Z k , f k ∩ Z k ′ , f k ′ ≠ ∅ ⟺ k ≤ n , k ′ = n + g ( k ) , and f n + g ( k ) falsifies λ k ( f ) . (19) Z_{k,f_k}\cap Z_{k',f_{k'}}\ne\varnothing\Longleftrightarrow k\le n,\ k'=n+g(k),\ \text{and } f_{n+g(k)}\text{ falsifies }\lambda_k(f). \tag*{(19)} Z k , f k ∩ Z k ′ , f k ′ = ∅ ⟺ k ≤ n , k ′ = n + g ( k ) , and f n + g ( k ) falsifies λ k ( f ) . (19)
(3) We prove that the following two statements are equivalent:
Z k , f k ∩ Z k ′ , f k ′ ≠ ∅ for some levels k < k ′ ; (20) Z_{k,f_k}\cap Z_{k',f_{k'}}\ne\varnothing\quad\text{for some levels }k<k'; \tag*{(20)} Z k , f k ∩ Z k ′ , f k ′ = ∅ for some levels k < k ′ ; (20)
f n + g ( i ) falsifies λ i ( f ) for some i ∈ { 1 , … , n } . (21) f_{n+g(i)}\text{ falsifies }\lambda_i(f)\text{ for some }i\in\{1,\ldots,n\}. \tag*{(21)} f n + g ( i ) falsifies λ i ( f ) for some i ∈ { 1 , … , n } . (21)
(E19) ⇒ \Rightarrow ⇒ (E20). Let k < k ′ k<k' k < k ′ be levels with Z k , f k ∩ Z k ′ , f k ′ ≠ ∅ Z_{k,f_k}\cap Z_{k',f_{k'}}\ne\varnothing Z k , f k ∩ Z k ′ , f k ′ = ∅ . By (E18), k ≤ n k\le n k ≤ n and f n + g ( k ) f_{n+g(k)} f n + g ( k ) falsifies λ k ( f ) \lambda_k(f) λ k ( f ) . So i : = k i:=k i := k satisfies (E20).
(E20) ⇒ \Rightarrow ⇒ (E19). Let i ∈ { 1 , … , n } i\in\{1,\ldots,n\} i ∈ { 1 , … , n } with f n + g ( i ) f_{n+g(i)} f n + g ( i ) falsifying λ i ( f ) \lambda_i(f) λ i ( f ) . Put k : = i k:=i k := i and k ′ : = n + g ( i ) k':=n+g(i) k ′ := n + g ( i ) . Then k ≤ n < k ′ k\le n<k' k ≤ n < k ′ , so k < k ′ k<k' k < k ′ are levels, and the right side of (E18) holds for them. By (E18), Z k , f k ∩ Z k ′ , f k ′ ≠ ∅ Z_{k,f_k}\cap Z_{k',f_{k'}}\ne\varnothing Z k , f k ∩ Z k ′ , f k ′ = ∅ , which is (E19).
(4) For every literal λ \lambda λ with variable ξ g \xi_g ξ g ,
f n + g falsifies λ ⟺ A f does not satisfy λ . (22) f_{n+g}\text{ falsifies }\lambda\Longleftrightarrow A_f\text{ does not satisfy }\lambda. \tag*{(22)} f n + g falsifies λ ⟺ A f does not satisfy λ . (22)
Indeed, by Definition 4.2 , f n + g f_{n+g} f n + g falsifies λ \lambda λ iff λ = ¬ ξ g \lambda=\neg\xi_g λ = ¬ ξ g and f n + g = 1 f_{n+g}=1 f n + g = 1 , or λ = ξ g \lambda=\xi_g λ = ξ g and f n + g ∈ { 2 , 3 } f_{n+g}\in\{2,3\} f n + g ∈ { 2 , 3 } ; that is, iff λ = ¬ ξ g \lambda=\neg\xi_g λ = ¬ ξ g and v ( f n + g ) = true v(f_{n+g})=\text{true} v ( f n + g ) = true , or λ = ξ g \lambda=\xi_g λ = ξ g and v ( f n + g ) = false v(f_{n+g})=\text{false} v ( f n + g ) = false . By Definition 11.2, v ( f n + g ) = A f ( ξ g ) v(f_{n+g})=A_f(\xi_g) v ( f n + g ) = A f ( ξ g ) . By Definition 4.1 , A f A_f A f does not satisfy λ \lambda λ iff λ = ¬ ξ g \lambda=\neg\xi_g λ = ¬ ξ g and A f ( ξ g ) = true A_f(\xi_g)=\text{true} A f ( ξ g ) = true , or λ = ξ g \lambda=\xi_g λ = ξ g and A f ( ξ g ) = false A_f(\xi_g)=\text{false} A f ( ξ g ) = false . The two conditions coincide.
(5) We conclude:
W f resolves G ⟺ ∀ levels k < k ′ : Z k , f k ∩ Z k ′ , f k ′ = ∅ by (1) ⟺ ∀ i ∈ { 1 , … , n } : f n + g ( i ) does not falsify λ i ( f ) by (3) ⟺ ∀ i ∈ { 1 , … , n } : A f satisfies λ i ( f ) by (E21), \begin{aligned}
W_f\text{ resolves }G &\Longleftrightarrow\forall\text{ levels }k<k': Z_{k,f_k}\cap Z_{k',f_{k'}}=\varnothing&&\text{by (1)}\\
&\Longleftrightarrow\forall i\in\{1,\ldots,n\}: f_{n+g(i)}\text{ does not falsify }\lambda_i(f) &&\text{by (3)}\\
&\Longleftrightarrow\forall i\in\{1,\ldots,n\}: A_f\text{ satisfies }\lambda_i(f) &&\text{by (E21),}
\end{aligned} W f resolves G ⟺ ∀ levels k < k ′ : Z k , f k ∩ Z k ′ , f k ′ = ∅ ⟺ ∀ i ∈ { 1 , … , n } : f n + g ( i ) does not falsify λ i ( f ) ⟺ ∀ i ∈ { 1 , … , n } : A f satisfies λ i ( f ) by (1) by (3) by (E21),
where (E21) is applied at λ : = λ i ( f ) \lambda:=\lambda_i(f) λ := λ i ( f ) and g : = g ( i ) g:=g(i) g := g ( i ) for each i i i .
Corollary 11.4 (some pattern resolves iff φ \varphi φ is satisfiable). Let φ \varphi φ be a restricted formula with the clauses C 1 , … , C n C_1,\ldots,C_n C 1 , … , C n and the variables ξ 1 , … , ξ r \xi_1,\ldots,\xi_r ξ 1 , … , ξ r , so that m = n + r + 1 m=n+r+1 m = n + r + 1 (Definition 4.1 ), and with the levels 1 , … , n 1,\ldots,n 1 , … , n of the clauses and n + 1 , … , n + r n+1,\ldots,n+r n + 1 , … , n + r of the variables (Definition 4.2 ). Let G : = G φ G:=G_\varphi G := G φ (Definition 4.6). Some pattern W f W_f W f (Definition 4.11 ) resolves G G G iff φ \varphi φ is satisfiable (Definition 4.1 ). Proof. (1) ⇒ \Rightarrow ⇒ . Let W f W_f W f resolve G G G . By Lemma 11.3, A f A_f A f satisfies λ i ( f ) \lambda_i(f) λ i ( f ) for every 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n . As λ i ( f ) ∈ C i \lambda_i(f) \in C_i λ i ( f ) ∈ C i (Definition 11.2), A f A_f A f satisfies every clause C i C_i C i , hence φ \varphi φ (Definition 4.1 ). So φ \varphi φ is satisfiable.
(2) ⇐ \Leftarrow ⇐ . Let the assignment A A A satisfy φ \varphi φ . For each 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n , A A A satisfies some literal of C i C_i C i (Definition 4.1 ); choose c i c_i c i with 1 ≤ c i ≤ ∣ C i ∣ 1 \le c_i \le|C_i| 1 ≤ c i ≤ ∣ C i ∣ such that A A A satisfies λ i , c i \lambda_{i,c_i} λ i , c i . As ∣ C i ∣ ≤ 3 |C_i| \le3 ∣ C i ∣ ≤ 3 (Definition 4.1 (a)), c i ∈ { 1 , 2 , 3 } c_i \in\{1,2,3\} c i ∈ { 1 , 2 , 3 } is an option. Define the choice f f f by
f i : = c i ( 1 ≤ i ≤ n ) , f n + g : = { 1 if A ( ξ g ) = true , 2 if A ( ξ g ) = false ( 1 ≤ g ≤ r ) . f_i:=c_i \qquad(1 \le i \le n), \qquad f_{n+g}:=\begin{cases}1 & \text{if } A(\xi_g)=\text{true},\\2 & \text{if } A(\xi_g)=\text{false}\end{cases}\qquad(1 \le g \le r). f i := c i ( 1 ≤ i ≤ n ) , f n + g := { 1 2 if A ( ξ g ) = true , if A ( ξ g ) = false ( 1 ≤ g ≤ r ) .
By Definition 11.2, A f ( ξ g ) = v ( f n + g ) = A ( ξ g ) A_f(\xi_g)=v(f_{n+g})=A(\xi_g) A f ( ξ g ) = v ( f n + g ) = A ( ξ g ) for every g g g ; so A f = A A_f=A A f = A . Moreover λ i ( f ) = λ i , min ( c i , ∣ C i ∣ ) = λ i , c i \lambda_i(f)=\lambda_{i,\min(c_i,|C_i|)}=\lambda_{i,c_i} λ i ( f ) = λ i , m i n ( c i , ∣ C i ∣ ) = λ i , c i , as c i ≤ ∣ C i ∣ c_i \le|C_i| c i ≤ ∣ C i ∣ . So A f A_f A f satisfies λ i ( f ) \lambda_i(f) λ i ( f ) for every 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n , and by Lemma 11.3, W f W_f W f resolves G G G .
Theorem 11.5 (the value of md ( G φ ) \operatorname{md}(G_\varphi) md ( G φ ) ). Let φ \varphi φ be a restricted formula and G : = G φ G := G_\varphi G := G φ (Definition 4.6); G G G is connected (Lemma 5.1). Then
md ( G ) = { 2 m + 5 if φ is satisfiable , 2 m + 6 otherwise . \operatorname{md}(G) =
\begin{cases}
2m + 5 & \text{if } \varphi\text{ is satisfiable},\\
2m + 6 & \text{otherwise}.
\end{cases} md ( G ) = { 2 m + 5 2 m + 6 if φ is satisfiable , otherwise .
Proof. (1) The lower bound. By Lemma 6.1 (iii), every set resolving G G G has at least 2 m + 5 2m + 5 2 m + 5 vertices. So md ( G ) ≥ 2 m + 5 \operatorname{md}(G) \ge2m + 5 md ( G ) ≥ 2 m + 5 (Definition 2.2).
(2) φ \varphi φ satisfiable. By Corollary 11.4, some pattern W f W_f W f resolves G G G , and ∣ W f ∣ = 2 m + 5 \lvert W_f\rvert= 2m + 5 ∣ W f ∣ = 2 m + 5 (Definition 4.11 ). So md ( G ) ≤ 2 m + 5 \operatorname{md}(G) \le2m + 5 md ( G ) ≤ 2 m + 5 , and with (1), md ( G ) = 2 m + 5 \operatorname{md}(G) = 2m + 5 md ( G ) = 2 m + 5 .
(3) φ \varphi φ not satisfiable: md ( G ) ≥ 2 m + 6 \operatorname{md}(G) \ge2m + 6 md ( G ) ≥ 2 m + 6 . Suppose that some W W W resolves G G G with ∣ W ∣ ≤ 2 m + 5 \lvert W\rvert\le2m + 5 ∣ W ∣ ≤ 2 m + 5 . Corollary 6.3 applies to W W W : by its item (ii) there are an automorphism ψ \psi ψ of G G G and a choice f f f with ψ ( W ) = W f \psi(W) = W_f ψ ( W ) = W f . By Lemma 2.15 (iv), ψ ( W ) = W f \psi(W) = W_f ψ ( W ) = W f resolves G G G . By Corollary 11.4, φ \varphi φ is satisfiable, a contradiction. So every set resolving G G G has at least 2 m + 6 2m + 6 2 m + 6 vertices, and md ( G ) ≥ 2 m + 6 \operatorname{md}(G) \ge2m + 6 md ( G ) ≥ 2 m + 6 .
(4) φ \varphi φ not satisfiable: md ( G ) ≤ 2 m + 6 \operatorname{md}(G) \le2m + 6 md ( G ) ≤ 2 m + 6 . Let f f f be any choice. By Theorem 7.12 (ii), W f ∪ { T 2 } W_f \cup\{T_2\} W f ∪ { T 2 } resolves G G G . The landmarks of W f W_f W f are cores of copies, q q q and the rows w j w_j w j (Definition 4.11 ), which lie in the sets int ( U k , c ) \operatorname{int}(U_{k,c}) int ( U k , c ) , { q } \{q\} { q } and int ( Y j ) \operatorname{int}(Y_j) int ( Y j ) of Lemma 4.12 (i), while T 2 ∈ S T_2 \in S T 2 ∈ S ; so T 2 ∉ W f T_2 \notin W_f T 2 ∈ / W f , and ∣ W f ∪ { T 2 } ∣ = 2 m + 6 \lvert W_f \cup\{T_2\}\rvert= 2m + 6 ∣ W f ∪ { T 2 }∣ = 2 m + 6 . So md ( G ) ≤ 2 m + 6 \operatorname{md}(G) \le2m + 6 md ( G ) ≤ 2 m + 6 , and with (3), md ( G ) = 2 m + 6 \operatorname{md}(G) = 2m + 6 md ( G ) = 2 m + 6 .
:::
Definition 11.6 (3-CNF formulas). A 3-CNF formula is a finite sequence of sets of literals over finitely many variables (its clauses), each with at most three literals; clauses may be empty and may contain a literal and its negation. Satisfaction is as in Definition 4.1 ; an empty clause is satisfied by no assignment. 3-SAT is the problem of deciding whether a 3-CNF formula is satisfiable; it is NP-complete [8 , 25 ] .
Lemma 11.7 (normalisation). There is an algorithm, the normalisation algorithm, that in time linear in the size of ψ \psi ψ maps every 3-CNF formula ψ \psi ψ (Definition 11.6) to one of the answers “satisfiable”, “unsatisfiable”, or to a restricted formula φ \varphi φ (Definition 4.1 ) with m ≤ 16 n ψ + 1 m \le16n_\psi+ 1 m ≤ 16 n ψ + 1 , where n ψ n_\psi n ψ is the number of clauses of ψ \psi ψ , such that the answer is correct, and φ \varphi φ is satisfiable iff ψ \psi ψ is.
Proof. (1) Trivial clauses. If ψ \psi ψ has an empty clause, answer “unsatisfiable”. Delete every clause containing a literal and its negation; every assignment satisfies such a clause, so satisfiability is unchanged. If no clause remains, answer “satisfiable”. Every remaining clause is a nonempty set of at most three literals on distinct variables. So the result of this step is satisfiable iff ψ \psi ψ is.
(2) One variable per occurrence. An occurrence of a variable ξ \xi ξ is a pair (clause index, literal) whose literal has variable ξ \xi ξ . For each variable ξ \xi ξ with τ ≥ 2 \tau\ge2 τ ≥ 2 occurrences ( v 1 , λ 1 ) , … , ( v τ , λ τ ) (v_1,\lambda_1), \ldots, (v_\tau,\lambda_\tau) ( v 1 , λ 1 ) , … , ( v τ , λ τ ) , introduce new variables ξ ( 1 ) , … , ξ ( τ ) \xi^{(1)}, \ldots, \xi^{(\tau)} ξ ( 1 ) , … , ξ ( τ ) , replace λ j \lambda_j λ j in clause i j i_j i j by the literal of ξ ( j ) \xi^{(j)} ξ ( j ) with the sign of λ j \lambda_j λ j (1 ≤ j ≤ τ 1 \le j \le\tau 1 ≤ j ≤ τ ), and add the clauses { ¬ ξ ( j ) , ξ ( j + 1 ) } \{\neg\xi^{(j)}, \xi^{(j+1)}\} { ¬ ξ ( j ) , ξ ( j + 1 ) } for 1 ≤ j ≤ τ 1 \le j \le\tau 1 ≤ j ≤ τ , with ξ ( τ + 1 ) : = ξ ( 1 ) \xi^{(\tau+1)} := \xi^{(1)} ξ ( τ + 1 ) := ξ ( 1 ) . Variables with one occurrence are kept. Number the variables that occur in the clauses of the result ξ 1 , … , ξ r \xi_1, \ldots, \xi_r ξ 1 , … , ξ r , write the literals of each clause in any order, and call the result φ \varphi φ , with clauses; output φ \varphi φ .
(3) φ \varphi φ is restricted. Each clause is nonempty with at most three literals. A replaced clause has distinct variables, since distinct occurrences receive distinct new variables; an added clause { ¬ ξ ( j ) , ξ ( j + 1 ) } \{\neg\xi^{(j)}, \xi^{(j+1)}\} { ¬ ξ ( j ) , ξ ( j + 1 ) } has two distinct variables as τ ≥ 2 \tau\ge2 τ ≥ 2 . Every ξ g \xi_g ξ g occurs, by the numbering in (2). A
new variable ξ ( j ) \xi^{(j)} ξ ( j ) occurs once in clause e j e_j e j , once as ¬ ξ ( j ) \neg\xi^{(j)} ¬ ξ ( j ) in { ¬ ξ ( j ) , ξ ( j + 1 ) } \{\neg\xi^{(j)},\xi^{(j+1)}\} { ¬ ξ ( j ) , ξ ( j + 1 ) } and once as ξ ( j ) \xi^{(j)} ξ ( j ) in { ¬ ξ ( j − 1 ) , ξ ( j ) } \{\neg\xi^{(j-1)},\xi^{(j)}\} { ¬ ξ ( j − 1 ) , ξ ( j ) } (indices modulo τ \tau τ ); so each of its two literals lies in at most two clauses. A kept variable occurs once. And n ≥ 1 n \ge1 n ≥ 1 .
(4) Equisatisfiability. If A A A satisfies ψ \psi ψ after step (1), put B ( ξ ( j ) ) : = A ( ξ ) B(\xi^{(j)}) := A(\xi) B ( ξ ( j ) ) := A ( ξ ) for the new variables and B : = A B := A B := A on kept variables; every replaced clause has the values of its original literals, and every added clause has both literals of equal variable value, one of them negated, so it is satisfied. Conversely, if B B B satisfies φ \varphi φ , the added clauses give B ( ξ ( 1 ) ) ⇒ B ( ξ ( 2 ) ) ⇒ ⋯ ⇒ B ( ξ ( τ ) ) ⇒ B ( ξ ( 1 ) ) B(\xi^{(1)}) \Rightarrow B(\xi^{(2)}) \Rightarrow\cdots\Rightarrow B(\xi^{(\tau)}) \Rightarrow B(\xi^{(1)}) B ( ξ ( 1 ) ) ⇒ B ( ξ ( 2 ) ) ⇒ ⋯ ⇒ B ( ξ ( τ ) ) ⇒ B ( ξ ( 1 ) ) , so all B ( ξ ( j ) ) B(\xi^{(j)}) B ( ξ ( j ) ) are equal; put A ( ξ ) : = B ( ξ ( 1 ) ) A(\xi) := B(\xi^{(1)}) A ( ξ ) := B ( ξ ( 1 ) ) for such a variable ξ \xi ξ , A : = B A := B A := B on kept variables, and A A A arbitrary on the variables of ψ \psi ψ that occur in no clause of φ \varphi φ . Each original clause then has the value of its replaced clause under B B B , true.
(5) Size and time. Let n ψ n_\psi n ψ be the number of clauses of ψ \psi ψ . Step (1) deletes clauses, and step (2) adds one clause per occurrence of a split variable; a clause has at most three occurrences, so n ≤ n ψ + 3 n ψ = 4 n ψ n \le n_\psi+ 3n_\psi= 4n_\psi n ≤ n ψ + 3 n ψ = 4 n ψ . Every variable of φ \varphi φ occurs in a clause of φ \varphi φ , and a clause has at most three literals, so r ≤ 3 n ≤ 12 n ψ r \le3n \le12n_\psi r ≤ 3 n ≤ 12 n ψ . Hence m = n + r + 1 ≤ 16 n ψ + 1 m = n + r + 1 \le16n_\psi+ 1 m = n + r + 1 ≤ 16 n ψ + 1 . Let v ψ v_\psi v ψ be the number of variables of ψ \psi ψ ; the size of ψ \psi ψ is at least n ψ + v ψ n_\psi+ v_\psi n ψ + v ψ , and ψ \psi ψ has at most 3 n ψ 3n_\psi 3 n ψ literal positions. Step (1) is one pass over the literal positions. Step (2) groups the occurrences by variable in one pass, creates at most one new variable and one clause per occurrence, and renames the literals in one pass. So the normalisation algorithm runs in time O ( n ψ + v ψ ) O(n_\psi+ v_\psi) O ( n ψ + v ψ ) , linear in the size of ψ \psi ψ .
Lemma 11.7 is a form of a classical reduction. Tovey [30 ] writes r , s r,s r , s -SAT for satisfiability restricted to instances with exactly r r r variables per clause and at most s s s occurrences per variable, all expressions in conjunctive normal form with no repeated variable in a clause. Starting from 3-SAT, he replaces the k k k occurrences of a variable x x x with k > 3 k > 3 k > 3 by new variables x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k and appends the clauses { x i ∨ ¬ x i + 1 } \{x_i \lor\neg x_{i+1}\} { x i ∨ ¬ x i + 1 } (i < k i < k i < k ) and { x k ∨ ¬ x 1 } \{x_k \lor\neg x_1\} { x k ∨ ¬ x 1 } , whose cyclic structure forces the x i x_i x i to be all equal; this gives his Theorem 2.1: satisfiability is NP-complete for instances with 2 or 3 variables per clause and at most 3 occurrences per variable. He also shows that 3, 4-SAT is NP-complete (Theorem 2.3) and that every instance of r , r r,r r , r -SAT is satisfiable (Theorem 2.4), so with exactly three literals per clause the bound of three occurrences cannot be reached; this is why restricted formulas allow clauses of fewer than three literals. Step (2) of the proof above is Tovey’s splitting, with the cycle in the other direction, applied to every variable with at least two occurrences, so that each of the two literals of a new variable lies in at most two clauses: condition (c) of Definition 4.1 bounds the occurrences of each literal, not of each variable. Step (1) supplies the other requirements of Definition 4.1, nonempty clauses with distinct variables and every variable occurring; m ≥ 3 m \ge3 m ≥ 3 is automatic (Lemma 4.5(iii)).
Theorem 11.8 (NP-completeness). The following problem is NP-complete: given a two-connected two-terminal series–parallel graph ( G ; s , t ) (G;s,t) ( G ; s , t ) (Definitions 2.1 and 8.2) of pathwidth at most five (Definition 9.1) and an integer k ≥ 0 k \ge0 k ≥ 0 , decide whether md ( G ) ≤ k \operatorname{md}(G) \le k md ( G ) ≤ k (Definition 2.2).
Proof. (1) Membership in NP. By Lemma 8.3(iv), G G G is connected. By Definition 2.2, md ( G ) ≤ k \operatorname{md}(G) \le k md ( G ) ≤ k iff some set W ⊆ V ( G ) W \subseteq V(G) W ⊆ V ( G ) with ∣ W ∣ ≤ k |W| \le k ∣ W ∣ ≤ k resolves G G G . Such a W W W is a certificate: the distances d ( w , x ) d(w,x) d ( w , x ) for all w ∈ W w \in W w ∈ W and x ∈ V ( G ) x \in V(G) x ∈ V ( G ) are computed by breadth-first search from each w ∈ W w \in W w ∈ W in polynomial time, and W W W resolves G G G iff the vectors ( d ( w , x ) ) w ∈ W , x ∈ V ( G ) (d(w,x))_{w\in W},x \in V(G) ( d ( w , x ) ) w ∈ W , x ∈ V ( G ) are pairwise distinct (Definition 2.2), which is checked in polynomial time.
(2) The reduction. 3-SAT is NP-complete (Definition 11.6). Let K 3 K_3 K 3 be the triangle with the vertices s , t , u s,t,u s , t , u . Given a 3-CNF formula ψ \psi ψ , run the normalisation algorithm of Lemma 11.7 on it. On “satisfiable” output ( ( K 3 ; s , t ) , 2 ) ((K_3;s,t),2) (( K 3 ; s , t ) , 2 ) , on “unsatisfiable” output ( ( K 3 ; s , t ) , 1 ) ((K_3;s,t),1) (( K 3 ; s , t ) , 1 ) , and on a restricted formula φ \varphi φ output ( ( G φ ; T 1 , T 2 ) , 2 m + 5 ) ((G_{\varphi}; T_1, T_2), 2m + 5) (( G φ ; T 1 , T 2 ) , 2 m + 5 ) . The outputs are instances of the problem. ( K 3 ; s , t ) (K_3; s,t) ( K 3 ; s , t ) is the parallel composition of the single edge ( K 2 ; s , t ) (K_2; s,t) ( K 2 ; s , t ) and Π ( s , u , t ) \Pi(s,u,t) Π ( s , u , t ) , which meet in { s , t } \{s,t\} { s , t } , so it is in S P SP S P (Definition 8.2 ); and K 3 K_3 K 3 has three vertices and K 3 − v K_3-v K 3 − v is an edge for each v v v , so K 3 K_3 K 3 is two-connected (Definition 2.1). The single bag { s , t , u } \{s,t,u\} { s , t , u } is a path decomposition of K 3 K_3 K 3 of width two (Definitions 8.1 and 9.1), so K 3 K_3 K 3 has pathwidth at most two. ( G φ ; T 1 , T 2 ) ∈ S P (G_{\varphi}; T_1, T_2) \in SP ( G φ ; T 1 , T 2 ) ∈ S P by Theorem 8.5 (i), G φ G_{\varphi} G φ is two-connected by Lemma 10.1 (iv), and G φ G_{\varphi} G φ has pathwidth at most five by Theorem 9.8 .
(3) Correctness. md ( K 3 ) = 2 \operatorname{md}(K_3) = 2 md ( K 3 ) = 2 : the set { s , t } \{s,t\} { s , t } resolves K 3 K_3 K 3 , as ( d ( s , x ) , d ( t , x ) ) (d(s,x),d(t,x)) ( d ( s , x ) , d ( t , x )) is ( 0 , 1 ) (0,1) ( 0 , 1 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 1 , 1 ) (1,1) ( 1 , 1 ) at x = s , t , u x=s,t,u x = s , t , u , and a single vertex does not, being at distance 1 from the two others (Definition 2.2). So md ( K 3 ) ≤ 2 \operatorname{md}(K_3) \le2 md ( K 3 ) ≤ 2 holds and md ( K 3 ) ≤ 1 \operatorname{md}(K_3) \le1 md ( K 3 ) ≤ 1 does not, as required when the normalisation algorithm answers. When it outputs φ \varphi φ , Theorem 11.5 gives md ( G φ ) = 2 m + 5 \operatorname{md}(G_{\varphi}) = 2m + 5 md ( G φ ) = 2 m + 5 if φ \varphi φ is satisfiable and 2 m + 6 2m + 6 2 m + 6 otherwise. So md ( G φ ) ≤ 2 m + 5 \operatorname{md}(G_{\varphi}) \le2m + 5 md ( G φ ) ≤ 2 m + 5 iff φ \varphi φ is satisfiable, iff ψ \psi ψ is satisfiable (Lemma 11.7 ).
(4) Time. By Lemma 11.7 , the normalisation algorithm runs in time linear in the size of ψ \psi ψ , and m ≤ 16 n ψ + 1 m \le16n_{\psi} + 1 m ≤ 16 n ψ + 1 , where n ψ n_{\psi} n ψ is the number of clauses of ψ \psi ψ . By Lemma 4.12 (iv), G φ G_{\varphi} G φ has at most 78 m 2 + 60 m + 71 78m^2 + 60m + 71 78 m 2 + 60 m + 71 vertices, and its parts (Definition 4.6) are written in time polynomial in m m m , hence in n ψ n_{\psi} n ψ . □ \square □
Corollary 11.9 (treewidth two, pathwidth five). The following problem is NP-complete: given a connected graph G G G of treewidth at most two (Definition 8.1 ) and pathwidth at most five (Definition 9.1) and an integer k ≥ 0 k \ge0 k ≥ 0 , decide whether md ( G ) ≤ k \operatorname{md}(G) \le k md ( G ) ≤ k .
Proof. Membership in NP: step (1) of the proof of Theorem 11.8 uses only that G G G is connected. Hardness: the map ( ( G ; s , t ) , k ) ↦ ( G , k ) ((G;s,t), k) \mapsto(G,k) (( G ; s , t ) , k ) ↦ ( G , k ) sends every instance of the problem of Theorem 11.8 to an instance of the present problem with the same answer, as G G G is connected (Lemma 8.3 (iv)), has treewidth at most two (Lemma 8.3 (iii)) and has pathwidth at most five; it is computed in linear time. So the problem of Theorem 11.8 , which is NP-hard, reduces to the present one. □ \square □
Acknowledgements
This work was carried out with a large language model, Claude (Anthropic) [1 ] , used through its command-line interface Claude Code.
The research is the end of a months-long project, conducted since July 2026 in a single repository, in which the author directed the model and the model did the mathematical work: it attempted a polynomial-time algorithm for metric dimension on graphs of treewidth two, built and checked that attempt for many weeks in a record of over eighteen hundred numbered working notes, found the obstruction that the attempt could not cross, and turned that obstruction into the reduction of this paper. The construction of G φ G_{\varphi} G φ , the statements and the proofs of all sections were written by the model. The author then read the paper statement by statement, asked for every argument to be made explicit, and reorganised and rewrote the presentation with the model; the introduction, the placement among the known results and the open questions were written in a dialogue.
The model also produced, independently of the paper, a formalisation of the main results in the proof assistant Lean 4 [9 ] with its library Mathlib [29 ] . It proves, with no unproved statement and only the standard axioms of Lean, that for every restricted formula φ \varphi φ the graph G φ G_{\varphi} G φ is connected and two-connected, that ( G φ ; T 1 , T 2 ) (G_{\varphi}; T_1, T_2) ( G φ ; T 1 , T 2 ) is a two-terminal series–parallel graph, that G ϕ G_{\phi} G ϕ has treewidth at most two and pathwidth at most five, and that its metric dimension is 2 m + 5 2m + 5 2 m + 5 if ϕ \phi ϕ is satisfiable and 2 m + 6 2m + 6 2 m + 6 otherwise; and that the normalisation of Lemma 11.7 preserves satisfiability. It does not formalise membership in NP or the running time, which have no model in the library. The formalisation, with instructions to check it, is archived at [3 ] .
The author thanks the model for its work, and takes responsibility for every statement of this paper.