Nonrepetitive Graph Colouring
Abstract
A vertex colouring of a graph is nonrepetitive if contains no path for which the first half of the path is assigned the same sequence of colours as the second half. Thue’s famous theorem says that every path is nonrepetitively 3-colourable. This paper surveys results about nonrepetitive colourings of graphs. The goal is to give a unified and comprehensive presentation of the major results and proof methods, as well as to highlight numerous open problems.
1 Introduction
In 1906, Thue [138] constructed arbitrarily long words on an alphabet of three symbols with no repeated consecutive blocks; that is, there are no integers such that . Such a word is called square-free. Thue’s Theorem is a foundational result in the combinatorics of words (see the surveys [21, 20, 22, 39, 103, 104, 36, 19]) and has also found applications in semi-group theory [30], dynamics [109, 125], and most famously in the solution of the Burnside problem for groups by Novikov and Adjan [115, 116, 117].
In 2002, Alon et al. [8] introduced a graph-theoretic generalisation of square-free words. They defined a vertex colouring of a graph to be nonrepetitive if there is no path for which the first half of the path is assigned the same sequence of colours as the second half. Thue’s Theorem says that every path is nonrepetitively 3-colourable. Nonrepetitive graph colouring is interesting for several reasons:
-
•
It is a natural marriage of two major areas of combinatorial mathematics, combinatorics of words and graph colouring.
-
•
Several advanced techniques have been used to obtain results in nonrepetitive graph colouring, such as the Lovász Local Lemma, entropy compression, layered treewidth, and product structure theorems. Indeed, in some cases, nonrepetitive graph colouring has motivated the development of these general-purpose tools that have then been applied to other areas.
-
•
Nonrepetitive graph colouring is one of the most illustrative examples of the use of the Lovász Local Lemma, since it requires the Lovász Local Lemma in its full generality. I recommend teaching Proposition 3.13 in any course on the probabilistic method.
-
•
Nonrepetitive graph colouring turns out to be a central concept in graph sparsity. Indeed, graph classes with bounded expansion can be characterised in terms of nonrepetitive colorings (see Theorem 7.4).
-
•
One of the most important recent developments in algorithmic graph theory has been the constructive proof of the Lovász Local Lemma due to Moser and Tardos [110]. This lead to what Terry Tao dubbed the ‘entropy compression’ method. Nonrepetitive graph colouring was one of the first applications of this method that showed that entropy compression can give better results than those obtained using the Lovász Local Lemma [48, 76].
-
•
Several recent papers have presented generalised Moser–Tardos frameworks improving the original work in various ways [1, 82, 80, 83, 85]. Nonrepetitive graph colouring has been a key test case here. One reason for this is that when modelling nonrepetitive colouring using the Lovász Local Lemma the number of bad events (one for each even path) grows exponentially with the size of the graph, which is an obstacle for polynomial-time algorithms.
This paper surveys results about nonrepetitive colourings of graphs. The goal is to give a unified and comprehensive presentation of the major results and proof methods from the literature, to highlight numerous open problems, and to present a couple of original theorems. For previous surveys, see [6, 70, 72, 33, 69, 134].
1.1 Path-Nonrepetitive Colourings
We consider finite undirected graphs with no loops or parallel edges. A colouring of a graph is a function that assigns a ‘colour’ to each vertex of . A colouring of is a -colouring if . A colouring of is proper if for each edge . The chromatic number is the minimum integer for which there exists a proper -colouring of . If is a colouring of , then a sequence of vertices in is -repetitive if for each . A -repetitive sequence is also said to be repetitively coloured by . A walk in a graph is a sequence of vertices in such that for each . A path in a graph is a walk in such that for all distinct .
A colouring of a graph is path-nonrepetitive, or simply nonrepetitive, if no path of is -repetitive. The (path-)nonrepetitive chromatic number is the minimum integer such that admits a nonrepetitive -colouring. Note that is also called the Thue chromatic number or square-free chromatic number of . Thue’s theorem mentioned above says that paths are nonrepetitively 3-colourable. Every path-nonrepetitive colouring is proper, as otherwise like-coloured adjacent vertices would form a repetitively coloured path on 2 vertices. Moreover, every nonrepetitive colouring has no -coloured (a path on four vertices). A proper colouring with no -coloured is called a star colouring since each bichromatic subgraph is a star forest; see [3, 68, 61, 26, 146, 111]. The star chromatic number is the minimum number of colours in a proper colouring of with no -coloured . Thus
(1) |
Starting with the seminal work of Alon et al. [8], nonrepetitive colourings of graphs have now been widely studied, including for the following graph classes: cycles [38], trees [28, 99, 62], outerplanar graphs [99, 15], graphs with bounded treewidth [99, 15], graphs with bounded degree [8, 70, 81, 48, 83, 130], graphs excluding a fixed immersion [145], planar graphs [86, 123, 124, 14, 131, 88, 88, 27, 47, 46], graphs embeddable on a fixed surface [46, 52], graphs excluding a fixed minor [46, 52], graphs excluding a fixed topological minor [46, 52], and graph subdivisions [70, 17, 106, 121, 113, 77, 48]. Table 1 summarises many of these results.
1.2 Walk-Nonrepetitive Colourings
While path-nonrepetitive colourings are the focus of this survey, we also present results about colourings of graphs that are nonrepetitive on walks, previously studied in [16, 17, 13]. A walk in a graph is boring if for each . Every colouring of a boring walk is repetitive. So Barát and Wood [17] defined a colouring to be walk-nonrepetitive if every repetitively coloured walk is boring. For a graph , the walk-nonrepetitive chromatic number is the minimum number of colours in a walk-nonrepetitive colouring of . Bounds on for various classes are presented in Table 1.
1.3 Stroll-Nonrepetitive Colourings
The following notion sits between paths and walks, and is important for many proofs that follow. A stroll in a graph is a walk such that for each . A colouring of is stroll-nonrepetitive if no stroll is repetitively coloured. For a graph , the stroll-nonrepetitive chromatic number is the minimum number of colours in a stroll-nonrepetitive colouring of . Every walk-nonrepetitive colouring is stroll-nonrepetitive and every stroll-nonrepetitive colouring is path-nonrepetitive. Thus every graph satisfies
At first glance the definition of stroll-nonreptitive may seem arbitrary. However, stroll-nonreptitive colourings play a central role. First, they appear in the characterisation of walk-nonrepetitive colourings (Lemma 2.6). Second, several results for path-nonrepetitive colourings can be strengthened for stroll-nonrepetitive colourings, and this strengthening is sometimes needed in the proof. This includes the breakthrough result for planar graphs (Theorem 5.1 using Lemma 2.16). Despite the importance of stroll-nonreptitive colourings, the following fundamental questions remain unsolved.
Open Problem 1.1.
Is there a function such that for every graph ? It is possible that for every graph .
1.4 List Colourings
Some results about nonrepetitive colouring hold in the stronger setting of list colourings, which we now introduce. Let be a graph. A list-assignment of is a function that assigns each vertex of a set , whose elements are called colours. If for each vertex of , then is a -list-assignment. An -colouring of is a function such that for each vertex of . The list chromatic number (also called choosability of ) is the minimum integer such that has a proper -colouring for every -list-assignment of . List chromatic number is widely studied in the literature. These notions naturally extend to nonrepetitive colourings. The (path-)nonrepetitive list chromatic number is the minimum integer such that has a nonrepetitive -colouring for every -list-assignment of .
1.5 Structure
This survey is structured as follows. Section 2 presents definitions and tools that will be used for the main results that follow. Section 3 contains results about nonrepetitive colourings of graphs with bounded degree. Most of the material here is based on the Lovász Local Lemma and related methods. Section 4 begins our study of nonrepetitive colourings of structured graph classes by looking at trees and graphs of bounded treewidth. This study continues in Section 5, where we consider planar graphs and other minor-closed classes. Section 6 considers nonrepetitive colourings of graph subdivisions. This material is important for Section 7 which looks at connections between nonrpetitive colourings and graph expansion.
This survey aims to present most of the main results about nonrepetitive graph colouring. Nevertheless, several relevant areas have been omitted, including game-theoretic generalisations [75, 73, 119, 78], anagram-free colouring [41, 143, 89, 144, 31, 32, 122, 90], geometric variants [74, 141, 57], -power-free colourings [97, 7], the Thue sequence of a graph [93], and computational complexity issues [106, 105] (testing whether a given colouring of a graph is nonrepetitive is co-NP-complete, even for 4-colourings [106]).
2 Tools
2.1 Definitions
We use standard graph-theoretic terminology and notation [43].
Let be the distance between vertices and in a graph . For a vertex in a graph and , let be the set of vertices of at distance exactly from , and let be the set of vertices at distance at most from . The set is called an -ball.
The cartesian product of graphs and , denoted by , is the graph with vertex set , where distinct vertices are adjacent if: and ; or and . The direct product of and , denoted by , is the graph with vertex set , where distinct vertices are adjacent if and . The strong product of and , denoted by , is the union of and . If is a subgraph of some product , then the projection of into is the set of vertices such that for some .
A subdivision of a graph is a graph obtained from by replacing each edge of by a path with endpoints and , where the are pairwise internally disjoint. If each path has exactly internal vertices, then is the -subdivision of , denoted by . If each path has at least internal vertices, then is a -subdivision. If each path has at most internal vertices, then is a -subdivision.
A graph is a minor of a graph if a graph isomorphic to can be obtained from a subgraph of by contracting edges. A graph class is minor-closed if for every graph , every minor of is in . A graph is a topological minor of if some subgraph of is isomorphic to a subdivision of .
A graph parameter is a function such that is a non-negative real number for every graph , and for all isomorphic graphs and . Examples include the chromatic number , the nonrepetitive chromatic number , etc. If and are graph parameters, then is bounded by if for some function , we have for every graph . Parameters and are tied if is bounded by and is bounded by .
2.2 Naive Upper Bound
Consider the following naive upper bound, where is the size of the largest independent set in .
Lemma 2.1.
For every graph ,
For every complete multipartite graph ,
Proof.
Let be an independent set in with . Assign each vertex in a unique colour. Assign the vertices in one further colour. Suppose that there is a repetitively coloured stroll in . Since is an independent set, some vertex is in . Without loss of generality, . Since is assigned the same colour as and is the only vertex assigned its colour, . Thus is not a stroll, and is stroll-nonrepetitively coloured. Thus .
Now consider a complete multipartite graph with colour classes with . Consider a star colouring of . Distinct sets and are assigned disjoint sets of colours. Say is rainbow if is assigned colours. If distinct sets and are both not rainbow, then two vertices in are assigned the same colour, and two vertices in are assigned the same colour, implying there is monochromatic 4-vertex path. Thus at least of are rainbow. The remaining set is assigned at least one colour. Thus for some , the total number of colours is at least . Thus . ∎
2.3 Extremal Questions
This section studies the maximum number of edges in a nonrepetitively coloured graph. Barát and Wood [17] determined the answer precisely for path-nonrepetitive colouring.
Proposition 2.2 ([17]).
For all integer the maximum number of edges in an -vertex graph with equals .
Proof.
Say is an -vertex graph with . Fix a path-nonrepetitive -colouring of . Say there are vertices in the -th colour class. Every cycle receives at least three colours. Thus the subgraph induced by the vertices coloured and is a forest, and has at most edges. Hence the number of edges in is at most
This bound is attained by the graph consisting of a complete graph completely joined to an independent set of vertices, which obviously has a path-nonrepetitive -colouring. ∎
The same answer applies for stroll-nonrepetitive colourings.
Proposition 2.3.
For all integer the maximum number of edges in an -vertex graph with equals .
Proof.
If then , implying by Proposition 2.2. This bound is tight since the example given in the proof of Proposition 2.2 obviously has a stroll-nonrepetitive -colouring. ∎
Now consider the maximum number of edges in a walk-nonrepetitive coloured graph. First note that the example in the proof of Proposition 2.2 is walk-repetitive. Since and , we have the trivial upper bound,
This bound is tight for (matchings) and (cycles), but is not known to be tight for .
We have the following lower bound.
Proposition 2.4 ([17]).
For all , there are infinitely many graphs with and
Proof.
Let . By Lemmas 2.18 and 3.3, . Note that . As a lower bound, . Thus . ∎
Open Problem 2.5.
What is the maximum number of edges in an -vertex graph with ?
2.4 Walk-nonrepetitive Colourings
The following result (implicit in [17] and explicit in [13]) characterises walk-nonrepetitive colourings. It provides our first example of the value of considering stroll-nonrepetitive colourings. Let be the square graph of . That is, , and if and only if the distance between and in is at most . A proper colouring of is called a distance- colouring of .
Lemma 2.6 ([17]).
A colouring of a graph is walk-nonrepetitive if and only if it is stroll-nonrepetitive and distance-2.
Proof.
It follows from the definition that every walk-nonrepetitive colouring is stroll-nonrepetitive. Consider a walk-nonrepetitive colouring of a graph . Adjacent vertices and receive distinct colours, as otherwise would be a repetitively coloured path. If is a path, and and receive the same colour, then the non-boring walk is repetitively coloured. Thus vertices at distance at most receive distinct colours.
Now we prove the converse. Let be a stroll-nonrepetitive distance-2 colouring of . Suppose for the sake of contradiction that contains a non-boring repetitively coloured walk . Since is stroll-nonrepetitive, for some . Since is not boring, for some . Choose such and to minimise . Then . Thus and . Hence and are assigned distinct colours, and is not repetitively coloured. This contradiction shows that contains no non-boring repetitively coloured walk. That is, is walk-nonrepetitive. ∎
Lemma 2.6 implies the following bounds on .
Corollary 2.7.
For every graph ,
Proof.
The lower bounds on follow directly from Lemma 2.6 and since has a clique on vertices. The upper bound is proved by considering the product of a stroll-nonrepetitive colouring and a distance-2 colouring. The final upper bound follows since . ∎
A graph is -degenerate if every subgraph of has minimum degree at most . A greedy algorithm shows that every -degenerate graph is -colourable. For a -degenerate graph with maximum degree , the square is -degenerate and -colourable. Thus Corollary 2.7 implies:
Corollary 2.8.
For every -degenerate graph ,
It is not obvious that there is a finite algorithm to test if a given colouring of a graph is walk-nonrepetitive. However, the following lemma by Barát and Wood [17] implies that to test if a colouring of an -vertex graph is walk-nonrepetitive, one need only test whether walks of length at most are nonrepetitive. A similar result for edge-colourings was previously proved by Barát and Varjú [16].
Proposition 2.9 ([17]).
Suppose that in some coloured graph, there is a repetitively coloured non-boring walk. Then there is a repetitively coloured non-boring walk of order and length at most .
Proof.
Let be the minimum order of a repetitively coloured non-boring walk. Let be a repetitively coloured non-boring walk of order and with minimum. If , then we are done. Now assume that . By the pigeonhole principle, there is a vertex that appears at least times in . Thus there is a vertex that appears at least twice in the set . As illustrated in Figure 1, for some walks with , , and . Consider the walk . If is not boring, then it is a repetitively coloured non-boring walk of order at most and length less than , which contradicts the minimality of . Otherwise is boring, implying , , and . Thus since is not boring, implying is a repetitively coloured non-boring walk of order at most and length less than , which contradicts the minimality of . ∎

2.5 Lazy Considerations
Many results that follow depend on the following definitions and lemmas. Two vertices in a graph are said to touch if they are adjacent or equal. The following definition is commonly used in the theory of random walks. A lazy walk in a graph is a sequence of vertices in such that and touch for each . Equivalently, a lazy walk in is a walk in the pseudograph obtained from by adding a loop at each vertex. Lazy walks were introduced in the context of nonrepetitive colourings by Dujmović et al. [46], although the idea was implcit in a lemma of Kündgen and Pelsmajer [99] about walk-nonrepetitive colourings of paths.
Lemma 2.10.
Every walk-nonrepetitive colouring is nonrepetitive on non-boring lazy walks.
Proof.
Let be a walk-nonrepetitive colouring of a graph . Suppose that contains a repetitively coloured non-boring lazy walk. Choose such a walk with minimum length . Since no non-lazy non-boring walk is repetitively coloured, by symmetry, for some .
First suppose that . Let be the walk . Then is a repetitively coloured lazy walk of length . If is not boring, then contradicts the choice of . So is boring. In particular, and . Since is not boring, . Thus is a non-boring repetitively coloured walk, which is a contradiction.
Now assume that . Since is repetitively coloured, and , implying since . If then is a repetitively coloured non-boring non-lazy walk, which is a contradiction. So . Let be the walk . Then is a repetitively coloured lazy walk of length . If is boring, then , implying that is boring as well. Thus is not boring. Hence contradicts the choice of . ∎
The following similar definition was implicitly introduced in the context of nonrepetitive colourings by Dujmović et al. [46]111Dujmović et al. [46] defined a colouring of a graph to be strongly nonrepetitive if for every repetitively coloured lazy walk in , we have for some . This is equivalent to saying that every lazy stroll is nonrepetitively coloured. They defined to be the minimum number of colours in a strongly nonrepetitive colouring of a graph . By Lemma 2.11, .. A lazy stroll in a graph is a lazy walk in such that for each .
Lemma 2.11.
Every stroll-nonrepetitive colouring of a graph is nonrepetitive on lazy strolls.
Proof.
Suppose that there is a repetitively coloured lazy stroll in . Choose such a stroll with minimum length . Since no (non-lazy) stroll is repetitively coloured, without loss of generality, for some .
First suppose that . Then is a repetitively coloured lazy stroll of length , which contradicts the choice of .
Now assume that . Since is repetitively coloured, and , implying since . If then is a repetitively coloured (non-lazy) stroll, which is a contradiction. So . Then is a repetitively coloured lazy stroll of length , which contradicts the choice of . ∎
Finally, we have a similar definition and lemma for lazy paths. A lazy path in a graph is a lazy walk such that if and then , and . The last condition says that at least two distinct vertices occur in a lazy path, which is essential for the next lemma to hold.
Lemma 2.12.
Every path-nonrepetitive colouring of a graph is nonrepetitive on lazy paths.
Proof.
Suppose that there is a repetitively coloured lazy path in . Choose such a lazy path with the minimum number of vertices. Since no (non-lazy) path is repetitively coloured, without loss of generality, for some .
First suppose that . Let . We claim that is a lazy path. This is the case unless , so assume that . Since is a lazy path, and . Since and , we have . Thus is a repetitively coloured (non-lazy) path, which is a contradiction. Thus is a lazy path with vertices, which contradicts the choice of .
Now assume that . Since is repetitively coloured, and , implying since . If then is a repetitively coloured (non-lazy) path, which is a contradiction. So . Let . We claim that is a lazy path. This is the case unless , so assume that . Since is a lazy path, and . Since and , we have . Thus is a repetitively coloured (non-lazy) path, which is a contradiction. Thus is a lazy path with vertices, which contradicts the choice of . ∎
2.6 Shadow-Complete Layerings
This section presents results about shadow-complete layerings. This tool was first introduced in the context of nonrepetitive colourings by Kündgen and Pelsmajer [99]. It will be used to obtain results for trees (Section 4.1), graphs of bounded treewidth (Section 4.2), and graphs excluding a fixed minor or topological minor (Section 5.3).
A layering of a graph is a partition of such that for every edge , if and , then . Vertices in are said to be at depth . For example, if is a vertex in a connected graph and is the set of vertices at distance exactly from in for all , then layering is a layering of , called a BFS layering of .
Consider a layering of a graph . Let be a connected component of , for some . The shadow of is the set of vertices in adjacent to some vertex in . The layering is shadow-complete if every shadow is a clique. This concept was introduced by Kündgen and Pelsmajer [99], who showed the utility of shadow-complete layerings for nonrepetitive colourings by the next lemma.
Lemma 2.13 ([99]).
If a graph has a shadow-complete layering , then
Proof.
Let . Let be a nonrepetitive -colouring of for each . By Lemma 3.3 there is a walk-nonrepetitive 4-colouring of the path . Colour each vertex in by the pair . Suppose for the sake of contradiction that contains a repetitively coloured path . Let be the minimum depth of a vertex in . Let be the sequence of vertices obtained from by removing all vertices at depth greater than . The projection of on is an -repetitive lazy walk in , and is thus boring by Lemma 2.10. Thus the vertices and of have the same depth for every . In particular, is in if and only if is. Hence, there are indices such that . For each pair of consecutive vertices and in , the vertices strictly between and in are in a single connected component of the graph induced by the vertices of depth greater than . By shadow-completeness, and are adjacent. Hence is a path in . Since is -repetitive, for each we have , implying . Hence is a -repetitively coloured path in , which is the desired contradiction. ∎
Dujmović et al. [46] implicitly proved an analogous result for .
Lemma 2.14 ([46]).
If a graph has a shadow-complete layering , then
Proof.
Let . Let be a nonrepetitive -colouring of . By Lemma 3.3 there is a walk-nonrepetitive 4-colouring of the path . Colour each vertex in by the pair .
We now prove that is path-nonrepetitive. Let be a -repetitive walk . Our goal is to prove that for some . Let be the minimum depth of a vertex in . Let be the sequence of vertices obtained from by removing all vertices at depth greater than . We claim that is a lazy walk. To see this, consider vertices of such that and have depth but all have depth greater than ; thus, were removed when constructing . Then, the vertices lie in a connected component of the graph induced by the vertices at depth greater than . Since the layering is shadow-complete, and are adjacent or equal. This shows that is a lazy walk in .
The projection of into is an -repetitive lazy walk in , and is thus boring by Lemma 2.10. Thus the vertices and of have the same depth for every . In particular, was removed from if and only if was. Hence, there are indices such that . Since is -repetitive, it follows that is also -repetitive and in particular is -repetitive. Hence there is an index such that , which completes the proof. ∎
Barát and Wood [17] proved an analogous result for , which we refine as follows.
Lemma 2.15.
Let be a graph that has a shadow-complete layering . Assume that has a -colouring in which is stroll-nonrepetitively coloured for each , and distinct vertices of are assigned distinct colours whenever for some and for some vertex . Then
Proof.
By Lemma 3.3 there is a walk-nonrepetitive 4-colouring of the path . Colour each vertex in by the pair . We claim that is a walk-nonrepetitive colouring of .
Suppose on the contrary that is a -repetitive non-boring walk in . The projection of to is a lazy walk, which is repetitively coloured by , and is therefore boring by Lemma 2.10. Thus, for the vertices and are in the same layer.
Let be the minimum layer containing a vertex in . Let be the sequence of vertices obtained from by deleting all vertices not in . Since if and only if , the sequence is repetitively coloured. Let and be consecutive vertices in with . Then there is walk from to with all its internal vertices in (since was chosen minimum), implying or is an edge of (since the layering is shadow-complete). Thus forms a repetitively coloured lazy walk in . Since is stroll-repetitively coloured by , by Lemma 2.11, some vertex is in . Since is not boring, for some . Choose such and to minimise . Thus . Hence or . Moreover, and have a common neighbour . By assumption, , which contradicts the assumption that is repetitively coloured. ∎
2.7 Strong Products
Nonrepetitive colourings of graph products have been studied in [99, 91, 17, 120, 46, 29]. Here we focus on strong products because doing so has applications to numerous graph classes, such as planar graphs (Section 5.1) and graphs excluding a minor (Section 5.3).
Lemma 2.16 ([46]).
For all graphs and ,
Proof.
Let be a stroll-nonrepetitive colouring of with colours. Let be a walk-nonrepetitive colouring of with colours. By Lemma 2.10, is nonrepetitive on non-boring lazy walks in . For any two vertices and , colour vertex of by . We claim that is a stroll-nonrepetitive colouring of . To see this, consider a -repetitive lazy walk in . By the definition of the strong product and the definition of , the projection of into is an -repetitive lazy walk in and the projection of into is a -repetitive lazy walk in . Since is stroll-nonrepetitive, by Lemma 2.11, for some . Since is nonrepetitive on non-boring lazy walks, for every . In particular, and . This shows that is a stroll-nonrepetitive colouring with at most colours. ∎
Several notes about Lemma 2.16 are in order:
-
•
There is no known upper bound on that avoids stroll-nonrepetitive colouring. This is an important reason for considering strolls.
-
•
is not bounded by any function of or . For example, if then , but contains the complete bipartite graph , and thus by Lemma 2.1.
-
•
As pointed out by Kevin Hendrey [personal communication, 2020], dependence on and is unavoidable in Lemma 2.16. Since the complete bipartite graph is a subgraph of , Lemma 2.1 implies:
In particular, and , implying (by Corollary 2.7) and .
Since , Lemma 2.16 implies:
Corollary 2.17 ([46]).
For every graph and integer ,
Barát and Varjú [15] proved an analogous result for walk-nonrepetitive colourings of strong products.
Lemma 2.18 ([15]).
For all graphs and ,
Proof.
Let be a walk-nonrepetitive colouring of with colours. Let be a walk-nonrepetitive colouring of with colours. By Lemma 2.10, is nonrepetitive on non-boring lazy walks in , and is nonrepetitive on non-boring lazy walks in . For any two vertices and , colour vertex of by . We claim that is a walk-nonrepetitive colouring of . To see this, consider a -repetitive walk in . By the definition of the strong product and the definition of , the projection of into is an -repetitive lazy walk in and the projection of in is a -repetitive lazy walk in . Since is nonrepetitive on non-boring lazy walks, for all . Similarly, since is nonrepetitive on non-boring lazy walks, for all . Thus for all , implying is boring. Therefore is a walk-nonrepetitive colouring of with at most colours. Hence . ∎
The above results about strong products are applied for several graph classes in Section 5. Here we give one more application. A graph class has polynomial growth if for some constant , for every graph , for each every -ball in has at most vertices. For example, every -ball in an grid graph is contained in a subgrid, which has size ; therefore the class of grid graphs has polynomial growth. More generally, let be the strong product of infinite two-way paths. That is, where distinct vertices and are adjacent in if and only if for each . Then every -ball in has size at most . Krauthgamer and Lee [98] characterised the graph classes with polynomial growth as the subgraphs of ; see [56] for an alternative characterisation.
Theorem 2.19 ([98]).
Let be a graph such that for some constant and for every integer , every -ball in has at most vertices. Then .
Theorems 2.19, 2.16 and 2.18 imply:
Theorem 2.20.
Let be a graph such that for some and for every integer , every -ball in has at most vertices. Then
Our focus has been on strong products. The other two main graph products are also of interest.
Open Problem 2.21.
What can be said about and ? This is related to Open Problem 3.28 since .
3 Bounded Degree Graphs
3.1 Paths
Theorem 3.1 ([138]).
For every path ,
(2) |
with equality if .
Proof.
The following construction is due to Leech [101]. Consider the following three blocks:
First observe that are symmetric in the sense that a cyclic permutation of also permutes . Say is a nonrepetitive word on . Let be obtained from by replacing each element in by . We now prove that is also nonrepetitive. Suppose on the contary that contains a repetition . First suppose that . Then is contained in two consecutive blocks , and since is nonrepetitive. By symmetry, we may assume that . But is nonrepetitive:
Now assume that . Any sequence of 8 characters in any block or in any two consecutive blocks is uniquely determined by the block or blocks involved and the starting character. The following cases confirm this, since by symmetry one only needs to check sequences beginning with 0:
Thus, for , the subsequences and appear in copies of the same block or in the same block pair , and moreover, appears in the same position as in the corresponding block. This implies that the starting word contains a repetitive subsequence. This contradiction shows that is nonrepetitive. Arbitrarily long paths can be nonrepetitively -coloured by this substitution rule. ∎
There is a large body of literature on substitution rules like that used in the above proof; see [35, 40, 37, 4] for example.
We also briefly mention another proof of Theorem 3.1 via the Thue–Morse sequence, which is the binary sequence where the each underlined block is the negation of the entire preceding subsequence. See [5] for a survey about the Thue–Morse sequence. Given a path , colour each vertex by the difference of the -th and -th entries in the Thue–Morse sequence. So the sequence of colours is . The Thue–Morse sequence contains no or pattern. It follows that the above 3-colouring of the path is nonrepetitive.
Open Problem 3.2.
Is for every path ?
Kündgen and Pelsmajer [99] showed that paths are walk-nonrepetitively 4-colourable.
Lemma 3.3 ([99]).
For every path ,
with equality if .
Proof.
Given a nonrepetitive sequence on , insert the symbol between consecutive block of length two. For example, from the sequence we obtain . Any three consecutive elements are distinct. Thus this sequence corresponds to a distance-2 colouring of a path. We now show that is stroll-nonrepetitieve. Suppose for the sake of contradiction that there is a repetitively coloured stroll. Let be a repetitively coloured stroll with minimum. Then .
First suppose that is a subpath. Since if and only if , removing the vertices coloured 4 in gives a repetition in the original sequence on . Now assume that has a repeated vertex. Thus for some . (The stroll must turn around somewhere.) By symmetry, we may assume that .
Suppose that . Thus . Since is a distance-2 colouring, . Then is a repetitively coloured stroll on vertices, contradicting the choice of .
Thus . Then is a repetitively coloured stroll on vertices, contradicting the choice of .
Hence is stroll-nonrepetitive. By Lemma 2.6, is walk-nonrepetitive.
Suppose on the contrary that some path on at least six vertices is walk-nonrepetitive 3-colourable. Since the colouring is distance 2, without loss of generality, the colouring begins , which is a repetitively coloured path. Thus . ∎
Lemmas 2.16 and 3.3 imply:
Corollary 3.4 ([46]).
For every graph and every path ,
Now consider nonrepetitive list colourings of paths. Grytczuk et al. [77] first proved that . Their proof uses the Lovász Local Lemma in conjunction with a deterministic colouring rule that ensures that short paths are not repetitively coloured. We present two proofs of this result. The first, due to Grytczuk et al. [76], uses entropy compression, which is a technique based on the algorithmic proof of the Lovász Local Lemma by Moser and Tardos [110].
Theorem 3.5 ([77]).
Every path is nonrepetitively list 4-colourable.
Proof.
Let be a 4-list assignment of the path . We may assume that for each . Apply the following algorithm, where is a binary sequence called the record. At the start of the while loop, vertices are coloured and vertices is uncoloured.
let
let
while do
randomly colour from
append one 0 to
if some repetitively coloured subpath appears then
let
uncolour the last vertices of
let
append 1’s to
else
let
end-if
end-while
Each iteration of the while loop is called a step. Let be the record at the end of step . Let be the current colouring at the end of step . A key property is that is a ‘lossless encoding’ of the actions of the algorithm. That is, given one can determine because whenever a repetitively coloured subpath appears, the colours on the second half of (which is uncoloured by the algorithm) are determined by the colours on the first half of .
Consider the status of the algorithm at the end of some time step . Let and respectively be the number of 0’s and the number of 1’s in . Observe that and the algorithm maintains the invariant that equals the number of coloured vertices under . Call the type of , which is an element of . Let be the binary sequence obtained by adding 1’s at the end of . Thus is a Dyck word of length . Here a Dyck word is a binary sequence with an equal number of 0’s and 1’s, such that every prefix has at least as many 0’s as 1’s. The number of Dyck words of length equals the -th Catalan number . Thus the number of distinct ’s is at most . Since each vertex has four possible colours or is uncoloured, the number of distinct ’s is at most .
Consider the possible executions of the algorithm up to time . For each such execution, the algorithm either finds a nonrepetitive colouring of the whole path or ‘fails’ and produces a pair . By the lossless encoding property, distinct fail executions produce distinct pairs . Thus the number of fail executions is at most the number of pairs (, which is at most , which is less than for . Thus, there exists an execution that does not fail. Therefore is -colourable, and every path is nonrepetitively list 4-colourable. ∎
Our second proof that uses a simple counting argument of Rosenfeld [130].
Theorem 3.6 ([130]).
Every path is nonrepetitively list 4-colourable. In fact, for every 4-list assignment of an -vertex path, there are at least nonrepetitive -colourings.
Proof.
Let be a 4-list assignment of a path . For , let be the number of nonrepetitive -colourings of the subpath . We now prove that by induction on . The base case holds since and . Let and assume the claim holds for all values less than . Thus for all . Let be the set of repetitive -colourings of that induce a nonrepetitive colouring of . Then . For , let be the colourings in that contain a repetitively coloured path on vertices, which must end at vertex . Then . For each colouring in , the colours of vertices are determined by the colours of vertices . Since induce a nonrepetitively coloured path, . Thus . Hence , as claimed. It follows that there exist at least nonrepetitive -colourings of . ∎
Open Problem 3.7.
Is every path nonrepetitively list -colourable? [70, 42, 107]? Note that a simple adaptation to the proof of Theorem 3.6 shows that every path is list 3-colourable such that every subpath with at least four vertices is nonrepetitively coloured; that is, the only repetitively coloured subpaths have two vertices. The results of Zhao and Zhu [149] are also relevant here.
The following multi-colour generalisation of Theorem 3.6 will be useful for the study of nonrepetitive colourings of subdivisions in Section 6. Shur [133] established precise asymptotic bounds on the number of distinct nonrepetitive -colourings in a path. So that our presentation is self-contained, we present the slightly weaker result with a simple proof.
Theorem 3.8.
Fix . For every -list assignment of an -vertex path, there are at least nonrepetitive -colourings, where .
Proof.
Let be an -list assignment of a path . For , let be the number of nonrepetitive -colourings of the subpath . We now prove that by induction on . The base case holds since and . Let and assume the claim holds for all values less than . Thus for all . Let be the set of repetitive -colourings of that induce a nonrepetitive colouring of . Then . For , let be the colourings in that contain a repetitively coloured path on vertices, which must end at vertex . Then . For each colouring in , the colours of vertices are determined by the colours of vertices . Since induce a nonrepetitively coloured path, . Thus . Hence , as claimed. It follows that there exist at least nonrepetitive -colourings of . ∎
3.2 Cycles
Let be the -vertex cycle. Currie [38] proved that
Barát and Wood [17] considered walk-nonrepetitive colourings of cycles, and showed:
Open Problem 3.9.
Is for infinitely many ? Is for infinitely many ? It is possible that or for infinitely many , but these questions are open even for paths (Open Problems 3.7 and 3.2). Is for infinitely many ?
3.3 Bounded Degree Graphs
Alon et al. [8] proved that graphs with maximum degree are nonrepetitively edge-colourable with colours. The precise bound shown was . Alon et al. [8] remarked that the proof also works for nonrepetitive vertex colourings; that is, . Several authors subsequently improved this constant: to by Grytczuk [71], to by Grytczuk [70], to by Haranta and Jendro’l [81], and to by Kolipaka et al. [94]. All these proofs used the Lovász Local Lemma [59]. Dujmović et al. [48] improved the constant to 1, by showing that for every graph with maximum degree ,
(3) |
The proof of Dujmović et al. [48] uses entropy compression; see [65, 66, 60] for refinements and simplifications to the method. Equation Equation 3 was subsequently proved using a variety of techniques: the local cut lemma of Bernshteyn [18], cluster-expansion [23, 13], and a novel counting argument due to Rosenfeld [130]. The best known asymptotic bound is due to Harris and Srinivasan [83].
We present two proof of Equation 3. The first, perhaps surprisingly, uses nothing more than the Lovász Local Lemma. The second is the counting arguement due to Rosenfeld [130]. Both proofs use the following well known observation:
Lemma 3.10.
For every graph with maximum degree , for every vertex of , and for every , there are at most paths on vertices that contain (where we consider a path to be a subgraph of , so that a path and its reverse are counted once.)
Proof.
Let be the set of -vertex paths in that contain . For each , by choosing the start vertex of appropriately, we may consider to be the -th vertex in , for some . There are at most paths in in which is the first vertex (since are at most choices for the neighbour of in the path, and once this is fixed, for each of the internal vertices there are at most choices). For each , there are at most paths in in which is the -th vertex (since at there are at most choices for the neighbours of in the path, and once these are fixed, for each of the remaining internal vertices there are at most choices). In total, there are at most paths on vertices that contain . ∎
3.4 Lovász Local Lemma
The Lovász Local Lemma is a powerful tool for proving the existence of combinatorial objects, and has been applied in numerous and diverse settings. The following is a statement of the General Local Lemma, which is due to Lovász and first published by Spencer [135].
Lemma 3.11 (General Local Lemma).
Let be a set of ‘bad’ events, such that each is mutually independent of for some . Let such that for each ,
Then with positive probability, none of occur.
Lemma 3.11 can be difficult to apply, since choosing the right values of is somewhat mysterious. The following Weighted Local Lemma by Molloy and Reed [108, p.221] avoids this difficulty, since in practice the weights are self-evident.
Lemma 3.12 (Weighted Local Lemma).
Let be a set of ‘bad’ events, such that each is mutually independent of for some . Assume and are real numbers such that for each ,
-
•
, and
-
•
.
Then with positive probability, none of occur.
Lemma 3.12 leads to the following straightforward proof that , which we include as a warm-up.
Proposition 3.13.
For every graph with maximum degree ,
Proof.
Let and and . Let be a -list assignment for . Colour each vertex of , independently at random, by an element of . Let be the non-empty paths in with an even number of vertices. For each , let be the event that is repetitively coloured, and let . Then , and the first condition in Lemma 3.12 is satisfied. Let . Then is mutually independent of . By Lemma 3.10, each intersects at most paths with vertices. The second condition in Lemma 3.12 is satisfied since
The penultimate equality here uses a formula for the sum of an arithmetico-geometric sequence [142]. The last equality is proved by solving the quadratic, , and substituting . By Lemma 3.12, with positive probability, none of occur. Hence there exists an -colouring such that none of occur, in which case there are no repetitively coloured paths. Therefore . ∎
Molloy and Reed [108] write, “As the reader will see upon reading the proof of the Weighted Local Lemma, the constant terms in the statement can be adjusted somewhat if needed.” The next lemma does this.
Lemma 3.14 (Optimised Weighted Local Lemma).
Fix such that . Define and and . Let be a set of ‘bad’ events, such that each is mutually independent of for some . Let be real numbers such that for each ,
-
•
, and
-
•
.
Then with positive probability, none of occur.
Note that Lemma 3.14 with implies Lemma 3.12 since for . The proof of Lemma 3.14 is essentially the same as the proof of Lemma 3.12 by Molloy and Reed [108], who use and .
Proof of Lemma 3.14..
We now give our first proof of Equation 3.
Theorem 3.15.
For every graph with maximum degree ,
Proof.
Let . (The reason for this definition will be apparent at the end of the proof.) Let . As in Lemma 3.14, define and and . Note that since . (It may help the reader’s intuition to pretend that .) Let
We now prove that . First we write in a more convenient form. Since ,
Thus
Muliplying by ,
Let . Then , as required by Lemma 3.14. Let . Then
By the quadratic formula, . That is,
Let be a -list assignment for . Colour each vertex of , independently at random, by an element of . Let be the non-empty paths in with an even number of vertices. Here we consider a path to be a subgraph of , so that a path and its reverse are the same path. For each , let be the event that is repetitively coloured, and let . Then , and the first condition in Lemma 3.14 is satisfied. Let . Then is mutually independent of . By Lemma 3.10, for each , each intersects at most paths with vertices. (The lower order terms in this result can be improved by using Lemma 3.10 more precisely.) The second condition in Lemma 3.14 is satisfied since
(4) |
The penultimate equality uses a formula for the sum of an arithmetico-geometric sequence [142]. By Lemma 3.12, with positive probability, none of occur. Hence there exists an -colouring such that none of occur, in which case there are no repetitively coloured paths. Therefore .
It remains to prove the upper bound on . Using Taylor series expansion as ,
Note that since . Thus , implying . ∎
I now reflect on how to use the Optimised Weighted Local Lemma. First introduce a parameter , which tends to 0 as . Leave undefined at this stage; it can be determined optimally at the end of this process. Introduce a variable for the number of colours, and leave undefined at first. Guess a lower bound for , as close to as possible. In the above proof, is . Let and . So is a close upper bound for . Define , and (in terms of and ) as in Lemma 3.14. Define appropriate events, and compute their probabilities (in term of ), from which the weights should be self-evident. Then bound the dependencies of events. Equation Section 3.4 is the heart of the proof. Using the bounds on the dependencies, determine an upper bound for . Then solving the equation gives a value for and in turn a value for (in terms of ) so that Lemma 3.14 is applicable. Finally, choose to minimise . Using this approach, the mysterious process of choosing the numbers in the General Local Lemma is partially automated.
3.5 Rosenfeld Counting
The following proof of Equation 3 uses a clever counting argument due to Rosenfeld [130]222The bound in Theorem 3.16 is slightly less than the bound of Rosenfeld [130], improving the coefficient in the term., which is inspired by the so-called power series method for pattern avoidance [126, 118, 24]. See [140] for an abstract generalisation of Theorem 3.16 that has applications to several other (hyper)graph colouring problems.
Theorem 3.16.
For every graph with maximum degree ,
This theorem is implied by the following lemma with . In fact, this lemma proves a stronger result that implies there are exponentially many colourings and is essential for the inductive argument. For a list assignment of a graph , let be the number of nonrepetitive -colourings of .
Lemma 3.17.
Fix an integer and a real number . Let
Then for every graph with maximum degree , for every -list assignment of , and for every vertex of ,
Proof.
We proceed by induction on . The base case with is trivial (assuming if ). Let be an integer such that the lemma holds for all graphs with less than vertices. Let be an -vertex graph with maximum degree . Let be a -list assignment of . Let be any vertex of . Let be the set of -colourings of that are repetitive but are nonrepetitive on . Then
(5) |
We now upper-bound . For , let be the set of colourings in , for which there is a repetitively path in on vertices. Then . For each colouring in there is a repetitively path on vertices in such that , is nonrepetitively coloured by , and is completely determined by the restriction of to colouring (since the colouring of is identical to the colouring of ). Charge to . The number of colourings in charged to is at most . Since contains and other vertices, by induction
Thus the number of colourings in charged to is at most . By Lemma 3.10, there are at most paths on vertices including . Thus
Hence
By Equation 5,
as desired. ∎
Open Problem 3.18.
What is the maximum nonrepetitive chromatic number of graphs with maximum degree 3? Lemma 3.17 with implies . I expect this bound can be improved using entropy compression tailored to the case.
3.6 Lower Bound
Alon et al. [8] proved the following lower bound on the nonrepetitive chromatic nuber of bounded degree graphs.
Theorem 3.19 ([8]).
There is an absolute constant such that for all there exists a graph with maximum degree , and
Proof.
We make no attempt to optimise the constant . We may assume that is sufficiently large, since the result is trivial for small if is small enough. Let be a (large) integer. Define . Let be the graph with vertex set obtained by choosing each pair of distinct vertices to be an edge, independently at random with probability .
We claim that satisfies the following three properties with probability tending to 1 as :
-
(i)
The maximum degree of is at most .
-
(ii)
There is at least one edge of between any two disjoint sets of vertices each of size at least .
-
(iii)
For every collection of pairwise disjoint subsets of , there is a subset with such that the graph with vertex-set and edge-set is connected.
To prove this claim, we show that for each of (i) – (iii) the probability of failure tends to 0 as .
For (i), the expected degree of each vertex of equals . Chernoff’s Inequality implies that the probability that is less than . Thus the probability that some vertex of has degree greater than is less than .
For (ii), consider disjoint sets with . The probability that there is no -edge in equals . The number of such pairs is less than . Hence, the probability that (ii) fails is less than .
For (iii), fix pairwise disjoints subsets of . We now estimate the probability that there is no set as in (iii). Let be the graph with vertex-set and edge-set . Then is a random graph with vertices in which every pair of distinct vertices forms an edge, independently at random with probability . Our objective is to estimate the probability that there is no connected component of at least vertices in . If this happens, then the set of vertices of can be partitioned into two disjoint sets, each of size at least with no edges between them. The probability of this event is less than . The number of pairwise disjoint subsets of equals . Thus the probability that (iii) fails is less than . This completes the proof of the claim.
Returning to the proof of the theorem, suppose that satisfies (i)–(iii). Consider any -colouring of . Omit one vertex from each color class containing an odd number of vertices, and partition the remaining vertices within each colour class into pairs. This produces at least pairs , where and have the same color. Thus there is a subset satisfying (iii). By (ii) applied to the sets and there is an edge of with . Let be a path from to in the graph with vertex-set and edge-set . Such a path exists, by (iii). Then, the path in is repetitively coloured. Thus . ∎
We finish this subsection with a number of open problems.
Open Problem 3.20.
What is the maximum nonrepetitive chromatic number of graphs with maximum degree ? The answer is between and . Given the plethora of proofs of the upper bound, it would be very interesting to obtain a upper bound for some fixed .
Little is known about stroll-nonrepetitive and walk-nonrepetitive colourings of graphs with bounded degree.
Open Problem 3.21.
Is there a function such that for every graph ?
By Lemma 2.6, questions Open Problems 3.21 and 3.22 have the same answer.
Open Problem 3.22 was extensively studied by Barát and Wood [17]. Indeed, Barát and Wood [17] formulated a conjecture that they claimed would imply a positive answer to Open Problem 3.22. However, Hendrey [87] disproved the conjecture. Also note that Aprile [13] claimed to prove an affirmative answer to Open Problem 3.22, but the proof has an error [personal communication, Manuel Aprile 2017].
The analogous lower bound questions are also of interest.
Open Problem 3.23.
Is there a quadratic or super-quadratic lower bound on or for some graph of maximum degree ?
3.7 Edge Colourings and Line Graphs
An edge-colouring of a graph is nonrepetititive if for every path in , the sequence of colours on the edges of is not a repetition. Nonrepetitive edge colourings have been studied in several papers [100, 16, 8, 29], as has walk-nonrepetitive edge colourings [16]. Since any two edges incident with a common vertex form a repetition,
(6) |
Conversely, Alon et al. [8] showed that for every graph with maximum degree . Let be the line graph of a graph . That is, where two vertices in are adjacent whenever the corresponding edges in share a common endpoint. Since every path in corresponds to a path in ,
(7) |
The best upper bound, due to Rosenfeld [130], is
(8) |
Resolving the gap in the bounds in Equation 8 is an important open problem.
Open Problem 3.24 ([8]).
Is there a constant such that for every graph ,
Note that equality does not necessarily hold in Equation 7. For example, but . In general, a path in might correspond to a cycle in , so a nonrepetitive vertex-colouring of does not necessarily correspond to a nonrepetitive edge-colouring of . Nevertheless we have the following bounds.
Alon et al. [8] determined the nonrepetitive chromatic index of complete graphs as follows (thus answering Open Problem 3.24 in the affirmative in this case).
Theorem 3.25 ([8]).
For every ,
Proof.
Equation 6 implies the lower bound, . For the upper bound, we may assume that is the set of elements of the additive group . Colour each edge by , where addition is in . Since if and only if , each edge is coloured by a non-zero element of . Suppose for the sake of contradiction that is a path whose edges are repetitively coloured. Thus for each . Hence
Therefore and is a cycle. This contradiction shows that is nonrepetitively coloured, and . ∎
Corollary 3.26 ([8]).
For every ,
The proof method in Theorem 3.25 generalises to show that for complete bipartite graphs, . Thus . However, determining and are open.
Open Problem 3.27.
What is ? We know .
Open Problem 3.28.
What is ? We know .
Total Thue coloring was introduced by Schreyer and Škrabu’láková [132]. A colouring of the edges and the vertices of a graph is a weak total Thue coloring if the sequence of consecutive vertex-colors and edge-colors of every path is nonrepetitive. If, in addition, the sequence of vertex-colors and the sequence of edge-colors of any path are both nonrepetitive then this is a (strong) total Thue coloring.
For every path in a graph , the sequence of vertices and edges in corresponds to a path in the 1-subdivision of . Thus every nonrepetitive colouring of defines a weak total nonrepetitive colouring of . Hence the weak total Thue chromatic number of is at most . Similarly, if is the square of , then every nonrepetitive colouring of defines a strong total nonrepetitive colouring of . Hence the strong total nonrepetitive chromatic number of is at most .
Rosenfeld [130] proved that every graph with maximum degree has weak total Thue chromatic number at most and at most if . Theorem 6.2 gives an upper bound on which implies that every graph with maximum degree has weak total Thue chromatic number at most .
4 Trees and Treewidth
4.1 Trees
Brešar et al. [28] proved that every tree is path-nonrepetitively 4-colourable. Dujmović et al. [46] extended this result for strolls.
Proof.
Let be any vertex of . Let . Thus is a shadow-complete layering of . Each is an independent set and is thus stroll-nonrepetitively 1-colourable. The result then follows from Lemma 2.14. ∎
Brešar et al. [28] show that for some tree .
Barát and Wood [17] characterised walk-nonrepetitive colourings of trees as follows. This strengthens the analogous characterisation for general graphs in Lemma 2.6.
Lemma 4.2 ([17]).
A colouring of a tree is walk-nonrepetitive if and only if is path-nonrepetitive and distance-.
Proof.
Every walk-nonrepetitive colouring is path-nonrepetitive and distance- by Lemma 2.6. We now prove the converse. Assume is a nonrepetitive distance- colouring of . Suppose on the contrary that has a repetitively coloured non-boring walk. Let be a repetitively coloured non-boring walk in of minimum length. Some vertex is repeated in , as otherwise would be a repetitively coloured path. By considering the reverse of , without loss of generality, for some and . Choose and to minimise . Thus is not in the sub-walk . Since is a tree, . Thus , as otherwise is not minimised. That is, . Assuming , since is repetitively coloured, , which implies that because is a distance- colouring. Thus, even if , deleting the vertices from , gives a walk that is also repetitively coloured. This contradicts the minimality of the length of . ∎
Barát and Wood [17] showed the following bound on .
Lemma 4.3 ([17]).
For every tree with maximum degree ,
Proof.
The lower bound follows from Corollary 2.7. For the upper bound, root at some leaf vertex . Let . Thus is a shadow-complete layering of . Each is an independent set and is thus stroll-nonrepetitive in any colouring. Each vertex has at most children, all of which are in . Let be the graph obtained from by adding an edge between every pair of vertices with a common parent. A greedy algorithm shows that is -colourable. This colouring of satisfies the property in Lemma 2.15. Thus . ∎
Open Problem 4.4.
Is there a constant such that for every tree ?
Lemmas 4.3 and 2.16 imply:
Corollary 4.5.
For every graph and every tree ,
Fiorenzi et al. [62] proved the following surprising result about the nonrepetitive list chromatic number of trees.
Theorem 4.6 ([62]).
Trees have unbounded nonrepetitive list chromatic number.
Theorem 4.6 leads to the natural question: which classes of trees have bounded nonrepetitive list chromatic number ? Grytczuk et al. [77] proved an affirmative answer for paths (Theorem 3.5). More generally, Dujmović et al. [48] proved that caterpillars have bounded (see Appendix B in the arXiv version of [48]). Since caterpillars are the graphs with pathwidth 1, Dujmović et al. [48] asked whether trees or graphs with bounded pathwidth have bounded . These questions were completely answered by Gągol et al. [64], who showed that trees with bounded pathwidth have bounded , but this result does not extend to general graphs, by constructing a family of pathwidth-2 graphs with unbounded .
While is an almost tight upper bound on the nonrepetitive list chromatic number of graphs with maximum degree , it is interesting to ask for which graph classes is there a bound for some fixed . Kozik and Micek [97] proved such a result for trees.
Theorem 4.7 ([97]).
For any fixed , and for every tree with maximum degree ,
4.2 Treewidth
Treewidth measures how similar a given graph is to a tree, and is particularly important in structural and algorithmic graph theory; see the surveys [25, 127, 84]. It is defined as follows. A tree-decomposition of a graph consists of a collection of subsets of , called bags, indexed by the vertices of a tree , and with the following properties:
-
•
for every vertex of , the set induces a non-empty (connected) subtree of , and
-
•
for every edge of , there is a vertex for which .
The width of such a tree-decomposition is . The treewidth of a graph is the minimum width of a tree-decomposition of . Tree-decompositions and tree-width were introduced by Robertson and Seymour [128], although several equivalent notions were previously studied in the literature.
Tree-decompositions and treewidth are closely related to chordal graphs. A graph is chordal if there is no chordless cycle of length greater than 3. It is well-known that a graph is chordal if and only if it has a tree-decomposition in which each bag is a clique [43]. It follow that a graph has treewidth if and only if is a subgraph of a chordal graph with no clique on vertices [43]. We will need the following result.
Proof.
Say . Let be a connected component of for some . Let be the set of vertices in adjacent to some vertex in . Suppose for the sake of contradiction that distinct vertices are not adjacent. There is a walk from to through in . Thus there is a shortest path from to in . Since , has at least one internal vertex. By definition has a neighbour in , and has a neighbour in . Since is connected, there is a path from to in . Choose , and to minimise the length of . It follows that is a chordless cycle on at least four vertices in . This contradiction shows that is a clique, and is shadow-complete. ∎
Brešar et al. [28] proved that every tree is nonrepetitively -colourable. Barát and Varjú [15] and Kündgen and Pelsmajer [99] independently proved that graphs of bounded treewidh have bounded nonrepetitive chromatic number. The best bound is due to Kündgen and Pelsmajer [99], who showed that every graph with treewidth is nonrepetitively -colourable. Dujmović et al. [46] showed that the proof of Kündgen and Pelsmajer [99] actually gives the following stronger result:
Theorem 4.10 ([46]).
For every graph of treewidth ,
Proof.
The proof proceeds by induction on . If , then has no edges, so assigning the same colour to all the vertices gives a stroll-nonrepetitive colouring. Now assume that . We may assume that is connected. Consider a tree-decomposition of of width at most . By adding edges if necessary, we may assume that every bag of the tree-decomposition is a clique. Thus, is chordal with clique-number at most . Let be a BFS-layering of . By Lemma 4.9, is shadow-complete. Moreover, the subgraph of induced by each layer has treewidth at most . This is clear for (since ), and for this follows from the fact that the graph plus a universal vertex is a minor of (contract into a single vertex and remove ), and thus has treewidth at most . Since removing a universal vertex decreases the treewidth by exactly one, it follows that has treewidth at most . By induction, for each . By Lemma 2.14, . ∎
Open Problem 4.11 ([99]).
Is there an upper bound on or that is polynomial in ? There is a quadratic lower bound, since and Albertson et al. [3] proved that for each there is a graph with and .
The following corollary of Lemmas 2.16, 2.17 and 4.10 will be useful later.
Lemma 4.12 ([46]).
For every graph , path and integer ,
4.3 Pathwidth
Dujmović et al. [48] answered Open Problem 4.11 in the affirmative for and pathwidth. The proof works for .
Theorem 4.13 ([48]).
For every graph with pathwidth ,
The proof of Theorem 4.13 depends on the following helpful way to think about graphs of bounded pathwidth333Dujmović et al. [48] presented Lemma 4.14 in terms of the lexicographical product , which equals ..
Lemma 4.14 ([48]).
Every graph with pathwidth contains pairwise disjoint sets of vertices, such that:
-
•
no two vertices in distinct are adjacent,
-
•
has pathwidth at most for each , and
-
•
if is the graph obtained from by deleting and adding a clique on for each , then is isomorphic to a subgraph of .
Proof.
Consider a path decomposition of with width . Let be the set of bags in , such that is the first bag in , and for each , the bag is the first bag in that is disjoint from . Thus are pairwise disjoint. For , let be the set of vertices that only appear in bags strictly between and (or strictly after if ). By construction, each such bag intersects . Hence has pathwidth at most . Since each separates and (for ), no two vertices in distinct are adjacent. Moreover, the neighbourhood of is contained in (or if ). Hence the graph (defined above) has vertex set where is a clique for each . Since , the graph is isomorphic to a subgraph of . ∎
Proof of Theorem 4.13.
We proceed by induction on . Every graph with pathwidth 0 is edgeless, and is thus nonrepetitively 1-colourable, as desired. Now assume that is a graph with pathwidth . Let be the sets that satisfy Lemma 4.14. Let . Since no two vertices in distinct are adjacent, . By induction, . Let be the graph obtained from by adding a clique on for each . By Lemma 4.14, is isomorphic to , which is stroll-nonrepetitively -colourable by Lemma 2.16. By construction, is a shadow-complete layering of . By the proof of Lemma 2.14 (using distinct sets of colours for and ), we have . ∎
Open Problem 4.15 ([48]).
What is the maximum nonrepetitive chromatic number of graphs with pathwidth ? The best knwon bounds are and .
Since graphs of pathwidth are -degenerate, Corollaries 2.8 and 4.13 imply the following bounds on the walk-nonrepetitive chromatic number of graphs with given pathwidth.
Corollary 4.16.
For every graph with pathwidth ,
4.4 Treewidth and Degree
Barát and Wood [17] proved the following polynomial bound on for graphs of bounded treewidth and maximum degree, thus solving Open Problem 4.11 for bounded degree graphs. The same proof works for .
Lemma 4.17 ([17]).
For every graph with treewidth and maximum degree ,
Proof.
Let . Wood [147] proved444The proof is a minor improvement to a similar result by an anonymous referee of the paper by Ding and Oporowski [44]. The result in [147, 44] is presented in terms of tree-partitions, which are easily seen to be equivalent to strong products of a tree and complete graph. that is a subgraph of for some tree with maximum degree at most . By Theorem 4.10, . Of course, . By Lemma 2.16,
Now consider walk-nonrepetitive colourings of graphs with given treewidth and given maximum degree. Every graph with treewidth is -degenerate. Thus Corollaries 2.8 and 4.10 imply that graphs with bounded treewidth have walk-nonrepetitive chromatic number.
Corollary 4.18.
For every graph with treewidth and maximum degree ,
Corollaries 2.8, 2.7 and 4.17 imply the following polynomial bounds on :
Lemma 4.19 ([17]).
For every graph with treewidth and maximum degree ,
These results lead to the following results for strong products. Lemmas 2.16 and 4.19 imply:
Corollary 4.20.
For every graph and for every graph with treewidth and maximum degree ,
Theorems 4.10 and 4.20 imply:
Corollary 4.21.
For every graph with treewidth and for every graph with treewidth and maximum degree ,
Equations 3 and 3.19 give tight bounds (up to a logarithmic factor) on the nonrepetitive list chromatic number of graphs with given maximum degree. However, the nonrepetitive list chromatic number of graphs with given maximum degree and bounded treewidth is wide open.
Open Problem 4.22.
Are graphs of bounded treewidth and maximum degree nonrepetitively -choosable, for some fixed ? By Theorem 4.7, the answer is ‘yes’ for trees. The treewidth 2 case is open.
4.5 Outerplanar Graphs
A graph is outerplanar if it has a drawing in the plane with no crossing and with all the vertices on the boundary of a single face. Here we consider nonrepetitive colourings of outerplanar graphs. First, note the following folklore result:
Lemma 4.23.
Every edge-maximal outerplanar graph has a shadow-complete layering such that for each each connected component of is a path.
Proof.
Since is edge-maximal, is connected and chordal. Let be a BFS-layering of . By Lemma 4.9, is shadow-complete. For , let be the graph obtained from by contracting into a single vertex . Since outerplanarity is a minor-closed property and is connected, is outerplanar. Since every vertex in has a neighbour in , dominates . If contains a cycle , then contains a -minor, which is a contradiction since is not outerplanar. If contains , then contains , which is a contradiction since is not outerplanar. Thus is a forest with maximum degree at most 2. Hence, each connected component of is a path. ∎
Lemmas 2.13 and 4.23 imply the following result independently due to Barát and Varjú [16] and Kündgen and Pelsmajer [99]:
Barát and Varjú [15] also proved the following lower bound:
Proposition 4.25 ([15]).
There exists an outerplanar graph with
Proof.
Let be a sufficiently large integer. Let be the complete -ary tree of height . Let be obtained from by adding, for each non-leaf vertex of , a path on the children of . This can be done so that is outerplanar. Suppose for the sake of contradiction that there exists a nonrepetitive colouring of with colour-set .
Claim 1.
For every vertex of that is neither a leaf nor the parent of a leaf, there is a set of four colours, each of which appears at least twice on .
Proof.
Suppose for the sake of contradiction that but only three colours, say , appear on . All three colours appear on any four consecutive vertices of . Thus, for sufficiently large , each of appears at least twice on .
If this 3-colouring of is distance-2, then the sequence of colours on , without loss of generality, starts , which is a repetitively coloured 6-vertex path. Thus the colouring of is not distance 2. Hence contains a subpath , where without loss of generality, and (since is sufficiently large).
Let be any vertex of . If then is coloured . If then is coloured . If then is coloured . Thus is coloured by and each colour appears since is sufficiently large.
Now, since . If then is coloured . If then is coloured . Thus . Let be any vertex of . If then is coloured for some coloured 4. If then is coloured for some coloured 4. If then is coloured . Thus is coloured by and each colour appears since is sufficiently large.
Now, since . If then is coloured for some coloured 4. If then is coloured . Thus . Let be any vertex of . If then is coloured . If then is coloured . If then is coloured for some vertex coloured 2. Thus is coloured by and each colour appears since is sufficiently large.
Now, since . If then is coloured . If then is coloured for some coloured 2. Thus . Let be any vertex of . If then is coloured . If then is coloured for some coloured 3. If then is coloured . Thus is coloured by and each colour appears since is sufficiently large.
Now, since . If then is coloured . If then is coloured for some coloured 3. Thus .
Therefore the subpath is coloured . This contradiction shows that is assigned at least four colours.
At this point we have assumed that for some fixed number . Taking , we can partition into six disjoint subpaths each with vertices, and by the above argument, at least four distinct colours appear in each subpath. Since at most five colours appear on , on at least two of these subpaths the same set of four colours appears. This completes the proof. ∎
Let be a vertex of that is neither a leaf nor the parent of a leaf. Let be a vertex in with . Let be any vertex in . If then is repetitively coloured. If then is repetitively coloured for some vertex coloured . Such a vertex exists by the claim and since . Hence .
Let be the root of . By the claim, without loss of generality, and . Let be a vertex in coloured 2; thus . Let be a vertex in coloured 3; thus . Let be a vertex in coloured 1. Let be a vertex in coloured 3; thus . Let be a vertex in coloured 2. These vertices exist and are neither leaves nor parent of leaves, since has sufficiently large height. Now is a path in coloured . This contradiction completes the proof. ∎
Note that the proof of Proposition 4.25 actually shows that there is an outerplanar graph such that every 6-colouring has a repetitively coloured path on 2, 4 or 6 vertices.
Open Problem 4.26.
What is the maximum nonrepetitive chromatic number of an outerplanar graph? The answer is in . This question may have a bearing on Open Problem 4.11.
For stroll-nonrepetitive colourings, Lemmas 2.14 and 4.23 imply:
Theorem 4.27.
For every outerplanar graph ,
Open Problem 4.28.
What is the maximum stroll-nonrepetitive chromatic number of an outerplanar graph? The answer is in . Any improvement to the upper bound would have a bearing on Open Problem 5.3. If for each path (Open Problem 3.2) then for every outerplanar graph .
Lih and Wang [102] proved that for every outerplanar graph . Corollaries 2.7 and 4.27 thus imply that the walk-nonrepetitive chromatic number of outerplanar graphs is .
Corollary 4.29.
For every outerplanar graph with maximum degree ,
5 Planar Graphs and Beyond
5.1 Planar Graphs
Alon et al. [8] first asked whether planar graphs have bounded nonrepetitive chromatic number. For several years, this problem was widely recognised as the most important open problem in the field of nonrepetitive graph colouring. The first non-trivial upper bound was due to Dujmović, Frati, Joret, and Wood [47], who proved that for all planar graphs . The above question was solved by Dujmović et al. [46]. Much of the above machinery involving strong products was developed as a tool to answer the question for planar graphs.
Theorem 5.1 ([46]).
For every planar graph ,
Proof.
Dujmović et al. [49, 50] proved that every planar graph is a subgraph of for some graph with treewidth 3 and path . By Corollary 2.17, , which is at most by Corollary 3.4. Since has treewidth at most 3, by Theorem 4.10. ∎
We now present the best known lower bound on the nonrepetitive chromatic number of planar graphs.
Proposition 5.2 (Pascal Ochem; see [47]).
There is a planar graph such that .
Proof.
By Proposition 4.25, there is an outerplanar graph with . Let be the following planar graph. Start with a path . Add two adjacent vertices and that both dominate . Let each vertex in be adjacent to every vertex in a copy of . Suppose on the contrary that is nonrepetitively -colourable. Without loss of generality, and are respectively coloured and . A vertex in is redundant if its colour is used on some other vertex in . If no two adjacent vertices in are redundant then at least colours appear exactly once on , which is a contradiction. Thus some pair of consecutive vertices and in are redundant. Without loss of generality, and are respectively coloured and . If some vertex in is coloured or , then since and are redundant, with or we have a repetitively coloured path on 4 vertices. Now assume that no vertex in is coloured or . If some vertex in is coloured and some vertex in is coloured , then with and , we have a repetitively coloured path on 4 vertices. Thus no vertex in is coloured or no vertex in is coloured . Without loss of generality, no vertex in is coloured . Since dominates , no vertex in is coloured . We have proved that no vertex in is coloured or , which is a contradiction, since . Therefore . ∎
Open Problem 5.3.
What is the maximum nonrepetitive chromatic number of a planar graph? The answer is in . Note that in the proof of Theorem 5.1, since is planar with treewidth 3, to improve the bound of 768 to 576 it would suffice to show that for each path , or for each outerplanar graph .
We briefly mention that several papers studied colourings of plane graphs in which only facial paths are required to be nonrepetitively coloured [86, 123, 124, 14, 131, 88, 88, 79, 27, 41]. Barát and Czap [14] proved that every plane graph is facially-nonrepetitively -colourable, and Gutowski [79] proved that every plane graph is facially-nonrepetitively list -colourable. This latter result is in sharp contrast to Theorem 4.6, which says that trees have unbounded nonrepetitive list chromatic number.
Theorem 5.1 leads to a bound on the walk-nonrepetitive chromatic number of planar graphs. van den Heuvel and McGuinness [139] proved that for every planar graph . Thus Theorems 5.1 and 2.7 implies:
Corollary 5.4.
For every planar graph ,
The above result for planar graphs can be combined with other results in various ways. For example, Lemmas 4.19 and 5.1 imply:
Corollary 5.5.
For every planar graph and for every graph with treewidth and maximum degree ,
5.2 Graphs on Surfaces
Dujmović et al. [46] proved the following generalisation of Theorem 5.1 for graphs of bounded Euler genus.
Theorem 5.6 ([46]).
For every graph with Euler genus ,
Proof.
Dujmović et al. [49, 50] proved that every graph of Euler genus is a subgraph of for some graph with treewidth at most and some path . Thus Lemmas 2.16 and 4.10 imply
Amini et al. [12] proved that for all and , for sufficiently large , every graph with Euler genus and maximum degree at most satisfies . Thus Theorems 5.6 and 2.7 implies:
Corollary 5.7.
For every graph of Euler genus ,
Open Problem 5.8.
What is the maximum nonrepetitive chromatic number of a graph with Euler genus ? Theorem 5.6 proves a upper bound. The best known lower bound follows from Theorem 3.19 [Louis Esperet, personal communication, 2020]. In particular, Theorem 3.19 implies there is a graph with edges and . Say has Euler genus . Then and .
5.3 Minor-Closed Classes
This section proves the result of Dujmović et al. [46] that graphs excluding a fixed minor or fixed topological minor have bounded nonrepetitive chromatic number. The same method shows the analogous result for stroll-nonrepetitive chromatic number. The proof employs the following graph minor structure theorem of Robertson and Seymour [129]. A torso of a tree-decomposition is a graph induced by a bag augmented with a clique on each intersection of that bag with another bag of the tree-decomposition.
Theorem 5.9 ([129]).
For every graph , there is an integer such that every -minor-free graph has a tree-decomposition in which each torso is -almost-embeddable.
We omit the definition of -almost embeddable from this paper, since we do not need it. All we need to know is the following theorem of Dujmović et al. [49, 50], where is the complete join of graphs and .
Theorem 5.10 ([49, 50]).
Every -almost embeddable graph is a subgraph of
for some graph with treewidth at most and for some path .
Lemma 5.11 ([46]).
For every -almost embeddable graph ,
Proof.
Observe that for every graph and integer . Thus Theorems 5.10, 2.16 and 4.10 imply that for every -almost embeddable graph ,
A tree-decomposition of a graph has adhesion if for each edge . Dujmović et al. [52] proved the following useful result in the case of . The same proof works for . We delay the proof of Lemma 5.12 until Section 5.4.
Lemma 5.12 ([52]).
Let be a graph that has a tree-decomposition with adhesion . Then
where both maximums are taken over the torsos of the tree-decomposition.
Theorem 5.13 ([46]).
For every graph , there is an integer such that for every -minor-free graph ,
Proof.
Lemmas 5.11 and 5.9 imply that every -minor-free graph has a tree-decomposition such that each torso is nonrepetitively -colourable (where ). For each edge , since induces a clique in each torso, the adhesion of is at most . By Lemma 5.12, , as desired. ∎
Open Problem 5.14.
What is the maximum nonrepetitive chromatic number of -minor-free graphs? Since the above proof depends on the Graph Minor Structure Theorem (Theorem 5.9) the constant in Theorem 5.13 is huge. It would be very interesting to prove Theorem 5.13 without using the Graph Minor Structure Theorem.
-minor-free graphs are -degenerate [95, 96, 136, 137]. Thus Corollaries 2.8 and 5.13 implies the following bounds on the walk-nonrepetitive chromatic number of graphs excluding a fixed minor.
Theorem 5.15.
For every graph , there is an integer such that for every -minor-free graph with maximum degree ,
To obtain results for graphs excluding a topological minor we use the following version of the structure theorem of Grohe and Marx [67].
Theorem 5.16 ([67]).
For every graph , there is a constant such that every graph excluding as a topological minor has a tree-decomposition such that each torso is -almost-embeddable or has at most vertices with degree greater than .
Theorem 5.17.
For every graph , there is an integer such that for every -topological-minor-free graph ,
Proof.
Lemma 5.11 says that every -almost embeddable graph is nonrepetitively -colourable, where . Equation Equation 3 implies that if a graph has at most vertices with degree greater than , then it is nonrepetitively -colourable, where . Let . Theorem 5.16 implies that every topological-minor-free graph has a tree-decomposition such that each torso is nonrepetitively -colourable. For each edge , since induces a clique in each torso, the adhesion of is at most . By Lemma 5.12, , as desired. ∎
5.4 Proof of Lemma 5.12
A tree decomposition of a graph is -rich if is a clique in on at most vertices, for each edge . Rich tree decomposition are implicit in the graph minor structure theorem, as demonstrated by the following lemma.
Lemma 5.18 ([52]).
For every fixed graph there are constants and depending only on , such that every -minor-free graph is a spanning subgraph of a graph that has a -rich tree decomposition such that each bag induces an -almost-embeddable subgraph of .
Proof.
By Theorem 5.9, there is a constant such that has a tree decomposition in which each torso is -almost-embeddable. Let be the graph obtained from by adding a clique on for each edge . Let be the tree decomposition of obtained from . Each bag of is the torso of the corresponding bag of , and thus induces an -almost-embeddable subgraph of . Dujmović et al. [52] observed that there is a constant depending only on such that every clique in an -almost embeddable graph has size at most . Thus is a -rich tree decomposition of . ∎
The following lemma by Dujmović et al. [52] generalises Lemma 4.9. For a subgraph of a graph , a tree decomposition of is contained in a tree decomposition of if for each bag there is a bag such that .
Lemma 5.19 ([52]).
Let be a graph with a -rich tree decomposition for some . Then has a shadow-complete layering such that every shadow has size at most , and for each , the subgraph has a -rich tree decomposition contained in .
Proof.
We may assume that is connected with at least one edge. Say is a -rich tree decomposition of . If for some edge , then contracting into (and keeping bag ) gives a new -rich tree decomposition of . Moreover, if a tree decomposition of a subgraph of is contained in the new tree decomposition of , then it is contained in the original. Thus we may assume that and for each edge .
Let be the graph obtained from by adding an edge between every pair of vertices in a common bag (if the edge does not already exist). Let be a vertex of . Let be a node of such that . Root at . Now every non-root node of has a parent node. Since is connected, is connected. For , let be the set of vertices of at distance from in . Thus, for some , is a layering of and also of (since ).
Since each bag is a clique in , is the set of vertices of in bags that contain (not including itself). More generally, is the set of vertices of in bags that intersect such that is not in .
Define and . For a non-root node with parent node , define and . Since , it follows that . One should think that is the set of vertices that first appear in when traversing down the tree decomposition from the root, while is the set of vertices in that appear above in the tree decomposition.
Consider a node of . Since is a clique in , is contained in at most two consecutive layers. Consider (not necessarily distinct) vertices in the set , which is not empty. Then the distance between and in equals the distance between and in . Thus is contained in one layer, say . Let be the neighbour of in some shortest path between and in . Then is in . In conclusion, each bag is contained in precisely two consecutive layers, , such that and . Also, observe that if is an ancestor of in , then . Call this property .
We now prove that has the desired -rich tree decomposition. Since has one vertex and no edges, this is trivial for . Now assume that .
Let be the subgraph of induced by the nodes such that . By property , is a (connected) subtree of . We claim that is a -decomposition of . First we prove that each vertex is in some bag of . Let be the node of closest to such that . Then and . Hence is in the bag of , as desired.
Now we prove that for each edge , both and are in a common bag of . Let be the node of closest to such that . Let be the node of closest to such that . Thus and , and and . Since , there is a bag containing both and , and is a descendant of both and in (by the definition of and ). Without loss of generality, is on the -path in . Moreover, is also in (since and are in a common bag of ). Thus and are in the bag of , as desired.
Finally, we prove that for each vertex , the set of bags in that contain correspond to a (connected) subtree of . By assumption, this property holds in . Let be the subtree of whose corresponding bags in contain . Let be the root of . Then and . By property , for each node in . Moreover, again by property , deleting from the nodes such that gives a connected subtree of , which is precisely the subtree of whose bags in contain .
Hence is a -decomposition of . By definition, is contained in .
We now prove that is -rich. Consider an edge . Without loss of generality, is the parent of in . Our goal is to prove that is a clique on at most vertices. Certainly, it is a clique on at most vertices, since is -rich. Now, (since ). If then , and we are done. Now assume that . Thus and . Let be a vertex in . Let be the neighbour of on a shortest path in between and . Thus is in . Thus , as desired. Hence is -rich.
We now prove that is shadow-complete. Let be a connected component of for some . Let be the subgraph of whose corresponding bags in intersect . Since is connected, is indeed a connected subtree of . Let be the root of . Consider a vertex in the shadow of . That is, and is adjacent to some vertex in . Let be the node closest to in such that . Then and . Thus . Note that and some vertex in is in and is thus in . Thus . Since is an ancestor of in , by property , implying . Thus . Since is a clique, the shadow of is a clique. Hence is shadow-complete. Moreover, since , the shadow of has size at most . ∎
Iterating Lemma 2.13 gives the next lemma.
Lemma 5.20 ([52]).
For some number , let be a class of graphs with . For , let be a class of graphs that have a shadow-complete layering such that each layer induces a graph in . Then for every graph .
Lemmas 5.19 and 5.20 lead to the following result:
Lemma 5.21.
Let be a graph that has a -rich tree decomposition such that the subgraph induced by each bag is nonrepetitively -colourable. Then
Proof.
For , let be the set of induced subgraphs of that have a -rich tree decomposition contained in . Note that itself is in . Consider a graph . Then is the union of disjoint subgraphs of , each of which is contained in a bag of and is thus nonrepetitively -colourable. Thus is nonrepetitively -colourable. Now consider some for some . Thus is an induced subgraph of with a -rich tree decomposition contained in . By Lemma 5.19, has a shadow-complete layering such that for each layer , the induced subgraph has a -rich tree decomposition contained in . Thus is in . By Lemma 5.20, the graph is nonrepetitively -colourable. ∎
An identical proof using Lemma 2.14 instead of Lemma 2.13 gives the following analogous result for stroll-nonrepetitive colourings.
Lemma 5.22.
Let be a graph that has a -rich tree decomposition such that the subgraph induced by each bag is stroll-nonrepetitively -colourable. Then
If a graph has a tree-decomposition with adhesion such that each torso is nonrepetitively -colourable, then is a subgraph of a graph that has an -rich tree-decomposition such that each bag is nonrepetitively -colourable. Thus Lemmas 5.21 and 5.22 imply Lemma 5.12, whose proof was the goal of this subsection.
5.5 Non-Minor-Closed Classes
This section explores generalisations of the results in Sections 5.1 and 5.2 for various non-minor-closed classes. All the results are due to Dujmović et al. [53] and are based on the previous work on treewidth and strong products. Dujmović et al. [53] only presented their results for , but the proofs immediately generalise for .
A graph is -planar if it has a drawing in the plane in which each edge is involved in at most crossings. Such graphs provide a natural generalisation of planar graphs, and are important in graph drawing research; see the recent bibliography on 1-planar graphs and the 140 references therein [92]. Dujmović et al. [53] extended the above-mentioned result of Dujmović et al. [49, 50] to show that every 1-planar graph is a subgraph of for some planar graph with treewidth at most 3 and for some path . Lemma 4.12 then implies:
Theorem 5.23 ([53]).
For every -planar graph ,
Similarly, Dujmović et al. [53] proved that every -planar graph is a subgraph of , for some graph of treewidth and for some path . Lemma 4.12 then implies:
Theorem 5.24 ([53]).
For every -planar graph ,
More generally, a graph is -planar if it has a drawing in a surface with Euler genus at most in which each edge is involved in at most crossings. Dujmović et al. [53] proved that every -planar graph is a subgraph of for some graph with , where . Lemma 4.12 then implies:
Theorem 5.25 ([53]).
For every -planar graph ,
Map graphs provide another natural generalisation of graphs embedded in surfaces. Start with a graph embedded in a surface of Euler genus , with each face labelled a ‘nation’ or a ‘lake’, where each vertex of is incident with at most nations. Let be the graph whose vertices are the nations of , where two vertices are adjacent in if the corresponding faces in share a vertex. Then is called a -map graph. A -map graph is called a (plane) -map graph; see [63, 34] for example. The -map graphs are precisely the graphs of Euler genus at most ; see [45]. So -map graphs generalise graphs embedded in a surface; now assume that .
Dujmović et al. [53] proved that every -map graph is a subgraph of for some path and for some graph with . Lemma 4.12 then implies:
Theorem 5.26 ([53]).
For every -map graph ,
Dujmović et al. [53] proved that for integers and , if then every -map graph is a subgraph of for some path and for some graph with . Lemma 4.12 then implies:
Theorem 5.27 ([53]).
For integers and , and for every -map graph ,
6 Subdivisions
This section studies nonrepetitive colourings of graph subdivisions. These results are of independent interest, and will be important when considering expansion in the following section.
6.1 Upper Bounds: Small Subdivisions
Nešetřil et al. [113] observed the following simple upper bounds on the nonrepetitive chromatic number of any subdivision. Note that much better bounds follow.
Lemma 6.1 ([113]).
(a) For every -subdivision of a graph ,
(b) For every -subdivision of a graph ,
(c) For every subdivision of a graph ,
Proof.
First we prove (a). Given a nonrepetitive -colouring of , introduce a new colour for each division vertex of . Since this colour does not appear elsewhere, a repetitively coloured path in defines a repetitively coloured path in . Thus contains no repetitively coloured path. Part (b) follows by applying (a) twice.
Now we prove (c). Let be the maximum number of division vertices on some edge of . By Theorem 3.1, has a nonrepetitive -colouring . Arbitrarily orient the edges of . Given a nonrepetitive -colouring of , choose each to be one of three new colours for each arc of that is subdivided times, colour the division vertices from to by . Suppose has a repetitively coloured path . Since is a collection of disjoint paths, each of which is nonrepetitively coloured, includes some original vertices of . Let be the path in obtained from as follows. If includes the entire subdivision of some edge of then replace that subpath by in . If includes a subpath of the subdivision of some edge of , then without loss of generality, it includes , in which case replace that subpath by in . Since the colours assigned to division vertices are distinct from the colours assigned to original vertices, a -vertex path of division vertices in the first half of corresponds to a -vertex path of division vertices in the second half of . Hence is a repetitively coloured path in . This contradiction proves that is nonrepetitively coloured. Hence . ∎
Note that Lemma 6.1(a) is best possible in the weak sense that and ; see [39]. But better asymptotic results can be obtained.
First we prove that for graphs with maximum degree , the upper bound for general graphs can be improved to for subdivided graphs. The proof uses Rosenfeld counting.
Theorem 6.2.
For every -subdivision of a graph with maximum degree ,
Theorem 6.2 follow from the next lemma with . Recall that is the number of nonrepetitive -colourings of a graph .
Lemma 6.3.
Fix an integer and a real number . Let
Then for every -subdivision of a graph with maximum degree , for every -list assignment of , and for every vertex of ,
Proof.
We proceed by induction on . The base case with is trivial (assuming if ). Let be an integer such that the lemma holds for all graphs with less than vertices. Let be an -vertex -subdivision of a graph with maximum degree . Let be a -list assignment of . Let be any vertex of . Let be the set of -colourings of that are repetitive but are nonrepetitive on . Then
(9) |
We now upper-bound . For , let be the set of colourings in , for which there is a repetitively path in on vertices. Then . For each colouring in there is a repetitively path on vertices in such that , is nonrepetitively coloured by , and is completely determined by the restriction of to colouring (since the colouring of is identical to the colouring of ). Charge to . The number of colourings in charged to is at most . Since contains and other vertices, by induction
Thus the number of colourings in charged to is at most . A simple adaptation of Lemma 3.10 shows that there are at most paths on vertices including . Thus
Hence
By Equation 9,
as desired. ∎
Upper bounds on that do not depend on are difficult. There is a lower bound,
where the second inequality was proved by Wood [146]. We have the following upper bound that also involves .
Lemma 6.4.
For every graph ,
Proof.
Let . Let be a proper colouring of with colour-set . Let and . Let be a nonrepetitive colouring of with colour-set (which exists since ). For each vertex of , if and then colour by . For each edge of , if and and , then colour the division vertex of by . The number of colours is at most .
Suppose for the sake of contradiction that contains a repetitively coloured path . Since alternates between original and division vertices, exactly one of and is original. Without loss of generality, is an original vertex (otherwise consider the reverse path). Since original and division vertices are assigned distinct colours, is original if and only if is original. Thus is path in . In particular, is even and at least 2. Consider each . Then and are coloured , and and are coloured for some distinct and and . If then , otherwise . Hence is -repetitive.
This contradiction shows that is nonrepetitively coloured. Hence . ∎
For 2-subdivisions and 3-subdivisions we have the following improved upper bounds.
Lemma 6.5.
For every graph ,
Proof.
Let . Let be a nonrepetitive colouring of with colour-set . Arbitrarily orient the edges of . Let be the resulting set of arcs of . For each original vertex , if then colour by . For each arc , if is the path in corresponding to , and and , then colour by and colour by . There are at most colours.
Suppose for the sake of contradiction that is a repetitively coloured path in . Since only original vertices are assigned a type- colour, is original if and only if is original. Say are the original vertices in .
Suppose that . Then is the subpath formed by the two division vertices of some edge of . These two vertices are assigned distinct colours, implying is nonrepetitively coloured.
Now assume that . Then is a path in . Without loss of generality, is in the first half of (otherwise consider in the reverse order). For each , if and are coloured , and and are coloured or , then . Hence is -repetitive.
This contradiction shows that is nonrepetitively coloured. Hence . ∎
Lemma 6.6.
For every graph ,
Proof.
Let . Let be a nonrepetitive colouring of with colour-set . Arbitrarily orient the edges of . Let be the resulting set of arcs of . For each original vertex , if then colour by . For each arc , if is the path in corresponding to , and and , then colour by , colour by , and colour by . There are at most colours.
Suppose for the sake of contradiction that is a repetitively coloured path in . Since only original vertices are assigned a type- colour, is original if and only if is original. Say are the original vertices in .
Suppose that . Then is contained in the subpath formed by the three division vertices of some edge of . These three vertices are assigned distinct colours, implying is nonrepetitively coloured.
Now assume that . Then is a path in . Without loss of generality, is in the first half of (otherwise consider in the reverse order). Consider each . Then and are coloured for some . And and are coloured or , for some . And and are coloured , for some . If and are coloured , then . Otherwise, and are coloured , implying . In both cases, . Hence is -repetitive. This contradiction shows that is nonrepetitively coloured. Hence . ∎
6.2 Upper Bounds: Large Subdivisions
Loosely speaking, Lemma 6.1 says that nonrepetitive colourings of subdivisions are not much “harder" than nonrepetitive colourings of the original graph. This intuition is made more precise if we subdivide each edge many times. Then nonrepetitive colourings of subdivisions are much “easier" than nonrepetitive colourings of the original graph. In particular, Grytczuk [70] proved that every graph has a nonrepetitively 5-colourable subdivision. This bound was improved to 4 by Barát and Wood [17] and by Marx and Schaefer [106], and to 3 by Pezarski and Zmarz [121] (affirming a conjecture of Grytczuk [70]). This deep generalisation of Thue’s Theorem implies that the class of nonrepetitively -colourable graphs is not contained in a proper topologically-closed class.
For each of these results, the number of division vertices per edge is or . Improving these bounds, Nešetřil et al. [113] proved that every graph has a nonrepetitively 17-colourable subdivision with division vertices per edge, and that division vertices are needed on some edge of any nonrepetitively -colourable subdivision of (see Theorem 6.28 below). No attempt was made to optimise the constant 17. Grytczuk et al. [77] asked whether every graph has a nonrepetitively -choosable subdivision, for some constant ? This problem was solved by Dujmović et al. [48], who proved that every graph has a nonrepetitively -choosable subdivision. Each edge is subdivided times, which is for graphs of maximum degree , which is at most the bound of Nešetřil et al. [113].
# colours | # division vertices per edge | reference |
---|---|---|
Grytczuk [70] | ||
Barát and Wood [17] | ||
Marx and Schaefer [106] | ||
Nešetřil et al. [113] | ||
Dujmović et al. [48] | ||
Theorem 6.10 | ||
Pezarski and Zmarz [121] |
Theorem 6.10 below presents a new construction with 5 colours and division vertices per edge. Like the result of Dujmović et al. [48] the number of division vertices per edge depends on the original graph, and in the worst case is , thus matching the upper bound of Nešetřil et al. [113]. For graphs of maximum degree , since , the new upper bound matches the bound by Dujmović et al. [48]. Note that Brešar et al. [28] proved that every tree has a nonrepetitively 3-colourable subdivision.
Open Problem 6.7.
Does every graph have a -choosable subdivision with division vertices per edge, for some constant ?
Here we include the proof of Barát and Wood [17]555The original proof of Barát and Wood [17] had an error, which was reported and corrected by Antonides, Spychalla and Yamzon; see the corrigendum in [17]..
Theorem 6.8 ([17]).
Every graph has a nonrepetitively 4-colourable subdivision.
Proof.
Without loss of generality, is connected. Say ordered by non-decreasing distance from . As illustrated in Figure 2, let be the subdivision of obtained by subdividing each edge (with ) times. The depth of each vertex of is the distance from to in . In the original graph , for each , vertex has a neighbour with ; it follows that is at depth . For , let be the set of vertices in at depth . So is a layering of . Note that the endpoints of each edge are in consecutive layers. (Think of on a horizontal line in this order, with a vertical line through each , and an additional vertical line between and . Each edge of is subdivided at each point it crosses a vertical line.)

By Lemma 3.3, there is a walk-nonrepetitive -colouring of the path . Colour each vertex of at depth by .
Suppose that contains a repetitively coloured path . Let be the projection of into . Since no two adjacent vertices in are at the same depth, is a walk in . Since is walk-nonrepetitive, is boring. Thus and are at the same depth for each Since no two adjacent vertices in are at the same depth, .
First suppose that . Since and are at the same depth, and is adjacent to both and , it must be that is an original vertex (since division vertices only have two neighbours, and they are at distinct depths). Similarly, is an original vertex. This is a contradiction, since no two original vertices of are adjacent in . Now assume that .
First suppose that and are at the same depth for some . Thus is an original vertex of . Say is at depth . Without loss of generality, and are at depth . There is at most one original vertex in each layer. Thus , which is also at depth , is a division vertex. Now has two neighbours in , which are at depths and . Thus and are at depths and , which contradicts the fact that and are both at depth .
Now assume that for all , the vertices and are at distinct depths.
Say is at depth . Without loss of generality, is at depth (since no edge of has both endpoints at the same depth). It follows that is at depth for each . In particular, is at depth . Now, is at depth (the same depth as ). Since is an edge, and every edge goes between consecutive levels, , implying , which is a contradiction. Hence we have a path-nonrepetitive -colouring of . ∎
The next lemma is a key to our bounds on the number of division vertices per edges in a nonrepetitively -colourable subdivision.
Lemma 6.9.
Assume that there exist at least distinct nonrepetitive -colourings of the -vertex path, for some . Then for every graph with ,
Proof.
Fix a nonrepetitive colouring of with colour-set . Let be distinct nonrepetitive colourings of the path , each with colour-set . That is, for all distinct there exists such that .
For each edge of , if is the path in corresponding to and , then colour by for each . The same rule colours by where . Call a middle vertex. Colour each original vertex and colour each middle vertex .
Suppose for the sake of contradiction that contains a repetitively coloured path . Since only original vertices are coloured , is original if and only if is original. Say are the original vertices in .
Suppose that . Then for some edge of , is a subpath of using the above notation for . Since only middle vertices are coloured , without loss of generality, is a subpath of , which is a contradiction since is nonrepetitively coloured.
Now assume that . Then is a path in . Without loss of generality, the middle vertex of the edge is in the first half of (otherwise consider in the reverse order). Consider and . By construction, is coloured where , and is coloured where . Since is repetitively coloured, and are assigned the same colour. That is, for each . Since are distinct colourings, . Thus . Hence is a -repetitively coloured path in .
This contradiction shows that is nonrepetitively ()-coloured, and . ∎
Numerous authors have shown that paths have exponentially many nonrepetitive 3-colourings; see [20] for a survey of such results. For example, Ekhad and Zeilberger [58] proved that for every there are at least distinct nonrepetitive 3-colourings of the -vertex path. This result and Lemma 6.9 imply:
Theorem 6.10.
For every graph , if then
For 6 or more colours, Theorem 3.8 with and Lemma 6.9 imply:
Theorem 6.11.
For every graph and integer , if then
We can restate this result as the following upper bound on .
Theorem 6.12.
For every graph and odd integer ,
Proof.
The result is trivial if . Now assume that , implying . Let , which is in . Let . So is an integer. By Theorem 3.8 there exist at least distinct nonrepetitive -colourings of the -vertex path. By Lemma 6.9,
6.3 Lower Bounds
We now set out to prove a converse of Lemma 6.1; that is, if is a subdivision of with a bounded number of division vertices per edge, then is bounded by a function of (see Theorem 6.20 below). The following tool by Nešetřil and Raspaud [114] will be useful.
Lemma 6.13 ([114]).
For every -colouring of the arcs of an oriented forest , there is a -colouring of the vertices of , such that between each pair of (vertex) colour classes, all arcs go in the same direction and have the same colour.
A rooting of a forest is obtained by nominating one vertex in each component tree of to be a root vertex.
Lemma 6.14 ([113]).
Let be the -subdivision of a forest . Then for every nonrepetitive -colouring of , and for every rooting of , there is a nonrepetitive -colouring of , such that:
-
(a)
For all edges and of with and , the division vertices corresponding to and have the same colour in .
-
(b)
For all non-root vertices and with , the division vertices corresponding to the parent edges of and have the same colour in .
-
(c)
For every root vertex and every non-root vertex , we have .
-
(d)
For all vertices and of , if then .
Proof.
Let be a nonrepetitive -colouring of with colour-set . Colour each edge of by the colour assigned by to the corresponding division vertex. Orient each edge of towards the root vertex in its component. By Lemma 6.13, there is a -colouring of the vertices of , such that between each pair of (vertex) colour classes in , all arcs go in the same direction and have the same colour in . Consider a vertex of . If is a root, let ; otherwise let where is the parent of . Let for each vertex of . The number of colours in is at most . Observe that claims (c) and (d) hold by definition.
We claim that is nonrepetitive. Suppose on the contrary that there is a path in that is repetitively coloured by . That is, for each . Thus and and . Since no two root vertices are in a common path, (c) implies that every vertex in is a non-root vertex.
Consider the edge of for some . We have and . Between these two colour classes in , all arcs go in the same direction and have the same colour. Thus the edge is oriented from to if and only if the edge is oriented from to . And .
If at least two vertices and in have indegree in , then some vertex between and in has outdegree in , which is a contradiction. Thus at most one vertex has indegree in . Suppose that has indegree in . Then each edge in is oriented from to if , and from to if (otherwise two vertices have indegree in ). In particular, is oriented from to and is oriented from to . This is a contradiction since the edge is oriented from to if and only if the edge is oriented from to . Hence no vertex in has indegree . Thus is a directed path.
Without loss of generality, is oriented from to . Let be the parent of . Now and and . Thus .
Summarising, the path
in is repetitively coloured by . (Here division vertices in are described by the corresponding edge.) Since is nonrepetitive in , we have the desired contradiction. Hence is a nonrepetitive colouring of .
It remains to prove claims (a) and (b). Consider two edges and of , such that and . Thus and . Thus and have the same colour in . Thus the division vertices corresponding to and have the same colour in . This proves claim (a). Finally consider non-root vertices and with . Thus . Say and are the respective parents of and . By construction, . Thus the division vertices of and have the same colour in . This proves claim (b). ∎
A colouring of a graph is acylic if adjacent vertcies are assigned distinct colours and every cycle is assigned at least three distinct colours; that is, the subgraph induced by any two colour classes is a forest. The acyclic chromatic number of a graph , denoted by , is the minimum number of colours in an acyclic colouring of . Acyclic colourings are well studied [2, 10, 11, 26]. For example, every planar graph is acyclically 5-colourable [26]. We now extend Lemma 6.14 to apply to graphs with bounded acyclic chromatic number; see [9, 114] for similar methods.
Lemma 6.15 ([113]).
Let be the -subdivision of a graph , such that and . Then
Proof.
Let be an acyclic -colouring of with colour-set . Let be a nonrepetitive -colouring of . For distinct , let be the subgraph of induced by the vertices coloured or by . Thus each is a forest, and restricted to is nonrepetitive.
For distinct , by Lemma 6.14 applied to , there is a nonrepetitive -colouring of satisfying Lemma 6.14(a)–(d).
Consider a vertex of . For each colour with , let . Define
Note that the number of colours in is at most We claim that is a nonrepetitive colouring of .
Suppose on the contrary that some path in is repetitively coloured by . That is, for each . Thus for each . Let . Consider any with . Thus and . Hence by Lemma 6.14(d).
Consider an edge for some . Let and . Now and . Thus and . Moreover, and . That is, and . Thus by Lemma 6.14(a).
Consider the edge . Let and . Without loss of generality, is the parent of in the forest . In particular, is not a root of . Since and by Lemma 6.14(c), also is not a root of . Let be the parent of in . By Lemma 6.14(b) applied to and , we have .
Summarising, the path
is repetitively coloured in . This contradiction proves that is repetitively coloured by . ∎
Lemma 6.15 generalises for -subdivisions as follows:
Lemma 6.16 ([113]).
Let be a -subdivision of a graph , such that and . Then
Proof.
Since is a -subdivision of , Lemma 6.1(a) implies that . Lemma 6.15 implies the result. ∎
Lemma 6.17 ([113]).
Let be a nonrepetitive -colouring of the 1-subdivision of a graph . Then
Proof.
Orient the edges of arbitrarily. Let be the set of oriented arcs of . So induces a -colouring of and of . For each vertex of , let
The number of possible values for is at most . We claim that is an acyclic colouring of .
Suppose on the contrary that for some arc of . Thus and , implying . That is, for some arc , we have and . Thus the path in is repetitively coloured. This contradiction shows that properly colours . It remains to prove that contains no bichromatic cycle (with respect to ).
First consider a bichromatic path in with . Thus .
Suppose on the contrary that is oriented , as illustrated in Figure 3(a). By construction, , implying . That is, and for some arc (and thus ). Similarly, , implying . Thus and for some arc (and thus ). Hence the 8-vertex path in is repetitively coloured by , as illustrated in Figure 3(b). This contradiction shows that both edges in are oriented toward or both are oriented away from .

Consider the case in which both edges in are oriented toward . Suppose on the contrary that . By construction, , implying . That is, and for some arc (implying since ). Similarly, , implying . That is, and for some arc (implying since ). Hence the path in is repetitively coloured in , as illustrated in Figure 3(c). This contradiction shows that . By symmetry, when both edges in are oriented away from .
Hence in each component of , all the division vertices have the same colour in . Every bichromatic cycle contains a 4-cycle or a 5-path. If contains a bichromatic 5-path , then all the division vertices in have the same colour in , and is a repetitively coloured path in , as illustrated in Figure 3(d). Similarly, if contains a bichromatic 4-cycle , then all the division vertices in have the same colour in , and is a repetitively coloured path in , as illustrated in Figure 3(e).
Thus contains no bichromatic cycle, and is an acyclic colouring of . ∎
Note that the above proof establishes the following stronger statement: If the 1-subdivision of a graph has a -colouring that is nonrepetitive on paths with at most vertices, then has an acyclic -colouring in which each component of each 2-coloured subgraph is a star or a 4-path.
Lemmas 6.17 and 6.1(a) imply:
Lemma 6.18 ([113]).
If some -subdivision of a graph has a nonrepetitive -colouring, then
Lemma 6.19 ([113]).
If for some -subdivision of a graph , then
Proof.
by Lemma 6.18. The result follows from Lemma 6.16 with . ∎
Iterated application of Lemma 6.19 proves the following theorem.
Theorem 6.20 ([113]).
There is a function such that for every graph and every -subdivision of ,
Theorem 6.20 can be interpreted as follows. For each fixed integer , let be the minimum integer such that for some -subdivision of . The results discussed at the start of this section show that is well-defined. For , Theorem 6.10 shows that for every graph . Theorem 6.20 shows that a converse also holds. That is, for each integer , the parameters and are tied.
Open Problem 6.21.
Does every graph have a nonrepetitively 3-colourable subdivision with or even division vertices per edge? Note that Brešar et al. [28] proved that for every tree .
Open Problem 6.22.
Does every nonrepetitively -colourable subdivision of a graph have an edge subdivided at least times, for some absolute constant ?
The results in the next section give an affirmative answer to this question for complete graphs, and indeed for any graph with .
6.4 Subdivisions of Dense Graphs
Nešetřil et al. [113] proved the following generalisation of Proposition 2.2 in the case of complete graphs. The same proof works for all graphs.
Lemma 6.23.
For every -subdivision of a graph ,
Moreover,
Lemma 6.23 is implied by the following stronger result. This strengthening will be useful in Section 7.
Lemma 6.24.
Let be a -subdivision a graph . Assume that is -colourable with no repetitively coloured paths on at most vertices. Then
Moreover, if then
Proof.
Arbitrarily orient each edge of . Let be the resulting set of arcs of . Let be a -colouring of with colour-set and with no repetitively coloured paths on at most vertices. Let be the set of vertices in coloured . For each arc , if is the sequence of division vertices on from to , then let . Let . Note that
Moreover, if then .
For and , let be the subgraph of with and . Note that possibly . We now bound the number of edges in each .
First suppose that contains a directed path . Let and . Thus , and and are both subdivided times, for some . Moreover, and for each . Thus is a repetitively coloured path in on vertices, as illustrated in Figure 4(a). This contradiction shows that contains no 2-edge directed path.
Let be the undirected graph underlying . Suppose that contains a cycle for some . Each edge of is subdivided times, for some . Since contains no 2-edge directed path, without loss of generality, the edges of are oriented and . Thus . By construction, and . Let and and and . By construction for each . Thus
is a repetitively coloured path in on vertices, as illustrated in Figure 4(b).
This contradiction shows that is acyclic. Thus . Hence
The result follows by the above bounds on . ∎

Lemma 6.1(c) and Lemma 6.23 imply:
Lemma 6.25.
For every graph and integer , if is any -subdivision of , then
6.5 Complete Graphs
Theorem 6.20 with implies that there is a function such that for every -subdivision of ,
and for all fixed . Nešetřil et al. [113] obtained reasonable bounds on , and indeed, for fixed , determined up to a constant factor.
Lemma 6.26 ([113]).
Let and and be integers. If then
Proof.
Let be a nonrepetitive sequence such that and . Let be a total ordering of the original vertices of . Since , the original vertices of can be labelled
Colour each original vertex by . Consider a pair of original vertices and with . If is the transition from to , then for , colour the division vertex by
where is the indicator function of . We say this transition is rooted at . Observe that the number of colours is at most .
Every transition is coloured
for some and and . Every such transition is rooted at the original vertex . That is, the colours assigned to a transition determine its root.
Suppose on the contrary that is a repetitively coloured path in . Since every original vertex receives a distinct colour from every division vertex, for all , is an original vertex if and only if is an original vertex, and is a division vertex if and only if is a division vertex.
By construction, every transition is coloured nonrepetitively. Thus contains at least one original vertex, implying contains at least one original vertex. If contains at least two original vertices, then contains a transition , implying is another transition receiving the same tuple of colours. Thus and are rooted at the same original vertex, implying is not a path.
Now assume there is exactly one original vertex in . Thus is the only original vertex in . Hence is a transition, implying . Without loss of generality, and this transition is rooted at .
Let and . For , the vertex is the -th vertex in the transition from to , and is thus coloured .
Suppose that . Let be the original vertex such that the transition between and contains . Now
Since , we have . For , the vertex is the -th vertex in the transition from to , and thus
In particular, for all . Note that if then this conclusion is vacuously true.
Now suppose that . Let be the original vertex such that the transition between and contains . Now
Since , we have . For , the vertex is the -th vertex in the transition from to , and thus
In particular, and . Thus for all . Note that if then this conclusion is vacuously true.
Hence for all . Now is coloured , and is coloured . Since and receive the same colour, . Therefore for all . That is, , which is the desired contradiction.
Therefore there is no repetitively coloured path in . ∎
Theorem 6.27 ([113]).
For ,
Proof.
The lower bound follows from Lemma 6.23. The upper bound is Lemma 6.26 with and . ∎
As mentioned earlier, Nešetřil et al. [113] showed that for a -colourable subdivision of , division vertices per edge is best possible.
Theorem 6.28.
For every , the -subdivision of has a nonrepetitive -colouring. Conversely, if is a subdivision of and then some edge of is subdivided at least times.
Proof.
The upper bound follows from Theorem 6.10. For the lower bound, suppose that is a -subdivision of and . By Lemma 6.25, . That is, . Hence some edge of is subdivided at least times. ∎
Now consider nonrepetitive colourings of the 1-subdiivsion of . Nešetřil et al. [113] proved the following upper bound666The proof of Proposition 6.29 corrects an error in the proof in [113].
Proposition 6.29 ([113]).
For every ,
Proof.
Let . In , let be the original vertices, and let be the division vertex having and as its neighbours.
Colour each original vertex by . Colour each division vertex by if . Colour each division vertex by where .
Suppose that is a repetitively coloured path. Since original and division vertices are assigned distinct colours, is even.
First suppose that . Then contains some transition . Observe that each transition is uniquely identified by the three colours that it receives. In particular, the only transition coloured with is . And the only transition coloured is . Thus is repeated in , which is a contradiction.
Otherwise . Thus is coloured for some . But the only edges coloured are the two edges in the transition , which again is a contradiction
Hence there is no repetitively coloured path. The number of colours is . ∎
Open Problem 6.30.
What is ? Lemmas 6.23 and 6.29 imply . The slightly better lower bound follows from the previously mentioned lower bound by Wood [146]. The best known upper bound is in Proposition 6.29.
Open Problem 6.31 ([48]).
Is there a function such that for every graph and for every matching of , where denotes the graph obtained from by contracting the edges in ? This would generalise the results in Section 6.3 about subdivisions (when each edge in has one endpoint of degree 2).
Open Problem 6.32.
Does every graph have a nonrepetitively -choosable subdivision? Even -choosable might be possible (although this is open even for paths).
7 Bounded Expansion
Nešetřil and Ossona de Mendez [112] introduced the notion of bounded expansion graph classes as a robust measure of graph sparsity. The main result in this section is that graphs with bounded nonrepetitive chromatic number have bounded expansion, as proved by Nešetřil, Ossona de Mendez, and Wood [113].
For , a graph is an -shallow minor of a graph if there is a set of pairwise disjoint connected induced subgraphs of , each with radius at most , such that is isomorphic to a subgraph of the graph obtained from by contracting each subgraph in into a vertex. For a graph , Nešetřil and Ossona de Mendez [112] defined to be the maximum, taken over all -shallow minors of , of the average degree of .
A graph class has bounded expansion with bounding function if for each and . We say has linear expansion if, for some constant , for all , every graph satisfies . Similarly, has polynomial expansion if, for some constant , for all , every graph satisfies . For example, when is a constant, is contained in a proper minor-closed class. As is allowed to grow with we obtain larger and larger graph classes.
Bounded expansion classes can be characterised by excluded subdivisions. A rational number is a half-integer if is an integer. For a half-integer , a graph is an -shallow topological minor of a graph if a -subdivision of is a subgraph of . Nešetřil and Ossona de Mendez [112] defined to be the maximum of taken over all -shallow topological minors in .
Now add nonrepetitive chromatic number into the picture. Consider a graph . By definition, some subgraph of is a -subdivision of some graph with . By Lemma 6.23,
Since is a subgraph of , we have . Thus
(10) |
It follows from a result of Dvořák [55] that and are equivalent in the sense that
(11) |
Equations 11 and 10 imply:
This implies the following theorem:
Theorem 7.1 ([113]).
For each the class of graphs has bounded expansion.
Nešetřil et al. [113] actually proved a stronger result that we now present. The idea originates in a notion of Dujmović and Wood [54], who defined a graph parameter to be topological if for some function , every graph satisfies and , where is the -subdivision of . For instance, tree-width and genus are topological, but chromatic number is not. Sightly more generally, Nešetřil et al. [113] defined a graph parameter to be strongly topological if for some function , for every graph and every -subdivision of , we have and . Lemmas 6.19 and 6.1(a) imply:
Theorem 7.2 ([113]).
is strongly topological.
Nešetřil et al. [113] characterised bounded expansion classes as follows. A graph parameter is monotone if for every subgraph of , and is degree-bound if for some function , every graph has a vertex of degree at most . Nešetřil et al. [113] characterised bounded expansion classes as follows:
Lemma 7.3 ([113]).
A graph class has bounded expansion if and only if there exists a strongly topological, monotone, degree-bound graph parameter and a constant such that .
By definition, is a monotone graph parameter. By Proposition 2.2, every graph has a vertex of degree at most , implying that is degree-bound. Thus Lemma 7.3 is applicable with where is nonrepetitive chromatic number itself. In particular, Lemma 7.3 implies Theorem 7.1.
The following well-known folklore theorem takes this result further, and actually characterises bounded expansion classes in terms of nonrepetitive colourings.
Theorem 7.4.
A graph class has bounded expansion if and only if there is a function such that for every graph and every , there is an -colouring of with no repetitively coloured path on at most vertices.
Proof.
The following definition is useful for the proof. A coloring of a graph is -centred if for every connected subgraph of , some color appears exactly once in or is assigned at least colours. Let be the minimum number of colours in a -centred colouring of .
(This direction is similar to a result of Grytczuk [70] about weak colouring numbers and a result of Yang [148] about transitive fraternal augmentations.) Let be a graph class with bounded expansion. Nešetřil and Ossona de Mendez [112] proved that has bounded for every . That is, there exists a function (depending on the expansion function of ) such that for every graph . Consider a -centred colouring of a graph with at most colours. Let be a path in on at most vertices. If is repetitively coloured by , then no colour appears exactly once in , implying that is assigned at least colours, which is impossible for a repetitively coloured path on at most vertices. Thus paths with at most vertices in are nonrepetitiely coloured.
Let be a graph class and let be a function such that for every graph and every , there is an -colouring of with no repetitively coloured path on at most vertices. To show that is bounded for , we use the argument at the start of this section. By definition, some subgraph of is a -subdivision of some graph with . Let . By assumption, there is an -colouring of with no repetitively coloured path on at most vertices. The same property holds for the subgraph of . By Lemma 6.24 with and , we have . By Equation 11, , which is a function of . Hence has bounded expansion. ∎
Many graph classes with bounded expansion also have bounded nonrepetitive chromatic number (such as planar graphs, graphs excluding a fixed minor, graphs excluding a fixed subdivision, -planar graphs, etc.) The following open problem is probably the most important direction for future research on nonrepetitive colourings.
Open Problem 7.5.
Do graphs of linear / polynomial / single exponential expansion have bounded nonrepetitive chromatic number? Single exponential expansion would be best possible here, since by Theorem 6.28, the -subdivision of has unbounded . It is even possible that if a graph class has bounded expansion with expansion function , then for some constant , every graph satisfies
(12) |
Note that graphs with maximum degree have bounded expansion with expansion function . So if (12) holds, then , implying (3). This is the reason for the 2 in (12). This question is highly speculative. Whether graphs with linear or polynomial expansion have bounded is already a challenging question. Note that Equation 12 was jointly formulated with Gwenaël Joret.
Acknowledgements
Thanks to János Barát, Vida Dujmović, Louis Esperet, Gwenaël Joret, Jakub Kozik, Jaroslav Nešetřil, Patrice Ossona de Mendez, Bartosz Walczak, Paul Wollan and Timothy Wilson, with whom I have collaborated on nonrepetitive graph colouring. Thanks to Louis Esperet, Kevin Hendrey, Robert Hickingbotham, Gwenaël Joret and Piotr Micek for insightful comments about this survey. Thanks to Arseny Shur for helpful discussions about reference [133]. Thanks to Timothy Chan for pointing out reference [142]. Thanks to Stéphan Thomassé for asking a good question.
References
- Achlioptas et al. [2019] Dimitris Achlioptas, Fotis Iliopoulos, and Vladimir Kolmogorov. A local lemma for focused stochastic algorithms. SIAM J. Comput., 48(5):1583–1602, 2019. doi: 10.1137/16M109332X.
- Albertson and Berman [1978] Michael O. Albertson and David M. Berman. An acyclic analogue to Heawood’s theorem. Glasgow Math. J., 19(2):163–166, 1978. doi: 10.1017/S001708950000358X.
- Albertson et al. [2004] Michael O. Albertson, Glenn G. Chappell, H. A. Kierstead, André Kündgen, and Radhika Ramamurthi. Coloring with no 2-colored ’s. Electron. J. Combin., 11(1):R26, 2004. doi: 10.37236/1779. MR: 2056078.
- Allouche et al. [2009] Jean-Paul Allouche, Narad Rampersad, and Jeffrey Shallit. Periodicity, repetitions, and orbits of an automatic sequence. Theoret. Comput. Sci., 410(30-32):2795–2803, 2009. doi: 10.1016/j.tcs.2009.02.006.
- Allouche and Shallit [1999] Jean-Paul Allouche and Jeffrey Shallit. The ubiquitous Prouhet-Thue-Morse sequence. In Sequences and their applications, Springer Ser. Discrete Math. Theor. Comput. Sci., pp. 1–16. Springer, 1999.
- Alon and Grytczuk [2005] Noga Alon and Jarosław Grytczuk. Nonrepetitive colorings of graphs. Electronic Notes in Discrete Math., 22:353–355, 2005. doi: 10.1016/j.endm.2005.06.077.
- Alon and Grytczuk [2008] Noga Alon and Jarosław Grytczuk. Breaking the rhythm on graphs. Discrete Math., 308:1375–1380, 2008. doi: 10.1016/j.disc.2007.07.063. MR: 2392054.
- Alon et al. [2002] Noga Alon, Jarosław Grytczuk, Mariusz Hałuszczak, and Oliver Riordan. Nonrepetitive colorings of graphs. Random Structures Algorithms, 21(3–4):336–346, 2002. doi: 10.1002/rsa.10057. MR: 1945373.
- Alon and Marshall [1998] Noga Alon and Timothy H. Marshall. Homomorphisms of edge-colored graphs and Coxeter groups. J. Algebraic Combin., 8(1):5–13, 1998. doi: 10.1023/A:1008647514949.
- Alon et al. [1991] Noga Alon, Colin McDiarmid, and Bruce Reed. Acyclic coloring of graphs. Random Structures Algorithms, 2(3):277–288, 1991. doi: 10.1002/rsa.3240020303.
- Alon et al. [1996] Noga Alon, Bojan Mohar, and Daniel P. Sanders. On acyclic colorings of graphs on surfaces. Israel J. Math., 94:273–283, 1996. doi: 10.1007/BF02762708.
- Amini et al. [2013] Omid Amini, Louis Esperet, and Jan van den Heuvel. A unified approach to distance-two colouring of graphs on surfaces. Combinatorica, 33(3):253–296, 2013. doi: 10.1007/s00493-013-2573-2.
- Aprile [2014] Manuel Francesco Aprile. Constructive Aspects of Lovász Local Lemma and Applications to Graph Colouring. Master’s thesis, University of Oxford, 2014.
- Barát and Czap [2013] János Barát and Július Czap. Facial nonrepetitive vertex coloring of plane graphs. J. Graph Theory, 74(1):115–121, 2013. doi: 10.1002/jgt.21695.
- Barát and Varjú [2007] János Barát and Péter P. Varjú. On square-free vertex colorings of graphs. Studia Sci. Math. Hungar., 44(3):411–422, 2007. doi: 10.1556/SScMath.2007.1029. MR: 2361685.
- Barát and Varjú [2008] János Barát and Péter P. Varjú. On square-free edge colorings of graphs. Ars Combin., 87:377–383, 2008. MR: 2414029.
- Barát and Wood [2008] János Barát and David R. Wood. Notes on nonrepetitive graph colouring. Electron. J. Combin., 15:R99, 2008. doi: 10.37236/823. MR: 2426162.
- Bernshteyn [2017] Anton Bernshteyn. The local cut lemma. European J. Combin., 63:95–114, 2017. doi: 10.1016/j.ejc.2017.03.005.
- Berstel [1995] Jean Berstel. Axel Thue’s papers on repetitions in words : a translation. Université du Québec à Montréal, 1995.
- Berstel [2005] Jean Berstel. Growth of repetition-free words—a review. Theoret. Comput. Sci., 340(2):280–290, 2005. doi: 10.1016/j.tcs.2005.03.039.
- Berstel and Karhumäki [2003] Jean Berstel and J. Karhumäki. Combinatorics on words—a tutorial. Bull. Eur. Assoc. Theor. Comput. Sci. EATCS, 79:178–228, 2003.
- Berstel and Perrin [2007] Jean Berstel and Dominique Perrin. The origins of combinatorics on words. European J. Combin., 28(3):996–1022, 2007. doi: 10.1016/j.ejc.2005.07.019.
- Bissacot et al. [2011] Rodrigo Bissacot, Roberto Fernández, Aldo Procacci, and Benedetto Scoppola. An improvement of the Lovász local lemma via cluster expansion. Combin. Probab. Comput., 20(5):709–719, 2011. doi: 10.1017/S0963548311000253.
- Blanchet-Sadri and Woodhouse [2013] Francine Blanchet-Sadri and Brent Woodhouse. Strict bounds for pattern avoidance. Theoret. Comput. Sci., 506:17–28, 2013. doi: 10.1016/j.tcs.2013.08.010.
- Bodlaender [1998] Hans L. Bodlaender. A partial -arboretum of graphs with bounded treewidth. Theoret. Comput. Sci., 209(1-2):1–45, 1998. doi: 10.1016/S0304-3975(97)00228-4. MR: 1647486.
- Borodin [1979] Oleg V. Borodin. On acyclic colorings of planar graphs. Discrete Math., 25(3):211–236, 1979. doi: 10.1016/0012-365X(79)90077-3. MR: 534939.
- Bose et al. [2017] Prosenjit Bose, Vida Dujmović, Pat Morin, and Lucas Rioux-Maldague. New bounds for facial nonrepetitive colouring. Graphs Combin., 33(4):817–832, 2017. doi: 10.1007/s00373-017-1816-1.
- Brešar et al. [2007] Boštjan Brešar, Jarosław Grytczuk, Sandi Klavžar, Stanisław Niwczyk, and Iztok Peterin. Nonrepetitive colorings of trees. Discrete Math., 307(2):163–172, 2007. doi: 10.1016/j.disc.2006.06.017. MR: 2285186.
- Brešar and Klavžar [2004] Boštjan Brešar and Sandi Klavžar. Square-free colorings of graphs. Ars Combin., 70:3–13, 2004. MR: 2023057.
- Burris and Nelson [7172] S. Burris and E. Nelson. Embedding the dual of in the lattice of equational classes of semigroups. Algebra Universalis, 1:248–253, 1971/72. doi: 10.1007/BF02944986.
- Carmi et al. [2018] Paz Carmi, Vida Dujmović, and Pat Morin. Anagram-free chromatic number is not pathwidth-bounded. In Graph-theoretic concepts in computer science, vol. 11159 of Lecture Notes in Comput. Sci., pp. 91–99. Springer, 2018. doi: 10.1007/978-3-030-00256-58.
- Carpi [1998] Arturo Carpi. On the number of abelian square-free words on four letters. Discrete Appl. Math., 81(1-3):155–167, 1998. doi: 10.1016/S0166-218X(97)88002-X.
- Cheilaris et al. [2010] Panagiotis Cheilaris, Ernst Specker, and Stathis Zachos. Neochromatica. Comment. Math. Univ. Carolin., 51(3):469–480, 2010. http://www.dml.cz/dmlcz/140723. MR: 2741880.
- Chen et al. [2002] Zhi-Zhong Chen, Michelangelo Grigni, and Christos H. Papadimitriou. Map graphs. J. ACM, 49(2):127–138, 2002. doi: 10.1145/506147.506148. MR: 2147819.
- Crochemore [1982] Max Crochemore. Sharp characterizations of squarefree morphisms. Theoret. Comput. Sci., 18(2):221–226, 1982. doi: 10.1016/0304-3975(82)90023-8.
- Currie [1993] James Currie. Unsolved Problems: Open Problems in Pattern Avoidance. Amer. Math. Monthly, 100(8):790–793, 1993. doi: 10.2307/2324790.
- Currie [2013] James Currie. Infinite ternary square-free words concatenated from permutations of a single word. Theoret. Comput. Sci., 482:1–8, 2013. doi: 10.1016/j.tcs.2013.03.001.
- Currie [2002] James D. Currie. There are ternary circular square-free words of length for . Electron. J. Combin., 9(1):#N10, 2002. doi: 10.37236/1671. MR: 1936865.
- Currie [2005] James D. Currie. Pattern avoidance: themes and variations. Theoret. Comput. Sci., 339(1):7–18, 2005. doi: 10.1016/j.tcs.2005.01.004. MR: 2142070.
- Currie [2019] James D. Currie. Finite test sets for morphisms that are squarefree on some of Thue’s squarefree ternary words. J. Integer Seq., 22(8):19.8.2, 2019.
- Czap et al. [2017] Július Czap, Stanislav Jendrol’, and Roman Soták. Facial anagram-free edge-coloring of plane graphs. Discrete Appl. Math., 230:151–155, 2017. doi: 10.1016/j.dam.2017.06.018.
- Czerwiński and Grytczuk [2007] Sebastian Czerwiński and Jarosław Grytczuk. Nonrepetitive colorings of graphs. Electronic Notes in Discrete Math., 28:453–459, 2007. doi: 10.1016/j.endm.2007.01.063. MR: 2324051.
- Diestel [2018] Reinhard Diestel. Graph theory, vol. 173 of Graduate Texts in Mathematics. Springer, 5th edn., 2018. MR: 3822066.
- Ding and Oporowski [1995] Guoli Ding and Bogdan Oporowski. Some results on tree decomposition of graphs. J. Graph Theory, 20(4):481–499, 1995. doi: 10.1002/jgt.3190200412. MR: 1358539.
- Dujmović et al. [2017] Vida Dujmović, David Eppstein, and David R. Wood. Structure of graphs with locally restricted crossings. SIAM J. Discrete Math., 31(2):805–824, 2017. doi: 10.1137/16M1062879.
- Dujmović et al. [2020a] Vida Dujmović, Louis Esperet, Gwenaël Joret, Bartosz Walczak, and David R. Wood. Planar graphs have bounded nonrepetitive chromatic number. Advances in Combinatorics, 5, 2020a. doi: 10.19086/aic.12100.
- Dujmović et al. [2013] Vida Dujmović, Fabrizio Frati, Gwenaël Joret, and David R. Wood. Nonrepetitive colourings of planar graphs with colours. Electron. J. Combin., 20(1):P51, 2013. doi: 10.37236/3153.
- Dujmović et al. [2016] Vida Dujmović, Gwenaël Joret, Jakub Kozik, and David R. Wood. Nonrepetitive colouring via entropy compression. Combinatorica, 36(6):661–686, 2016. doi: 10.1007/s00493-015-3070-6.
- Dujmović et al. [2019a] Vida Dujmović, Gwenaël Joret, Piotr Micek, Pat Morin, Torsten Ueckerdt, and David R. Wood. Planar graphs have bounded queue-number. In Proc. 60th Annual Symp. Foundations Comput. Sci. (FOCS ’19), pp. 862–875. IEEE, 2019a. doi: 10.1109/FOCS.2019.00056.
- Dujmović et al. [2020b] Vida Dujmović, Gwenaël Joret, Piotr Micek, Pat Morin, Torsten Ueckerdt, and David R. Wood. Planar graphs have bounded queue-number. J. ACM, 2020b. doi: 10.1145/3385731.
- Dujmović et al. [2005] Vida Dujmović, Pat Morin, and David R. Wood. Layout of graphs with bounded tree-width. SIAM J. Comput., 34(3):553–579, 2005. doi: 10.1137/S0097539702416141. MR: 2137079.
- Dujmović et al. [2017] Vida Dujmović, Pat Morin, and David R. Wood. Layered separators in minor-closed graph classes with applications. J. Combin. Theory Ser. B, 127:111–147, 2017. doi: 10.1016/j.jctb.2017.05.006. MR: 3704658.
- Dujmović et al. [2019b] Vida Dujmović, Pat Morin, and David R. Wood. Graph product structure for non-minor-closed classes. 2019b. arXiv: 1907.05168.
- Dujmović and Wood [2005] Vida Dujmović and David R. Wood. Stacks, queues and tracks: Layouts of graph subdivisions. Discrete Math. Theor. Comput. Sci., 7:155–202, 2005. http://dmtcs.episciences.org/346. MR: 2164064.
- Dvořák [2008] Zdeněk Dvořák. On forbidden subdivision characterization of graph classes. European J. Combin., 29(5):1321–1332, 2008. doi: 10.1016/j.ejc.2007.05.008.
- Dvořák et al. [2020] Zdeněk Dvořák, Tony Huynh, Gwenaël Joret, Chun-Hung Liu, and David R. Wood. Notes on graph product structure theory, 2020. arXiv:2001.08860.
- Dębski et al. [2020] Michał Dębski, Jarosław Grytczuk, Barbara Nayar, Urszula Pastwa, Joanna Sokół, Michał Tuczyński, Przemysław Wenus, and Krzysztof Węsek. Avoiding multiple repetitions in Euclidean spaces. SIAM J. Discrete Math., 34(1):40–52, 2020. doi: 10.1137/18M1180347.
- Ekhad and Zeilberger [1998] Shalosh B. Ekhad and Doron Zeilberger. There are more than -letter ternary square-free words. J. Integer Seq., 1:98.1.9, 1998.
- Erdős and Lovász [1975] Paul Erdős and László Lovász. Problems and results on -chromatic hypergraphs and some related questions. In Infinite and Finite Sets, vol. 10 of Colloq. Math. Soc. János Bolyai, pp. 609–627. North-Holland, 1975. https://www.renyi.hu/~p_erdos/1975-34.pdf. MR: 0382050.
- Esperet and Parreau [2013] Louis Esperet and Aline Parreau. Acyclic edge-coloring using entropy compression. European J. Combin., 34(6):1019–1027, 2013. doi: 10.1016/j.ejc.2013.02.007.
- Fertin et al. [2004] Guillaume Fertin, André Raspaud, and Bruce Reed. Star coloring of graphs. J. Graph Theory, 47(3):163–182, 2004. doi: 10.1002/jgt.20029. MR: 2089462.
- Fiorenzi et al. [2011] Francesca Fiorenzi, Pascal Ochem, Patrice Ossona de Mendez, and Xuding Zhu. Thue choosability of trees. Discrete Applied Math., 159(17):2045–2049, 2011. doi: 10.1016/j.dam.2011.07.017. MR: 2832329.
- Fomin et al. [2012] Fedor V. Fomin, Daniel Lokshtanov, and Saket Saurabh. Bidimensionality and geometric graphs. In Proc. 23rd Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1563–1575. 2012. doi: 10.1137/1.9781611973099.124. MR: 3205314.
- Gągol et al. [2016] Adam Gągol, Gwenaël Joret, Jakub Kozik, and Piotr Micek. Pathwidth and nonrepetitive list coloring. Electron. J. Comb., 23:P4.40, 2016. doi: 10.37236/5855.
- Gonçalves et al. [2014] Daniel Gonçalves, Mickaël Montassier, and Alexandre Pinlou. Entropy compression method applied to graph colorings, 2014. arXiv: 1406.4380.
- Gonçalves et al. [2020] Daniel Gonçalves, Mickael Montassier, and Alexandre Pinlou. Acyclic coloring of graphs and entropy compression method. Discrete Math., 343(4):111772, 2020. doi: 10.1016/j.disc.2019.111772.
- Grohe and Marx [2015] Martin Grohe and Dániel Marx. Structure theorem and isomorphism test for graphs with excluded topological subgraphs. SIAM J. Comput., 44(1):114–159, 2015. doi: 10.1137/120892234. MR: 3313569.
- Grünbaum [1973] Branko Grünbaum. Acyclic colorings of planar graphs. Israel J. Math., 14:390–408, 1973. doi: 10.1007/BF02764716. MR: 0317982.
- Grytczuk [2004] Jarosław Grytczuk. Thue type colorings of graphs. In Graph Theory 2004: A conference in memory of Claude Berge. 2004.
- Grytczuk [2007a] Jarosław Grytczuk. Nonrepetitive colorings of graphs—a survey. Int. J. Math. Math. Sci., 74639, 2007a. doi: 10.1155/2007/74639. MR: 2272338.
- Grytczuk [2007b] Jarosław Grytczuk. Nonrepetitive graph coloring. In Graph Theory in Paris, Trends in Mathematics, pp. 209–218. Birkhauser, 2007b.
- Grytczuk [2008] Jarosław Grytczuk. Thue type problems for graphs, points, and numbers. Discrete Math., 308(19):4419–4429, 2008. doi: 10.1016/j.disc.2007.08.039. MR: 2433769.
- Grytczuk et al. [2015] Jarosław Grytczuk, Karol Kosiński, and MichałZmarz. How to play Thue games. Theoret. Comput. Sci., 582:83–88, 2015. doi: 10.1016/j.tcs.2015.03.036.
- Grytczuk et al. [2016] Jarosław Grytczuk, Karol Kosiński, and Michał Zmarz. Nonrepetitive colorings of line arrangements. European J. Combin., 51:275–279, 2016. doi: 10.1016/j.ejc.2015.05.013.
- Grytczuk et al. [2011a] Jarosław Grytczuk, Jakub Kozik, and Piotr Micek. Nonrepetitive games. 2011a. arXiv: 1103.3810.
- Grytczuk et al. [2013a] Jarosław Grytczuk, Jakub Kozik, and Piotr Micek. A new approach to nonrepetitive sequences. Random Structures Algorithms, 42(2):214–225, 2013a. doi: 10.1002/rsa.20411.
- Grytczuk et al. [2011b] Jarosław Grytczuk, Jakub Przybyło, and Xuding Zhu. Nonrepetitive list colourings of paths. Random Structures Algorithms, 38(1-2):162–173, 2011b. doi: 10.1002/rsa.20347. MR: 2768888.
- Grytczuk et al. [2013b] Jarosław Grytczuk, Piotr Szafruga, and MichałZmarz. Online version of the theorem of Thue. Inform. Process. Lett., 113(5-6):193–195, 2013b. doi: 10.1016/j.ipl.2012.12.001.
- Gutowski [2018] Grzegorz Gutowski. Every plane graph is facially-non-repetitively -choosable. Electron. J. Combin., 25:1.74, 2018. doi: 10.37236/7129.
- Haeupler et al. [2011] Bernhard Haeupler, Barna Saha, and Aravind Srinivasan. New constructive aspects of the Lovász local lemma. J. ACM, 58(6):Art. 28, 2011. doi: 10.1145/2049697.2049702. http://dx.doi.org/10.1145/2049697.2049702.
- Haranta and Jendro’l [2012] Jochen Haranta and Stanislav Jendro’l. Nonrepetitive vertex colorings of graphs. Discrete Math., 312(2):374–380, 2012. doi: 10.1016/j.disc.2011.09.027. MR: 2852595.
- Harris [2019] David G. Harris. Deterministic algorithms for the Lovász local lemma: simpler, more general, and more parallel. 2019. arXiv: 1909.08065.
- Harris and Srinivasan [2017] David G. Harris and Aravind Srinivasan. Algorithmic and enumerative aspects of the Moser-Tardos distribution. ACM Trans. Algorithms, 13(3):33:1–33:40, 2017. doi: 10.1145/3039869.
- Harvey and Wood [2017] Daniel J. Harvey and David R. Wood. Parameters tied to treewidth. J. Graph Theory, 84(4):364–385, 2017. doi: 10.1002/jgt.22030. MR: 3623383.
- Harvey and Vondrák [2020] Nicholas J. A. Harvey and Jan Vondrák. An algorithmic proof of the lovász local lemma via resampling oracles. SIAM J. Comput., 49(2):394–428, 2020. doi: 10.1137/18M1167176.
- Havet et al. [2011] Frédéric Havet, Stanislav Jendro’l, Roman Soták, and Erika Škrabu’láková. Facial non-repetitive edge-coloring of plane graphs. J. Graph Theory, 66(1):38–48, 2011. doi: 10.1002/jgt.20488.
- Hendrey [2020] Kevin Hendrey. A counterexample to a conjecture on repetitively coloured walks in graphs. 2020.
- Jendro’l and Škrabu’láková [2009] Stanislav Jendro’l and Erika Škrabu’láková. Facial non-repetitive edge colouring of semiregular polyhedra. Acta Univ. M. Belii Ser. Math., 15:37–52, 2009. http://actamath.savbb.sk/acta1503.shtml. MR: 2589669.
- Kamčev et al. [2018] Nina Kamčev, Tomasz Łuczak, and Benny Sudakov. Anagram-free colourings of graphs. Combin. Probab. Comput., 27(4):623–642, 2018. doi: 10.1017/S096354831700027X.
- Keränen [2009] Veikko Keränen. A powerful abelian square-free substitution over 4 letters. Theoret. Comput. Sci., 410(38-40):3893–3900, 2009. doi: 10.1016/j.tcs.2009.05.027.
- Keszegh et al. [2014] Balázs Keszegh, Balázs Patkós, and Xuding Zhu. Nonrepetitive colorings of lexicographic product of graphs. Discrete Math. Theor. Comput. Sci., 16(2):97–110, 2014. http://dmtcs.episciences.org/2077.
- Kobourov et al. [2017] Stephen G. Kobourov, Giuseppe Liotta, and Fabrizio Montecchiani. An annotated bibliography on 1-planarity. Comput. Sci. Rev., 25:49–67, 2017. doi: 10.1016/j.cosrev.2017.06.002. MR: 3697129.
- Kok et al. [2016] Johan Kok, Erika Škrabu’láková, and Naduvath Sudev. On new thue colouring concepts of certain graphs. 2016.
- Kolipaka et al. [2012] Kashyap Kolipaka, Mario Szegedy, and Yixin Xu. A sharper local lemma with improved applications. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, vol. 7408 of Lecture Notes in Computer Science, pp. 603–614. 2012. http://www.springerlink.com/content/411621u1n0617681/.
- Kostochka [1982] Alexandr V. Kostochka. The minimum Hadwiger number for graphs with a given mean degree of vertices. Metody Diskret. Analiz., 38:37–58, 1982. MR: 0713722.
- Kostochka [1984] Alexandr V. Kostochka. Lower bound of the Hadwiger number of graphs by their average degree. Combinatorica, 4(4):307–316, 1984. doi: 10.1007/BF02579141. MR: 0779891.
- Kozik and Micek [2013] Jakub Kozik and Piotr Micek. Nonrepetitive choice number of trees. SIAM J. Discrete Math., 27(1):436–446, 2013. doi: 10.1137/120866361.
- Krauthgamer and Lee [2007] Robert Krauthgamer and James R. Lee. The intrinsic dimensionality of graphs. Combinatorica, 27(5):551–585, 2007. doi: 10.1007/s00493-007-2183-y.
- Kündgen and Pelsmajer [2008] André Kündgen and Michael J. Pelsmajer. Nonrepetitive colorings of graphs of bounded tree-width. Discrete Math., 308(19):4473–4478, 2008. doi: 10.1016/j.disc.2007.08.043. MR: 2433774.
- Kündgen and Talbot [2017] André Kündgen and Tonya Talbot. Nonrepetitive edge-colorings of trees. Discrete Math. Theor. Comput. Sci., 19(1), 2017. http://dmtcs.episciences.org/3724.
- Leech [1957] John Leech. A problem on strings of beads. The Mathematical Gazette, 41(338):277–278, 1957. https://www.jstor.org/stable/3610126.
- Lih and Wang [2006] Ko-Wei Lih and Wei-Fan Wang. Coloring the square of an outerplanar graph. Taiwanese J. Math., 10(4):1015–1023, 2006. doi: 10.11650/twjm/1500403890.
- Lothaire [2002] M. Lothaire. Algebraic combinatorics on words, vol. 90 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, 2002. doi: 10.1017/CBO9781107326019. A collective work by Jean Berstel, Dominique Perrin, Patrice Seebold, Julien Cassaigne, Aldo De Luca, Steffano Varricchio, Alain Lascoux, Bernard Leclerc, Jean-Yves Thibon, Veronique Bruyere, Christiane Frougny, Filippo Mignosi, Antonio Restivo, Christophe Reutenauer, Dominique Foata, Guo-Niu Han, Jacques Desarmenien, Volker Diekert, Tero Harju, Juhani Karhumaki and Wojciech Plandowski, With a preface by Berstel and Perrin.
- Lothaire [2005] M. Lothaire. Applied combinatorics on words, vol. 105 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, 2005. doi: 10.1017/CBO9781107341005. A collective work by Jean Berstel, Dominique Perrin, Maxime Crochemore, Eric Laporte, Mehryar Mohri, Nadia Pisanti, Marie-France Sagot, Gesine Reinert, Sophie Schbath, Michael Waterman, Philippe Jacquet, Wojciech Szpankowski, Dominique Poulalhon, Gilles Schaeffer, Roman Kolpakov, Gregory Koucherov, Jean-Paul Allouche and Valérie Berthé, With a preface by Berstel and Perrin.
- Manin [2007] Fedor Manin. The complexity of nonrepetitive edge coloring of graphs, 2007. arXiv: 0709.4497.
- Marx and Schaefer [2009] Dániel Marx and Marcus Schaefer. The complexity of nonrepetitive coloring. Discret. Appl. Math., 157(1):13–18, 2009. doi: 10.1016/j.dam.2008.04.015. MR: 2479374.
- Mhaskar and Soltys [2015] Neerja Mhaskar and Michael Soltys. Non-repetitive strings over alphabet lists. In WALCOM: algorithms and computation, vol. 8973 of Lecture Notes in Comput. Sci., pp. 270–281. Springer, 2015. doi: 10.1007/978-3-319-15612-524.
- Molloy and Reed [2002] Michael Molloy and Bruce Reed. Graph colouring and the probabilistic method, vol. 23 of Algorithms and Combinatorics. Springer, 2002.
- Morse and Hedlund [1944] Marston Morse and Gustav A. Hedlund. Unending chess, symbolic dynamics and a problem in semigroups. Duke Math. J., 11:1–7, 1944. doi: 10.1215/S0012-7094-44-01101-4.
- Moser and Tardos [2010] Robin A. Moser and Gábor Tardos. A constructive proof of the general Lovász local lemma. J. ACM, 57(2), 2010. doi: 10.1145/1667053.1667060.
- Nešetřil and Ossona de Mendez [2003] Jaroslav Nešetřil and Patrice Ossona de Mendez. Colorings and homomorphisms of minor closed classes. In Boris Aronov, Saugata Basu, János Pach, and Micha Sharir, eds., Discrete and Computational Geometry, The Goodman-Pollack Festschrift, vol. 25 of Algorithms and Combinatorics, pp. 651–664. Springer, 2003. MR: 2038495.
- Nešetřil and Ossona de Mendez [2012] Jaroslav Nešetřil and Patrice Ossona de Mendez. Sparsity, vol. 28 of Algorithms and Combinatorics. Springer, 2012. doi: 10.1007/978-3-642-27875-4. MR: 2920058.
- Nešetřil et al. [2011] Jaroslav Nešetřil, Patrice Ossona de Mendez, and David R. Wood. Characterisations and examples of graph classes with bounded expansion. European J. Combin., 33(3):350–373, 2011. doi: 10.1016/j.ejc.2011.09.008. MR: 2864421.
- Nešetřil and Raspaud [2000] Jaroslav Nešetřil and André Raspaud. Colored homomorphisms of colored mixed graphs. J. Combin. Theory Ser. B, 80(1):147–155, 2000.
- Novikov and Adjan [1968a] P. S. Novikov and S. I. Adjan. Infinite periodic groups. I. Izv. Akad. Nauk SSSR Ser. Mat., 32:212–244, 1968a.
- Novikov and Adjan [1968b] P. S. Novikov and S. I. Adjan. Infinite periodic groups. II. Izv. Akad. Nauk SSSR Ser. Mat., 32:251–524, 1968b.
- Novikov and Adjan [1968c] P. S. Novikov and S. I. Adjan. Infinite periodic groups. III. Izv. Akad. Nauk SSSR Ser. Mat., 32:709–731, 1968c.
- Ochem [2016] Pascal Ochem. Doubled patterns are 3-avoidable. Electron. J. Combin., 23:P1.19, 2016. doi: 10.37236/5618.
- Pegden [2011] Wesley Pegden. Highly nonrepetitive sequences: winning strategies from the local lemma. Random Structures Algorithms, 38(1-2):140–161, 2011. doi: 10.1002/rsa.20354. MR: 2768887.
- Peterin et al. [2018] Iztok Peterin, Jens Schreyer, Erika Fecková Škrabu’láková, and Andrej Taranenko. A note on the Thue chromatic number of lexicographic products of graphs. Discuss. Math. Graph Theory, 38(3):635–643, 2018. doi: 10.7151/dmgt.2032. MR: 3811958.
- Pezarski and Zmarz [2009] Andrzej Pezarski and Michał Zmarz. Non-repetitive 3-coloring of subdivided graphs. Electron. J. Combin., 16(1):N15, 2009. doi: 10.37236/253. MR: 2515755.
- Pleasants [1970] Peter A. B. Pleasants. Non-repetitive sequences. Proc. Cambridge Philos. Soc., 68:267–274, 1970. doi: 10.1017/s0305004100046077.
- Przybyło [2014] Jakub Przybyło. On the facial Thue choice index via entropy compression. J. Graph Theory, 77(3):180–189, 2014. doi: 10.1002/jgt.21781.
- Przybyło et al. [2016] Jakub Przybyło, Jens Schreyer, and Erika Škrabu’láková. On the facial Thue choice number of plane graphs via entropy compression method. Graphs Combin., 32(3):1137–1153, 2016. doi: 10.1007/s00373-015-1642-2.
- Queffélec [2010] Martine Queffélec. Substitution dynamical systems—spectral analysis, vol. 1294 of Lecture Notes in Mathematics. Springer-Verlag, 2nd edn., 2010. doi: 10.1007/978-3-642-11212-6.
- Rampersad [2011] Narad Rampersad. Further applications of a power series method for pattern avoidance. Electron. J. Combin., 18(1):P134, 2011. doi: 10.37236/621.
- Reed [2003] Bruce A. Reed. Algorithmic aspects of tree width. In Bruce A. Reed and Cláudia L. Sales, eds., Recent Advances in Algorithms and Combinatorics, pp. 85–107. Springer, 2003.
- Robertson and Seymour [1986] Neil Robertson and Paul Seymour. Graph minors. II. Algorithmic aspects of tree-width. J. Algorithms, 7(3):309–322, 1986. doi: 10.1016/0196-6774(86)90023-4. MR: 0855559.
- Robertson and Seymour [2003] Neil Robertson and Paul Seymour. Graph minors. XVI. Excluding a non-planar graph. J. Combin. Theory Ser. B, 89(1):43–76, 2003. doi: 10.1016/S0095-8956(03)00042-X. MR: 1999736.
- Rosenfeld [2020] Matthieu Rosenfeld. Another approach to non-repetitive colorings of graphs of bounded degree. Electron. J. Combin., 27:P3.43, 2020. doi: 10.37236/9667.
- Schreyer and Škrabu’láková [2012] Jens Schreyer and Erika Škrabu’láková. On the facial Thue choice index of plane graphs. Discrete Math., 312(10):1713–1721, 2012. doi: 10.1016/j.disc.2012.01.023.
- Schreyer and Škrabu’láková [2015] Jens Schreyer and Erika Škrabu’láková. Total Thue colourings of graphs. European J. Math., 1(1):186–197, 2015. doi: 10.1007/s40879-014-0016-2. MR: 3386233.
- Shur [2010] Arseny M. Shur. Growth rates of complexity of power-free languages. Theoret. Comput. Sci., 411(34-36):3209–3223, 2010. doi: 10.1016/j.tcs.2010.05.017.
- Škrabu’láková [2015] Erika Škrabu’láková. The Thue choice number versus the Thue chromatic number of graphs, 2015. arXiv: 1508.02559.
- Spencer [7778] Joel Spencer. Asymptotic lower bounds for Ramsey functions. Discrete Math., 20(1):69–76, 1977/78. doi: 10.1016/0012-365X(77)90044-9.
- Thomason [1984] Andrew Thomason. An extremal function for contractions of graphs. Math. Proc. Cambridge Philos. Soc., 95(2):261–265, 1984. doi: 10.1017/S0305004100061521. MR: 0735367.
- Thomason [2001] Andrew Thomason. The extremal function for complete minors. J. Combin. Theory Ser. B, 81(2):318–338, 2001. doi: 10.1006/jctb.2000.2013. MR: 1814910.
- Thue [1906] Axel Thue. Über unendliche Zeichenreihen. Norske Vid. Selsk. Skr. I. Mat. Nat. Kl. Christiania, 7:1–22, 1906.
- van den Heuvel and McGuinness [2003] Jan van den Heuvel and Sean McGuinness. Coloring the square of a planar graph. J. Graph Theory, 42(2):110–124, 2003. doi: 10.1002/jgt.10077.
- Wanless and Wood [2020] Ian M. Wanless and David R. Wood. Exponentially many hypergraph colourings. 2020. arXiv: 2008.00775.
- Wenus and Węsek [2016] Przemysław Wenus and Krzysztof Węsek. Nonrepetitive and pattern-free colorings of the plane. European J. Combin., 54:21–34, 2016. doi: 10.1016/j.ejc.2015.12.002.
- Wikipedia [2020] Wikipedia. Arithmetico-geometric sequence. 2020. https://en.wikipedia.org/wiki/Arithmetico-geometric_sequence.
- Wilson and Wood [2018a] Tim E. Wilson and David R. Wood. Anagram-free colorings of graph subdivisions. SIAM J. Discrete Math., 32(3):2346–2360, 2018a. doi: 10.1137/17M1145574.
- Wilson and Wood [2018b] Tim E. Wilson and David R. Wood. Anagram-free graph colouring. Electron. J. Combin., 25:2.20, 2018b. doi: 10.37236/6267.
- Wollan and Wood [2019] Paul Wollan and David R. Wood. Nonrepetitive colourings of graphs excluding a fixed immersion or topological minor. J. Graph Theory, 91(3):259–266, 2019. doi: 10.1002/jgt.22430.
- Wood [2005] David R. Wood. Acyclic, star and oriented colourings of graph subdivisions. Discrete Math. Theor. Comput. Sci., 7(1):37–50, 2005. http://dmtcs.episciences.org/344. MR: 2164057.
- Wood [2009] David R. Wood. On tree-partition-width. European J. Combin., 30(5):1245–1253, 2009. doi: 10.1016/j.ejc.2008.11.010. MR: 2514645.
- Yang [2009] Daqing Yang. Generalization of transitive fraternal augmentations for directed graphs and its applications. Discrete Math., 309(13):4614–4623, 2009. doi: 10.1016/j.disc.2009.02.028.
- Zhao and Zhu [2016] Huanhua Zhao and Xuding Zhu. (2+)-nonrepetitive list colouring of paths. Graphs Combin., 32(4):1635–1640, 2016. doi: 10.1007/s00373-015-1652-0.