Theorem 1
XMCYFor any finite set of graphs {\cal H}, a C123-problem \Pi is easy on {\cal H}-subgraph-free graphs if {\cal H} contains a graph from {\cal S}, or else it is hard.
For a fixed set {\cal H} of graphs, a graph G is {\cal H}-subgraph-free if G does not contain any H \in {\cal H} as a (not necessarily induced) subgraph. A recently proposed framework gives a complete classification on {\cal H}-subgraph-free graphs (for finite sets {\cal H}) for problems that are solvable in polynomial time on graph classes of bounded treewidth, NP-complete on subcubic graphs, and whose NP-hardness is preserved under edge subdivision. While a lot of problems satisfy these conditions, there are also many problems that do not satisfy all three conditions and for which the complexity in {\cal H}-subgraph-free graphs is unknown. We study problems for which only the first two conditions of the framework hold (they are solvable in polynomial time on classes of bounded treewidth and NP-complete on subcubic graphs, but NP-hardness is not preserved under edge subdivision). In particular, we make inroads into the classification of the complexity of four such problems: Hamilton Cycle, k-Induced Disjoint Paths, C_5-Colouring and Star 3-Colouring. Although we do not complete the classifications, we show that the boundary between polynomial time and NP-complete differs among our problems and also from problems that do satisfy all three conditions of the framework, in particular when we forbid certain subdivisions of the “H”-graph (the graph that looks like the letter “H”). Hence, we exhibit a rich complexity landscape among problems for {\cal H}-subgraph-free graph classes.
For any finite set of graphs {\cal H}, a C123-problem \Pi is easy on {\cal H}-subgraph-free graphs if {\cal H} contains a graph from {\cal S}, or else it is hard.
Hamilton Cycle is polynomial-time solvable for (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots)-subgraph-free graphs (\ell\geq 1), for (\ensuremath{\mathbb{H}}_i,\ensuremath{\mathbb{H}}_{2i},\ensuremath{\mathbb{H}}_{3i},\ldots)-subgraph-free graphs (i\geq 1) and for T-subgraph-free graphs, and thus for \ensuremath{\mathbb{H}}_\ell-subgraph-free graphs (\ell\in \{1,2,3\}).
For all k\geq 2, k-Induced Disjoint Paths is polynomial-time solvable for \ensuremath{\mathbb{H}}_\ell-subgraph-free graphs (\ell\in\{1,2\}), for (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots)-subgraph-free graphs (\ell\geq 1) and for (\ensuremath{\mathbb{H}}_i,\ensuremath{\mathbb{H}}_{2i},\ensuremath{\mathbb{H}}_{3i},\ldots)-subgraph-free graphs (i\geq 1), but NP-complete for subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graphs (\ell\geq 4).
C_5-Colouring is polynomial-time solvable for \ensuremath{\mathbb{H}}_3-subgraph-free graphs, for (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots)-subgraph-free graphs (\ell\geq 1) and for (\ensuremath{\mathbb{H}}_i,\ensuremath{\mathbb{H}}_{2i},\ensuremath{\mathbb{H}}_{3i},\ldots)-subgraph-free graphs (i\geq 1), but NP-complete for (\ensuremath{\mathbb{H}}_1,\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_5,\ensuremath{\mathbb{H}}_7,\ensuremath{\mathbb{H}}_8,\ldots)-subgraph-free graphs.
Star 3-Colouring is polynomial-time solvable for (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots)-subgraph-free graphs (\ell\geq 1) and (\ensuremath{\mathbb{H}}_i,\ensuremath{\mathbb{H}}_{2i},\ensuremath{\mathbb{H}}_{3i},\ldots)-subgraph-free graphs (i\geq 1), but NP-complete for (\ensuremath{\mathbb{H}}_1,\ensuremath{\mathbb{H}}_3,\ensuremath{\mathbb{H}}_5\ldots)-subgraph-free graphs.
Hamilton Cycle is polynomial-time solvable for T-subgraph-free graphs.
Let G be a T-subgraph-free graph. We call vertices of degree 2 in G white and vertices of degree at least 3 black. The black graph is a subgraph of G induced by black vertices and a black component is a connected component in the black graph.
We first describe some helpful rules to solve the problem and a set of reductions simplifying the input graph, i.e. reductions transforming G into a graph G' that has fewer edges and/or vertices and that has a Hamiltonian cycle if and only if G has. We emphasize that by deleting an edge or a vertex from an H-subgraph-free graph, we obtain an H-subgraph-free graph again.
We start with some obvious rules:
(R1) if the graph has vertices of degree 0 or 1, then stop: G has no Hamiltonian cycle.
(R2) if the graph contains a vertex adjacent to more than two white vertices, then stop: G has no Hamiltonian cycle.
(R3) if the graph is disconnected, then stop: G has no Hamiltonian cycle.
(R4) if the graph contains a vertex v adjacent to exactly two white vertices, then delete the edges connecting v to all other its neighbours (if there are any).
Now we introduce a reduction applicable to a graph G containing an induced subgraph shown on the left in Figure ?, in which vertices a,b,c have degree 3 in G. The reduction depends on the degree of x. If the degree of x is also 3, the reduction consists in deleting the edges ab and xc. Otherwise, it transforms the graph as shown in Figure ?. We refer to this reduction as the diamond reduction and denote it by (R5).
Let G' be a graph obtained from G by the diamond reduction. Then G has a Hamiltonian cycle if and only if G' has a Hamiltonian cycle. Moreover, if G is T-subgraph-free, then so is G'.
Assume first that the degree of x is 3 in G, in which case the reduction consists in deleting the edges ab and xc. Clearly, if G' has a Hamiltonian cycle, then the same set of edges forms a Hamiltonian cycle in G. Conversely, assume G has a Hamiltonian cycle C. It is not difficult to see that either the edges ax, xb, bc belong to C or the edges ab, xb, xc belong to C. Since vertices x and b do not have neighbours different from a and c, any of the two combinations can be chosen to create a Hamiltonian cycle. Therefore, by deleting the edges ab and xc we transform G into a graph with a Hamiltonian cycle.
Now assume that the degree of x is more than 3, in which case the reduction is illustrated in Figure ?. Suppose first that G has a Hamiltonian cycle C. Since the degree of b is 3, at least one of the edges ab and bc belong to C. If both of them belong to C, then by replacing these edges with ac we obtain a Hamiltonian cycle in G'. Otherwise, without loss of generality, ab\in C and bc\not\in C. Then bx\in C and cx\in C (since the degree of b and c is 3), and hence by replacing the edges ab and bx with the edge ax we obtain a Hamiltonian cycle in G'.
Now let G' have a Hamiltonian cycle C. If the edge ac belongs to C, then by replacing this edge with the edges ab and bc we obtain a Hamiltonian cycle in G. Otherwise, both edges incident to a and both edges incident to c belong to C. Therefore, by replacing ax with the edges ab and bx we obtain a Hamiltonian cycle in G.
Now we show that the transformation represented in Figure ? preserves T-subgraph-freeness. Assume to the contrary that G' contains a copy of T as a subgraph. Then this copy contains the edge ac, since otherwise G contains T as a subgraph. If a (or c) is a leaf of T, then by replacing it with b we obtain a copy of T in G. Therefore, without loss of generality, a has degree 3 in T and c has degree 2 in T. If a represents the rightmost vertex of degree 3 in Figure ?, then by replacing in T the three edges incident to a with the three edges incident to b we obtain a copy of T in G.
Now assume that a represents the middle vertex of degree 3 in Figure ?. We denote by u_0 the neighbour of a of degree 3 in T and by u_1,u_2 the neighbours of u_0 of degree 1. Also, let v_0 be the neighbour of c of degree 3 in T (different from a) and let v_1,v_2 be the neighbours of v_0 of degree 1. Since the degree of x in G is more than 3, we may consider a vertex y\not\in\{a,b,c\} adjacent to x. If y=u_0, then the edges u_0u_1, u_0u_2, u_0x, xc, cb, cv_0, v_0v_1, v_0v_2 form a forbidden subgraph in G. If y=u_1, then the edges au_0, ab, ax, xu_1, xc, cv_0, v_0v_1, v_0v_2 form a forbidden subgraph in G. By symmetry, we also conclude that y\ne u_2,v_0,v_1,v_2. But then the edges u_0u_1, u_0u_2, u_0a, ax, xy, xc, cb, cv_0 form a forbidden subgraph in G. This contradiction completes the proof.
One more reduction is illustrated in Figure ?. We will refer to this reduction as the butterfly reduction and will denote it by (R6).
Let G' be a graph obtained from G by the butterfly reduction. Then G has a Hamiltonian cycle if and only if G' has a Hamiltonian cycle.
In our algorithm to solve the problem we implement the above rules and reductions whenever they are applicable. We now develop more reductions allowing us to bound the number of vertices in black components. We assume that none of the above rules and reductions is applicable to G.
Let x be a vertex of degree at least 13. If the neighbourhood of x does not contain two adjacent vertices of degree 3, then G has no Hamiltonian cycle. Otherwise, G has a Hamiltonian cycle if and only if G-x has.
Application of Claim ? to vertices of large degree either shows that G has no Hamiltonian cycle or reduces the input graph to a graph of maximum degree 12. We will refer to this reduction as the large degree reduction and will denote it by (R7).
The black graph has no induced paths of length 8.
Assume by contradiction that P=(u_0,u_1,\ldots,u_{8}) is an induced path consisting of black vertices. By definition, every vertex of P has a neighbour outside of P.
(\star) If a vertex v\notin P is adjacent to vertices u_i and u_j (1\le i<j\le 7), then j-i\le 2.
To show this, assume without loss of generality, that i=1 and j=4 (for other values of i and j the proof is similar). Then any neighbour w\notin P of u_5 must coincide with v, since otherwise the edges u_0u_1, u_1u_2, u_3u_4, u_4u_5, u_5u_6, u_1v, u_4v, u_5w form a forbidden subgraph. This contradiction shows that v is the only neighbour of u_5 outside of P, and similarly, v is the only neighbour of u_6 and u_7 outside of P. But then the diamond reduction is applicable to the subgraph induced by v,u_5,u_6,u_7.
From (\star) we conclude that u_1,u_4,u_7 have pairwise different neighbours outside of P. We denote these neighbours by v_1,v_4,v_7, respectively.
(\star\star) Vertex u_2 has exactly one neighbour outside of P, which is either v_1 or v_4. Moreover, if u_2 is adjacent to v_1 (respectively, v_4), then v_1 (respectively, v_4) is the unique neighbour of u_1 (respectively, u_4) outside of P.
To prove this, assume a neighbour w\notin P of u_2 is different from v_1 and v_4. Then the edges u_0u_1, u_1u_2, u_2u_3, u_3u_4, u_4u_5, u_1v_1, u_4v_4, u_2w form a forbidden subgraph. This proves, in particular, the second sentence of (\star\star).
Also, if u_2 is adjacent both to v_1 and v_4, then a neighbour w\notin P of u_5 must be different from v_1 and v_4 (by (\star)), in which case the edges u_1u_2, u_3u_4, u_4u_5, u_5u_6, u_2v_1, u_2v_4, u_4v_4, u_5w form a forbidden subgraph.
By symmetry, similar conclusions apply to vertices u_3, u_5, u_6.
Assume u_2 is adjacent to v_4. Then, according (\star), u_5 and u_6 are not adjacent to v_4 and hence by (\star\star) v_7 is the only neighbour of u_5, u_6 and u_7 outside of P. Therefore, the diamond reduction is applicable to the subgraph induced by v_7,u_5,u_6,u_7. This contradiction shows that v_1 is the only neighbour of u_2 outside of P. Similarly, v_7 is the only neighbour of u_6 outside of P.
Now the diamond reduction is applicable either to the subgraph induced by v_1,u_1,u_2,u_3 (if u_3 is adjacent to v_1) or to the subgraph induced by v_7,u_5,u_6,u_7 (if u_5 is adjacent to v_7) or to the subgraph induced by v_4,u_3,u_4,u_5 (if u_3 is adjacent to v_4 and u_5 is adjacent to v_4).
Since graphs of diameter D and maximum degree \Delta have fewer than \frac{\Delta}{\Delta-2}(\Delta -1)^D vertices, we conclude that after eliminating vertices of large degree, every black component has fewer than \frac{12}{10}11^7 vertices.
To develop more rules and reductions, assume G has a Hamiltonian cycle C. We can further assume that not all vertices of the graph are black, since otherwise the graph contains fewer than \frac{12}{10}11^7 vertices, in which case we can solve the problem by brute-force. A sequence of consecutive vertices of C surrounded by white vertices will be called a black interval. Observe that each black interval consists of at least 2 vertices (according to (R4)).
Let K be a black component of G. We will call the vertices of K that have white neighbours the contact vertices. Note that K may consists of one or more intervals. Each interval gives rise to exactly two contact vertices, and hence the number of contact vertices in K is even.
Let us show that for T-subgraph-free graphs, then number of intervals is at most 2.
Any black component consists of at most two intervals.
Assume that a black component K has more than two intervals. Then K must contain an interval I_1 the vertices of which have neighbours in two other intervals, say in I_2 and I_3.
We denote I_1=(a_1,\ldots,a_{k_1}), I_2=(b_1,\ldots,b_{k_2}), I_3=(c_1,\ldots,c_{k_3}) (k_1,k_2,k_3\ge 2) and let a_ib_k and a_jc_{\ell} be two chords. Without loss of generality we assume that i\le j and that j-i is as small as possible. Also, we assume that if we move along C from I_1 in the anticlockwise direction, then first we meet I_2 and then I_3. Observe that a_{i} and b_k are separated by at least two vertices of C, since otherwise the only vertex of C separating a_i and b_k must be white, in which case the edge a_ib_k cannot belong to any Hamiltonian cycle and hence can be removed from the graph.
Case 1: j=i+1. If b_k and c_{\ell} are separated by at least two vertices of C, then the two edges of C incident to b_k, the two edges of C incident to c_{\ell}, the two edges of C incident to a_{i} together with the chords a_ib_k and a_jc_{\ell} form a forbidden subgraph.
Now assume that b_k and c_{\ell} are separated by a single (white) vertex x of C, say k=1 and \ell=1 and x is adjacent to both b_1 and c_1. If a chord incident to b_2 connects it to a vertex not in \{a_{i},a_{i+1},c_1,c_2\}, then the two edges of C incident to b_2, the two edges of C incident to x together with the edges c_1c_2, a_ib_1, a_{i+1}c_1 and the chord incident to b_2 form a forbidden subgraph. If any chord incident to b_2 connects it to a vertex in \{a_{i},a_{i+1},c_1,c_2\}, and by symmetry any chord incident to c_2 connects it to a vertex in \{a_{i},a_{i+1},b_1,b_2\}, then we are in the conditions of the first paragraph of Case 1.
Case 2: i=j. Assume without loss of generality that b_{k+1} is black. To avoid Case 1, b_{k+1} has no neighbours in I_3 and is not adjacent to the neighbours of a_i on C. If additionally b_{k+1} is not adjacent to a_i, then the two edges of C incident to b_{k+1}, the two edges of C incident to c_{\ell} together with the edges a_ib_k, a_ic_{\ell}, an edge of C incident to a_i and a chord incident to b_{k+1} form a forbidden subgraph (if b_{k+1} and c_{\ell} have a common (white) neighbour in C, then replace the edge a_ib_k with the second edge of C incident to a_i). This contradiction leads us to the conclusion that a_ib_{k+1} is the only chord incident to b_{k+1}, and by symmetry a_ib_{k} is the only chord incident to b_{k}, i.e. b_k and b_{k+1} have degree 3 in G. If I_2 has more than 2 vertices, say b_{k+2} is black, then for the same reason a_ib_{k+2} is the only chord incident to b_{k+2}, in which case the diamond reduction is applicable to the subgraph induced by a_i,b_k,b_{k+1},b_{k+2}. Thus, we conclude that I_2 consists of exactly two vertices both of which are adjacent to a_i. By symmetry I_3 consists of exactly two vertices both of which are adjacent to a_i. But now the butterfly reduction is applicable to G.
Case 3: i+1<j. Since j-i is minimal possible, the vertices of I_1 between a_i and a_j have no neighbours in I_2 or I_3. Also, to avoid Case 2, a_i has no neighbours in I_3, while a_j has no neighbours in I_2. As before, without loss of generality we assume that b_{k+1} is black.
Case 3.1: there is a chord b_{k+1}x with x\ne a_i. We also consider a chord a_{i+1}y and a chord a_{i+2}z. Note that y belongs to I_1 (to avoid Case 1).
First, we observe that z\in \{a_{i-1}, a_{i}\}, since otherwise the four edges of C incident to a_i, a_{i+1}, a_{i+2}, the two edges of C incident to b_k together with the chords a_ib_k and a_{i+2}z form a forbidden subgraph.
Next, we note that x\in \{b_{k-1}, a_{i-1}\}. To show this, assume x\not\in \{b_{k-1}, a_{i-1}\}. If x\ne y, then the three edges of C incident to b_k and b_{k+1}, the two edges of C incident to a_{i+1} together with the chords a_ib_k, b_{k+1}x, a_{i+1}y form a forbidden subgraph. If x=y, then x\in I_1-\{a_i,a_{i+1},\ldots,a_j\} (according to the above arguments). Assume x belongs to the path of C connecting a_i to b_k and avoiding I_3 (the other case is similar). Also let u be the neighbour of x on C between x and b_k (such a vertex different from b_k, b_{k+1} must exist, because x and b_k belong to different intervals; moreover, ub_{k+1} is not an edge of C, since otherwise u is white, in which case the edge b_{k+1}x cannot belong to any Hamiltonian cycle and hence can be removed from graph). Then the two edges of C incident to b_{k+1}, the two edges of C incident to a_{i+2}, together with the edges xu, a_{i+1}x, b_{k+1}x and a_{i+2}z form a forbidden subgraph (remember that z\in \{a_{i-1}, a_{i}\} and x\ne a_{i-1}).
Finally, we conclude that y=a_{i-1}, since otherwise the two edges of C incident to a_{i+1}, the two edges of C incident to b_{k+1} together with the chords a_ib_k, a_{i+1}y, a_{b+1}x and the edge a_{i-1}a_i (if x=b_{k-1}) or the edge b_{k-1}b_k (if x=a_{i-1}) form a forbidden subgraph.
Assume x=b_{k-1}. If z=a_i, then the two edges of C incident to a_{i-1}, the two edges of C incident to b_{k+1} (or to b_{k-1} if b_{k+1} is closer to I_1 than b_{k-1}) together with the chords a_{i+1}a_{i-1}, a_{i+2}a_{i}, b_{k+1}b_{k-1}, a_ib_k form a forbidden subgraph. If z=a_{i-1}, then the two edges of C incident to a_{i-1}, the two edges of C incident to a_{i+2}, the two edges of C incident to b_k together with the chords a_ib_k and a_{i+2}a_{i-1} form a forbidden subgraph (observe that since a_{i-1}, b_{k-1}, b_{k+1} are black, there is at least one white vertex separating a_{i-1} from b_{k-1}, b_{k+1}).
Suppose at last that x=a_{i-1}. Let u be the neighbour of a_{i-1} on C different from a_i, and let v be the neighbour of b_{k+1} on C different from b_k. Note that u\ne v, since otherwise u=v is white, in which case the edge b_{k+1}a_{i-1} does not belong to any Hamiltonian cycle and hence can be removed from the graph. If z=a_i, then the two edges of C incident to a_{i+2}, the two edges of C incident to b_{k+1} together with the chords a_{i+1}a_{i-1}, a_{i+2}a_{i}, a_{i-1}b_{k+1} and the edge a_{i-1}u form a forbidden subgraph. We are left with the case when a_{i+2}a_{i-1} is the only chord incident to a_{i+2}. In this case we can consider vertex a_{i+3} and a chord f incident to a_{i+3}. If f\ne a_{i+3}a_{i-1}, then the three edges of C incident to a_{i+2} and a_{i+3}, the two edges of C incident to b_{k+1} together with the chords a_{i-1}b_{k+1}, a_{i-1}a_{i+2} and f form a forbidden subgraph. If a_{i+3}a_{i-1} is the only chord incident to a_{i+3}, then the diamond reduction is applicable to the subgraph of G induced by a_{i-1},a_{i+1},a_{i+2},a_{i+3}.
Case 3.2: the chord b_{k+1}a_i is the only chord incident to b_{k+1}. By symmetry, b_{k}a_i is the only chord incident to b_{k}. To avoid the diamond reduction and Case 3.1, we conclude that I_2 consists of exactly two vertices both of which are adjacent to a_i.
If a_{i+1} is incident to a chord a_{i+1}y with y\ne a_{i-1}, then the two edges of C incident to y, the two edges of C incident to b_{k+1} together with the edges a_ia_{i+1}, a_ib_{k+1}, a_{i+1}y and one of the edges a_{i+1}a_{i+2} or a_{i-1}a_{i} (depending on whether y appears in I_1 before or after a_i) form a forbidden subgraph.
If a_{i+1}a_{i-1} is the only chord incident to a_{i+1}, then the butterfly reduction is applicable to the subgraph of G induced by the two vertices of I_2 and the three vertices a_{i-1},a_i,a_{i+1} of I_1.
By Claim ?, if G has a Hamiltonian cycle, then every black component has two or four contact vertices.
(R8) If a black component K has exactly two contact vertices, check if K has a Hamiltonian path connecting the contact vertices. If such a path does not exist, then stop: the input graph has no Hamiltonian cycle. Otherwise, choose arbitrarily a Hamiltonian path connecting the contact vertices, include the edges of the path in the solution and delete all other edges from K.
Rule (R8) destroys black components with two contact vertices, i.e. after its implementation all vertices in such components become white.
Now we discuss the case where each black component has exactly four contact vertices. Let K be such a component with contact vertices v_1,v_2,v_3,v_4. If G has a Hamiltonian cycle, then the vertices of K can be partitioned into two parts each of which forms a path connecting a pair of contact vertices. We will call such a partition a pairing (of contact vertices) and will refer to a pairing as the set of edges in the two paths. Also, we will say that two pairings are of the same type, if they pair the contact vertices in the same way. Clearly, if all possible pairings in K have the same type, then it is irrelevant which one to choose, since non-contact vertices of K have no neighbours outside of K.
The above discussion justifies the following two rules.
(R9) If a black component K with four contact vertices does not admit any pairing, then stop: the input graph has no Hamiltonian cycle.
(R10) If in a black component K with four contact vertices all possible pairings have the same type, then choose arbitrarily any such pairing and delete all other edges from K. If this procedure disconnects the graph, then stop: the input graph has no Hamiltonian cycle.
Finally, we analyse the situation when each black component of G admits pairings of at least two different types.
If
each black component of the (connected) graph G admits pairings of at least two different types, then G has a Hamiltonian cycle.
Let K be a black component with contact vertices v_1,v_2,v_3,v_4 and let B and R be two pairings of different types, say B pairs v_1 with v_2 and v_3 with v_4, while R pairs v_1 with v_3 and v_2 with v_4. Assume that
(1) the deletion of all edges of K except for the edges of B disconnects the graph into two components C_{12} (containing vertices v_1 and v_2) and C_{34} (containing vertices v_3 and v_4), and
(2) the deletion of all edges of K except for the edges of R disconnects the graph into two components C_{13} (containing vertices v_1 and v_3) and C_{24} (containing vertices v_2 and v_4).
Note that (1) separates v_1 from v_3 and v_4, while (2) separates v_1 from v_4. Therefore, after the deletion of all edges of K vertex v_1 is separated from all other contact vertices. In other words, after the deletion of all edges of K, vertices v_1,v_2,v_3,v_4 belong to pairwise different connected components, say V_1,V_2,V_3,V_4, respectively.
We observe that in each connected component V_i vertex v_i has degree 1 (it is adjacent to a white vertex only). Any other vertex of odd degree in V_i (if there is any) is black, i.e. appears in some black component K'. In the graph G[K'] the number of odd vertices is even (by the Handshake lemma). Attaching to G[K'] four white neighbours changes the parity of exactly four vertices of K' and hence leaves the number of vertices of K' with odd degrees in the graph G even. Since all vertices of K' belong to only one of the components V_i, we conclude that in each component V_i the number of vertices of odd degree is odd. This is not possible by the Handshake lemma and hence either (1) or (2) is not valid, i.e. we can keep one of the pairings and delete all other edges of K without disconnecting G. This operation destroys K, i.e. makes all vertices of K white.
Applying the above arguments to all black components, one by one, we transform G into a connected graph in which all vertices are white, i.e. to a Hamiltonian cycle.
We summarize the discussion in the following algorithm to solve the problem.
1. Apply rules and reductions (R1) – (R7) as long as they are applicable.
2. If the algorithm did not stop at Step 1 and the graph has fewer than \frac{12}{10}11^7 vertices, then solve the problem by brute-force. Otherwise, check the number of contact vertices in black components. If there is a black component with the number of contact vertices different from 2 or 4, then stop: G has no Hamiltonian cycle.
3. If the algorithm did not stop at Step 2, then apply (R8) to black components with two contact vertices, and (R9) and (R10) to black components with four contact vertices.
4. If the algorithm did not stop at Step 3, then find a Hamiltonian cycle according to Claim ?.
Reductions (R8), (R9), (R10) can be implemented in constant time, because the number of vertices in each black component is bounded by a constant. It is also obvious that all other rules, and hence all steps of the algorithm can be implemented in polynomial time. The correctness of the algorithm follows from the proofs of the claims.
For all k\geq 2, k-Induced Disjoint Paths is polynomial-time solvable for \ensuremath{\mathbb{H}}_1-subgraph-free graphs.
For all k\geq 2, k-Induced Disjoint Paths is polynomial-time solvable for \ensuremath{\mathbb{H}}_2-subgraph-free graphs.
First, branch on all O(2^k n^{3k}) options (so a polynomial number, as k is fixed) of solution paths that have at most three internal vertices. For each branch, we remove the guessed solution paths and the neighbours of the vertices on these paths. Let k still be the number of terminal pairs. We now only look for solution paths with at least four vertices. Branch on all O(n^{4k}) options of choosing the first two vertices a_z,b_z on the solution path from every terminal z\in \{s_i,t_i\} for i\in \{1,\ldots,k\}. In each branch, we remove all other neighbours of z,a_z from the graph, so every terminal z now has degree 1, while a_z has degree 2. We discard the branch if (\dagger) \{a_z,b_z\} \cap \{a_{z'},b_{z'}\} \not= \emptyset for some terminals z,z' or one of a_z,b_z is the same or neighbours one of a_{z'},b_{z'} for some terminals z,z' not from the same terminal pair.
We now start a recursive procedure. We first preprocess the input. If b_{s_i} and b_{t_i} are adjacent for some i \in \{1,\ldots,k\}, then we remove the solution path s_i,a_{s_i}, b_{s_i}, b_{t_i},a_{t_i},t_i and their neighbours from the graph. If b_{z} and b_z' are adjacent for some terminals z,z' that do not form a terminal pair, we discard the branch.
We run the polynomial-time algorithm for k-Disjoint Paths from [RS95] on the remaining terminal pairs. If this results in a no-answer, then we discard the branch. Else, we found a solution P_1,\ldots,P_k. We may assume that each path P_i is induced, or we may shortcut it. If P_1,\ldots,P_k is also a solution of k-Induced Disjoint Paths, then we return a yes-answer. Otherwise, there is (say) an edge (x_1,x_2) between paths x_1 \in P_1 and x_2 \in P_2. We pick x_1 such that it is closest to t_1 on P_1 and under that condition we pick x_2 such that it is closest to t_2 on P_2.
Let z_1,z_3 be the two neighbours of x_1 on P_1 and z_2,z_4 the two neighbours of x_2 on P_2. We let S=\{z_1,x_1,z_3,z_2,x_2,z_4\}. Observe that S does not contain any terminal by \dagger and the preprocessing. Suppose any z \in \{z_1,z_2,z_3,z_4\} has two neighbours outside of S. Then G has a \ensuremath{\mathbb{H}}_2 as a subgraph. Thus we may assume (\ddagger) that each z \in \{z_1,z_2,z_3,z_4\} has at most one neighbour outside of S.
By the choice of (x_1,x_2) and the fact that P_1 is induced, z_3 has no neighbours in S except x_1. Suppose the edge (z_1,z_2) exists and one of \{x_1,x_2\} has a neighbour outside of S. Then there is an \ensuremath{\mathbb{H}}_2 with middle path x_1,z_1,z_2 since s_2 \not\in S. Suppose the edge (z_1,z_4) exists and one of \{x_1,x_2\} has a neighbour outside of S. Then there is an \ensuremath{\mathbb{H}}_2 with middle path x_1,z_1,z_4 since s_2 \not\in S.
Now either the edges (z_1,z_2) and (z_1,z_4) do not exist (see Figure ?) or at least one of them exists and x_1,x_2 have no neighbours outside S (see Figure ?). In the former case, we will apply Rule 1, while in the latter case, we will apply Rule 2 (see Figure ? and ? for the description of these two rules). Using \ddagger, we can prove that Rules 1 and 2 are safe and that they both preserve \dagger and H_2-subgraph-freeness (\spadesuit). We can recognize both rules and apply them in polynomial time. This makes the instance smaller by one vertex and we recurse. Hence, our algorithm will terminate in polynomial time.
For all k\geq 2, k-Induced Disjoint Paths is NP-complete for subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graphs for all \ell\geq 4.
The graph K_3, the odd flowers F_n for odd n \geq 3 and the exceptional graphs E_1, E_2 and E_3 are all \ensuremath{\mathbb{H}}_3-subgraph-free and C_5-critical.
The only \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graphs are K_3, odd flowers F_n for n \geq 3, and the exceptional graphs E_1, E_2 and E_3. Equivalently, the following three statements are true:
All \ensuremath{\mathbb{H}}_3-subgraph-free graphs of girth at least 6 are C_5-colourable.
The only \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graphs of girth 5 are E_1, E_2 and odd C_5-flowers F_n.
The only \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graph of girth 4 is E_3.
There exists a polynomial-time certifying algorithm for C_5-Colouring on \ensuremath{\mathbb{H}}_3-subgraph-free graphs.
As every graph that does not map to C_5 must contain a C_5-critical subgraph, we get from Theorem 17 that \ensuremath{\mathbb{H}}_3-subgraph-free C_5-colouring is solved by detecting the non-existence of the graphs K_3, E_1, E_2, E_3 and F_n (odd n\geq 3) in a \ensuremath{\mathbb{H}}_3-subgraph-free input graph G. We can detect the presence of the fixed graphs K_3, E_1, E_2 and E_3 in G in polynomial time by brute force. What we must show is that we can detect the presence of any odd C_5-flower F_n in polynomial time. To do so, we simply observe that for a fixed centre vertex, v_0 we can make an auxiliary graph on its neighbours putting an edge between two if there is a path on three edges between them in G. Now, G contains an odd C_5-flower with centre v_0 if and only if this auxiliary graph contains an odd cycle. We can check this in polynomial time for each v_0, so can find an odd C_5-flower in G polynomial time.
A bipartite (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_6\ldots)-subgraph-free graph is star 3-colourable if and only if it is (\mathbb{A},\overline{2P_4 + 3P_6})-subgraph-free.
A (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_6\ldots)-subgraph-free graph is star 3-colourable if and only if it is {\cal F}-subgraph-free for some finite set of graphs {\cal F}.
For all k\geq 3 and all g\geq 3, k-Colouring is NP-complete for graphs with girth at least g and with maximum degree at most 6k^{13}.
For every g\geq 3, C_5-Colouring is NP-complete for graphs with girth at least g and with maximum degree at most 6\cdot 5^{13}.
Hamilton Cycle does not satisfy C3.
We observe that for every graphs G and every p\geq 1, G_p is a no-instance of Hamilton Cycle unless G was a cycle.
k-Induced Disjoint Paths does not satisfy C3.
Under any kind of subdivision, k-Induced Disjoint Paths reduces to k-Disjoint Paths over the same graph, which is in {\sf P} for all k\geq 2, as shown in [Sh80] for k=2 and in [RS95] for every k\geq 3.
C_5-Colouring does not satisfy C3.
We first prove that for all p\geq 4, and for all x,y \in V(C_5), there is a walk of length p in C_5 from x to y. First let p=4. To walk a distance of zero: walk two forward then two back. To walk at distance one (without loss of generality) forward: walk four backward. To walk at distance two (without loss of generality) forward: walk one back, one forward, and two forward. Now let p=5. To walk a distance of zero: walk five forward. To walk at distance one (without loss of generality) forward: walk two forward, two back and one forward. To walk at distance two (without loss of generality) forward: walk one back, one forward, and three back. Finally, let p\geq 6. Keep moving one forward then one back until one of the two previous cases applies.
Now let G be a graph. We give each vertex in G a label from \{1,\ldots,5\}. From the above it follows that for every p\geq 3, we can extend c to a homomorphism from G_p to C_5; in other words, G_p is a yes-instance of C_5-Colouring.
Star 3-Colouring does not satisfy C3.
Let G be a graph. We show that for all p\geq 3, G_p is a yes-instance of Star 3-Colouring. We do this by giving each vertex in G a label from \{1,2,3\}. The resulting labelling c might not be a 3-colouring, but this is not important: we will show that we can extend c to a star 3-colouring of G_p as follows.
Consider an edge e in G and let P be the corresponding path (of p+1 edges) in G_p. It suffices to give two star 3-colourings of this path, so that the first three vertices are distinct colours and the last three vertices are distinct colours: one in which the first and last vertices are the same colour and one in which they are a different colour. Let us identify a 3-colouring of P by a sequence of length p+1 over \{1,2,3\}. If p+1 is a multiple of three, then use (123)^{\frac{p+1}{3}} for the different colour and (123)^{\frac{p+1}{3}-1}231 for the same colour. If p+1 is 1 \bmod 3, then use (123)^{\frac{p}{3}-1}2132 for the different colour and (123)^{\frac{p}{3}}1 for the same colour. If p+1 is 2 \bmod 3, then use (123)^{\frac{p-1}{3}}12 for the different colour and (123)^{\frac{p-1}{3}}21 for the same colour.
For k\geq 10, all subcubic graphs have an injective 10-colouring.
It suffices to prove the statement for k=10. We do this by induction. For the base case, a graph with one vertex is star 10-colourable. Now take a vertex v in a graph G and assume G \setminus \{v\} has an injective 10-colouring. As G is subcubic, v has at most three neighbours, each of which have at most two more neighbours each. Thus there are at most nine vertices whose colour we wish to avoid. As we have ten colours in total, this means that we can safely colour v.
For every forest F, all F-minor-free graphs have pathwidth, and thus treewidth, at most |V(F)|-2.
For every \ell\geq 1, the class of (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots )-subgraph-free graphs has bounded treewidth.
Let \ell\geq 1. As every (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots )-subgraph-free graph is H_\ell-minor-free, we apply Theorem 28.
For every n\geq 1, the class of (\ensuremath{\mathbb{H}}_n,\ensuremath{\mathbb{H}}_{2n},\ensuremath{\mathbb{H}}_{3n},\ldots)-subgraph-free graphs has bounded treewidth.
We proceed by contraposition. If a class of graphs has unbounded treewidth, then every grid appears as a minor in some graph [RS86]. Let us explain the argument for n=2 first. We consider that the 3 \times 3-grid appears as a minor in some graph G in our class and let f be the minor map from G to the 3 \times 3-grid. Consider the three vertices in the 3 \times 3-grid that form the central row as u,v,w (in succession). Choose u' \in f^{-1}(u), v' \in f^{-1}(v), w' \in f^{-1}(w) so that u',v',w' have degree greater than 2, noting that such vertices must exist. If the distance in G between u' and v' is even, of length 2i, then there is an \ensuremath{\mathbb{H}}_{2i} subgraph in G with central path from u' to v'. If the distance in G between v' and w' is even, of length 2i, then there is an \ensuremath{\mathbb{H}}_{2i} subgraph in G with central path from v' to w'. Else, there is a path of even length 4i from u' to w' and then there is an \ensuremath{\mathbb{H}}_{4i} subgraph in G with central path from u' to w'.
For (\ensuremath{\mathbb{H}}_n,\ensuremath{\mathbb{H}}_{2n},\ldots)-subgraph-free graphs, consider the Abelian group (\mathbb{Z}/n\mathbb{Z}). The Davenport constant of an Abelian group G is the minimum d so that any sequence of elements of G contains a non-empty consecutive subsequence of zero-sum (that adds to the identity element 0). It is known that for (\mathbb{Z}/n\mathbb{Z}) the Davenport constant is n (see page 24 in [GR09]). Take an (n+1) \times (n+1)-grid and consider some row not at the top or bottom of the grid with vertices w_1,\ldots,w_{n+1} in succession. Consider some w'_1 \in f^{-1}(w_1), \ldots, w'_{n+1} \in f^{-1}(w_{n+1}) where f is the minor map as before, and the distances x_i between w'_{i+1} and w'_i. Using the Davenport constant, there is a subsequence x_j,\ldots,x_{j'} (j'>j) such that x_j+\ldots+x_{j'}=0 \bmod n. Now choose w'_j,\ldots,w'_{j'+1} as the central path in some \ensuremath{\mathbb{H}}_{in}.
Star 3-Colouring is NP-complete for planar bipartite graphs in which one partition class has size 2.
Reduce from 3-Colourability which is known to be NP-complete even for planar graphs [Da80]. Let G be a planar graph. Replace each edge e by three new vertices a_e, b_e, c_e that are made adjacent only to the two end-vertices of e in G. Let G' be the resulting graph. Then every vertex of V(G')\setminus V(G) has degree 2 in G. Moreover, G' is planar and bipartite with partition classes V(G')\setminus V(G) and V(G). It remains to observe that G has a 3-colouring if and only if G' has a star 3-colouring.
C_5-Colouring is NP-complete for (\ensuremath{\mathbb{H}}_1,\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_5,\ldots)-subgraph-free graphs.
It is well known [HN90] and easy to see that there is a reduction from K_5-Colouring, which is to decide if a graph has a K_5-colouring, that is, a homomorphism from G to the complete graph K_5 on five vertices. This problem is well known to be NP-complete [HN90]. Let G be a graph, and let G' be the 2-subdivision of G. We note that G' is (\ensuremath{\mathbb{H}}_1,\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_5,\ldots)-subgraph-free (but may contain many instances of \ensuremath{\mathbb{H}}_\ell where \ell=0\mod 3). Moreover, G has a K_5-colouring if and only if G' has a C_5-colouring.
Since G' is obtained from G be deleting some edges, any Hamiltonian cycle in G' is also a Hamiltonian cycle in G. Conversely, assume C is a Hamiltonian cycle in G. If the edge ab belongs to C, then the edges ax and bx do not belong to C (remember that a and b have white neighbours), in which case C is also a Hamiltonian cycle in G'.
Suppose now that ab does not belong to C. Then ax and bx belong to C and hence cx and dx do not belong to C, implying that cd belongs to C (remember that the degree of c is 3 in G). But then G has one more Hamiltonian cycle obtained from C be replacing the edges ax, bx, cd with the edges cx, dx, ab. This second cycle is clearly a Hamiltonian cycle in G'.
Assume G has a Hamiltonian cycle C. We call any edge of G not in C a chord and the endpoints of a chord weak neighbours.
Let y and z be the neighbours of x on the cycle. Without loss of generality, we let y be black (otherwise (R4) is applicable to G) and v be a weak neighbour of y. Assume v\ne z. Since the degree of x is at least 13, x has at least 5 weak neighbours either between y and v or between z and v on the cycle C. Let u be a middle of these 5 neighbours. In the first case, two edges of C incident to y, two edges of C incident to u, two edges of C incident to v together with the edges xu and yv form a forbidden subgraph. In the second case, two edges of C incident to x, two edges of C incident to u, two edges of C incident to v together with the edges xu and yv form a forbidden subgraph. A contradiction in both cases shows that v=z, i.e. the degree of y is 3. By symmetry, the degree of z is 3. This proves that if the neighbourhood of x does not contain two adjacent vertices of degree 3, then G has no Hamiltonian cycle.
Now assume that the neighbourhood of x contains two adjacent vertices of degree 3. Suppose first that G has a Hamiltonian cycle. From the first part of the proof, we know that the neighbours of x on the cycle are adjacent. Therefore, by removing x from the graph we are left with a Hamiltonian cycle in G-x.
Conversely, let G-x have a Hamiltonian cycle C. Denote by y and z two adjacent vertices of degree 3 in the neighbourhood of x. In the graph G-x the vertices y and z have degree 2 and hence the edge yz belongs to C. By replacing this edge with the edges xy and xz we obtain a Hamiltonian cycle in the graph G.
We prove the result for k=2. The extension to k\geq 2 will be straightforward. Let G be an instance of 2-Induced Disjoint Paths together with two terminal pairs (s_1,t_1) and (s_2,t_2). We may assume without loss of generality that there is no edge between s_1 and t_1 and no edge between s_2 and t_2.
We first check if there exists a solution in which one of the paths has length 2. We can do this in polynomial time as follows. We first consider all O(n) options of choosing a vertex to be the middle vertex of one of these paths. We then check if the graph obtained from removing the guessed middle vertex and its two neighbouring terminals s_i and t_i as well all the neighbours of these three vertices has a connected component that contains both terminals s_j and t_j of the other pair. This takes polynomial time.
We now check if there exists a solution in which both paths have length at least 3. We consider all O(n^4) options of choosing the neighbours s_1', t_1', s_2', t_2' of s_1, t_1, s_2, t_2, respectively, on the two solution paths (should a solution exist). We discard a branch if there exists an edge between a vertex of \{s_1,s_1',t_1,t_1'\} and a vertex of \{s_2,s_2',t_2,t_2'\}. Suppose this is not the case. We remove s_1,t_1,s_2,t_2 and every neighbour of a vertex in \{s_1,t_1,s_2,t_2\} that does not belong to \{s_1',t_1',s_2',t_2'\}. Afterwards, it suffices to solve 2-Disjoint Paths on the resulting graph G' with terminal pairs (s_1',t_1') and (s_2',t_2'). This can be seen as follows. Any solution of 2-Induced Disjoint Paths is a solution of 2-Disjoint Paths. Now suppose we have a solution (P_1,P_2) of 2-Disjoint Paths. If there exist an edge between a vertex of P_1 and a vertex of P_2, then we find the forbidden subgraph \ensuremath{\mathbb{H}}_1 (possibly after adding the vertices s_1,t_1,s_2,t_2 back). Since the number of branches is O(n^4) and each created instance of 2-Disjoint Paths can be solved in polynomial time [RS95, Sh80], the running time of this case is polynomial as well.
2-Induced Cycle is NP-complete for subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graphs for all \ell\geq 4.
The problem is ready seen to be in NP. We will now prove NP-hardness.
Let \ell\geq 1 be an integer. Let \phi be an instance of 3-Satisfiability, consisting of m clauses C_1,\ldots,C_m on n variables z_1,\ldots,z_n. For each clause C_j (j=1,\ldots,m), with C_j = y_{3j-2} \vee y_{3j-1} \vee y_{3j}, then y_i (i = 1,\ldots,3m) is a literal from \{z_1,\ldots,z_n, \overline{z}_1,\ldots,\overline{z}_n\}.
Let us build a graph G^\ell_\phi with two specified vertices x and y of degree 2. There will be a hole containing x and y in G_\phi if and only if there exists a truth assignment satisfying \phi.
For each literal y_j (j = 1,\ldots,3m), prepare a graph G(y_j) on 20 named vertices
together with certain paths in between using unnamed vertices, as drawn in Figure ?. (We drop the subscript j in the labels of the vertices for clarity.)
For i = 1, 2, 3 add paths of length \ell between \alpha^{i+} and \alpha^{(i+1)+}; \alpha^{i-} and \alpha^{(i+1)-}; \beta^{i+} and \beta^{(i+1)+}; and \beta^{i-} and \beta^{(i+1)-}. Also add the edges \alpha^{1+}\beta^{1-}, \alpha^{1-}\beta^{1+}, \alpha^{4+}\beta^{4-}, \alpha^{4-}\beta^{4+}, \alpha \alpha^{1+}, \alpha \alpha^{1-}, \alpha^{4+} \alpha', \alpha^{4-} \alpha', \beta \beta^{1+}, \beta \beta^{1-}, \beta^{4+} \beta', \beta^{4-} \beta'.
For each clause C_j (j = 1,\ldots,m), prepare a graph G(C_j) with 10 named vertices
together with certain paths in between using unnamed vertices, as drawn in Figure ?. (We drop the subscript j in the labels of the vertices for clarity.) Add paths of length \ell between the following pairs of vertices: c^{12+} and c^{1+}; c^{12+} and c^{2+}; c^{12-} and c^{1-}; c^{12-} and c^{2-}; c^{0+} and c^{12+}; c^{0+} and c^{3+}; c^{0-} and c^{12-}; c^{0-} and c^{3-}.
For each variable z_i .(i = 1,\ldots,n), prepare a graph G(z_i) with 2z_i^- + 2z^+_ i vertices, where z^-_i is the number of times \overline{z}_i appears in clauses C_1, \ldots,C_m and z^+_i is the number of times z_i appears in clauses C_1, \ldots,C_m.
Let G(z_i) consist of two internally disjoint paths P^+_i and P^-_i with common endpoints d^+_i and d^-_i and lengths 1+ (2\ell)z^-_i and 1+ (2\ell)z^+_i, respectively. Label the vertices of P^+_i and P^-_i as in Figure ?.
The final graph G^\ell_\phi will be constructed from the disjoint union of all the graphs G(y_j), G(C_i), and G(z_i) with the following modifications:
For j = 1,\ldots, 3m-1, add paths of length \ell between the pairs: \alpha'_j and \alpha_{j+1}; \beta'_j and \beta_{j+1}.
For j = 1,\ldots, m-1, add a path of length \ell between c^{0-}_j and c^{0+}_{j+1}.
For j = 1,\ldots, n-1, add a path of length \ell between d^{-}_i and d^{+}_{i+1}.
For i = 1,\ldots,n-1, let y_{n_1},\ldots,y_{n_{z^-_i}} be the occurrences of \overline{z}_i over all literals. For j = 1,\ldots,z^-_i, delete the path between p^+_{i,2j-1} and p^+_{i,2j} and add the four edges p^+_{i,2j-1}\alpha^{2+}_{n_j}, p^+_{i,2j-1}\beta^{2+}_{n_j}, p^+_{i,2j}\alpha^{3+}_{n_j}, p^+_{i,2j}\beta^{3+}_{n_j}.
For i = 1,\ldots,n-1, let y_{n_1},\ldots,y_{n_{z^+_i}} be the occurrences of z_i over all literals. For j = 1,\ldots,z^+_i, delete the path between p^-_{i,2j-1} and p^-_{i,2j} and add the four edges p^-_{i,2j-1}\alpha^{2+}_{n_j}, p^-_{i,2j-1}\beta^{2+}_{n_j}, p^-_{i,2j}\alpha^{3+}_{n_j}, p^-_{i,2j}\beta^{3+}_{n_j}.
For i = 1,\ldots,m and j=1,2,3, add the edges \alpha^{2-}_{3(i-1)+j}c^{j+}_i, \alpha^{3-}_{3(i-1)+j}c^{j-}_i, \beta^{2-}_{3(i-1)+j}c^{j+}_i, \beta^{3-}_{3(i-1)+j}c^{j-}_i.
Add a path of length \ell between the pairs of vertices: \alpha'_{3m}d^+_1 and d^+_1; \beta'_{3m}d^+_1 and c^{0+}_1.
Add the vertex x and add paths of length \ell between the pairs of vertices: x and \alpha_1; x and \beta_1.
Add the vertex y and add paths of length \ell between the pairs of vertices: y and c^{0-}_m; y and d^{-}_n.
It is easy to verify that the maximum degree of G^\ell_\phi is 3. Moreover, the size of G^\ell_\phi is polynomial (actually linear) in the size n+m of \phi, and x and y are non-adjacent, and both have degree 2.
We also claim that for \ell\geq 4, G^\ell_\phi is \ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_{\ell}-subgraph-free, which can be seen as follows (note that G^\ell_\phi contains \ensuremath{\mathbb{H}}_1, \ensuremath{\mathbb{H}}_2 and \ensuremath{\mathbb{H}}_3 as subgraphs). Owing to the length of the \ell-paths that populate our construction, we need only verify the omission of these graphs on the connected components of the graph G^\ell_\phi after the removal of these paths (except a pendant edge from the corresponding connected component at the extremities of an instance of these paths). In this fashion, we only need to check for omission of the given graphs in the non-trivial cases drawn in Figure ?. Indeed, the two cases are isomorphic. Let i=4,5. Any two vertices of degree at least three that are separated by a path of length i must be in the subgraph C_6 at distance 6-i from one another. If i=4 then these vertices have a common neighbour so the \ensuremath{\mathbb{H}}_i can’t be completed. If i=5 then these two vertices are adjacent. For 6\leq i \leq \ell-i it is not possible to find two vertices of degree at least three that are separated by a path of length \ell.
We now show that \phi is satisfied by a truth assignment if and only if G^\ell_\phi contains a hole passing through x and y.
``\Rightarrow'' First assume that \phi is satisfied by a truth assignment \xi \in \{0,1\}^n. We will pick a set of vertices that induce a hole containing x and y.
Pick vertices x and y.
For i = 1,\ldots,3m, pick the vertices \alpha_i,\alpha'_i,\beta_i,\beta'_i.
For i = 1,\ldots,3m, if y_i is satisfied by \xi , then pick the vertices \alpha^{1+}_i,\alpha^{2+}_i,\alpha^{3+}_i,\alpha^{4+}_i,\beta^{1+}_i,\beta^{2+}_i, \beta^{3+}_i,\beta^{4+}_i. Otherwise, pick the vertices \alpha^{1-}_i,\alpha^{2-}_i,\alpha^{3-}_i,\alpha^{4-}_i,\beta^{1-}_i,\beta^{2-}_i,\beta^{3-}_i,\beta^{4-}_i.
For i = 1,\ldots,n, if \xi(i) = 1, then pick all the vertices of the path P^+_i and all the neighbours of the vertices in P^+_i of the form \alpha^{2+}_k or \alpha^{3+}_k for any k.
For i = 1,\ldots,n, if \xi(i) = 0, then pick all the vertices of the path P^-_i and all the neighbours of the vertices in P^-_i of the form \alpha^{2+}_k or \alpha^{3+}_k for any k.
For i = 1,\dots,m, pick the vertices c^{0+}_i and c^{0-}_i. Choose any j \in \{3i-2, 3i-1, 3i\} such that \xi satisfies y_j. Pick vertices \alpha^{2-}_j and \alpha^{3-}_j. If j = 3i - 2, then pick the vertices c^{12+}_j,c^{1+}_j,c^{12-}_j,c^{1-}_j. If j = 3i - 1, then pick the vertices c^{12+}_j,c^{2+}_j,c^{12-}_j,c^{2-}_j. If j = 3i, then pick the vertices c^{3+}_j,c^{3-}_j.
The given vertices do not yet induce a connected component, because we need to add the vertices of \ell-paths in between. Thus, if p and q are vertices which we selected that have an \ell-path between them (drawn as a dashed edge in the associated gadget), then we need to add the interior vertices of this path also.
It suffices to show that the chosen vertices induce a hole containing x and y. The only potential problem is that for some k, one of the vertices \alpha^{2+}_k,\alpha^{3+}_k,\alpha^{2-}_k,\alpha^{3-}_k was chosen more than once. If \alpha^{2+}_k and \alpha^{3+}_k were picked in Step 3, then y_k is satisfied by \xi. Therefore, \alpha^{2+}_k and \alpha^{3+}_k were not chosen in Step 4 or Step 5. Similarly, if \alpha^{2-}_k and \alpha^{3-}_k were picked in Step 6, then y_k is satisfied by \xi and \alpha^{2-}_k and \alpha^{3-}_k were not picked in Step 3. Thus, the chosen vertices induce a hole in G^\ell_\phi containing vertices x and y.
``\Leftarrow'' To show the reverse implication, assume G^\ell_\phi contains a hole H passing through x and y. The hole H must contain \alpha_1 and \beta_1, and the paths leading to them, since they are the only two path neighbours of x. Next, either both \alpha^{1+}_1 and \beta^{1+}_1 are in H or both \alpha^{1-}_1 and \beta^{1-}_1 are in H.
Without loss of generality, let \alpha^{1+}_1 and \beta^{1+} be in H (the same reasoning that follows will hold true for the other case). Since \alpha^{1-}_1 and \beta^{1-} are both neighbours of two members of H, they cannot be in H. Thus, \alpha^{2+}_1 and \beta^{2+}_1, and the paths to them, must be in H. Since \alpha^{2+}_1 and \beta^{2+}_1 have the same neighbours outside G(y_1), it follows that H must contain \alpha^{3+}_1 and \beta^{3+}_1, and the paths that lead to them. Also, H must contain \alpha^{4+}_1 and \beta^{4+}_1, and the paths that lead to them. Suppose that \alpha^{4-}_1 and \beta^{4-}_1 are in H. Because \alpha^{i-}_1 has the same neighbour as \beta^{i-}_1 outside G(y_1) for i = 2, 3, it follows that H must contain \alpha^{3-}_1, \alpha^{2-}_1, \alpha^{1-}_1. But then H is not a hole containing x, a contradiction. Therefore, \alpha^{4-}_1 and \beta^{4-}_1 cannot both be in H, so H must contain \alpha'_1, \beta'_1, \alpha_2, \beta_2, and the paths to them.
By induction, we see for i = 1, 2, \ldots,3m that H must contain \alpha_i,\alpha'_i,\beta_i,\beta'_i. Also, for each i, either H contains \alpha^{1+}_i,\alpha^{2+}_i,\alpha^{3+}_i,\alpha^{4+}_i,\beta^{1+}_i,\beta^{2+}_i,\beta^{3+}_i,\beta^{4+}_i or H contains \alpha^{1-}_i,\alpha^{2-}_i,\alpha^{3-}_i,\alpha^{4-}_i, \beta^{1-}_i,\beta^{2-}_i,\beta^{3-}_i,\beta^{4-}_i.
As a result, H^\ell_\phi must also contain d^+_1 and c^{0+}_1 and the paths to them. By symmetry, we may assume H^\ell_\phi contains p^+_{1,1} and \alpha^{2+}_k, for some k. Since \alpha^{1+}_k is adjacent to two vertices in H, H must contain \alpha^{3+}_k and the path of length \ell toward it. Similarly, H cannot contain \alpha^{4+}_k, so H contains p^+_{1,2} and p^+_{1,3}, as well as the paths through these. By induction, we see that H contains p^+_{1,i} for i = 1, 2, \ldots, z^+_i and d^-_1 and the \ell-paths in between. If H contains p^-_{1,z^-_i}, then H must contain p^-_{1,i} for i = z^-_i, \ldots, 1, a contradiction. Thus, H must contain d^+_2 and the \ell-path to it. By induction, for i = 1, 2, \ldots,n, we see that H contains all the vertices of the path P^+_i or P^-_i and by symmetry, we may assume H contains all the neighbours of the vertices in P^+_i or P^-_i of the form \alpha^{2+}_k or \alpha^{3+}_k, for any k.
Similarly, for i = 1, 2, \ldots,m, it follows that H must contain c^{0+}_i and c^{0-}_i. Also, H contains one of the following:
c^{12+}_i,c^{1+}_i,c^{12-}_i,c^{1-}_i and either \alpha^{2-}_j and \alpha^{3-}_j or \beta^{2-}_j and \beta^{3-}_j (where \alpha^{2-}_j is adjacent to c^{1+}_i).
c^{12+}_i,c^{2+}_i,c^{12-}_i,c^{2-}_i and either \alpha^{2-}_j and \alpha^{3-}_j or \beta^{2-}_j and \beta^{3-}_j (where \alpha^{2-}_j is adjacent to c^{2+}_i).
c^{3+}_i,c^{3-}_i and either \alpha^{2-}_j and \alpha^{3-}_j or \beta^{2-}_j and \beta^{3-}_j (where \alpha^{2-}_j is adjacent to c^{3+}_i).
We can recover the satisfying assignment \xi as follows. For i = 1, 2, \ldots,n, set \xi(i) = 1 if the vertices of P^+_i are in H and set \xi(i) = 0 if the vertices of P^-_i are in H. By construction, it is easy to verify that at least one literal in every clause is satisfied, so \xi is indeed a satisfying assignment.
Let \ell \geq 4 and G be a subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graph with two non-adjacent vertices x and y of degree 2. It is possible to construct in polynomial time a subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graph G' that contains vertices s_1,t_1,s_2,t_2 such that (G,x,y) is a yes-instance of 2-Induced Cycle if and only if (G',\{(s_1,t_1),(s_2,t_2)\}) is a yes-instance of 2-Induced Disjoint Paths.
Let x and y have neighbours x_1, x_2 and y_1, y_2 respectively. We replace x and its incident edges by the following. Create vertices p_1, q_1, r_1, p_2, q_2, r_2, s_1, s_2. Add edges s_1p_1, p_1q_1,q_1x_1, q_1r_1, r_1s_2 and s_2r_2, r_2q_2, q_2x_2, p_2s_1, p_2q_2. In the same way, we replace y and its incident edges by vertices a_1,b_1,c_1,a_2,b_2,c_2,t_1,t_2 and edges a_1t_1, a_1b_1, b_1y_1, b_1c_1, c_1t_2 and a_2t_1, a_2b_2, b_2y_2, b_2c_2, c_2t_2. Note that any vertex that is introduced has degree at most 3. For an integer d\geq 0, we now subdivide every incident edge of every newly introduced vertex d times. We denote the new graph by G^d and say that G^d is the d-replacement for G. Note that G^d has maximum degree 3 as well. See also Fig. ?, where we display the replacement of x for d=1. It is readily seen that for every integer d\geq 0, G^d has maximum degree 3.
To prove the remainder of the lemma, first assume that d=0. We observe that the paths s_1,p_1,q_1,x_1 and s_2,r_2,q_2,x_2 are mutually induced. The paths s_1,p_2,q_2,x_2 and s_2,r_1,q_1,x_1 are also mutually induced. Moreover, these are the only two options that can co-exist, in the following sense. A path from s_1 to x_1 that uses only edges of this gadget and that does not have s_2 as an internal vertex has to pass through q_1. Similarly, a path from s_2 to x_2 that uses only edges of this gadget and that does not have s_1 as an internal vertex has to pass through q_2. The same observations hold with respect to the gadget replacing vertex y. Hence, G has a hole containing x and y if and only if G^d has mutually induced paths between s_1 and t_1 and between s_2 and t_2.
Note that any incident edges of every vertex of G^d that does not belong to G can be subdivided an arbitrary number of times without affecting the correctness of the reduction (q_1,q_2,b_1,b_2 remain bottlenecks). So, the claim also holds for d\geq 1, and by taking d sufficiently large, we obtain the desired subcubic (\ensuremath{\mathbb{H}}_4,\ldots,\ensuremath{\mathbb{H}}_\ell)-subgraph-free graph G'.
The following hold for all C_5-critical graphs G.
G cannot properly contain a C_5-critical graph. In particular, it cannot contain a K_3.
G is 2-connected.
G has no removable threads: 3^+-threads.
G has no redundant threads: k-threads between end vertices that are the end vertices of a k-path that is disjoint from the k-thread.
G has no redundant vertices: clones or subclones of another vertex.
Any vertex in a C_4 is a 3^+-vertex.
That the first two items hold are clear. To see that C_5-critical G cannot have a removable thread, remove the thread and C_5-colour the remaining graph G'. As the thread has length at least k, we can extend the C_5-colouring of G' to G; contradicting the fact that G was C_5-critical. To see that G cannot have a redundant thread, remove it, and get a C_5-colouring of the remaining graph G'. We can extend this to a C_5-colouring of G be letting the colouring on the redundant thread be the same as on the path of G' of the same length between the endpoints of the thread. That redundant vertices cannot occur in a critical graph is clear– they can always get the same colour as the vertex they are a subclone of, so removing them does not change the possible colourings. That any vertex in a C_4 is a 3^+ vertex is because a 2-vertex in a C_4 is redundant. That
Any 2-connected graph G that is not just a cycle can be constructed from any 2-connected subgraph by adding successive ears.
In an \ensuremath{\mathbb{H}}_3-subgraph-free graph, two 3^+-vertices with a 3-path between them are at distance at most 2. They are either adjacent in a C_4 or at distance 2 in a C_5.
The following hold for any \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graph G.
Any 3^+-vertex at distance 1 in a C_4 to a 4^+-vertex is a 3-vertex.
Any 4^+-vertex at distance 2 in a C_5 to 3^+-vertex is a 4-vertex.
Let G be \ensuremath{\mathbb{H}}_3-subgraph-free and C_5-critical. If it is a K_3 the lemma is vacuously true, so we may assume by criticality that it is K_3-free.
For item (1), assume that u is a 3^+ vertex in a C_4 with its 4^+-neighbour x, in G. As G is K_3-free, we may assume that the C_4 is u,v,w,x, and is induced. As x is a 4^+ vertex it has neighbours y and y' not in the C_4. If u is a 4^+-vertex then it has neighbours t and t' not in the C_4, and as G is K_3-free, they are distinct from y and y'. But then \{t,t'\},u,v,w,x,\{y,y'\} is an \ensuremath{\mathbb{H}}_3, which is impossible.
For item (2), assume that C is the 5-cycle a,b,c,d,e,a, that a is a 3^+ vertex, and that d is a 4^+ vertex. As G is K_3-free, C is induced, and so a has neighbours x,x' not in \{b,c,d\}. If d has degree 5, then it has two neighbours y,y' not in \{a,b,c,x,x'\} and so \{x,x'\},a,b,c,d,\{y,y'\} is an \ensuremath{\mathbb{H}}_3.
A C_5-critical graph G contains no saturated proper subgraph.
All \ensuremath{\mathbb{H}}_3-subgraph-free graphs of girth at least 6 are C_5-colourable.
Towards contradiction, let G be a \ensuremath{\mathbb{H}}_3-subgraph-free graph of girth at least 6 that is C_5-critical. As G has no C_5-colouring it must contain an odd cycle, and so by assumption, it has odd girth 2k+1 \geq 7. Let C be a C_{2k+1} in G with vertex set \{-k,-(k-1), \dots, 0, \dots, k\} for which two vertices are adjacent if they differ by 1 modulo 2k+1. Let X be the set of 3^+-vertices of C.
As C is a shortest odd cycle in G it is induced, and there is no vertex x \not\in C adjacent to two vertices of C at distance greater than 2. So because G is \ensuremath{\mathbb{H}}_3-subgraph-free, X contains no two vertices that are distance 3 apart. On the other hand, as G is C_5-critical and so contains no 3-threads X contains at least one of i-1, i, and i+1 for every vertex i of C. It follows that if X contains i and i+1, then it does not contain i + 3 and i+4, and so it must contain i+2 and i+5. But these are distance 3 apart; so we conclude that X contains no two consecutive vertices.
We may assume, w.l.o.g, that X contains the vertex 0. So it contains neither -1 or 1, or -3 or 3. It must therefore contain -2 and 2. Shifting this argument cyclically by 2, we see that X must contain every second vertex of C. But this is impossible as C is an odd cycle.
The only \ensuremath{\mathbb{H}}_3-subgraph-free graphs of girth 5 are E_1, E_2 and F_n for odd n \geq 3.
Let G be an \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graph of girth 5. We show that G is either E_1, E_2 or an odd C_5-flower F_n.
We start with two claims that deal with the more difficult cases. Let B_1 and B_2 be the graphs made from two copies of C_5 shown in Figure ?.
If G contains B_1 as a subgraph, then G is an odd C_5-flower or one of the exceptional graphs E_i.
Assume that G contains a copy B of B_1 labelled with labels 0,1,2,3,4 and 2',3',4' as in Figure ? so that ignoring the primes we get a C_5-colouring. As G has no 3-threads, at least one of each of \{2,3,4\} and \{2',3',4'\} must be a 3^+-vertex. Whichever is, it is distance 2 to one of the 3-vertices 0 or 1, so is also a 3-vertex by Lemma 39. If these two 3-vertices have a 3-path between them, then, again by Lemma 39(2), they must share a new neighbour not in the graph yet, so if one is 3 and the other is 2', the new vertex makes a copy of E_1 and we are done. With symmetric arguments, we are done if 3 and 2' or 4' are three vertices, or if 3' and 2 or 4 are. Up to symmetry, we have three cases left to consider: those where the pairs (2,4') or (4,4') or (3,3') are pairs of 3-vertices.
Case: 3 and 3' are 3-vertices. In this case, we may assume that the 2-vertices 2,2',4 and 4' are all saturated in B, as if any one of them is a 3-vertex, we appeal to an earlier case. Further, the vertices 0 and 1, 3, and 3' are all 3-vertices by Lemma 39 because they are 3^+-vertices with 3-paths to other 3-vertices. So only 3 and 3' are unsaturated in B, each having an edge out of B. As G is 2-connected, there is an ear from 3 to 3'. Let P be the shortest such ear.
If the ear P has length 1,2, or 3 we have E_2, S_1, or an induced \ensuremath{\mathbb{H}}_3. In the first case we are done, and in the other two would yield contradictions. So we may assume that P has length at least 4. Let a and a' be the vertices in P ear adjacent to 3 and 3' respectively. They cannot be 3^+ vertices, as they both have 3-paths to the 3-vertex 1, all of whose neighbours are saturated. So a and a' are 2-vertices. Now, B has no edges to G \setminus B except 3a and 3'a', and the vertices 3 and 3' get the same colouring under any C_5-colouring, so the graph G' we get from G by replacing all of B with one new vertex b adjacent just to a and a' has exactly the same C_5-colourings as G does when restricted to G \setminus B. In particular, if G is C_5-critical then G' is. But G' is not critical, as the 3-thread a,b,a' is removable. So G is not C_5-critical, a contradiction.
Case: 2 and 4' are 3-vertices. The vertices 2 and 4' have a 3-path between them so by Lemma 39 share a new neighbour 3'', and with this become saturated. The 2-vertices 3 and 3' are saturated or we can apply a previous case. The vertices 0,1,2 and 4' are 3-vertices with 3-paths to 3-vertices, so are saturated.
The only three unsaturated vertices are those in X:= \{2',3'',4\}. They are pairwise distance 3 apart, so by girth, cannot have edges between them, and for two any of them that are 3-vertices, the third edges go to a common new third neighbour x. If all vertices of X are 3^+-vertices, then we get a copy of E_2 with 5-cycles x,3'',4',0,4 and x, 3'', 2, 1, 2'. If only one vertex in X is a 3-vertex, then G is not 2-connected, a contradiction. So we may assume that exactly two of them are 3-vertices. They are saturated in the graph G' made so far on B \cup \{3'',x\}; as is the other vertex of X, because it is assumed not to be a 3^+-vertex. So the only possibly unsaturated vertex of G' is x, making G' saturated. But G' is C_5-colourable, so is a proper subgraph of G, contradicting Fact 3.
Case: 4 and 4' are 3-vertices. The neighbours a of 4, and a' of 4' are new and distinct by girth considerations. The 3-vertices 1,4 and 4' have 3-paths to other 3-vertices so are saturated in the graph build on B \cup \{a,a'\} by adding these edges.
The vertex 2' has a 3-path to 4 so if it has a third edge, this edge is to one of the neighbours 0,3 or a of 4. In the first two cases we violate girth, and in the last case 2 and 4' are 3-vertices, which is dealt with above. So the 2-vertices 2 and 2' are saturated 2-vertices.
The vertex 3' has a 3-path to 4 so if it has a third edge, this is to one of 0,3 or a. The first case violates girth, the second yields an E_2, and the third case is already dealt with above. So 3' and 3 are saturated 2-vertices.
The only vertex of B that may have another edge is 0. So a and a' have no other neighbours in B.
We view the B as the start of a C_5-flower with the vertex 0 as its centre, in which only 0 is not saturated. If we extend this to a partial C_5-flower – a C_5-flower from which we have removed the two adjacent 2-vertices of some petal – the argument for C_5-flowers in Fact 4 works to argue that the only unsaturated vertices are 0 and the corner vertices c and c': those two 3-vertices who have been made 2-vertices by the removal of the two vertices.
Let G' be the largest (partial) C_5-flower with centre 0 that contains our original B. If G' is a full even C_5-flower, we have a saturated subgraph of G; this is a contradiction. If G' is a full odd C_5-flower, then it is critical, so is G, as needed.
So we may assume that G' is a partial C_5-flower. As G' is C_5-colourable, there is an ear of G' in G; and as the only three non-saturated vertices of G' are 0,c and c', we may assume the ear begins at c. It must have length at least 3 by girth, so assume it starts with the path c,x,y,z, where x and y are necessarily new vertices. If z = 0 then we have a C_4, and if z = c' then this is a bigger C_5-flower, contradicting the choice of G', so z is also a vertex not in G'. The vertex x has a 3-path to the 3-vertex 1, and the only non-saturated neighbour of 1 is 0, but x is not adjacent to 0 by girth, so x is saturated. As y has a 3-path to 0 it must be a 2-vertex, or it would have to share a neighbour, which we may assume is z, with 0. But this makes a larger partial C_5-flower, contradicting the choice of G'. Thus y is a saturated 2-vertex, and z is not adjacent to 0. Having a 3-path to the 3-vertex c, z is a 2-vertex, and so we have a removable thread, contradicting the assumption that G is critical.
Recall that B_2, shown in Figure ?, consists two C_5s whose intersection is a path of length two.
G contains no copy of B_2.
Towards contradiction, assume that G contains a copy B of B_2. Label the vertices of B, as in the figure, so that the two 5-cycles are 4,0,1,2,3 and 4,0,1,2',3' The 3-vertices 4 and 1 are saturated. At least one vertex in each of \{2,3\} and \{2',3'\} must also be a 3^+-vertex, or we have a redundant path.
If 2 and 3' are 3^+-vertices, then being distance 3 apart, they share a new common neighbour, and this makes a copy of B, so we are done by the previous lemma. The same holds if 2' and 3 are 3^+-vertices. We may thus assume that 3 and 3' are 3^+-vertices, and that the 2-vertices 2 and 2' are saturated. As 3 and 3' are 3^+ vertices with 3-paths to 1, they are in fact 3-vertices. The non-saturated vertices of B are 0,3 and 3'. The third neighbours of 3 and 3' can neither be 0 or a common new vertex by girth, so are distinct new vertices a and a' respectively. Adding the edges from 3 and 3' to a and a' to our subgraph of G, the vertices 3 and 3' become saturated.
If a and a' are adjacent we have a copy of B_1, and they cannot have edges to 0 by girth. As all other vertices are saturated, they have respective neighbours b and b' not in B, which may be the same vertex. Adding these to our subgraph, the 2-vertices a and a' are saturated, as they have 3-paths to the 3-vertex 1 whose only unsaturated neighbour is 0, and they cannot have edges to 0, as it would contradict the girth.
If b has an edge to 0, then we have a B_1 with 5-cycles 0,4,3,a,b and 0,4,3',2',1, so we may assume that b has no edge to 0. Similarly we assume that b' has no edge to 0. As b and b' are distance 3 from 4, and the only unsaturated neighbour of 4 is 0, we get that b and b' are 2-vertices.
If b = b' or bb' is an edge we have a removable thread, so we may assume that b has new neighbour c. But c has a 3-path to the 3-vertex 3 all of whose neighbours are saturated. So c is also a 2-vertex and we have a removable thread.
Now, we have assumed that G has girth 5. Let C be a 5-cycle in G with vertices 0,1,2,3,4. By part (4) of Fact 3, there are at least three 3^+-vertices in C, so we may assume that 1 and 4 are 3^+-vertices. By girth, they have distinct neighbours, a and z respectively, that are not in C. Further, a and z are non-adjacent as an edge between them would make a B_2, which contradicts Claim ?.
By girth, neither of a or z have a second edge to C, and they both have 3-paths to 3-vertices in C, so they are both 2-vertices. They have new neighbours b and y respectively, not necessarily distinct.
As C has at least one more 3-vertex, we may assume that b has a 3-path to this vertex i. If b is a 3-vertex, then it must have an edge to a neighbour of i, other than 1 and 4. Whatever this edge is, would make a B_1 or a B_2, so we would be done by one of the claims. Thus b is a 2-vertex.
If b=y we have a removable thread, so let c be the new neighbour of b. As c has a 3-path to 1, if it is a 3-vertex then it has an edge to 0 or 2, making a B_1. So we may assume that c is a 2 vertex, and so we have a removable thread. Thus G is not critical, which is a contradiction.
The following hold for all \ensuremath{\mathbb{H}}_3-subgraph-free C_5-critical graphs G of girth at least 5.
Any 3^+-vertices at distance 2 in a C_5 are 3-vertices.
Any 3^+-vertices with a 3-path between them are 3-vertices at distance 2 in a C_5.
Any 5-cycle in G has at least three 3^+-vertices; some pair of them are adjacent.
Item (1) is straightforward from the fact that G has no induced \ensuremath{\mathbb{H}}_3 or C_4, and (2) comes from Fact 2 and item (1).
We show item (3). Any 5-cycle C in G is induced and has no 3^+-threads, so (by an easy version of the argument in the proof of Proposition 37) must contain two 3^+-vertices, call them 1 and 4, at distance 2 in C. By (1), these are, in fact, 3-vertices. Let a and b, be their respective neighbours not in C.
If there is no other 3^+-vertex in C not, then remove C, and C_5-colour G' = G \setminus C. The only edges from C to G' are the edges 1a and 4b, and whatever colours a and b get, we can extend this colouring to a C_5-colouring of G, contradicting the fact that G was C_5-critical. Thus C has at least three 3^+-vertices, as needed.
As subgraphs of an \ensuremath{\mathbb{H}}_3-subgraph-free graph G of girth 5, graph S_1 from Figure ?, and all even C_5-flowers, F_n for n \geq 4, are saturated and C_5-colourable. So they cannot be subgraphs of G if it is C_5-critical.
To see that S_1 is saturated, note that all 3-vertices have 3-paths to other 3-vertices, so are saturated. For all 2-vertices but the one in the middle of the right cycle, there is a 3-path to a 3-vertex not in a C_5 with it. Adding an edge to such a 2-vertex, the edge would then have to go to a neighbour of the 3-vertex, but checking each case, this would make a C_3 or C_4. The middle 2-vertex is not saturated, but one non-saturated vertex is okay.
In an even C_5-flower, the 3-vertices all have 3-paths to other 3-vertices, so are saturated. The 2-vertices all have 3-paths to the middle 3^+-vertex, so if they have another edge, it must be to one of its neighbours. If this neighbour is a new vertex, we have a C_4, and if it is a neighbour in F_n, then it is a 3-vertex, which is already saturated. So the 2-vertices are saturated. Only the middle vertex is not. But again, one unsaturated vertex is allowed.
If G is a C_5-critical \ensuremath{\mathbb{H}}_3-subgraph-free graph of girth 4 then it is E_3 from Figure ?.
Let G be a \ensuremath{\mathbb{H}}_{3}-subgraph-free C_5-critical graph of girth 4. We start with a pair of claims showing that G can contain no biclique other than a C_4.
G cannot contain a K_{3,3}.
Assume, towards contradiction, that G contains a K_{3,3} with partite sets \{x,y,z\} and \{1,2,3\}. As G, being critical, contains no clones, each vertex has at least one more neighbour, and so we get two adjacent 4^+-vertices in a C_4, which gives an \ensuremath{\mathbb{H}}_3 by Lemma 36.
G cannot contain a K_{2,3}.
Assuming that G contains a K_{2,3} let B = \{x,y\} \cup [n] be a maximum biclique in G, where [n] = \{1,2, \dots, n\} for some n \geq 3. Let X' and Y' be the sets of neighbours of x any y respectively that are not in B. These sets are disjoint by the choice of B, and non-empty or x or y would be redundant. To be non-redundant, each vertex i \in [n] must also have a neighbour i' that is not in B; this makes it a 3^+-vertex adjacent, in a C_4, to the 4^+-vertex x, so has degree exactly 3 by Lemma 36.
We have seen that all vertices in X' and Y' are distinct, the are distinct from vertices of [n]' as G has girth 4. So all vertices of B':= [n]' \cup X' \cup Y' have degree 1 to B.
All of the vertices in B' are 2-vertices of G.
All vertices of B' must have degree at least 2 as G is 2-connected. If x' \in X' has degree at least 3, then we get an \ensuremath{\mathbb{H}}_3 on \{z,z'\},x',x,1,y,\{2,3\} with its two new neighbours z and z'. So vertices of X' \cup Y' have degree exactly 2. The vertices in [n]' have degree at least 2, so we must show they are distinct and do not have degree 3 or more.
We continue the proof in two cases. First assume that n = 3. If the vertices in [3]' are all the same, then we have a K_{3,3} contradicting Claim Proof. If two are the same, say 2' = 3' is distinct from 1', then 2 and 3 are clones, so must each have another edge. This makes an \ensuremath{\mathbb{H}}_3 with central path 2,y,1,x. So the three vertices 1',2' and 3' are distinct. If 2', say, has degree 3, then it has an edge to 3 (or 1) by Lemma 43, and ignoring the vertex 3' we are back in the case that 2' = 3' is distinct from 1', and are done. So all of 1',2' and 3' have degree exactly 2.
We may therefore assume that n \geq 4. If 1' \in [n]' has degree 3, then by Lemma 43 it is adjacent to something in each of the C_4s in B that do not contain 1. It cannot be adjacent to x or y as this would make a C_3, and so it is adjacent to at least two of \{2, \dots, n\}. But then we have a K_{3,3}. We conclude, by symmetry, that everything in [n]' has degree exactly 2. If any two vertices in [n]' were the same, then they would be in a C_4, contradicting the fact that they have degree 2. Thus they, and so all vertices of B' have degree 2.
Now, as G, B and B' satisfy the setup of Lemma 44 we can get G by adding edges between vertices of B'. If we add x'y' the the graph remains C_5-colourable so we apply the Lemma to get an edge between vertices of [n]'–this makes a copy of E_3 as a proper subgraph of G, which contradicts the criticality of G. So x'y' is not an edge.
Adding any matching to B' that does not include the edge x'y' leaves a 2-colourable graph. Adding a maximal such matching leaves at most one vertex that has degree 1. Thus we have a C_5-colourable saturated subgraph of G, which is impossible by Fact 3.
With Claim ? proved, we are ready to finish our proof of the proposition. As G has girth 4 we may assume it contains a 4-cycle C on the vertices 0,1,2,3. Every vertex i of C has degree at least 3, so has at least one more neighbour i'. Let N_i be the set of neighbours of i in G \setminus C for vertex i of C. No two vertices of C share a common neighbour not in C or we would have a C_3 or a K_{2,3}, so the sets N_i are disjoint; and so there are no edges from N_i to j \in V(C) for i \neq j.
Notice the vertices of C are saturated in C \cup \bigcup N_i, as by definition of the N_i they can have no other neighbours in G.
If all vertices in N= \cup_{i \in V(C)} N_i have degree exactly 2, then G is E_3.
Assume they do. By Lemma 44 with B = V(C) and B' = N, we can get G by adding edges between vertices of B'. There can be no edge from N_i to N_{i+1} or its endpoints are in a C_4 contradicting the fact they have degree 2. So we may assume we have an edge from 1' \in N_1 to 3' \in N_3. The graph is still C_5-colourable, so there is another edge between vertices of B' in G. If it is between N_1 and N_3 then the path 1 \sim 1'' \sim 3'' \sim 3 that it makes is redundant with 1 \sim 1' \sim 3' \sim 3. If it is between N_2 and N_0 then G is E_3, and we are done.
We may therefore assume that 1' \in N_1 has degree at least 3. It must have an edge to some 3' in N_3 or we have an \ensuremath{\mathbb{H}}_3. For i = 1,3 let N'_i = N(i') \setminus (V(C) \cup N). So our graph looks like this.
Now, the following hold, reducing the figure to what you get by ignoring the dashed bits.
N_1 and N_3 are disjoint, as otherwise we would have a K_{2,3}. If there is some 1^* \in N_1\setminus \{1'\} and some 3^* \in N_3\setminus \{3'\}, then we have a \ensuremath{\mathbb{H}}_3 on \{2,1^* \},1',3',3, \{0,3^* \}. So we may assume that N_3 = \{3'\}.
If N_2 has two vertices, then we can find an \ensuremath{\mathbb{H}}_3 unless N_1 = \{1'\} and N'_1 and N'_3 are empty. But if all these conditions hold, then taking B = \{0,1,2,3,1',3'\} and B' = \{0',2'\} in Lemma 44 we get that 0',2' is an edge in G. But this makes a E_3. So we may assume that N_2 = \{2'\} and similarly that N_0 = \{0'\}.
By Lemma 43, if 2' were a 3^+ vertex, it would have an edge to 0 or 0', making a K_{2,3} or a copy of E_3 respectively. Thus 2', and similarly 0', is a 2-vertex.
So 0' and 2' are not in any C_4, so have no edges to \{1',3'\} \cup N_1^*, and so in particular, are not in N'_1 \cup N'_3, (meaning N'_1 \cup N'_3 has no edges to \{0,2\}).
No vertex in N_1 has degree greater than 3. Indeed, the only possible neighbours of a vertex v of N_1 are in N'_1 \cup N'_3 \cup \{3'\} or are vertices not shown in the figure. So using the two of them that are not 1 or 3' as leaves, we have an \ensuremath{\mathbb{H}}_3 with the vertices v, 1,2,3,\{0,3'\}. The same holds for 3'– it has degree at most 3.
A vertex 1'' in N'_1 can only have as neighbours 0',1' or 2', or vertices not shown in the figure. If 1'' has degree at least 3, then using the two neighbours that are not 1' as leaves, there is an \ensuremath{\mathbb{H}}_3 on 1',3',3,\{0,2\}. Thus vertices in N'_1 and N'_3 are 2-vertices.
If there are distinct 1^* \in N_1 \setminus \{1'\} and 3'' \in N'_3, then we have a \ensuremath{\mathbb{H}}_3 on the vertices \{1',3''\},3',3,2,1,\{0,1^*\}. So either N_3' = N_1 \setminus \{1'\} = \{1^{*}\}, or at least one of N_3' and N_1 \setminus \{1'\} are empty. Assume the former. This vertex 1^* has the same two neighbours as 1' does, so they must both have distinct third neighbours 1^{**} and 1'' respectively. These are 2-vertices by (6), and the vertices 1^* and 1' are 3-vertices by (5). Applying Lemma 44 with B = \{0,1,2,3,1',1^*,3'\} and B' = \{0',2'\} gives that 2',0' is an edge of G, but this is not true. Thus either N'_3 is empty, or N_1 = \{1'\}.
In either case we apply Lemma 44 with B = V(C) \cup \{3'\} \cup N_1 and B' = N'_1 \cup \{0'\} \cup N'_3 \cup \{2'\}. (By definition, all neighbours of elements of B are in B \cup B', so elements of B are saturated; elements of B' have been argued to be 2-vertices.) Edges from 0' to 2' give a proper subgraph E_3 which is impossible. Edges from N'_1 to N'_3, or from \{0',2'\} to N'_1 \cup N'_3 leave the graph C_5-colourable, so adding them until there is at most one unsaturated vertex left gives a saturated C_5-colourable subgraph, contradicting the criticality of G.
In an \ensuremath{\mathbb{H}}_{3}-subgraph-free C_5-critical graph G, every 3^+-vertex v has an edge to every C_4 in G. Moreover, v is in a P_2 or P_3 between non-adjacent vertices of the C_4.
Fix a 4-cycle C in G on the vertices 0,1,2,3. There can be no 3^+ vertex at distance exactly 3 from C as it would make an H_3 with the vertex in C closest to it.
There can be no 3^+-vertex at distance exactly 2 from C.
Assume that v is a 3^+ vertex at distance 2 from C. We may assume that there is a path v \sim 0' \sim 0 in G. As there is a 3-path from v to the 3^+-vertex 1, we have by Fact 2 that v an edge to, or shares a neighbour with, 1. By the assumption that v has distance 2 to C, it must share a neighbour with 1, and this must be a vertex not in C or we have a K_3. The same argument works to show that v shares neighbours not in C with 2 and 3. Thus G contains the following graph where all vertices are distinct except that 0' = 2' and/or 1' = 3'. (The graph has a \ensuremath{\mathbb{H}}_3 so we must make at least one of the identifications.)
Notice that the possibly identified vertices get the same colour under the essentially unique C_5-colouring of this graph, so whether we make one or both of these identifications, we get a C_5-colourable graph. Making one of the identifications, say 0' = 2', the vertices 0 and 2 become clones, so must each have a new edge to distinct vertices 0'' and 2''. These must be new vertices, or we make a C_3. We thus have an \ensuremath{\mathbb{H}}_3 on \{3,0''\},0,1,1',v,\{2',3'\}.
Making both identifications the vertices 0 and 2 are clones, as are the vertices 1 and 3. Arguing as above they each have new distinct neighbours, so we have a C_4 of 4^+-vertices, giving an \ensuremath{\mathbb{H}}_3.
Now, there are no 3^+-vertices at distance 2 or 3 from C. Assuming there are 3^+-vertices at distance greater than 3 from C, and let v be a closest such vertex to C. If v has distance 5 or more from C, then since the closest 3^+-vertex on its shortest path to C is at distance 1 from C, it contains a removable 3^+-thread. So v must have distance 4 from C. The vertex 1' at distance 1 from C on a shortest path to C must then be a 2-vertex, or we have a H_3– v and 1' would be 3^+ vertices at distance 3 and from the fact that v has distance 4 to C they cannot be adjacent or share a neighbour. So there is a removable 3-thread between v and C, a contradiction.
For the ’Moreover’ statement, assume that a 3^+-vertex v with an edge to C, has an edge to 0. As there is a 3-path to 2, then v and 2 are either adjacent or share a neighbour, and as G is C_3-free the shared neighbour would have to be a new vertex.
Let G be a C_5-critical graph. Let G' be a C_5-colourable subgraph on the vertex set B \cup B' where:
G'|_B is 2-connected and contains a C_4,
any b \in B is saturated in G', and
vertices in B' are 2-vertices of G that have degree 1 in G'.
We can build G from G' by adding edges between vertices of B'.
Assume the setup of the lemma. As G is C_5-critical it is 2-connected; as the subgraph B is 2-connected, Lemma 35 says that we can construct G from B by adding successive ears. Let P be a shortest ear of B in G; say it is between vertices u and v of B. As vertices in B are saturated, P must start and end with edges u,u' and v',v to 2-vertices u' and v' in B'. As vertices of B' have degree 1 in G', u' and v' are distinct. If there are any 3^+-vertices on P, then they must be adjacent to the C_4 in B; this contradicts the choice of P as the shortest ear. If there are any other 2-vertices in P, then we have a 3-thread, contradicting the criticality of G. So P is a 3-path through B'. Thus one gets P by adding an edge between vertices of B', as needed.
When we apply this lemma to a graph to extend it, it adds an edge between vertices of B'. If the graph remains C_5-colourable, then the resulting graph still satisfies the conditions of the lemma (with two vertices of B' moved into B), and we can apply it again. If the graph becomes non-C_5-colourable, then it is G.
Suppose G is star 3-colourable and contains a C_4 as a subgraph. Then only two vertices of this C_4 can have degree greater than 2, and if they exist they must be opposite vertices of the C_4. Moreover, in any star 3-colouring of G, the vertices in the C_4 of degree 2 must have the same colour.
Suppose we have a C_4 in which three vertices have degree greater than 2. Two of these must be adjacent in the C_4, let us call them u and v. If they both have private neighbours outside of the vertices of the C_4, then G contains \mathbb{A} as a subgraph, and is a no-instance. If they have a common neighbour outside of the vertices of the C_4, then G contains a graph built from C_4 and K_3 by identifying an edge of the former with an edge of the latter as a subgraph (which contains a C_5), and is a no-instance. If they both have their third neighbour in the vertices of the C_4, then the vertices of the C_4 induce a K_4 in G, and this is a no-instance. Finally, is the possibility that one has a new neighbour outside of the C_4, while the other has a new neighbour inside of the C_4. Then G contains as a subgraph a diamond with a pendant vertex attached to one of the vertices of degree 2, and is a no-instance.
The graphs {\mathbb A} and \overline{2 P_4 + 3 P_6} are not star 3-colourable.
By Lemma 48 we find that {\mathbb A} is not star 3-colourable.
We now prove that \overline{2 P_4 + 3 P_6} is not star 3-colourable. Assume otherwise. Let x_1 be the neighbour of u on one copy of P_4 and x_2 the neighbour of v on this path. Similarly, let y_1 be the neighbour of u on the second copy of P_4 and y_2 the neighbour of v. Label the internal vertices of the first copy of P_6 z_1 \dots z_4 where z_1 is the neighbour of u and z_4 is the neighbour of v. Let w_1 \dots w_4 be the internal vertices of the second copy of P_6 such that w_1 is adjacent to u and w_4 is adjacent to v.
First consider a proper star 3-colouring c in which u and v are coloured differently, say u is coloured 1 and v is coloured 2. It must be that either c(x_1)=2 or c(x_2)=1. Without loss of generality, c(x_1)=2. Then c(x_2)=3. Every remaining neighbour a of v then has colour 1, else we have a bichromatic P_4 with vertex set \{a,v,x_2, x_1 \}. To avoid a bichromatic P_4, c(y_1)=3. Each further neighbour b of u then has colour 2, else we have a bichromatic P_4 with vertex set \{b,u, y_1,y_2 \}. We now consider the first copy of P_6. Since c(z_1)=2, c(z_2)=3, else there is a bichromatic P_4 with vertex set \{x_1,u,z_1,z_2\}. However, c(z_3)=3, else we have a bichromatic P_4 with vertex set \{z_3, z_4, v, y_2\}. This leaves two adjacent vertices coloured 3, a contradiction.
Therefore, u and v must be coloured alike in any proper star 3-colouring c. Without loss of generality, they are both assigned colour 1. Without loss of generality, c(x_1)=2 and c(x_2)=3. Now consider the first copy of P_6. First assume that c(z_1)=2. Then, to avoid a bichromatic P_4 with vertex set \{z_2, z_1, u, x_1\}, c(z_2)=3. Now, to avoid a bichromatic P_4 along this path, at least one of z_3 and z_4 must be coloured 2. If c(z_3)=2 then c(z_4)=3 and we have a bichromatic P_4. Therefore, c(z_4)=2 and c(z_3)=1. Each remaining neighbour of v then has colour 3 to avoid a bichromatic P_4. Since c(w_4)=3, c(w_3)=2, else we have a bichromatic P_4. If c(w_2)=3, then c(w_1)=2 and we have a bichromatic P_4 on \{w_1,w_2,w_3,w_4\}. Thus, c(w_2)=1, whereupon c(w_1)=3 to avoid a bichromatic P_4 on \{x_1,u,w_1,w_2\}. The same arguments apply to the third copy of P_6 but now we have a bichromatic P_4 on 1313 with vertex set \{u, w_1, w_2 \} plus the first vertex on the third copy of P_6, a contradiction.
It remains to consider the case where c(z_1)=3. If c(z_2)=1 then c(z_3)=2 and c(z_4)=3. Additionally, every remaining neighbour c of u is coloured 2 to avoid a bichromatic P_4 with vertex set \{z_2, z_1, u, c \}. It must then be that c(w_1)=2, c(w_2)=3. In fact, this case is covered in the previous paragraph by an automorphism of \overline{2 P_4 + 3 P_6} that swaps u and v, as well as colours 2 and 3. Therefore c(z_2)=2. To avoid a bichromatic P_4 along this copy of P_6, c(z_3)=1. Now c(z_4)=2 since otherwise we have a bichromatic P_4 with vertex set \{z_3, z_4, v, x_2\}. However, this induces a bichromatic P_4 with vertex set \{z_2,z_3,z_4,v\}, a contradiction.
Let G be a bipartite connected (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ldots)-subgraph-free graph with more than two 3^+-vertices. If G is \mathbb{A}-free, then G is star 3-colourable.
We may assume without loss of generality that G is connected. Suppose G is \mathbb{A}-subgraph-free. Note that G cannot contain a K_3 since it is bipartite. By assumption, G has more than two 3^+-vertices. Let us choose three in a row u,v,w on a path in that order, so as to minimise the total distance from u to w. Note it is possible that there is a path from u to w that is shorter than the path from u to w via v.We are not aware of an example like this that is both omits all \ensuremath{\mathbb{H}}_{2i} as a subgraph and has such u,v,w minimally chosen.
Suppose u,v,w are consecutive. Then u and w must have another common neighbour to avoid an \ensuremath{\mathbb{H}}_2. Now we violate Lemma 48. Thus, u,v,w may not be consecutive.
Suppose now that u and w have two common neighbours p and q. By the minimality of the length of the path from u to v to w we may now assume that the subpaths from u to v and v to w have length at most 2, and so as u,v,w are not consecutive one of them has length 2. Without loss of generality, let us assume this is u to v . According to Lemma 48, both p and q have degree 2 and neither of these may have an edge to v, therefore v has a distinct neighbour z. Since there is a path of length 2 from u to v we have \ensuremath{\mathbb{H}}_2 as a subgraph and finish this case.
Suppose now that u and w have one common neighbour p and two distinct neighbours u' and w', respectively. Since u,v,w are not consecutive, there is an \ensuremath{\mathbb{H}}_2 using u,p,w as the central path.
Suppose now that u and w have neighbours u',u'' and w',w'', respectively, so that these vertices are pairwise distinct. If the total length of the path on u,v,w is even then we have some \ensuremath{\mathbb{H}}_{2i}. W.l.o.g., assume the path from u to v is even, whereupon the path from v to w must be odd. There must be an edge from v to one of u',u'' (w.l.o.g. u') to avoid an \ensuremath{\mathbb{H}}_{2i}. By minimality of the path u,v,w, the distance from u to v along the path we chose must be 2 with middle vertex s. According to Lemma 48, both s and u' have degree 2 in G. If u has degree greater than 3 there is an \ensuremath{\mathbb{H}}_2 with middle path u,s,v (note that there cannot be an edge from u to the neighbour d of v along the path to w, by our original minimal choice of the path along u,v,w). Suppose u'' has no neighbours outside of \{u,u',s,v\} (noting that there might be an edge from u'' to v). Then v is a cut vertex. Note that none of the paths emanating from w and not going through v can have vertices of degree greater than 2, unless they are part of a squash racket whose distinguished vertex is identified with w, as we would introduce an \ensuremath{\mathbb{H}}_{2i}. The case of the squash racket can be dealt with just like the case of an even cycle so we do not concern ourselves with it specially. Note however that there can be only one squash racket attached at w and if there is a squash racket there can be no additional even cycles or paths attached at w. If the edge u'' to v exists then there can be no new neighbours of u'' without introducing an \mathbb{A} as a subgraph. This places us in the case shown in Figure ?, and the figure shows a star 3-colouring in this case.
Suppose now that u'' has a neighbour outside \{u,u',s,v\} which we call t (noting that in this case there can be no edge from u'' to v since then there would be three consecutive 3^+ vertices). Let us continue expanding from t along some path away from u'' which we enumerate t=t_1,t_2,\ldots. Suppose no such path like this reaches w (or v) avoiding u. Note that such a path cannot now arrive at either v or s since we have uncovered all of their neighbours (if v had more neighbours then there would be an \ensuremath{\mathbb{H}}_2 with central path u,s,v). If one of the vertices t_j has degree greater than 2 then we have a \ensuremath{\mathbb{H}}_{2i} involving a central path either from t_j to v via u or from t_j to w via u. Thus we have nothing more than a path here which must terminate at some t_{k}. This case will be superseded by a more general case which will come later (see Figure ?).
Suppose we have a path t_1,t_2,\ldots that eventually joins the path between v and w exclusive of v and w. Then we contradict minimality of the path from u to w via v. Thus we have a path t_1,t_2,\ldots that eventually joins w. (Possibly it did so via, w.l.o.g., w''.) This path must be of odd length since otherwise it would produce an \ensuremath{\mathbb{H}}_{2i}. If any vertex on this path has degree greater than 2 then it induces some \ensuremath{\mathbb{H}}_{2i} on a path to either u or w. Except in the case that it is distance 2 from w, an odd distance from u, and shares two neighbours with w (and these are w’s only neighbours). This case is drawn in Figure ?. Therefore, there is nothing but this path, except that we did not isolate the degree of w. Indeed, w may have arbitrarily high degree. Any path emanating from w and not eventually reaching v (we have accounted for all such paths) may not have a vertex c of degree greater than 2, since otherwise this vertex would produce an \ensuremath{\mathbb{H}}_{2i} with middle path to either w or v. Except in the case that c is at distance 2 from w and shares two neighbours the two neighbours w' and w'' with w, in which case c may have a path emanating from it in the form of c=c_1, c_2, etc. This case, in which there is a squash racket with distinguished vertex identified with w, will be superseded by the next. Note however that there can be only one squash racket attached at w and if there is a squash racket there can be no additional even cycles or paths. It follows then that some path may leave w and terminate in a vertex of degree 1, or return to w producing a cycle of even length. We claim the graph G is a yes-instance of star 3-colouring. Let us refer to Figure ?.
Let G be a bipartite (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ldots)-subgraph-free graph with exactly two 3^+ vertices. If G is (\mathbb{A},\overline{2 P_4 + 3 P_6})-subgraph-free, then G is star 3-colourable.
We may assume without loss of generality assume that G is connected. Suppose G is (\mathbb{A},\overline{2 P_4 + 3 P_6})-subgraph-free. Let the two 3^+ vertices be u and v. There may be many paths from u to v. Suppose one of these paths is of even length. Then, as G is bipartite, they must all be of even length. There may further be even cycles attached to u and even cycles attached to v. In order to avoid \ensuremath{\mathbb{H}}_{2i}, the number of these paths between u and v must be bounded, in particular, there can be no more than one path of length greater than or equal to 4. See Figure ? for the 3-star colouring in this case.
Suppose, one of the paths between u and v is of odd length. Then they must all be of odd length. (There may further be even cycles attached to u and even cycles attached to v.) Suppose there are paths between u and v of length both 1 and 3. Now, u and v must have third neighbours u' and v', respectively, that are not involved in these paths (e.g., by bipartiteness). Since u'\neq v', again by bipartiteness, we have an \mathbb{A} as a subgraph and this is a no-instance.
Now we consider three cases. Firstly, that there is a path of length 1 and all other paths are of length at least 5 (see Figure ?). Secondly, that all paths are of length at least 3 and there are at most two paths of length 5 (see Figure ?). Thirdly, that all paths are of length at least 3 and there is at most one path of length 3 (see Figure ?).
Let G be a bipartite (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_6\ldots)-subgraph-free graph. If G contains (\mathbb{A} or \overline{2P_4 + 3P_6} as a subgraph, we apply Lemma 49. If G is (\mathbb{A},\overline{2P_4 + 3P_6})-subgraph-free, then we can use Lemma 50 or Lemma 51 (note that the case in which there is only one or no 3^+-vertex is covered a fortiori in the latter).
Let G be a connected graph (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_6\ldots)-subgraph-free graph with at least five 3^+-vertices. Then G contains either a graph from \{\mathbb{A},C_5\} as a subgraph or a C_4 with (at least) three 3^+ vertices.
We will essentially follow the proof of Lemma 50 to show that, if we assume there are three 3^+-vertices, we can never uncover more than one more, unless G contains some H_{2i} as a subgraph or contains \mathbb{A} as a subgraph or contains some C_4 with (at least) three 3^+ vertices. Of course, as we follow the proof of Lemma 50, we can no longer use bipartiteness. This means we have an important new case at the start (later on we only used it to assume that certain cycles were even).
Suppose there are three consecutive 3^+-vertices u,v,w in a clique (the “triangle”). Suppose any two of these have a common neighbour, then the graph is not star 3-colourable by Lemma 48. Thus, they have private neighbours u',v',w', respectively, that form with them the “net”. Since G is connected, there is a path from the net, w.l.o.g. through u', to another 3^+ vertex t. Choose such a t closest to the triangle in the net. If t has two neighbours outside of the net, then there is an H_{2i} as a subgraph with central path either t,\ldots,u (if distance from t to u even) or either of t,\ldots,u,v and t,\ldots,u,w (if distance from t to u odd). Thus, t has a neighbour in the net and we have discovered a path from u to (w.l.o.g.) v, avoiding w, with a 3^+ vertex at distance either 1 or 2 from v. Let us choose a minimal such path (not permitting v'=u' as we already ruled this our by assumption). This minimal path induces a cycle in G. If it is C_4 or C_5 we are in a no-instance (in both cases there is a – potentially non-induced – C_5). W.l.o.g., assume it is of length at least 6.
Suppose t is at distance 1 from v and we may w.l.o.g. assume it is v' itself. If v' has an edge to anywhere in the net, then we are in a no-instance (either we have a C_5 or diamond-with-pendant). Thus, some third neighbour v'' of v' is outside the net. Now there is an H_2 with central path v',v,u. Suppose t is at distance 2 from v. We have found two neighbours of t so let t' be a third neighbour, If t' is in the net then we are in a no-instance with a C_5; unless t'=v, in which case we were not in a minimal cycle (essentially v' could be t). Thus, t' is outside the net. Now there is an H_2 with central path t,v',v.
Now let us follow the proof as in the bipartite case (Lemma 50) but no longer using bipartiteness. Suppose u,v,w are consecutive. Then u and w must have another common neighbour to avoid an H_2. Now we violate Lemma 48. Thus, u,v,w may not be consecutive.
Suppose now that u and w have two common neighbours p and q. According to Lemma 48, both of these have degree 2 and neither of these may have an edge to v, therefore v has a distinct neighbour z. Suppose either u or v has degree greater than 3, w.l.o.g. u. Then there is an H_{2} with u,p,w forming the central path. Thus, u and w are of degree 3 and v is a cut vertex. If either of the paths from u to v or v to w is even then we have an H_{2i}. Thus we may assume both are odd. If z has degree greater than 2 then the paths from v to u and v to w must be even to avoid an H_{2i} with central path (e.g.) z,v,\ldots,u. But then there is an H_{2i} with central path v,\ldots,u. Thus, z has degree 1 or 2. Indeed, we may follow a path z=z_1, z_2 etc. and never find a vertex of degree greater than 2, unless it returns to v, as it would imply either an H_{2i} with central path z_j,\ldots,v (if j even) or (e.g.) z_j,\ldots,v,\ldots,u (if j is odd). Thus, either the path ends or it returns to v as a cycle. And there may be more than one such path or cycle. In this case, G has three 3^+-vertices.
Suppose now that u and w have one common neighbour p and two distinct neighbours u' and w', respectively. Since u,v,w are not consecutive, there is an H_2 using u,p,w as the central path.
Suppose now that u and w have neighbours u',u'' and w',w'', respectively, so that these vertices are pairwise distinct. If the total length of the path on u,v,w is even then we have some H_{2i}. W.l.o.g., assume the path from u to v is even, whereupon the path from v to w must be odd. There must be an edge from v to one of u',u'' (w.l.o.g. u') to avoid an H_{2i}. By minimality of the path u,v,w, the distance from u to v along the path we chose must be 2 with middle vertex s. According to Lemma 48, both s and u' have degree 2 in G. If u has degree greater than 3 there is an H_2 with middle path u,s,v (note that there cannot be an edge from u to the neighbour d of v along the path to w, by our original minimal choice of the path along u,v,w). Suppose u'' has no neighbours outside of \{u,u',s,v\} (noting that there might be an edge from u'' to v). Then v is a cut vertex. Note that none of the paths emanating from w and not going through v can have vertices of degree greater than 2, unless they are part of a squash racket whose distinguished vertex is identified with w, as we would introduce an H_{2i}. The squash racket case can be dealt with just like a cycle so we do not concern ourselves with it specially. Note however that there can be only one squash racket attached at w and if there is a squash racket there can be no additional cycles or paths. If the edge u'' to v exists then there can be no new neighbours of u'' without introducing an \mathbb{A} as a subgraph. In this case, G has three 3^+-vertices.
Suppose now that u'' has a neighbour outside \{u,u',s,v\} which we call t (noting that in this case there can be no edge from u'' to v since then there would be three consecutive 3^+-vertices). Let us continue expanding from t along some path away from u'' which we enumerate t=t_1,t_2,\ldots. Suppose no such path like this reaches w (or v) avoiding u. Note that such a path cannot now arrive at either v or s since we have uncovered all of their neighbours (if v had more neighbours then there would be an H_2 with central path u,s,v). If one of the vertices t_j has degree greater than 2 then we have a H_{2i} involving a central path either from t_j to v via u or from t_j to w via u. Thus we have nothing more than a path here which must terminate at some t_{k}. In this case, G has three 3^+-vertices.
Suppose we have a path t_1,t_2,\ldots that eventually joins the path between v and w exclusive of v and w. Then we contradict minimality of the path from u to w via v. Thus we have a path t_1,t_2,\ldots that eventually joins w. (Possibly it did so via, w.l.o.g., w''.) This path must be of odd length since otherwise it would produce an H_{2i}. If any vertex on this path has degree greater than 2 then it induces some H_{2i} on a path to either u or w. Except in the case that it is distance 2 from w, an odd distance from u, and shares two neighbours with w (and these are w’s only neighbours). In this case, G has four 3^+-vertices.
Therefore, there is nothing but this path, except that we did not isolate the degree of w. Indeed, w may have arbitrarily high degree. Any path emanating from w and not eventually reaching v (we have accounted for all such paths) may not have a vertex c of degree greater than 2, since otherwise this vertex would produce an H_{2i} with middle path to either w or v. Except in the case that c is at distance 2 from w and shares two neighbours the two neighbours w' and w'' with w, in which case c may have a path emanating from it in the form of c=c_1, c_2, etc. This case, in which there is a squash racket with distinguished vertex identified with w, will be superseded by the next. Note however that there can be only one squash racket attached at w and if there is a squash racket there can be no additional cycles or paths. It follows then that some path may leave w and terminate in a vertex of degree 1, or return to w producing a cycle. In this case, G has three 3^+-vertices.
For every d\geq 1, a graph from {\cal G}_d is star 3-colourable if and only if it is {\cal F}'-subgraph-free for some finite set of graphs {\cal F}'.
Let us give the proof for d=2 where we consider a connected graph G from {\cal G}_2 that has exactly two 3^+-vertices before we make the obvious generalisation. Let u and v be the 3^+-vertices of G. Let P_x be the set of paths from x \in \{u,v\} that terminate with a vertex of degree 1. Let C_x be the set of paths from x \in \{u,v\} that return to x making a cycle. Let P_{u,v} be the set of paths from u to v. These account for all vertices of G. Recall that star colouring has the property that it can see up to distance 3 from a certain vertex in terms of the effect of colours. Consider the paths in P_{u,v} that are of length \geq 3+4+3=10. In any star 3-colouring of a path of length \geq 10, the middle four vertices must contain a consecutive run of three distinct colours. It follows that a path of length 10 covers all longer paths of length 1 \bmod 3. Then, paths of length 11 and 12 cover all longer paths of length 2 and 0 \bmod 3, respectively. Thus, we may w.l.o.g. consider that the paths in P_{u,v} are of length at most 12. Now, suppose there are more than N=3^6 of some particular length m of path. Then in any star 3-colouring of these, some sequence of three colours at the beginning and at the end must appear more than once. Since it appears more than once it could be repeated if there were additional paths of length m over and above the N without violating the condition of star 3-colouring. In this fashion, we may assume that there are at most 3^6 copies of a path of any length. But now we reduced our graph to one of bounded size \leq 5 \cdot 12 \cdot 12 \cdot 3^6 (this is: #sets, #path-lengths, #vertices, #end-types, respectively) and we can check using brute force whether it is star 3-colourable. If it is not star 3-colourable then may add it to our list of forbidden subgraphs.
Now, when d is larger, we consider P_x, C_x, P_{x,y} for all vertices x and y giving a quadratic number in d of sets to consider. The same bound on the length of paths applies as in the case d=2. The argument again reduces any graph to a graph of size at most f(d) for some function f which is O(d^2) and the result follows as in the case d=2.
Let G be a (\ensuremath{\mathbb{H}}_2,\ensuremath{\mathbb{H}}_4,\ensuremath{\mathbb{H}}_6\ldots)-subgraph-free graph. We may assume without loss of generality that G is connected. First suppose G has at least five 3^+-vertices. Then, by Lemma 52, we find that G contains a subgraph isomorphic to \mathbb{A} or C_5, or G contains a C_4 with at least three 3^+ vertices. Recall from Lemma 49 that {\mathbb A} is not star 3-colourable. It is readily seen that C_5 is not star 3-colourable. By Lemma 48, any graph that contains a C_4 with at least three 3^+ vertices is not star 3-colourable either. If G has fewer than five 3^+-vertices, then we apply Lemma 53.
Acyclic 3-Colouring is NP-complete for planar bipartite graphs in which one partition class has size 2.
Let G and G' be the graphs as defined in the proof of Theorem 31. We claim that G has a 3-colouring if and only if G' has an acyclic 3-colouring. First suppose G has a 3-colouring. From the proof of Theorem 31 we find that G' has a star 3-colouring, which is an acyclic 3-colouring by definition. Now suppose G' has an acyclic 3-colouring c. Then no two adjacent vertices u and v in G can be coloured alike by c. Hence, the restriction of c to G is a 3-colouring.
Acyclic 3-Colouring is polynomial-time solvable for (\ensuremath{\mathbb{H}}_{\ell},\ensuremath{\mathbb{H}}_{\ell+1},\ldots)-subgraph-free graphs (\ell\geq 1) and (\ensuremath{\mathbb{H}}_i,\ensuremath{\mathbb{H}}_{2i},\ensuremath{\mathbb{H}}_{3i},\ldots)-subgraph-free graphs (i\geq 1), but NP-complete for (\ensuremath{\mathbb{H}}_1,\ensuremath{\mathbb{H}}_3,\ensuremath{\mathbb{H}}_5\ldots)-subgraph-free graphs.
The text on this page is from arXiv:2211.14214v5 by Vadim Lozin, Barnaby Martin, Sukanya Pandey, Daniel Paulusma, Mark Siggers, Siani Smith and Erik Jan van Leeuwen, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.
The record of each item is in analysis/objects/2211/2211.14214.jsonl.