Introduction
In online graph coloring, the vertices of an unknown graph arrive one at a time, each with its edges to the vertices that arrived before it. An online algorithm must color every vertex on arrival, irrevocably and differently from its earlier neighbors, and its cost is the number of colors it uses. Even bipartite graphs are hard in this model: on n n n vertices Θ ( log n ) \Theta(\log n) Θ ( log n ) colors are both necessary and sufficient [14 , 32 ] ; cf. [4 ] . We study graphs promised to be k k k -colorable for a fixed k ≥ 3 k \ge3 k ≥ 3 , where the gap has been far wider.
For k ≥ 3 k \ge3 k ≥ 3 the best algorithms use polynomially many colors. Kierstead’s deterministic algorithm uses O ( n 2 / 3 log 1 / 3 n ) O(n^{2/3}\log^{1/3} n) O ( n 2/3 log 1/3 n ) colors for k = 3 k = 3 k = 3 and O ( n 1 − 1 / k ! ) O(n^{1-1/k!}) O ( n 1 − 1/ k ! ) in general [22 Thms. 1.6 and 1.5] , and Kawarabayashi, Yoneda and Yoneda recently improved the general bound to O ~ ( n 1 − 2 / ( k ( k − 1 ) ) ) \widetilde{O}(n^{1-2/(k(k-1))}) O ( n 1 − 2/ ( k ( k − 1 )) ) , and to O ~ ( n 1 − 6 / ( 3 k ( k − 1 ) − 2 ) ) \widetilde{O}(n^{1-6/(3k(k-1)-2)}) O ( n 1 − 6/ ( 3 k ( k − 1 ) − 2 ) ) for k ≥ 4 k \ge4 k ≥ 4 [21 Thm. 3.17 and Cor. 4.15] . Randomized algorithms of Vishwanathan and of Halldórsson use O ( n 1 − 1 / ( k − 1 ) ( log n ) 1 / ( k − 1 ) ) O(n^{1-1/(k-1)}(\log n)^{1/(k-1)}) O ( n 1 − 1/ ( k − 1 ) ( log n ) 1/ ( k − 1 ) ) colors in expectation [41 Thm. 2.2] , [15 Thm. 4.1] , and Li reduced this to O ( n ) O(\sqrt{n}) O ( n ) for k = 3 k = 3 k = 3 [28 Thm. 1.2] .
The lower bounds, in contrast, stayed polylogarithmic for three decades. Vishwanathan proved in 1990 that Ω ( log k − 1 n ) \Omega(\log^{k-1} n) Ω ( log k − 1 n ) colors are necessary, even for randomized algorithms [41 Thm. 3.1] , and this stood until Li recently proved a bound of 2 Ω ( ( log n ) 1 / 3 ( log log n ) 2 / 3 ) 2^{\Omega((\log n)^{1/3}(\log\log n)^{2/3})} 2 Ω (( l o g n ) 1/3 ( l o g l o g n ) 2/3 ) for k = 3 k = 3 k = 3 , for deterministic algorithms and for randomized ones [28 Thms. 1.1 and A.1] . Kierstead asked whether O ( n ) O(\sqrt{n}) O ( n ) colors suffice for k = 3 k = 3 k = 3 [23 Problem 12] , and posed as a challenge to prove that between Ω ( n ε ) \Omega(n^\varepsilon) Ω ( n ε ) and O ( n 1 / 2 ) O(n^{1/2}) O ( n 1/2 ) colors are needed [22 Problem 5.1] . Before this work, the number of colors needed for 3 3 3 -colorable graphs was thus known only to lie between 2 ( log n ) 1 / 3 + o ( 1 ) 2^{(\log n)^{1/3+o(1)}} 2 ( l o g n ) 1/3 + o ( 1 ) and O ( n ) O(\sqrt{n}) O ( n ) for randomized algorithms, and up to O ( n 2 / 3 log 1 / 3 n ) O(n^{2/3}\log^{1/3} n) O ( n 2/3 log 1/3 n ) for deterministic ones.
Why lower bounds are hard. A lower bound is an adversary that must do two things at once: force many colors, and keep its graph k k k -colorable. A clique on K K K vertices forces K K K colors, but it is not k k k -colorable once K > k K > k K > k . Three known facts show how little room the adversary has. First, a strong adversary must keep its own coloring undecided, as Kawarabayashi, Yoneda and Yoneda also observe [20 §4] . The reason is the transparent model of Halldórsson and Szegedy [17 ] , where the adversary reveals its own k k k -coloring of each vertex right after the algorithm has colored it. In that model, 2 k − 1 2^k - 1 2 k − 1 colors always suffice [17 §4.5] . Second, the adversary must control the arrival order, since under a uniformly random order a randomized algorithm that knows n n n and k k k needs only polylogarithmically many colors [46 Thm. 1] . Third, a polynomial lower bound must use short odd cycles, since graphs of sufficiently large odd girth can be colored online with O ( n ε ) O(n^\varepsilon) O ( n ε ) colors for every fixed ε > 0 \varepsilon> 0 ε > 0 [45 Thm. 1] .
Our results
Let χ k det ( n ) \chi_k^{\det}(n) χ k d e t ( n ) be the least number of colors that a deterministic online algorithm needs, in the worst case, on ordered k k k -colorable graphs with n n n vertices, and let \chi_k^{\rand}(n) be the analogue for randomized algorithms, measured in expectation against an oblivious adversary (Definition 4.1 ); thus \chi_k^{\rand}(n) \le\chi_k^{\det}(n) . Let log ∗ n \log^* n log ∗ n be the number of times log 2 \log_2 log 2 must be applied to n n n to reach a number at most 1 1 1 . Our main result is that χ k det ( n ) \chi_k^{\det}(n) χ k d e t ( n ) and \chi_k^{\rand}(n) are both at least n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(\log^* n+O(1))} n 1/ ( l o g ∗ n + O ( 1 )) for every fixed k ≥ 3 k \ge3 k ≥ 3 ; whether either is at least n ε n^\varepsilon n ε for a fixed ε > 0 \varepsilon> 0 ε > 0 remains open.
Theorem 1.1 (main theorem). For every n ≥ 3 n \ge3 n ≥ 3 and L = log ∗ n L = \log^* n L = log ∗ n ,
\chi_3^{\rand}(n) \ge\frac{n^{1/(L+2)}}{8(1+\ln4n)}
\qquad\text{and}\qquad
\chi_k^{\rand}(n) \ge\frac{n^{1/L}}{8(1+\ln4n)}
\qquad\text{for every } k \ge4.
Moreover χ 3 d e t ( n ) ≥ χ 3 r a n d ( n ) ≥ n 1 / ( log ∗ n + 3 ) \chi_3^{\mathrm{det}}(n) \ge\chi_3^{\mathrm{rand}}(n) \ge n^{1/(\log^{*} n+3)} χ 3 det ( n ) ≥ χ 3 rand ( n ) ≥ n 1/ ( l o g ∗ n + 3 ) for all n ≥ 2 406 n \ge2^{406} n ≥ 2 406 , and χ k d e t ( n ) ≥ χ k r a n d ( n ) ≥ n 1 / ( log ∗ n + 1 ) \chi_k^{\mathrm{det}}(n) \ge\chi_k^{\mathrm{rand}}(n) \ge n^{1/(\log^{*} n+1)} χ k det ( n ) ≥ χ k rand ( n ) ≥ n 1/ ( l o g ∗ n + 1 ) for every k ≥ 4 k \ge4 k ≥ 4 and all n ≥ 2 201 n \ge2^{201} n ≥ 2 201 .
Roughly speaking, Theorem 1.1 says that online coloring of 3-colorable graphs needs n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(\log^{*} n+O(1))} n 1/ ( l o g ∗ n + O ( 1 )) colors, against deterministic and randomized algorithms alike. This bound is still n o ( 1 ) n^{o(1)} n o ( 1 ) , far from the n 1 − Θ ( 1 / k 2 ) n^{1-\Theta(1/k^2)} n 1 − Θ ( 1/ k 2 ) colors of the best deterministic algorithms (Table 1), but no adversary of the kind we use can do better, up to the additive constant in the denominator of the exponent (Theorem 1.5 ). The thresholds 2 406 2^{406} 2 406 and 2 201 2^{201} 2 201 are the sizes from which our proof absorbs the factor 8 ( 1 + ln 4 n ) 8(1+\ln4n) 8 ( 1 + ln 4 n ) into one more unit in the denominator of the exponent. Below these thresholds the first bound still holds, and at small sizes (for 3-colorable graphs up to about n = 2 50 n=2^{50} n = 2 50 , see § 8.4 ) a simpler deterministic construction, which also underlies Theorem 1.1, gives better and fully explicit bounds.
Theorem 1.2 (explicit deterministic bound). For every n ≥ 3 n \ge3 n ≥ 3 and L = log ∗ n L=\log^{*} n L = log ∗ n ,
χ 3 d e t ( n ) ≥ ⌊ n 2 / ( ( L + 2 ) ( L + 3 ) ) ⌋ and χ k d e t ( n ) ≥ ⌊ n 2 / ( L ( L + 1 ) ) ⌋ for every k ≥ 4. \chi_3^{\mathrm{det}}(n) \ge\left\lfloor n^{2/((L+2)(L+3))} \right\rfloor\qquad\text{and} \qquad\chi_k^{\mathrm{det}}(n) \ge\left\lfloor n^{2/(L(L+1))} \right\rfloor\qquad\text{for every } k \ge4. χ 3 det ( n ) ≥ ⌊ n 2/ (( L + 2 ) ( L + 3 )) ⌋ and χ k det ( n ) ≥ ⌊ n 2/ ( L ( L + 1 )) ⌋ for every k ≥ 4. In particular χ k d e t ( n ) ≥ n ( 2 − o ( 1 ) ) / ( log ∗ n ) 2 \chi_k^{\mathrm{det}}(n) \ge n^{(2-o(1))/(\log^{*} n)^2} χ k det ( n ) ≥ n ( 2 − o ( 1 )) / ( l o g ∗ n ) 2 for every fixed k ≥ 3 k \ge3 k ≥ 3 . For all 3 ≤ n ≤ 2 65536 3 \le n \le2^{65536} 3 ≤ n ≤ 2 65536 , χ 3 d e t ( n ) ≥ ⌊ n 1 / 28 ⌋ \chi_3^{\mathrm{det}}(n) \ge\lfloor n^{1/28}\rfloor χ 3 det ( n ) ≥ ⌊ n 1/28 ⌋ and χ k d e t ( n ) ≥ ⌊ n 1 / 15 ⌋ \chi_k^{\mathrm{det}}(n) \ge\lfloor n^{1/15}\rfloor χ k det ( n ) ≥ ⌊ n 1/15 ⌋ for every k ≥ 4 k \ge4 k ≥ 4 .
Theorem 1.2 alone raises the deterministic lower bound from 2 ( log n ) 1 / 3 + o ( 1 ) 2^{(\log n)^{1/3+o(1)}} 2 ( l o g n ) 1/3 + o ( 1 ) to 2 log n / O ( ( log ∗ n ) 2 ) 2^{\log n/O((\log^{*} n)^2)} 2 l o g n / O (( l o g ∗ n ) 2 ) , and its construction is small: one level forces 7 colors on 3-colorable graphs with 187 vertices, and two levels force 18 colors with about 2.1 ⋅ 10 7 2.1 \cdot10^7 2.1 ⋅ 1 0 7 vertices (Table 2 ). A version that holds with probability 1 − ε 1-\varepsilon 1 − ε against randomized algorithms, at the cost of a factor O ( log n ) O(\log n) O ( log n ) , is in Appendix § 14 .
Table 2. Size bounds of the adversary of Theorem 6.4 with the least j j j such that ∣ P j ( k ) ∣ ≥ K |P_j(k)| \ge K ∣ P j ( k ) ∣ ≥ K . The exponent log ( bound ) / log K \log(\text{bound})/\log K log ( bound ) / log K approaches ( j + 1 ) ( j + 2 ) / 2 (j+1)(j+2)/2 ( j + 1 ) ( j + 2 ) /2 as K K K grows.
High-level idea of the construction. The lower bounds of Theorems 1.1 and 1.2 come from one construction. Since a clique on K K K vertices forces K K K colors but is not k k k -colorable once K > k K>k K > k , their adversaries keep a clique in the background and never present it. They present instead a graph obtained from the clique by applying one operation, the reservation blow-up , once or several times.
Let H H H be an ordered graph, that is, a graph together with the arrival order of its vertices. A reservation blow-up of H H H replaces every vertex v v v by a nonempty block σ ( v ) \sigma(v) σ ( v ) of new vertices with no edges among them, and the blocks arrive one after the other, in the order of the vertices of H H H . For every arc w → v w \to v w → v of H H H , that is, every edge from an earlier vertex w w w to a later vertex v v v , it picks a vertex of σ ( w ) \sigma(w) σ ( w ) , the server of the arc, and joins it to all of σ ( v ) \sigma(v) σ ( v ) . Different arcs have different servers, and the blow-up has no other edges.
A blow-up has two effects, one for each task of the adversary. First, a blow-up need not reduce the number of colors that the adversary forces. Every vertex of σ ( v ) \sigma(v) σ ( v ) is joined to one server in the block of each earlier neighbor of v v v , so it cannot receive the color of any of these servers. If the blocks are large enough, the servers can be chosen, after their colors are known, so that an adversary that forces K K K colors still forces K K K colors when it presents a blow-up of its graph instead. Second, a blow-up lowers a large chromatic number to about its logarithm. It is an online version of one step of the arc-graph operator, whose effect on the chromatic number is classical [18 , 37 ] .
Towers and the choice of servers. A full tower with j j j levels is obtained from an ordered clique by j j j successive blow-ups in which an arc may have several servers: every arc has one or more, and no vertex serves two arcs. A tower is an initial segment of a full tower, possibly followed by isolated vertices (Definition 4.7 ). A full tower over a clique on K K K vertices is k k k -colorable once j j j is about log ∗ K \log^{*} K log ∗ K (Corollaries 5.4 and 5.7 ). What remains is to choose the servers so that many colors are still forced, and we do this in two ways. Theorem 1.2 chooses each server after its block has been
caption: Online coloring of k k k -colorable graphs with n n n vertices, for fixed k ≥ 3 k\ge3 k ≥ 3 . Every lower bound for k = 3 k=3 k = 3 is also a lower bound for larger k k k . The lower bounds of Theorem 1.1 hold for every n n n in the form n 1 / ( log ∗ n + 2 ) / O ( log n ) n^{1/(\log^* n+2)}/O(\log n) n 1/ ( l o g ∗ n + 2 ) / O ( log n ) . For k = 4 k=4 k = 4 the deterministic upper bound is O ~ ( n 14 / 17 ) \widetilde{O}(n^{14/17}) O ( n 14/17 ) [21 Thm. 4.14] .
:::
colored, from a color that occurs often in the block. This forces all K K K colors, but every block must then contain many vertices of one color, one for each later neighbor of the vertex that the block replaces, and the block size grows by a factor of about K K K with each blow-up. Theorem 1.1 gives all blocks one size and chooses the servers at random. This costs only a single logarithmic factor in the number of colors, whatever the number of levels. § 2 explains both choices, that of Theorem 1.2 on small examples.
Known graphs. The bounds of Theorems 1.1 and 1.2 also hold for single graphs. The online chromatic number χ o l ( G ) \chi_{\mathrm{ol}}(G) χ ol ( G ) of a graph G G G is the least c c c such that some deterministic online algorithm uses at most c c c colors on every presentation order of G G G [7 Def. 1] ; cf. [14 ] . For example, trees on N N N vertices have χ o l ≤ log 2 N + 1 \chi_{\mathrm{ol}}\le\log_2 N+1 χ ol ≤ log 2 N + 1 . The reason is that First-Fit, the algorithm that gives each vertex the least color not used by its earlier neighbors, uses at most this many colors on them [23 Examples 1 and 5] . Bipartite graphs on N N N vertices have χ o l = O ( log N ) \chi_{\mathrm{ol}}=O(\log N) χ ol = O ( log N ) [32 p. 320] . A lower bound for a class of graphs does not directly give a lower bound for a single graph, because an adversary may build different graphs against different algorithms. Our adversaries, however, can be made to produce the same graph, up to isomorphism, against every algorithm. The bounds therefore hold even in Halldórsson’s known-graph game [16 §1] . In this game the algorithm is shown in advance a graph that contains the presented graph, but it is not told which of its vertices each arriving vertex is. In our case, the graph shown is the final graph itself.
Theorem 1.3 (known graphs). For every N ≥ 3 N\ge3 N ≥ 3 and L = log ∗ N L=\log^*N L = log ∗ N there are triangle-free 3-colorable graphs G G G and G ′ G' G ′ on N N N vertices with
χ o l ( G ) ≥ ⌊ N 2 / ( ( L + 2 ) ( L + 3 ) ) ⌋ and χ o l ( G ′ ) ≥ N 1 / ( L + 2 ) 8 ( 1 + ln 4 N ) . \chi_{\mathrm{ol}}(G)\ge\left\lfloor N^{2/((L+2)(L+3))}\right\rfloor\qquad\text{and}\qquad\chi_{\mathrm{ol}}(G')\ge\frac{N^{1/(L+2)}}{8(1+\ln4N)}. χ ol ( G ) ≥ ⌊ N 2/ (( L + 2 ) ( L + 3 )) ⌋ and χ ol ( G ′ ) ≥ 8 ( 1 + ln 4 N ) N 1/ ( L + 2 ) . Every randomized online algorithm that knows G ′ G' G ′ in advance has a presentation order of G ′ G' G ′ on which it uses at least N 1 / ( L + 2 ) / ( 8 ( 1 + ln 4 N ) ) N^{1/(L+2)}/(8(1+\ln4N)) N 1/ ( L + 2 ) / ( 8 ( 1 + ln 4 N )) colors in expectation. For N ≥ 2 406 N\ge2^{406} N ≥ 2 406 , both bounds for G ′ G' G ′ hold with N 1 / ( L + 3 ) N^{1/(L+3)} N 1/ ( L + 3 ) in place of N 1 / ( L + 2 ) / ( 8 ( 1 + ln 4 N ) ) N^{1/(L+2)}/(8(1+\ln4N)) N 1/ ( L + 2 ) / ( 8 ( 1 + ln 4 N )) . For every $k\ge4 the same holds for k k k -colorable graphs, with exponents $2/(L(L+1))$ and 1 / L 1/L 1/ L , and with N 1 / ( L + 1 ) N^{1/(L+1)} N 1/ ( L + 1 ) for N ≥ 2 201 N\ge2^{201} N ≥ 2 201 .
What the method can and cannot do. Two further theorems explain the shape of these bounds. The first, Theorem 1.4 , says that deterministic lower bounds for different values of $k\ge3 are equivalent up to a polynomial change in the number of vertices. It is an online counterpart of the transfer of hardness between values of k k k in offline coloring [43 Lemma 3.3] .
Theorem 1.4 (transfer between values of k k k ). Let k , k ′ ≥ 3 k,k' \ge3 k , k ′ ≥ 3 . There is j ≤ log ∗ k ′ + 1 j \le\log^{*} k' + 1 j ≤ log ∗ k ′ + 1 such that for all N N N and all K ≥ 2 K \ge2 K ≥ 2 , if χ k ′ d e t ( N ) ≥ K \chi^{\mathrm{det}}_{k'}(N) \ge K χ k ′ det ( N ) ≥ K then χ k d e t ( N ( j + 1 ) ( j + 2 ) / 2 ) ≥ K \chi^{\mathrm{det}}_{k}(N^{(j+1)(j+2)/2}) \ge K χ k det ( N ( j + 1 ) ( j + 2 ) /2 ) ≥ K . In particular, if χ k ′ d e t ( n ) = Ω ( n ε ) \chi^{\mathrm{det}}_{k'}(n) = \Omega(n^{\varepsilon}) χ k ′ det ( n ) = Ω ( n ε ) for a fixed k ′ ≥ 3 k' \ge3 k ′ ≥ 3 , then χ 3 d e t ( n ) = Ω ( n ε ′ ) \chi^{\mathrm{det}}_{3}(n) = \Omega(n^{\varepsilon'}) χ 3 det ( n ) = Ω ( n ε ′ ) with ε ′ = 2 ε / ( ( log ∗ k ′ + 2 ) ( log ∗ k ′ + 3 ) ) \varepsilon' = 2\varepsilon/((\log^{*} k' + 2)(\log^{*} k' + 3)) ε ′ = 2 ε / (( log ∗ k ′ + 2 ) ( log ∗ k ′ + 3 )) .
Equivalently, N k ( K ) ≤ N k ′ ( K ) ( j + 1 ) ( j + 2 ) / 2 N_k(K) \le N_{k'}(K)^{(j+1)(j+2)/2} N k ( K ) ≤ N k ′ ( K ) ( j + 1 ) ( j + 2 ) /2 for every K ≥ 2 K \ge2 K ≥ 2 , where N k ( K ) N_k(K) N k ( K ) is the least number of vertices with which an adversary can force every deterministic algorithm to use K K K colors on k k k -colorable graphs (Observation 4.3 ).
Every hard instance of Theorems 1.1 to 1.3 is a tower. By the second theorem, Theorem 1.5 , First-Fit uses at most n 1 / ( log ∗ n − log ∗ k − 3 ) n^{1/(\log^{*} n-\log^{*} k-3)} n 1/ ( l o g ∗ n − l o g ∗ k − 3 ) colors on every k k k -colorable tower with at most n n n vertices, for all large n n n . Towers therefore cannot improve Theorem 1.1 beyond the additive constant in the denominator of the exponent. Theorem 1.5 is stated in terms of the label posets P j ( k ) P_j(k) P j ( k ) defined next, which decide when a full tower is k k k -colorable. A down-set of a poset is a subset that contains, with each of its elements, every smaller element. For a finite poset P P P , let J ∗ ( P ) J^*(P) J ∗ ( P ) be the poset of its nonempty down-sets, ordered by inclusion. Let P 0 ( k ) P_0(k) P 0 ( k ) be the antichain on [ k ] = { 1 , … , k } [k] = \{1,\ldots,k\} [ k ] = { 1 , … , k } , in which no two distinct elements are comparable, and let P j + 1 ( k ) : = J ∗ ( P j ( k ) ) P_{j+1}(k) := J^*(P_j(k)) P j + 1 ( k ) := J ∗ ( P j ( k )) ; thus P 1 ( k ) P_1(k) P 1 ( k ) consists of the nonempty subsets of [ k ] [k] [ k ] . The sizes ∣ P j ( 3 ) ∣ = 3 , 7 , 18 , 81 , 8 569 , … |P_j(3)| = 3, 7, 18, 81, 8\,569, \ldots ∣ P j ( 3 ) ∣ = 3 , 7 , 18 , 81 , 8 569 , … grow like a tower of exponentials. A full tower with j j j levels over a clique on K K K vertices is k k k -colorable exactly when K ≤ ∣ P j ( k ) ∣ K \le|P_j(k)| K ≤ ∣ P j ( k ) ∣ (Corollary 5.4 ).
Theorem 1.5 (a ceiling for towers). Let k ≥ 3 k \ge3 k ≥ 3 . If First-Fit uses c ≥ 2 c \ge2 c ≥ 2 colors on a k k k -colorable j j j -level tower G G G , then c ≤ ∣ P j ( k ) ∣ c \le|P_j(k)| c ≤ ∣ P j ( k ) ∣ and ∣ V ( G ) ∣ ≥ ( c − 1 i + 1 ) |V(G)| \ge\binom{c-1}{i+1} ∣ V ( G ) ∣ ≥ ( i + 1 c − 1 ) for every 0 ≤ i ≤ j 0 \le i \le j 0 ≤ i ≤ j . Consequently there is n k n_k n k such that for every n ≥ n k n \ge n_k n ≥ n k , First-Fit uses at most n 1 / ( log ∗ n − log ∗ k − 3 ) n^{1/(\log^{*} n-\log^{*} k-3)} n 1/ ( l o g ∗ n − l o g ∗ k − 3 ) colors on every k k k -colorable tower with at most n n n vertices.
Two more results complete the picture (§ 9 ). First, the 2 k − 1 2^k - 1 2 k − 1 bound of the transparent model extends from colors to labels. A labeling by a poset P P P gives every vertex u u u an element f ( u ) f(u) f ( u ) of P P P such that f ( u ) ≰ f ( v ) f(u) \not\le f(v) f ( u ) ≤ f ( v ) for every later neighbor v v v of u u u ; for the antichain on [ k ] [k] [ k ] it is a proper k k k -coloring. An adversary that reveals such a labeling of its graph, each label right after the algorithm has colored the vertex, forces at most ∣ J ∗ ( P ) ∣ |J^*(P)| ∣ J ∗ ( P ) ∣ colors (Proposition 9.4 ). A strong adversary must therefore delay its commitments or make them in a poset with many down-sets: an adversary that reveals labels from P j ( k ) P_j(k) P j ( k ) in this way forces at most ∣ P j + 1 ( k ) ∣ |P_{j+1}(k)| ∣ P j + 1 ( k ) ∣ colors. Second, the clique from which a tower starts can be replaced by an adversary of Kawarabayashi, Yoneda and Yoneda [20 Lemma 4.3] . This gives polynomial lower bounds at slowly growing chromatic number: for every n ≥ 16 n \ge16 n ≥ 16 there is m ≤ log 2 log 2 n + log 2 log 2 log 2 n + 3 m \le\log_2 \log_2 n + \log_2 \log_2 \log_2 n + 3 m ≤ log 2 log 2 n + log 2 log 2 log 2 n + 3 with χ m d e t ( n ) ≥ ⌊ ( n / 16 ) 1 / 3 ⌋ \chi^{\mathrm{det}}_m(n) \ge\lfloor(n/16)^{1/3}\rfloor χ m det ( n ) ≥ ⌊( n /16 ) 1/3 ⌋ (Theorem 9.3 ).
Formal verification. All numbered results of this paper, including Theorems 1.1 to 1.5 exactly as stated, are formalized in Lean 4 with Mathlib; the proofs are complete and use only Lean’s standard axioms. The values found by computer search are verified by checkers that are proved sound.2
Organization. § 2 explains the constructions and proofs informally, and § 3 relates them to previous work. § 4 fixes the model and § 5 develops the calculus of labels. § 6 proves Theorem 1.2 , § 7 the part of Theorem 1.3 that concerns G G G , § 8 proves Theorem 1.1 and the rest of Theorem 1.3, and § 9 the results on transfer and limits; § 10 lists open problems. The appendices verify the thresholds of Theorem 1.1 (Appendix § 12 ), give smaller explicit instances and exact small cases (Appendix § 13 ) and an oblivious version of the reservation construction (Appendix § 14 ), and collect further results (Appendix § 15 ).
Technical overview
Our adversaries resolve the tension between forcing colors and staying 3-colorable by keeping a clique in the background and never showing it to the algorithm. They present instead an iterated blow-up of the clique, in which every vertex is replaced by a block of independent vertices. We first explain the explicit bound of Theorem 1.2 , which is weaker but simpler, and then, in § 2.3 , the change that gives Theorem 1.1. The proof of Theorem 1.2 rests on four facts.
A blow-up preserves forcing: an adversary that forces K K K colors still forces K K K colors after one blow-up, if the servers are chosen after the colors are known (Lemma 6.2 ).
A blow-up lowers the label poset by one level: if the vertices of a graph can be labeled by nonempty down-sets of a poset P P P so that no label is contained in the label of a later neighbor, then its blow-up can be labeled in the same way by elements of P P P (Lemma 5.2 ).
The label posets grow like a tower, so a clique on K K K vertices becomes 3-colorable after log ∗ K + 1 \log^* K + 1 log ∗ K + 1 blow-ups (Lemma 5.6 ).
Each blow-up multiplies the block size by about K K K , which gives K O ( ( log ∗ K ) 2 ) K^{O((\log^* K)^2)} K O (( l o g ∗ K ) 2 ) vertices in total (Theorem 6.4 ).
Facts 2 and 3 are classical results about arc graphs and shift graphs, and the reservation behind Fact 1 goes back to Li (§ 3 ). To our knowledge, three things are new: reserving single vertices, which makes each blow-up exactly one step of the arc-graph calculus; iterating such blow-ups under a clique; and the resulting bound. We explain the four facts on the smallest interesting example, forcing four colors on a 3-colorable graph.
One blow-up: four colors on a 3-colorable graph
Take the clique K 4 K_4 K 4 on v 1 , … , v 4 v_1,\ldots,v_4 v 1 , … , v 4 , in this order. It forces 4 colors but is not 3-colorable, so the algorithm never sees it. Instead each v t v_t v t is presented as a block σ ( v t ) \sigma(v_t) σ ( v t ) of 7 independent vertices. While the algorithm uses at most 3 colors, some color occurs at least 3 times in σ ( v 1 ) \sigma(v_1) σ ( v 1 ) , since 7 > 2 + 2 + 2 7 > 2 + 2 + 2 7 > 2 + 2 + 2 . The adversary calls this color the induced color col ( v 1 ) \operatorname{col}(v_1) col ( v 1 ) , and it reserves three vertices of that color, one for each later neighbor of v 1 v_1 v 1 ; we call them the servers x 1 , 2 x_{1,2} x 1 , 2 , x 1 , 3 x_{1,3} x 1 , 3 and x 1 , 4 x_{1,4} x 1 , 4 . Every vertex of σ ( v 2 ) \sigma(v_2) σ ( v 2 ) is joined to x 1 , 2 x_{1,2} x 1 , 2 , so none of them has color col ( v 1 ) \operatorname{col}(v_1) col ( v 1 ) , and the induced color col ( v 2 ) \operatorname{col}(v_2) col ( v 2 ) differs from col ( v 1 ) \operatorname{col}(v_1) col ( v 1 ) . In the same way σ ( v 3 ) \sigma(v_3) σ ( v 3 ) is joined to x 1 , 3 x_{1,3} x 1 , 3 and x 2 , 3 x_{2,3} x 2 , 3 , so col ( v 3 ) \operatorname{col}(v_3) col ( v 3 ) is a third color. The first vertex of σ ( v 4 ) \sigma(v_4) σ ( v 4 ) is joined to x 1 , 4 x_{1,4} x 1 , 4 , x 2 , 4 x_{2,4} x 2 , 4 and x 3 , 4 x_{3,4} x 3 , 4 , which carry three different colors, and it needs a fourth, as in the complete play with 22 vertices traced in Figure 1 (b).
Figure 1. One reservation blow-up. (a) Some color occurs at least D D D times in σ ( w ) \sigma(w) σ ( w ) ; it becomes the induced color col ( w ) \operatorname{col}(w) col ( w ) , and D D D vertices of that color form the reserve (thick borders). Of the three later neighbors of w w w , the first and the third are drawn. The server x w , v x_{w,v} x w , v is joined to all of σ ( v ) \sigma(v) σ ( v ) , so no vertex of σ ( v ) \sigma(v) σ ( v ) has color col ( w ) \operatorname{col}(w) col ( w ) , and col ( v ) ≠ col ( w ) \operatorname{col}(v) \ne\operatorname{col}(w) col ( v ) = col ( w ) . (b) The adversary against the algorithm that always takes its least-used allowed color among 1 , … , K − 1 1,\ldots,K-1 1 , … , K − 1 . The blocks of v 1 , v 2 , v 3 v_1,v_2,v_3 v 1 , v 2 , v 3 have induced colors 1 , 2 , 3 1,2,3 1 , 2 , 3 , and the first vertex of σ ( v 4 ) \sigma(v_4) σ ( v 4 ) sees all three and receives color 4 4 4 , after 3 ⋅ 7 + 1 = 22 3 \cdot7 + 1 = 22 3 ⋅ 7 + 1 = 22 vertices.
Two properties of the servers make this work. First, the servers are chosen after their colors are known, so the adversary can take them from the popular color of each block. The induced colors are therefore the colors that a deterministic online algorithm would give to the clique, and each of them is a color of the real algorithm; so any adversary that forces K K K colors still forces K K K colors after the blow-up. Second, each server is joined to a single later block. Had the adversary joined σ ( v t ) \sigma(v_t) σ ( v t ) to every vertex of col ( v s ) \operatorname{col}(v_s) col ( v s ) in every earlier block, one vertex of the induced color from each block would span a K 4 K_4 K 4 . Private servers are what let the chromatic number fall, as we show next. The price is the block size: a block whose vertex has D D D later neighbors needs D D D vertices of one color, and with at most K − 1 K-1 K − 1 colors available, ( K − 1 ) ( D − 1 ) + 1 (K-1)(D-1)+1 ( K − 1 ) ( D − 1 ) + 1 vertices guarantee this. Reserving one copy per later neighbor is the simulation step of Li [28, Lemma 2.5], with single vertices in place of his bipartite gadgets.
Why the blow-up is 3-colorable. Give each vertex of the clique a nonempty set of colors: { 1 , 2 , 3 } \{1,2,3\} { 1 , 2 , 3 } to v 1 v_1 v 1 , and { 1 , 2 } \{1,2\} { 1 , 2 } , { 1 , 3 } \{1,3\} { 1 , 3 } , { 2 , 3 } \{2,3\} { 2 , 3 } to v 2 v_2 v 2 , v 3 v_3 v 3 , v 4 v_4 v 4 . No set is contained in a later one. The server x s , t x_{s,t} x s , t takes a color that lies in the set of v s v_s v s but not in the set of v t v_t v t , and every other vertex of σ ( v s ) \sigma(v_s) σ ( v s ) takes any color from the set of v s v_s v s . Every edge joins a server x s , t x_{s,t} x s , t to a vertex of σ ( v t ) \sigma(v_t) σ ( v t ) , whose color lies in the set of v t v_t v t while the color of x s , t x_{s,t} x s , t does not, so the coloring is proper. In Figure 1 (b), the servers x 1 , 2 x_{1,2} x 1 , 2 , x 1 , 3 x_{1,3} x 1 , 3 and x 1 , 4 x_{1,4} x 1 , 4 all receive online color 1 1 1 , while offline they receive the colors 3 3 3 , 2 2 2 and 1 1 1 , one outside each of the sets { 1 , 2 } \{1,2\} { 1 , 2 } , { 1 , 3 } \{1,3\} { 1 , 3 } and { 2 , 3 } \{2,3\} { 2 , 3 } of the blocks they serve. The same argument works for the blow-up of any graph H H H whose vertices carry nonempty subsets of { 1 , 2 , 3 } \{1,2,3\} { 1 , 2 , 3 } such that no set is contained in the set of a later neighbor. For the clique K m K_m K m this requires m m m distinct sets, listed from larger to smaller, so one blow-up supports a clique of at most 2 3 − 1 = 7 2^3 - 1 = 7 2 3 − 1 = 7 vertices; indeed the blow-up of K 8 K_8 K 8 is not 3-colorable (Corollary 5.4 ). Figure 2 shows the rule.
Figure 2. Labels one level up are nonempty down-sets. Top: P 1 ( 3 ) P_1(3) P 1 ( 3 ) , the nonempty subsets of [ 3 ] [3] [ 3 ] , and six of the 18 elements of P 2 ( 3 ) P_2(3) P 2 ( 3 ) , drawn as down-sets of P 1 ( 3 ) P_1(3) P 1 ( 3 ) . The four middle ones are pairwise incomparable, so two levels raise the width from 3 to 4, after which the width grows like a tower. Bottom: the rule of Lemma 5.2 , from a labeling ψ \psi ψ one level up to a labeling f f f of the blow-up. The server x x x of the arc w → v w \to v w → v gets a label in ψ ( w ) ∖ ψ ( v ) \psi(w) \setminus\psi(v) ψ ( w ) ∖ ψ ( v ) , every vertex u u u of σ ( v ) \sigma(v) σ ( v ) a label in ψ ( v ) \psi(v) ψ ( v ) , and since ψ ( v ) \psi(v) ψ ( v ) is down-closed, f ( x ) ≰ f ( u ) f(x) \not\leq f(u) f ( x ) ≤ f ( u ) .
Iterating: labels of labels, and a tower of exponentials
To force more than seven colors, the adversary blows up twice. Each vertex of the clique becomes a block of nodes of level 1, which the algorithm does not see either, and each node of level 1 becomes a block of presented vertices. A node of level 1 is colored by the induced color of its own block. Such a node serves a whole block of nodes of level 1, so its own block of presented vertices must contain one server for each node of that block. For K = 8 K = 8 K = 8 the blocks of the clique vertices have 7 ⋅ 6 + 1 = 43 7 \cdot6 + 1 = 43 7 ⋅ 6 + 1 = 43 nodes, the blocks of the nodes of level 1 have 7 ⋅ 42 + 1 = 295 7 \cdot42 + 1 = 295 7 ⋅ 42 + 1 = 295 vertices, and the adversary forces 8 colors with at most 88 796 vertices. Figure 3 shows a complete two-level play for K = 3 K = 3 K = 3 .
Figure 3. A complete play with two blow-ups, K = 3 K = 3 K = 3 , against the least-used-color algorithm. The middle row shows the induced colors of the nodes of level 1; each lane below a row is one server joined to all of one block. The color of every server is inherited from the reserve it was taken from, so the first vertex below v 3 v_3 v 3 sees the induced colors of v 1 v_1 v 1 and v 2 v_2 v 2 and needs a third color.
The colorability argument iterates as well. A node of level 1 is labeled by a set of colors, as before, and a vertex of the clique by a nonempty family of such sets that is closed under taking nonempty subsets. A family is not contained in a later family exactly when it has a set that the later family lacks, and the server of the arc takes that set as its label. This is Fact 2 for the poset P 1 ( 3 ) P_1(3) P 1 ( 3 ) (Lemma 5.2 ). Starting from the antichain P 0 ( 3 ) P_0(3) P 0 ( 3 ) of three colors, the label posets P j + 1 ( 3 ) = J ∗ ( P j ( 3 ) ) P_{j+1}(3) = J^*(P_j(3)) P j + 1 ( 3 ) = J ∗ ( P j ( 3 )) have 3, 7, 18, 81 and 8 569 elements, and the clique K m K_m K m survives j j j full blow-ups exactly when m ≤ ∣ P j ( 3 ) ∣ m \leq|P_j(3)| m ≤ ∣ P j ( 3 ) ∣ (Corollary 5.4 ).
These posets grow like a tower of exponentials. If P P P has w w w pairwise incomparable elements, then the down-sets generated by subsets of them are 2 w − 1 2^w - 1 2 w − 1 distinct elements of J ∗ ( P ) J^*(P) J ∗ ( P ) , of which ( w ⌊ w / 2 ⌋ ) ≥ 2 w / ( w + 1 ) \binom{w}{\lfloor w/2 \rfloor} \geq2^w/(w+1) ( ⌊ w /2 ⌋ w ) ≥ 2 w / ( w + 1 ) are pairwise incomparable. The poset P 2 ( 3 ) P_2(3) P 2 ( 3 ) already has four pairwise incomparable elements, and from then on each level raises the width exponentially. Consequently log ∗ K + 1 \log^* K + 1 log ∗ K + 1 blow-ups suffice for K K K_K K K , and at least log ∗ K − 2 \log^* K - 2 log ∗ K − 2 are necessary (Corollary 5.7 ).
This static part is classical. A reservation blow-up of an ordered graph H H H is the arc graph of H H H with a private sink attached to every vertex, except that each sink arc appears as any number of copies, possibly none:
the server x w , v x_{w,v} x w , v ↔ \leftrightarrow ↔ the arc ( w , v ) (w,v) ( w , v ) ,
a vertex of σ ( v ) \sigma(v) σ ( v ) that serves no arc ↔ \leftrightarrow ↔ a copy of the sink arc ( v , s v ) (v,s_v) ( v , s v ) ,
x w , v x_{w,v} x w , v joined to all of σ ( v ) \sigma(v) σ ( v ) ↔ \leftrightarrow ↔ the arcs ( w , v ) → ( v , z ) (w,v) \to(v,z) ( w , v ) → ( v , z ) of δ ( H + ) \delta(H^+) δ ( H + ) ,
where H + H^+ H + is H H H with the sinks s v s_v s v added and δ \delta δ is the arc-graph operator: the arc graph of a digraph has its arcs as vertices, with an arc ( a , b ) → ( b , c ) (a,b) \to(b,c) ( a , b ) → ( b , c ) for every two consecutive arcs. Full towers over a clique are, in this sense, the shift graphs of Erdős and Hajnal [10 proof of Thm. 2] , and their colorability threshold and the tower growth go back to Harner and Entringer [18 ] , Poljak and Rödl [37 ] , Poljak [36 ] and Duffus, Lefmann and Rödl [9 ] , with recent treatments by Rorabaugh, Tardif, Wehlau and Zaguia [39 ] and Bai et al. [1 ] . The nonempty blocks are why our labels are nonempty down-sets.
Counting. A node with D D D later neighbors (post-degree D D D ) needs a block of ( K − 1 ) ( D − 1 ) + 1 (K-1)(D-1)+1 ( K − 1 ) ( D − 1 ) + 1 nodes, and each node of that block may in turn serve a block of this size. The post-degree, and with it the block size, therefore grows by a factor of about K K K per blow-up: the blocks of the top vertices (the vertices of the clique) have about K 2 K^2 K 2 nodes, the blocks one level down about K 3 K^3 K 3 , and after i i i blow-ups about K i + 1 K^{i+1} K i + 1 . With j j j blow-ups the graph has at most
K ⋅ K 2 ⋅ K 3 ⋯ K j + 1 = K ( j + 1 ) ( j + 2 ) / 2 K \cdot K^2 \cdot K^3 \cdots K^{j+1} = K^{(j+1)(j+2)/2} K ⋅ K 2 ⋅ K 3 ⋯ K j + 1 = K ( j + 1 ) ( j + 2 ) /2
vertices. With j = log ∗ K + 1 j = \log^{*} K + 1 j = log ∗ K + 1 this is K O ( ( log ∗ K ) 2 ) K^{O((\log^{*} K)^2)} K O (( l o g ∗ K ) 2 ) , and solving for K K K gives Theorem 1.2 .
Removing one log*: random servers and unused mass
The quadratic exponent comes from the counting: the block size grows by a factor K K K per blow-up, because a server must hand a single color to an entire block. Theorem 1.1 gives up reserving many vertices of one color. In a uniform tower every arc still has its own server, but all blocks have one size A = 2 m A = 2m A = 2 m , where m m m is the number of top vertices, and the servers are chosen at random. The tower is presented in m m m phases, one subtree of a top vertex per phase, and the servers of a phase, its wiring , are chosen as follows: every earlier top vertex supplies a uniformly random child that has not served yet, and below the top the children of a node are matched to the children of its servers by independent uniformly random bijections.
The analysis follows, for each color, its unused mass : the presented vertices of that color that can still become servers, weighted so that the subtree of each top vertex has mass 1. Once enough unused vertices of some color, say red, are available, a new vertex is likely to receive a red server, so the algorithm has few chances to make red heavier. Yet about three quarters of the total mass is still unused at the end, so many colors share it. The proof has four steps.
A color with unused mass u u u is missed with probability at most e − u e^{-u} e − u . Under the random wiring, a presented vertex has one earlier neighbor below each earlier top vertex, and that neighbor is uniform over the presented vertices below the children that have not served (Lemma 8.4 ).
Heavy colors grow slowly. Call a color heavy if its unused mass is at least ln 4 m \ln4m ln 4 m . Fewer than m m m colors are heavy, so in expectation at most a quarter of each phase misses some heavy color, and only that part can add mass to heavy colors.
The final mass is known. The top vertices contribute mass m m m and the servers remove ( m 2 ) / A \binom{m}{2}/A ( 2 m ) / A , so the unused mass at the end is exactly ( 3 m + 1 ) / 4 (3m+1)/4 ( 3 m + 1 ) /4 (Lemma 8.3 ). A phase adds at most 1 to any color, so a color becomes heavy with mass below ln 4 m + 1 \ln4m+1 ln 4 m + 1 , and afterwards it gains only through the vertices of Step 2.
Counting. Comparing the final mass with what light and heavy colors can hold gives at least ( 2 m + 1 ) / ( 4 ( 1 + ln 4 m ) ) (2m+1)/(4(1+\ln4m)) ( 2 m + 1 ) / ( 4 ( 1 + ln 4 m )) colors in expectation, at every number of levels (Theorem 8.5 ).
To our knowledge Steps 1 to 3 are new; the tower calculus supplies colorability. The quantitative core is that no level loses anything: the uniform tower has n = m ( 2 m ) j n=m(2m)^j n = m ( 2 m ) j vertices and is k k k -colorable once m ≤ ∣ P j ( k ) ∣ m \le|P_j(k)| m ≤ ∣ P j ( k ) ∣ , so j = log ∗ n + O ( 1 ) j=\log^* n+O(1) j = log ∗ n + O ( 1 ) levels suffice, and the bound is n 1 / ( j + 1 ) / O ( log n ) = n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(j+1)}/O(\log n)=n^{1/(\log^* n+O(1))} n 1/ ( j + 1 ) / O ( log n ) = n 1/ ( l o g ∗ n + O ( 1 )) . The price is the factor 1 + ln 4 m 1+\ln4m 1 + ln 4 m ; we prove n 1 / ( log ∗ n + 3 ) n^{1/(\log^* n+3)} n 1/ ( l o g ∗ n + 3 ) for n ≥ 2 406 n \ge2^{406} n ≥ 2 406 .
Variants: deterministic adversaries, randomized algorithms and known graphs
The random wiring never looks at the colors, so by Yao’s principle Theorem 1.1 holds against randomized algorithms. The same analysis gives a deterministic adversary that chooses the wiring of each phase from the colors already used and forces the bound on every play (Theorem 8.5 (ii)).
The wiring changes only the order in which the vertices of a block arrive, not the graph: every wiring gives the same full tower up to isomorphism (Lemmas 7.1 and 8.2 ). The algorithm may therefore be told the final graph, and the bounds of Theorems 1.1 and 1.2 hold for single graphs (Theorem 1.3). For Theorem 1.2 the adversary must also complete every block after winning (Lemma 7.2 ).
Limits
First-Fit colors every block of a full tower with the color it gives the corresponding node one level up (Lemma 9.5 ), so on an initial segment of a full tower it uses exactly as many colors as there are top vertices with a presented descendant. If it uses c c c colors, the subtrees of the first c − 1 c-1 c − 1 top vertices are presented in full. Following servers down one level maps a walk of i + 1 i+1 i + 1 top vertices to a walk of i i i nodes of level j − 1 j-1 j − 1 , injectively, and after i i i such steps each of the ( c − 1 i + 1 ) \binom{c-1}{i+1} ( i + 1 c − 1 ) increasing sequences of top vertices has its own node of level j − i j-i j − i . The tower therefore has at least ( c − 1 i + 1 ) \binom{c-1}{i+1} ( i + 1 c − 1 ) vertices for every i ≤ j i \le j i ≤ j . At least log ∗ c − O ( 1 ) \log^* c-O(1) log ∗ c − O ( 1 ) levels are necessary, so we may take i = log ∗ c − O ( 1 ) i=\log^* c-O(1) i = log ∗ c − O ( 1 ) , and every tower adversary is capped at n 1 / ( log ∗ n − O ( 1 ) ) n^{1/(\log^* n-O(1))} n 1/ ( l o g ∗ n − O ( 1 )) colors (Theorem 1.5 ), an additive constant in the exponent’s denominator away from Theorem 1.1.
A second limit concerns every adversary that commits to labels, not only towers. Suppose that, right after each vertex is colored, the adversary reveals its label in a labeling of the graph by a poset P P P . An algorithm that knows the adversary can color each vertex v v v by the set of labels that v v v could still receive, which is a nonempty down-set of P P P , and two adjacent vertices always get different sets (Proposition 9.4 ). For the antichain of k k k colors this is a variant of the classical 2 k − 1 2^k-1 2 k − 1 algorithm for the transparent model [17 §4.5] . In general, an adversary that commits to labels from P j ( k ) P_j(k) P j ( k ) forces at most ∣ P j + 1 ( k ) ∣ \lvert P_{j+1}(k)\rvert ∣ P j + 1 ( k )∣ colors.
Private servers matter as well. In Vishwanathan’s levels, one selected set of vertices serves all later neighbors at once and every gadget contains an edge; such levels raise the clique number by one each, so they can be stacked at most k − 1 k-1 k − 1 deep (Proposition D.1), which is where the exponent of Ω ( log k − 1 n ) \Omega(\log^{k-1} n) Ω ( log k − 1 n ) comes from. Li’s levels reserve a private copy of a gadget for each future neighbor [28 Lemma 2.5] , and our blow-ups a private vertex.
Finally, the clique at the top can be replaced by any adversary. With an adversary for k ′ k' k ′ -colorable graphs at the top, j j j blow-ups produce an adversary for k k k -colorable graphs (Theorem 1.4 ). With the pairing adversary of Kawarabayashi, Yoneda and Yoneda [20 Lemma 4.3] , against which every color is used at most twice on 2 ℓ 2^\ell 2 ℓ vertices of chromatic number at most 2 ℓ 2\ell 2 ℓ , a single blow-up forces ⌊ ( n / 16 ) 1 / 3 ⌋ \lfloor(n/16)^{1/3}\rfloor ⌊( n /16 ) 1/3 ⌋ colors on graphs of chromatic number about log log n \log\log n log log n (Theorem 9.3 ).
Relation to previous work
Lower bounds for online coloring. Previous lower bounds for fixed k k k that grow with n n n force many colors on an independent set and then amplify. Vishwanathan’s adversary joins a new gadget of chromatic number one less completely to an independent set that already carries many colors, so that the gadget’s colors must be new [41 §§3.1–3.2] . Kierstead’s handbook chapter states the deterministic version [24 Thm. 4.4] , and Kierstead and Kolossa make the construction perfect [25 Thm. 0.2] . Li [28 ] works with t t t -fold colorings and a simulation lemma that reserves a separate copy of a gadget for each future neighbor of a simulated vertex [28 Lemma 2.5] ; every level of his construction keeps chromatic number 3, and about log K / log log K \log K/\log\log K log K / log log K levels, each multiplying the post-degree, give his bound [28 §2.3] . Without reservations, levels of this kind raise the clique number by one each and can be stacked at most k − 1 k-1 k − 1 deep (Proposition D.1). Our construction keeps Li’s reservation and drops the rest: there are no gadgets and no fold reduction, a clique at the top does all the forcing, and the blow-ups only lower the chromatic number. Because the reserved copies are single vertices, each blow-up is exactly one step of the arc-graph calculus, which lowers the chromatic number exponentially [18 Thms. 8–9] , so log ∗ K + O ( 1 ) \log^* K+O(1) log ∗ K + O ( 1 ) blow-ups suffice. Li’s randomized lower bound hides the reserved copy in a random index [28 Lemma A.4] , which is what we do in Appendix § 14 . In a different direction, Halldórsson and Szegedy force about n / log n n/\log n n / log n colors on graphs of chromatic number at most log n \log n log n [17 ] , and Kawarabayashi, Yoneda and Yoneda force at least n / 2 n/2 n /2 colors on n n n -vertex graphs of chromatic number at most 2 ⌊ log 2 n ⌋ 2\lfloor\log_2 n\rfloor 2 ⌊ log 2 n ⌋ [20 Lemma 4.3 and proof of Thm. 1.1] ; Theorem 9.3 uses the latter construction as a top. Li, Narayan and Pankratov define “saturated bins” [30 Def. 2.1] , a notion that is implicit in some earlier adversaries; the saturated colors of the one-level adversary in Appendix § 15 .§ 2 are a different notion, defined by a flow.
Shift graphs and arc graphs. A reservation blow-up of H H H is the arc graph δ ( H + ) \delta(H^+) δ ( H + ) of H H H with a private sink at every vertex, up to the number of copies of each sink arc (§ 2.2 ). Iterating δ \delta δ on a transitive tournament gives the shift graphs of Erdős and Hajnal [10 proof of Thm. 2] , a classical family with large chromatic number and no short odd cycles [39 p. 277] . The one-level bounds relating χ ( δ ( H ) ) \chi(\delta(H)) χ ( δ ( H )) and χ ( H ) \chi(H) χ ( H ) are due to Harner and Entringer [18, Thms. 8–9], the lower one already to Erdős and Hajnal [10, Thm. 5], with an exact formula for symmetric digraphs by Poljak and Rödl [37, Thm. 1.1]. § 5 gives the exact sources of the label calculus: Poljak’s adjunction [36 Lemma 1] is the content of Lemmas 5.2 and 5.3 ; the colorability threshold of shift graphs counts all iterated down-sets, with an equivalent statement about monotone paths by Moshkovitz and Shapira [33, Thm. 5 and Eq. (10)], while ours, Corollary 5.4 , counts nonempty ones; and the tower growth rests on the recursion of Poljak and Rödl [37, Rem. 3.2] and of Duffus, Lefmann and Rödl [9, Eq. (1)]; see also [27 §4.5] . Offline, the arc graph transfers NP-hardness of approximate coloring between values of k k k [43 Lemma 3.3 and Prop. 2.1] ; Theorem 1.4 is an online counterpart, in which the reduction maps adversaries instead of instances and costs a polynomial in the number of vertices.
Online games on shift graphs. Shift graphs have appeared in online coloring before, but to our knowledge never to force many colors on graphs of constant chromatic number. The triangle-free presenter of Diwan, Kenkre and Vishwanathan [8, Thm. 16] builds shift graphs when the algorithm is First-Fit, as observed by Gutowski, Kozik, Micek and Zhu [13, p. 6], who also keep the vertices of a popular color of a “fan” for later use [13 proof of Thm. 2] ; neither construction bounds the chromatic number of the presented graph by a constant. In the Builder–Painter game of Pérez-Giménez, Prałat and West [35 ] , for paths with two edges, Painter colors an induced subgraph of a shift graph online and the analysis maintains iterated down-set labels [35 §3] , but Painter is told which vertex of the shift graph is presented, and Builder forces only about the static chromatic number. In our setting the identity of a vertex is decided after it is colored, and this is what makes forcing possible; the same device appears in Gyárfás and Lehel’s [14, Thm. 2.5] tree construction.
Iterated logarithms. The log ∗ \log^* log ∗ behavior of iterated arc graphs is familiar from distributed computing. Linial’s $\Omega(\log^* n)$ lower bound for 3-coloring a cycle [31, Thm. 2.1] rests on the same operator: his neighborhood graphs contain shift graphs, and one application of the operator lowers the chromatic number at most exponentially [31 Props. 2.1–2.2] . The same fact limits the number of levels in our constructions.
Models. The transparent model [17 ] , the random-order model (see [46 ] and the references there) and the known-graph model [16 ] were discussed in § 1 ; in random order, First-Fit still needs polynomially many colors on some bipartite graphs [29 ] . In the model of Bartal, Fiat and Leonardi [3 ] , the algorithm knows a host graph and is told which host vertex each arrival is; their polynomial lower bounds concern graphs of polynomially large chromatic number. Böhm and Veselý showed that deciding the online chromatic number of a given graph is PSPACE-complete [7 Thm. 1.1] . Li, Narayan and Pankratov restrict the adversary to graphs with few connected components at all times [30 ] . Our adversaries start by presenting many isolated vertices, those below the first top vertex, but presenting one extra vertex first and joining it to all later vertices keeps the graph connected at the cost of one color. The bound of Theorem 1.2 for k = 3 k = 3 k = 3 , with one more vertex, therefore also holds for 4-colorable graphs that are connected at every step of the presentation.
Offline coloring. In polynomial time, 3-colorable graphs can be colored with O ( n 0.19539 ) O(n^{0.19539}) O ( n 0.19539 ) colors [2 ] , after a line of work that starts with Wigderson’s O ( n ) O(\sqrt{n}) O ( n ) [5 , 6 , 19 , 42 ] , and by a recent result of Fei, Minzer and Wang, coloring them with any constant number of colors is NP-hard [11 ] . These are statements about polynomial time; online lower bounds such as ours hold against computationally unbounded algorithms.
Preliminaries
Online coloring. An ordered graph is a finite simple graph whose vertices carry a linear order, the arrival order . For a vertex v v v we write N − ( v ) N^{-}(v) N − ( v ) for the set of its earlier neighbors, and we call the number of its later neighbors its post-degree , following [28 ] . A deterministic online coloring algorithm receives the vertices one at a time; when v v v arrives the algorithm learns N − ( v ) N^{-}(v) N − ( v ) and nothing else, and it must give v v v a color (a natural number) that differs from the colors of N − ( v ) N^{-}(v) N − ( v ) . Colors are never changed, and the cost of the algorithm on an input is the number of distinct colors it uses. The inputs are k k k -colorable for a fixed k ≥ 1 k \ge1 k ≥ 1 , which the algorithm knows; our lower bounds hold even if it also knows the number n n n of vertices.
Definition 4.1 (online chromatic numbers). The number χ k d e t ( n ) \chi_k^{\mathrm{det}}(n) χ k det ( n ) is the minimum, over deterministic online algorithms, of the maximum cost over all ordered k k k -colorable graphs on n n n vertices. Similarly, χ k r a n d ( n ) \chi_k^{\mathrm{rand}}(n) χ k rand ( n ) is the minimum, over randomized online algorithms (probability distributions over deterministic ones), of the maximum expected cost over all ordered k k k -colorable graphs on n n n vertices.
Both quantities are non-decreasing in n n n , since a bad input on n n n vertices stays bad after an isolated vertex is appended. For a fixed n n n , a deterministic algorithm has one of finitely many vectors of costs on the ordered graphs with n n n vertices, so it suffices to consider distributions with finite support. A worst input for a deterministic algorithm can be built adaptively , by looking at the colors already given, whereas the input for a randomized algorithm is fixed in advance (an oblivious adversary). We formalize adaptive constructions as follows.
Definition 4.2 (adversaries). An adversary is a deterministic rule that, given the history of a play (the ordered graph presented so far and the colors given to it), either stops or presents a new vertex together with its set of earlier neighbors. It forces K K K colors if every play against every deterministic online algorithm is finite and ends with at least K K K colors in use. It has size at most N N N and post-degree at most D D D if in every play at most N N N vertices are presented and every vertex receives at most D D D later neighbors. It lands in a class of ordered graphs if the final graph of every play belongs to the class.
Let N k ( K ) N_k(K) N k ( K ) be the least size of an adversary that forces K K K colors and lands in the k k k -colorable graphs. If such an adversary of size at most n n n exists, then χ k d e t ( n ) ≥ K \chi_k^{\mathrm{det}}(n) \ge K χ k det ( n ) ≥ K : run the adversary and append isolated vertices until there are n n n . The converse also holds. Consider the game in which the adversary presents at most n n n vertices, stopping when it likes, and wins if the play ends with at least K K K colors in use and a k k k -colorable graph. Once colors are renamed in the order of their first use, this is a finite game of perfect information, so by Zermelo’s theorem one of the two players has a winning strategy: an adversary of size at most n n n that forces K K K colors and lands in the k k k -colorable graphs, or an algorithm that uses fewer than K K K colors on every ordered k k k -colorable graph with at most n n n vertices. Only the proof of Theorem 1.4 uses the converse.
Observation 4.3 (determinacy). We have χ k d e t ( n ) ≥ K \chi_k^{\mathrm{det}}(n) \ge K χ k det ( n ) ≥ K if and only if N k ( K ) ≤ n N_k(K) \le n N k ( K ) ≤ n . In particular, it suffices to exhibit, for every deterministic algorithm, an ordered k k k -colorable graph on at most n n n vertices on which the algorithm uses K K K colors.
For randomized algorithms we use the easy direction of Yao’s principle [44 ] .
Lemma 4.4 (Yao’s principle). Let D \mathcal{D} D be a distribution over ordered k k k -colorable graphs on exactly N N N vertices such that every deterministic online algorithm uses at least x x x colors in expectation on G ∼ D G \sim\mathcal{D} G ∼ D . Then χ k r a n d ( n ) ≥ x \chi_k^{\mathrm{rand}}(n) \ge x χ k rand ( n ) ≥ x for every n ≥ N n \ge N n ≥ N . In particular, if every deterministic online algorithm uses at least K K K colors with probability at least 1 − ε 1-\varepsilon 1 − ε , then χ k r a n d ( n ) ≥ ( 1 − ε ) K \chi_k^{\mathrm{rand}}(n) \ge(1-\varepsilon)K χ k rand ( n ) ≥ ( 1 − ε ) K .
Proof. A randomized algorithm is a distribution over deterministic algorithms that is independent of G G G . By Fubini’s theorem its expected cost on G ∼ D G \sim\mathcal{D} G ∼ D is at least x x x , so some G G G in the support forces this expected cost. Appended isolated vertices do not change the colors of the first N N N vertices. □
If all graphs in the support of D \mathcal{D} D are presentations of one graph G G G , the same argument shows that every randomized algorithm that knows G G G in advance has some presentation order of G G G on which it uses at least x x x colors in expectation.
First-Fit gives each vertex the least color that is not used on its earlier neighbors. It uses at most one more color than the largest number of earlier neighbors of a vertex.
Posets and labels
Let P P P be a finite poset. A set U ⊆ P U \subseteq P U ⊆ P is a down-set if x ≤ y ∈ U x \leq y \in U x ≤ y ∈ U implies x ∈ U x \in U x ∈ U , and ↓ U \downarrow U ↓ U denotes the down-set generated by U U U . We write J ∗ ( P ) J^*(P) J ∗ ( P ) for the poset of nonempty down-sets of P P P , ordered by inclusion, and width ( P ) \operatorname{width}(P) width ( P ) for the largest size of an antichain of P P P . The label posets are P 0 ( k ) P_0(k) P 0 ( k ) , the antichain on [ k ] [k] [ k ] , and P j + 1 ( k ) : = J ∗ ( P j ( k ) ) P_{j+1}(k) := J^*(P_j(k)) P j + 1 ( k ) := J ∗ ( P j ( k )) for j ≥ 0 j \geq0 j ≥ 0 .
Definition 4.5 (templates and labelings). The template Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) is the digraph on P P P with an arc a → b a \to b a → b whenever a ≰ b a \not\leq b a ≤ b . A P P P -labeling of an ordered graph G G G is a map f : V ( G ) → P f : V(G) \to P f : V ( G ) → P such that f ( u ) ≰ f ( v ) f(u) \not\leq f(v) f ( u ) ≤ f ( v ) for every edge u v uv uv with u u u earlier than v v v ; we then say that G G G maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) .
A P P P -labeling restricts to every induced ordered subgraph. In the antichain P 0 ( k ) P_0(k) P 0 ( k ) we have a ≰ b a \not\leq b a ≤ b exactly when a ≠ b a \ne b a = b , so a P 0 ( k ) P_0(k) P 0 ( k ) -labeling is a proper k k k -coloring. The posets P j ( k ) P_j(k) P j ( k ) label the levels of our constructions: a node at level j j j is labeled by a down-set of labels of level j − 1 j-1 j − 1 , down to the colors at level 0.
Iterated logarithms
Logarithms are binary unless written ln \ln ln . Let tow ( 0 ) = 1 \operatorname{tow}(0) = 1 tow ( 0 ) = 1 and tow ( i + 1 ) = 2 tow ( i ) \operatorname{tow}(i+1) = 2^{\operatorname{tow}(i)} tow ( i + 1 ) = 2 tow ( i ) , and let log ∗ x = min { i ≥ 0 : tow ( i ) ≥ x } \log^* x = \min\{i \geq0 : \operatorname{tow}(i) \geq x\} log ∗ x = min { i ≥ 0 : tow ( i ) ≥ x } . For example, log ∗ 2 = 1 \log^* 2 = 1 log ∗ 2 = 1 , log ∗ 16 = 3 \log^* 16 = 3 log ∗ 16 = 3 , log ∗ 65536 = 4 \log^* 65536 = 4 log ∗ 65536 = 4 , and log ∗ n ≤ 5 \log^* n \leq5 log ∗ n ≤ 5 for every n ≤ 2 65536 n \leq2^{65536} n ≤ 2 65536 .
Blow-ups
All our hard instances are iterated blow-ups. The following static definition covers them; the later sections add the online choices.
Definition 4.6 (blow-up). Let H H H be an ordered graph. A blow-up of H H H is an ordered graph G G G together with a partition of V ( G ) V(G) V ( G ) into nonempty independent blocks σ ( v ) \sigma(v) σ ( v ) , v ∈ V ( H ) v \in V(H) v ∈ V ( H ) , and a partial map serve : V ( G ) → V ( H ) \operatorname{serve} : V(G) \to V(H) serve : V ( G ) → V ( H ) , such that
(i) the blocks arrive one after the other, in the order of H H H ;
(ii) if x ∈ σ ( w ) x \in\sigma(w) x ∈ σ ( w ) and serve ( x ) = v \operatorname{serve}(x) = v serve ( x ) = v , then v v v is a later neighbor of w w w in H H H , and we say that x x x serves the arc w → v w \to v w → v ;
(iii) the edges of G G G are exactly the pairs x u xu xu with serve ( x ) = v \operatorname{serve}(x) = v serve ( x ) = v and u ∈ σ ( v ) u \in\sigma(v) u ∈ σ ( v ) .
The blow-up is full if every arc of H H H is served by at least one vertex, and it is a reservation blow-up if every arc is served by exactly one vertex, its server .
In other words, every vertex of a blow-up is joined to at most one later block, completely, and has no other later neighbors.
Definition 4.7 (towers). A full j j j -level tower over the arrival-ordered clique K m = ( v 1 , … , v m ) K_m = (v_1,\ldots,v_m) K m = ( v 1 , … , v m ) is obtained by taking j j j successive full blow-ups: H ( j ) = K m H^{(j)} = K_m H ( j ) = K m , and H ( i ) H^{(i)} H ( i ) is a full blow-up of H ( i + 1 ) H^{(i+1)} H ( i + 1 ) for i = j − 1 , … , 0 i = j-1,\ldots,0 i = j − 1 , … , 0 . The vertices of H ( ℓ ) H^{(\ell)} H ( ℓ ) are the nodes of level ℓ \ell ℓ ; the nodes of level j j j are the top vertices , and the nodes of level 0 are the vertices of the presented graph H ( 0 ) H^{(0)} H ( 0 ) . The blocks define a forest whose roots are the top vertices, and the subtree of a node consists of all its descendants. A j j j -level tower is an initial segment of a full j j j -level tower, possibly followed by isolated vertices.
A full tower is presented subtree by subtree : by Definition 4.6 (i), applied at every level, the presented descendants of every node form a contiguous interval of the arrival order, and these intervals come in the order of the nodes. The block of a node of level ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 consists of nodes of level ℓ − 1 \ell- 1 ℓ − 1 . If x x x serves an arc w → v w \to v w → v between nodes of level ℓ \ell ℓ , then x x x is a node of level ℓ − 1 \ell- 1 ℓ − 1 joined to all of σ ( v ) \sigma(v) σ ( v ) in H ( ℓ − 1 ) H^{(\ell-1)} H ( ℓ − 1 ) .
The calculus of labels
This section is static: it decides which full towers over a clique are k k k -colorable and how fast the label posets grow. The later adversaries only have to produce blow-ups; colorability then follows from Lemma 5.2 , whatever choices were made online. The results are known in the language of arc graphs and shift graphs, and we give the attribution with each statement. We include the short proofs because the blocks of our blow-ups are nonempty, which replaces the down-sets of the classical statements by nonempty ones.
Lemma 5.1 (cliques and antichains; cf. [1 Lemma 2.4] ). Let P P P be a finite poset.
(i) The arrival-ordered clique K m K_m K m maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) if and only if m ≤ ∣ P ∣ m \le|P| m ≤ ∣ P ∣ .
(ii) If P P P has an antichain of size k k k , then every k k k -colorable ordered graph maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) .
Proof. (i) Every two vertices of a clique are adjacent, and f ( a ) ≰ f ( a ) f(a) \not\le f(a) f ( a ) ≤ f ( a ) fails, so a labeling of a clique is injective. Conversely, list m m m distinct elements p 1 , … , p m p_1,\ldots,p_m p 1 , … , p m of P P P so that larger elements come first. If s < t s < t s < t and p s ≤ p t p_s \le p_t p s ≤ p t , then p s < p t p_s < p_t p s < p t , so p t p_t p t would be listed before p s p_s p s . Hence p s ≰ p t p_s \not\le p_t p s ≤ p t for all $s < t.
(ii) Distinct elements of an antichain are incomparable, so composing a proper k k k -coloring with an injection of the colors into the antichain gives a labeling.
The next two lemmas are the heart of the calculus: labels descend through a blow-up, from J ∗ ( P ) J^{*}(P) J ∗ ( P ) to P P P , and they ascend through a full blow-up, from P P P to J ∗ ( P ) J^{*}(P) J ∗ ( P ) . In the language of arc graphs this is Poljak’s adjunction [36 Lemma 1] , in the form of Rorabaugh, Tardif, Wehlau and Zaguia [39, Lemmas 4 and 7], who credit their Lemma 4 to Foniok and Tardif [12 ] , and of Bai et al. [1, Lemma 2.3]. Their templates use ≱ \not\ge ≥ where ours use ≰ \not\le ≤ .
Lemma 5.2 (labels descend through blow-ups). If H H H maps to Tmpl ( J ∗ ( P ) ) \operatorname{Tmpl}(J^{*}(P)) Tmpl ( J ∗ ( P )) , then every blow-up of H H H maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) .
Proof. Let ψ \psi ψ be a J ∗ ( P ) J^{*}(P) J ∗ ( P ) -labeling of H H H , and let G G G be a blow-up of H H H . We choose f ( x ) f(x) f ( x ) for x ∈ σ ( w ) x \in\sigma(w) x ∈ σ ( w ) . If x x x serves an arc w → v w \to v w → v , then ψ ( w ) ⊈ ψ ( v ) \psi(w) \not\subseteq\psi(v) ψ ( w ) ⊆ ψ ( v ) , and we choose f ( x ) ∈ ψ ( w ) ∖ ψ ( v ) f(x) \in\psi(w) \setminus\psi(v) f ( x ) ∈ ψ ( w ) ∖ ψ ( v ) . Otherwise we choose any f ( x ) ∈ ψ ( w ) f(x) \in\psi(w) f ( x ) ∈ ψ ( w ) , which is possible because ψ ( w ) \psi(w) ψ ( w ) is nonempty. Every edge of G G G joins a vertex x x x that serves some arc w → v w \to v w → v to a later vertex u ∈ σ ( v ) u \in\sigma(v) u ∈ σ ( v ) . Now f ( u ) ∈ ψ ( v ) f(u) \in\psi(v) f ( u ) ∈ ψ ( v ) , and ψ ( v ) \psi(v) ψ ( v ) is a down-set that does not contain f ( x ) f(x) f ( x ) , so f ( x ) ≰ f ( u ) f(x) \not\le f(u) f ( x ) ≤ f ( u ) .
The proof uses only that blocks are independent and that each vertex of a block σ ( w ) \sigma(w) σ ( w ) is joined to at most one later block, completely, namely σ ( v ) \sigma(v) σ ( v ) for a later neighbor v v v of w w w . It does not depend on the block sizes, on how many vertices serve an arc, or on how the servers were chosen, and this separates forcing from colorability in all our constructions.
Lemma 5.3 (labels ascend through full blow-ups). If a full blow-up G G G of H H H maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) via f f f , then H H H maps to Tmpl ( J ∗ ( P ) ) \operatorname{Tmpl}(J^{*}(P)) Tmpl ( J ∗ ( P )) via ψ ( v ) : = ↓ f ( σ ( v ) ) \psi(v) := \downarrow f(\sigma(v)) ψ ( v ) :=↓ f ( σ ( v )) .
Proof. Each ψ ( v ) \psi(v) ψ ( v ) is a nonempty down-set. Let w → v w \to v w → v be an arc of H H H and let x ∈ σ ( w ) x \in\sigma(w) x ∈ σ ( w ) serve it. Then f ( x ) ≰ f ( u ) f(x) \not\le f(u) f ( x ) ≤ f ( u ) for every u ∈ σ ( v ) u \in\sigma(v) u ∈ σ ( v ) , so f ( x ) ∉ ψ ( v ) f(x) \notin\psi(v) f ( x ) ∈ / ψ ( v ) , while f ( x ) ∈ ψ ( w ) f(x) \in\psi(w) f ( x ) ∈ ψ ( w ) . Hence ψ ( w ) ⊈ ψ ( v ) \psi(w) \not\subseteq\psi(v) ψ ( w ) ⊆ ψ ( v ) .
Applying Lemmas 5.2 and 5.3 once per level and Lemma 5.1(i) at the top gives the colorability threshold of full towers. For shift graphs the threshold counts all iterated down-sets [39 §3] , [1 Thm. 2.2] , [33 Thm. 5 and Eq. (10)] ; ours counts nonempty ones.
Corollary 5.4 (colorability of iterated blow-ups). Let k ≥ 2 k \ge2 k ≥ 2 , j ≥ 0 j \ge0 j ≥ 0 and m ≥ 1 m \ge1 m ≥ 1 . If m ≤ ∣ P j ( k ) ∣ m \le\lvert P_j(k)\rvert m ≤ ∣ P j ( k )∣ , then every j j j -fold blow-up of K m K_m K m , and every induced ordered subgraph of one, is k k k -colorable. Conversely, if some j j j -fold blow-up of K m K_m K m in which all j j j blow-ups are full is k k k -colorable, then m ≤ ∣ P j ( k ) ∣ m \le\lvert P_j(k)\rvert m ≤ ∣ P j ( k )∣ .
Proof. If m ≤ ∣ P j ( k ) ∣ m \le\lvert P_j(k)\rvert m ≤ ∣ P j ( k )∣ , then K m K_m K m maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) by Lemma 5.1(i), and j j j applications of Lemma 5.2 give a P 0 ( k ) P_0(k) P 0 ( k ) -labeling of the j j j -fold blow-up, that is, a proper k k k -coloring; it restricts to every induced subgraph. Conversely, a proper k k k -coloring is a P 0 ( k ) P_0(k) P 0 ( k ) -labeling for every arrival order. If all j j j blow-ups are full, then j j j applications of Lemma 5.3 show that K m K_m K m maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) , and Lemma 5.1(i) gives m ≤ ∣ P j ( k ) ∣ m \le\lvert P_j(k)\rvert m ≤ ∣ P j ( k )∣ .
It remains to understand ∣ P j ( k ) ∣ \lvert P_j(k)\rvert ∣ P j ( k )∣ . Each level can increase the size at most exponentially, and the width grows at least exponentially once it is at least 4. For k = 3 k = 3 k = 3 the width is 3 after one level and 4 after two.
Lemma 5.5 (growth; cf. [1 Obs. 2.5–2.6] ). Let P P P be a finite poset.
(i) If A ⊆ P A \subseteq P A ⊆ P is an antichain of size w ≥ 1 w \ge1 w ≥ 1 , then U ↦ ↓ U U \mapsto\downarrow U U ↦↓ U embeds the nonempty subsets of A A A , ordered by inclusion, into J ∗ ( P ) J^*(P) J ∗ ( P ) . In particular, ∣ J ∗ ( P ) ∣ ≥ 2 w − 1 \lvert J^*(P)\rvert\ge2^w - 1 ∣ J ∗ ( P )∣ ≥ 2 w − 1 and width ( J ∗ ( P ) ) ≥ ( w ⌊ w / 2 ⌋ ) \operatorname{width}(J^*(P)) \ge\binom{w}{\lfloor w/2\rfloor} width ( J ∗ ( P )) ≥ ( ⌊ w /2 ⌋ w ) .
(ii) The poset J ∗ ( P ) J^*(P) J ∗ ( P ) has at most 2 ∣ P ∣ − 1 2^{\lvert P\rvert} - 1 2 ∣ P ∣ − 1 elements, and p ↦ ↓ { p } p \mapsto\downarrow\{p\} p ↦↓ { p } embeds P P P into J ∗ ( P ) J^*(P) J ∗ ( P ) .
(iii) The four nonempty down-sets ↓ { { 1 , 2 } } \downarrow\{\{1,2\}\} ↓ {{ 1 , 2 }} , ↓ { { 1 , 3 } } \downarrow\{\{1,3\}\} ↓ {{ 1 , 3 }} , ↓ { { 2 , 3 } } \downarrow\{\{2,3\}\} ↓ {{ 2 , 3 }} and M = { { 1 } , { 2 } , { 3 } } M = \{\{1\},\{2\},\{3\}\} M = {{ 1 } , { 2 } , { 3 }} of P 1 ( 3 ) P_1(3) P 1 ( 3 ) are pairwise incomparable, so width ( P 2 ( 3 ) ) ≥ 4 \operatorname{width}(P_2(3)) \ge4 width ( P 2 ( 3 )) ≥ 4 .
Proof. (i) If ↓ U ⊆ ↓ U ′ \downarrow U \subseteq\downarrow U' ↓ U ⊆↓ U ′ , then every a ∈ U a \in U a ∈ U lies below some a ′ ∈ U ′ a' \in U' a ′ ∈ U ′ , and a = a ′ a = a' a = a ′ because A A A is an antichain; so U ⊆ U ′ U \subseteq U' U ⊆ U ′ . The converse holds because ↓ \downarrow ↓ is monotone. The subsets of A A A of size ⌈ w / 2 ⌉ \lceil w/2\rceil ⌈ w /2 ⌉ are nonempty and form an antichain of size ( w ⌈ w / 2 ⌉ ) = ( w ⌊ w / 2 ⌋ ) \binom{w}{\lceil w/2\rceil} = \binom{w}{\lfloor w/2\rfloor} ( ⌈ w /2 ⌉ w ) = ( ⌊ w /2 ⌋ w ) [40 ] . (ii) Down-sets are subsets of P P P . (iii) None of the three generated down-sets contains another one or M M M , since each lacks the other two pairs and one singleton, and M M M contains none of them, since it has no pair.
Part (iii) is due to Poljak [36, Lemma 3]. Iterating part (i) gives a tower through the recursion T 0 = 4 T_0 = 4 T 0 = 4 , T i + 1 = ( T i ⌊ T i / 2 ⌋ ) T_{i+1} = \binom{T_i}{\lfloor T_i/2\rfloor} T i + 1 = ( ⌊ T i /2 ⌋ T i ) (that is, 4 , 6 , 20 , 184 756 , … 4, 6, 20, 184\,756, \ldots 4 , 6 , 20 , 184 756 , … ) of Poljak and Rödl [37 Rem. 3.2] and of Duffus, Lefmann and Rödl [9 Eq. (1)] , who use it to color shift graphs of tower size [9 Lemma 2 and Thms. 4–5] ; see also [38 Lemma 2.1] .
Lemma 5.6 (tower growth). For every j ≥ 0 j \ge0 j ≥ 0 and k ≥ 4 k \ge4 k ≥ 4 , width ( P j ( k ) ) ≥ tow ( j + 1 ) \operatorname{width}(P_j(k)) \ge\operatorname{tow}(j+1) width ( P j ( k )) ≥ tow ( j + 1 ) . For every j ≥ 2 j \ge2 j ≥ 2 , width ( P j ( 3 ) ) ≥ tow ( j − 1 ) \operatorname{width}(P_j(3)) \ge\operatorname{tow}(j-1) width ( P j ( 3 )) ≥ tow ( j − 1 ) . For all k ≥ 2 k \ge2 k ≥ 2 and j ≥ 0 j \ge0 j ≥ 0 , ∣ P j ( k ) ∣ ≤ tow ( j + log ∗ k ) \lvert P_j(k)\rvert\le\operatorname{tow}(j+\log^* k) ∣ P j ( k )∣ ≤ tow ( j + log ∗ k ) .
Proof. Since ( w ⌊ w / 2 ⌋ ) \binom{w}{\lfloor w/2\rfloor} ( ⌊ w /2 ⌋ w ) is non-decreasing in w w w , Lemma 5.5(i) gives width ( P i ( k ) ) ≥ T i \operatorname{width}(P_i(k)) \ge T_i width ( P i ( k )) ≥ T i for k ≥ 4 k \ge4 k ≥ 4 , starting from width ( P 0 ( k ) ) = k ≥ 4 \operatorname{width}(P_0(k)) = k \ge4 width ( P 0 ( k )) = k ≥ 4 , and width ( P i + 2 ( 3 ) ) ≥ T i \operatorname{width}(P_{i+2}(3)) \ge T_i width ( P i + 2 ( 3 )) ≥ T i , starting from Lemma 5.5(iii). It remains to show T i ≥ 2 tow ( i + 1 ) T_i \ge2\operatorname{tow}(i+1) T i ≥ 2 tow ( i + 1 ) . For i ≤ 2 i \le2 i ≤ 2 this holds by inspection, and T 3 = 184 756 ≥ 2 ⋅ 2 16 ≥ 2 tow ( 4 ) T_3 = 184\,756 \ge2 \cdot2^{16} \ge2\operatorname{tow}(4) T 3 = 184 756 ≥ 2 ⋅ 2 16 ≥ 2 tow ( 4 ) . For i ≥ 3 i \ge3 i ≥ 3 we show T i ≥ 2 tow ( i + 1 ) T_i \ge2\operatorname{tow}(i+1) T i ≥ 2 tow ( i + 1 ) by induction. The function g ( w ) = 2 w / ( w + 1 ) g(w) = 2^w/(w+1) g ( w ) = 2 w / ( w + 1 ) satisfies ( w ⌊ w / 2 ⌋ ) ≥ g ( w ) \binom{w}{\lfloor w/2\rfloor} \ge g(w) ( ⌊ w /2 ⌋ w ) ≥ g ( w ) and is non-decreasing for w ≥ 1 w \ge1 w ≥ 1 . With x = tow ( i + 1 ) ≥ 2 16 x = \operatorname{tow}(i+1) \ge2^{16} x = tow ( i + 1 ) ≥ 2 16 ,
T i + 1 ≥ g ( T i ) ≥ g ( 2 x ) = tow ( i + 2 ) 2 2 x + 1 ≥ 2 tow ( i + 2 ) , T_{i+1} \ge g(T_i) \ge g(2x) = \frac{\operatorname{tow}(i+2)^2}{2x+1} \ge2\operatorname{tow}(i+2), T i + 1 ≥ g ( T i ) ≥ g ( 2 x ) = 2 x + 1 tow ( i + 2 ) 2 ≥ 2 tow ( i + 2 ) ,
where the last inequality is 2 x ≥ 4 x + 2 2^x \ge4x+2 2 x ≥ 4 x + 2 . The upper bound follows from Lemma 5.5(ii) by induction, starting from ∣ P 0 ( k ) ∣ = k ≤ tow ( log ∗ k ) \lvert P_0(k)\rvert= k \le\operatorname{tow}(\log^* k) ∣ P 0 ( k )∣ = k ≤ tow ( log ∗ k ) .
Corollary 5.7 (number of levels). Let K ≥ 2 K \ge2 K ≥ 2 . Then ∣ P j ( k ) ∣ ≥ K |P_j(k)| \ge K ∣ P j ( k ) ∣ ≥ K for j = max ( 1 , log ∗ K − 1 ) j = \max(1,\log^* K - 1) j = max ( 1 , log ∗ K − 1 ) if k ≥ 4 k \ge4 k ≥ 4 , and for j = log ∗ K + 1 j = \log^* K + 1 j = log ∗ K + 1 if k = 3 k = 3 k = 3 . Conversely, ∣ P j ( k ) ∣ ≥ K |P_j(k)| \ge K ∣ P j ( k ) ∣ ≥ K implies j ≥ log ∗ K − log ∗ k j \ge\log^* K - \log^* k j ≥ log ∗ K − log ∗ k .
Proof. For k ≥ 4 k \ge4 k ≥ 4 and K ≥ 3 K \ge3 K ≥ 3 we have j = log ∗ K − 1 ≥ 1 j = \log^* K - 1 \ge1 j = log ∗ K − 1 ≥ 1 and ∣ P j ( k ) ∣ ≥ tow ( log ∗ K ) ≥ K |P_j(k)| \ge\operatorname{tow}(\log^* K) \ge K ∣ P j ( k ) ∣ ≥ tow ( log ∗ K ) ≥ K ; for K = 2 K = 2 K = 2 , ∣ P 1 ( k ) ∣ = 2 k − 1 ≥ 2 |P_1(k)| = 2^k - 1 \ge2 ∣ P 1 ( k ) ∣ = 2 k − 1 ≥ 2 . For k = 3 k = 3 k = 3 we have j ≥ 2 j \ge2 j ≥ 2 and ∣ P j ( 3 ) ∣ ≥ tow ( log ∗ K ) ≥ K |P_j(3)| \ge\operatorname{tow}(\log^* K) \ge K ∣ P j ( 3 ) ∣ ≥ tow ( log ∗ K ) ≥ K . The converse is the upper bound of Lemma 5.6 .
The first values are ∣ P j ( 2 ) ∣ = j + 2 |P_j(2)| = j + 2 ∣ P j ( 2 ) ∣ = j + 2 , ∣ P j ( 3 ) ∣ = 3 , 7 , 18 , 81 , 8 569 |P_j(3)| = 3, 7, 18, 81, 8\,569 ∣ P j ( 3 ) ∣ = 3 , 7 , 18 , 81 , 8 569 and ∣ P j ( 4 ) ∣ = 4 , 15 , 166 |P_j(4)| = 4, 15, 166 ∣ P j ( 4 ) ∣ = 4 , 15 , 166 for j = 0 , 1 , 2 , … j = 0, 1, 2, \ldots j = 0 , 1 , 2 , … . For k = 2 k = 2 k = 2 the width stays 2, matching the logarithmic behavior of bipartite graphs. The counts of all down-sets in Kriegel [27 Table 4.1] and Bai et al. [1 p. 4] exceed these values by exactly j j j , and ∣ P 2 ( k ) ∣ |P_2(k)| ∣ P 2 ( k ) ∣ is the Dedekind number of k k k minus 2 [34 ] .
Reservation blow-ups: proof of Theorem 1.2
The adversary of Theorem 1.2 is a clique followed by j j j reservation blow-ups. § 6.1 describes one blow-up as a procedure that runs an inner adversary, and Lemma 6.2 shows that the procedure preserves forcing. § 6.2 stacks j j j blow-ups under a clique and counts the vertices.
One blow-up
Construction 6.1 (reservation blow-up B ( A ) B(\mathcal{A}) B ( A ) ). Fix K ≥ 2 K \ge2 K ≥ 2 and an inner adversary A \mathcal{A} A with post-degree at most D ≥ 1 D \ge1 D ≥ 1 , and put
R : = ( K − 1 ) ( D − 1 ) + 1. R := (K - 1)(D - 1) + 1. R := ( K − 1 ) ( D − 1 ) + 1. The adversary B ( A ) B(\mathcal{A}) B ( A ) plays against a deterministic algorithm Alg and runs A \mathcal{A} A internally. The vertices that A \mathcal{A} A presents are inner vertices ; they are never shown to Alg. For each inner vertex w w w presented so far, B ( A ) B(\mathcal{A}) B ( A ) keeps a block σ ( w ) \sigma(w) σ ( w ) of presented vertices, an induced color col ( w ) \operatorname{col}(w) col ( w ) , and a reserve Res ( w ) ⊆ σ ( w ) \operatorname{Res}(w) \subseteq\sigma(w) Res ( w ) ⊆ σ ( w ) . When A \mathcal{A} A presents an inner vertex v v v with earlier inner neighbors W W W , the adversary B ( A ) B(\mathcal{A}) B ( A ) does the following.
For each w ∈ W w \in W w ∈ W , it removes one vertex x w , v x_{w,v} x w , v from Res ( w ) \operatorname{Res}(w) Res ( w ) ; this vertex is the server of the arc w → v w \to v w → v .
It presents R R R new vertices one at a time, each with earlier neighbors exactly { x w , v : w ∈ W } \{x_{w,v} : w \in W\} { x w , v : w ∈ W } . They form the block σ ( v ) \sigma(v) σ ( v ) .
It lets col ( v ) \operatorname{col}(v) col ( v ) be a color that Alg used on at least D D D vertices of σ ( v ) \sigma(v) σ ( v ) , lets Res ( v ) \operatorname{Res}(v) Res ( v ) consist of D D D such vertices, and reports col ( v ) \operatorname{col}(v) col ( v ) to A \mathcal{A} A as the color of v v v .
The adversary B ( A ) B(\mathcal{A}) B ( A ) stops when A \mathcal{A} A stops, and also as soon as Alg has used K K K colors. Ties are broken as follows: col ( v ) \operatorname{col}(v) col ( v ) is the color, among those that Alg used on at least D D D vertices of σ ( v ) \sigma(v) σ ( v ) , that appears first in σ ( v ) \sigma(v) σ ( v ) ; the reserve Res ( v ) \operatorname{Res}(v) Res ( v ) consists of the first D D D vertices of σ ( v ) \sigma(v) σ ( v ) with that color; and each reserve gives up its vertices in arrival order.
Three properties have to be checked: steps 1 and 3 are always possible, the colors reported to A \mathcal{A} A form a legal online coloring, and every color reported is a color of Alg. The last property is what makes forcing survive, because A \mathcal{A} A forces K K K colors on the coloring it is shown.
Lemma 6.2 (forcing survives a blow-up). Suppose that A \mathcal{A} A forces K K K colors, has size at most N N N , and has post-degree at most D D D . Then B ( A ) B(\mathcal{A}) B ( A ) forces K K K colors, has size at most R N RN R N , and has post-degree at most R R R . Moreover, there is a deterministic online algorithm Alg′ ' ′ for the inner game such that, as long as Alg has used at most K − 1 K - 1 K − 1 colors, every induced color col ( v ) \operatorname{col}(v) col ( v ) is the color that Alg′ ' ′ gives v v v against A \mathcal{A} A , and it is a color used by Alg.
Proof. Step 3 is possible. If D = 1 D=1 D = 1 then R = 1 R=1 R = 1 , and the single vertex of σ ( v ) \sigma(v) σ ( v ) will do. If D ≥ 2 D\ge2 D ≥ 2 and every color occurred on at most D − 1 D-1 D − 1 vertices of σ ( v ) \sigma(v) σ ( v ) , then the R > ( K − 1 ) ( D − 1 ) R>(K-1)(D-1) R > ( K − 1 ) ( D − 1 ) vertices of σ ( v ) \sigma(v) σ ( v ) would carry at least K K K colors, and B ( A ) B(\mathcal{A}) B ( A ) would already have stopped.
Step 1 is possible. The reserve Res ( w ) \operatorname{Res}(w) Res ( w ) starts with D D D vertices and loses one for each later inner neighbor of w w w , of which there are at most D D D , because the inner play is a play of A \mathcal{A} A (see below).
The induced coloring is proper. The color col ( v ) \operatorname{col}(v) col ( v ) is the color of some u ∈ σ ( v ) u\in\sigma(v) u ∈ σ ( v ) , and u u u is adjacent to x w , v x_{w,v} x w , v for every earlier inner neighbor w w w of v v v . The server x w , v x_{w,v} x w , v was taken from Res ( w ) \operatorname{Res}(w) Res ( w ) , so it has color col ( w ) \operatorname{col}(w) col ( w ) , and therefore col ( v ) ≠ col ( w ) \operatorname{col}(v)\ne\operatorname{col}(w) col ( v ) = col ( w ) .
The induced algorithm. We define Alg ′ \operatorname{Alg}' Alg ′ on every ordered graph, so that the forcing hypothesis on A \mathcal{A} A applies to it. When an inner vertex v v v arrives, Alg ′ \operatorname{Alg}' Alg ′ carries out steps 1 to 3 against Alg \operatorname{Alg} Alg for the inner vertices up to v v v , in their order and without the stop rule. If this is possible and gives a color col ( v ) \operatorname{col}(v) col ( v ) that differs from the colors that Alg ′ \operatorname{Alg}' Alg ′ gave to the earlier neighbors of v v v , then Alg ′ \operatorname{Alg}' Alg ′ gives v v v the color col ( v ) \operatorname{col}(v) col ( v ) . Otherwise it gives v v v a color not used on the earlier neighbors of v v v , chosen by a fixed rule. The algorithm Alg ′ \operatorname{Alg}' Alg ′ is a proper deterministic online algorithm, and its answer depends only on the inner graph up to v v v , because Alg \operatorname{Alg} Alg and all choices in steps 1 to 3 are deterministic.
The inner play. As long as Alg \operatorname{Alg} Alg has used at most K − 1 K-1 K − 1 colors, the play of A \mathcal{A} A that B ( A ) B(\mathcal{A}) B ( A ) runs coincides with the play of A \mathcal{A} A against Alg ′ \operatorname{Alg}' Alg ′ . Indeed, by induction on the inner vertices, the vertices presented up to the end of σ ( v ) \sigma(v) σ ( v ) and their colors are exactly what Alg ′ \operatorname{Alg}' Alg ′ computes from the inner graph up to v v v ; steps 1 and 3 were possible, and col ( v ) \operatorname{col}(v) col ( v ) differs from the induced colors of the earlier neighbors of v v v , so Alg ′ \operatorname{Alg}' Alg ′ gives v v v the color col ( v ) \operatorname{col}(v) col ( v ) that is reported to A \mathcal{A} A . Every such col ( v ) \operatorname{col}(v) col ( v ) is the color of a vertex of σ ( v ) \sigma(v) σ ( v ) , hence a color of Alg \operatorname{Alg} Alg .
Forcing. Every play of B ( A ) B(\mathcal{A}) B ( A ) is finite, because every play of A \mathcal{A} A is finite and each inner vertex produces at most R R R vertices. If B ( A ) B(\mathcal{A}) B ( A ) stops because Alg \operatorname{Alg} Alg has used K K K colors, we are done. Otherwise A \mathcal{A} A has stopped, and its play is a complete play against Alg ′ \operatorname{Alg}' Alg ′ , so at least K K K distinct induced colors appear, each of them a color of Alg \operatorname{Alg} Alg .
Size and post-degree. Each inner vertex produces at most R R R vertices. A vertex serves at most one arc, because it leaves the reserve when it is used, and its later neighbors are then the R R R vertices of one block. A vertex that never serves has no later neighbors.
The graph presented by B ( A ) B(\mathcal{A}) B ( A ) is a reservation blow-up of the inner graph, restricted to the blocks that have started, so Lemma 5.2 gives colorability whatever the online choices.
We call Alg ′ \operatorname{Alg}' Alg ′ the induced algorithm . When blow-ups are stacked, each level faces the induced algorithm of the level below it.
Lemma 6.3 (stacking). Let A j \mathcal{A}_j A j be an adversary of bounded size and post-degree that forces K ≥ 2 K\ge2 K ≥ 2 colors, and for i = − 1 , … , 0 i=-1,\ldots,0 i = − 1 , … , 0 let A i : = B ( A i + 1 ) \mathcal{A}_i:=B(\mathcal{A}_{i+1}) A i := B ( A i + 1 ) , with D D D equal to the post-degree bound of A i + 1 \mathcal{A}_{i+1} A i + 1 . Then every A i \mathcal{A}_i A i forces K K K colors. Moreover, in every play of A 0 \mathcal{A}_0 A 0 against a deterministic algorithm Alg \operatorname{Alg} Alg , as long as Alg \operatorname{Alg} Alg has used at most K − 1 K-1 K − 1 colors, the following holds at every level: the play that A i \mathcal{A}_i A i runs internally is the play of A i + 1 \mathcal{A}_{i+1} A i + 1 against the induced algorithm of level i i i ; step 3 is possible; and every color seen is a color of Alg \operatorname{Alg} Alg . In particular, the server of every arc out of a node w w w of any level has the induced color col ( w ) \operatorname{col}(w) col ( w ) .
Proof. By Lemma 6.2 and induction, every A i \mathcal{A}_i A i forces K K K colors with the stated post-degree. For the second statement, apply the last sentence of Lemma 6.2 to A 0 = B ( A 1 ) \mathcal{A}_0=B(\mathcal{A}_1) A 0 = B ( A 1 ) and Alg \operatorname{Alg} Alg : the play of A 1 \mathcal{A}_1 A 1 is the play against the induced algorithm Alg ′ \operatorname{Alg}' Alg ′ , and every color of Alg ′ \operatorname{Alg}' Alg ′ in it is a color of Alg \operatorname{Alg} Alg . Hence Alg ′ \operatorname{Alg}' Alg ′ has used at most K − 1 K-1 K − 1 colors as well, and the same argument applies to A 1 = B ( A 2 ) \mathcal{A}_1=B(\mathcal{A}_2) A 1 = B ( A 2 ) and Alg ′ \operatorname{Alg}' Alg ′ , and so on up the levels. Step 3 is possible at a level while its algorithm has used at most K − 1 K-1 K − 1 colors (proof of Lemma 6.2 ), and a server of an arc out of w w w comes from Res ( w ) \operatorname{Res}(w) Res ( w ) , whose vertices have color col ( w ) \operatorname{col}(w) col ( w ) .
Stacking the blow-ups
We now stack j j j blow-ups under a clique. By Lemma 6.2 the post-degree bound of one blow-up is the block size of the previous one, so the block sizes grow by a factor of about K K K per level, which makes the exponent of the size quadratic in the number of levels. Every block of a node of level ℓ \ell ℓ then has the same size b ℓ b_\ell b ℓ , unless the play stops inside it; the blocks of the top vertices have size b j b_j b j .
Theorem 6.4 (the iterated reservation adversary). Let k ≥ 2 k \ge2 k ≥ 2 , K ≥ 2 K \ge2 K ≥ 2 and j ≥ 1 j \ge1 j ≥ 1 with ∣ P j ( k ) ∣ ≥ K |P_j(k)| \ge K ∣ P j ( k ) ∣ ≥ K , and put b ℓ ≔ ( K − 1 ) j − ℓ + 1 ( K − 2 ) + 1 b_\ell\coloneqq(K-1)^{j-\ell+1}(K-2)+1 b ℓ : = ( K − 1 ) j − ℓ + 1 ( K − 2 ) + 1 for 1 ≤ ℓ ≤ j 1 \le\ell\le j 1 ≤ ℓ ≤ j . There is an adversary that forces every deterministic online algorithm to use K K K colors, all of whose final graphs are k k k -colorable, and every play of which has at most
( K − 1 ) ∏ ℓ = 1 j b ℓ + 1 ≤ K ( j + 1 ) ( j + 2 ) / 2 vertices . (K-1)\prod_{\ell=1}^{j} b_\ell+1 \le K^{(j+1)(j+2)/2}\ \text{vertices}. ( K − 1 ) ℓ = 1 ∏ j b ℓ + 1 ≤ K ( j + 1 ) ( j + 2 ) /2 vertices .
Proof. Let A j A_j A j present the arrival-ordered clique K K = ( v 1 , … , v K ) K_K=(v_1,\ldots,v_K) K K = ( v 1 , … , v K ) . It forces K K K colors, has post-degree K − 1 K-1 K − 1 , and its final graph maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) by Lemma 5.1 (i). For i = j − 1 , … , 0 i=j-1,\ldots,0 i = j − 1 , … , 0 let A i ≔ B ( A i + 1 ) A_i\coloneqq B(A_{i+1}) A i : = B ( A i + 1 ) , with D D D equal to the post-degree bound of A i + 1 A_{i+1} A i + 1 . By Lemma 6.3 , each A i A_i A i forces K K K colors. At every level, the graph presented is a reservation blow-up of the inner graph restricted to the blocks that have started (the remark after Lemma 6.2 ). Hence every graph presented by A 0 A_0 A 0 is a j j j -fold blow-up of an initial segment K m K_m K m of K K K_K K K , with m ≤ K ≤ ∣ P j ( k ) ∣ m\le K\le|P_j(k)| m ≤ K ≤ ∣ P j ( k ) ∣ , and it is k k k -colorable by Corollary 5.4 .
Counting. The first blow-up has D = K − 1 D=K-1 D = K − 1 , so the blocks of the top vertices have b j = ( K − 1 ) ( K − 2 ) + 1 b_j=(K-1)(K-2)+1 b j = ( K − 1 ) ( K − 2 ) + 1 nodes. Each later blow-up has D D D equal to the previous block size, so b ℓ − 1 = ( K − 1 ) ( b ℓ − 1 ) + 1 b_{\ell-1}=(K-1)(b_\ell-1)+1 b ℓ − 1 = ( K − 1 ) ( b ℓ − 1 ) + 1 , which solves to b ℓ − 1 = ( K − 1 ) j − ℓ + 1 ( K − 2 ) b_\ell-1=(K-1)^{j-\ell+1}(K-2) b ℓ − 1 = ( K − 1 ) j − ℓ + 1 ( K − 2 ) . In particular b ℓ ≤ K j − ℓ + 2 b_\ell\le K^{j-\ell+2} b ℓ ≤ K j − ℓ + 2 .
The play ends no later than the first vertex below v K v_K v K . Let y y y be the first presented vertex below v K v_K v K , the first vertex of the first block at every level below v K v_K v K . Its earlier neighbors are K − 1 K-1 K − 1 servers, one below each v s v_s v s with s < K s<K s < K , and by Lemma 6.3 the server below v s v_s v s has induced color col ( v s ) \operatorname{col}(v_s) col ( v s ) at every level, as long as fewer than K K K colors are in use. The colors col ( v 1 ) , … , col ( v K − 1 ) \operatorname{col}(v_1),\ldots,\operatorname{col}(v_{K-1}) col ( v 1 ) , … , col ( v K − 1 ) are distinct, since the induced coloring of the clique is proper. Hence, if fewer than K K K colors are in use when y y y arrives, these are exactly the K − 1 K-1 K − 1 colors seen by y y y , and y y y receives a K K K -th color. The vertices presented before y y y lie below v 1 , … , v K − 1 v_1,\ldots,v_{K-1} v 1 , … , v K − 1 , so every play has at most
( K − 1 ) ∏ ℓ = 1 j b ℓ + 1 ≤ K ∏ ℓ = 1 j K j − ℓ + 2 = K ( j + 1 ) ( j + 2 ) / 2 vertices . (K-1)\prod_{\ell=1}^{j} b_\ell+1 \le K\prod_{\ell=1}^{j}K^{j-\ell+2}=K^{(j+1)(j+2)/2}\ \text{vertices}. ( K − 1 ) ℓ = 1 ∏ j b ℓ + 1 ≤ K ℓ = 1 ∏ j K j − ℓ + 2 = K ( j + 1 ) ( j + 2 ) /2 vertices .
Theorem 1.2 (restated)
For every n ≥ 3 n\ge3 n ≥ 3 and L = log ∗ n L=\log^* n L = log ∗ n ,
χ 3 det ( n ) ≥ ⌈ n 2 / ( ( L + 2 ) ( L + 3 ) ) ⌉ \chi^{\det}_3(n)\ge\left\lceil n^{2/((L+2)(L+3))}\right\rceil χ 3 d e t ( n ) ≥ ⌈ n 2/ (( L + 2 ) ( L + 3 )) ⌉
and
χ k det ( n ) ≥ ⌈ n 2 / ( L ( L + 1 ) ) ⌉ \chi^{\det}_k(n)\ge\left\lceil n^{2/(L(L+1))}\right\rceil χ k d e t ( n ) ≥ ⌈ n 2/ ( L ( L + 1 )) ⌉
for every k ≥ 4 k\ge4 k ≥ 4 .
In particular χ k det ( n ) ≥ n ( 2 − o ( 1 ) ) / ( log ∗ n ) 2 \chi^{\det}_k(n)\ge n^{(2-o(1))/(\log^* n)^2} χ k d e t ( n ) ≥ n ( 2 − o ( 1 )) / ( l o g ∗ n ) 2 for every fixed k ≥ 3 k\ge3 k ≥ 3 . For all 3 ≤ n ≤ 2 65536 3\le n\le2^{65536} 3 ≤ n ≤ 2 65536 , χ 3 det ( n ) ≥ ⌈ n 1 / 28 ⌉ \chi^{\det}_3(n)\ge\lceil n^{1/28}\rceil χ 3 d e t ( n ) ≥ ⌈ n 1/28 ⌉ and χ k det ( n ) ≥ ⌈ n 1 / 15 ⌉ \chi^{\det}_k(n)\ge\lceil n^{1/15}\rceil χ k d e t ( n ) ≥ ⌈ n 1/15 ⌉ for every k ≥ 4 k\ge4 k ≥ 4 .
Proof. Let n ≥ 3 n\ge3 n ≥ 3 , so that L ≥ 2 L\ge2 L ≥ 2 . For k = 3 k=3 k = 3 put e = ( L + 2 ) ( L + 3 ) / 2 e=(L+2)(L+3)/2 e = ( L + 2 ) ( L + 3 ) /2 and K = ⌊ n 1 / e ⌋ K=\lfloor n^{1/e}\rfloor K = ⌊ n 1/ e ⌋ ; we may assume K ≥ 2 K\ge2 K ≥ 2 . Since K ≤ n K\le n K ≤ n we have log ∗ K ≤ L \log^*K\le L log ∗ K ≤ L , so Corollary 5.7 gives ∣ P j ( 3 ) ∣ ≥ K |P_j(3)|\ge K ∣ P j ( 3 ) ∣ ≥ K for j = log ∗ K + 1 ≤ L + 1 j=\log^*K+1\le L+1 j = log ∗ K + 1 ≤ L + 1 . Then ( j + 1 ) ( j + 2 ) / 2 ≤ e (j+1)(j+2)/2\le e ( j + 1 ) ( j + 2 ) /2 ≤ e , so the adversary of Theorem 6.4 uses at most K e ≤ n K^e\le n K e ≤ n vertices, and Observation 4.3 gives χ 3 det ( n ) ≥ K \chi^{\det}_3(n)\ge K χ 3 d e t ( n ) ≥ K . For k ≥ 4 k\ge4 k ≥ 4 put e = L ( L + 1 ) / 2 e=L(L+1)/2 e = L ( L + 1 ) /2 and use j = max ( 1 , log ∗ K − 1 ) ≤ L − 1 j=\max(1,\log^*K-1)\le L-1 j = max ( 1 , log ∗ K − 1 ) ≤ L − 1 . For n ≤ 2 65536 n\le2^{65536} n ≤ 2 65536 we have L ≤ 5 L\le5 L ≤ 5 , so e ≤ 28 e\le28 e ≤ 28 for k = 3 k=3 k = 3 and e ≤ 15 e\le15 e ≤ 15 for k ≥ 4 k\ge4 k ≥ 4 . Finally, χ k det ( n ) ≥ χ 3 det ( n ) \chi^{\det}_k(n)\ge\chi^{\det}_3(n) χ k d e t ( n ) ≥ χ 3 d e t ( n ) and 2 / ( ( L + 2 ) ( L + 3 ) ) = ( 2 − o ( 1 ) ) / ( log ∗ n ) 2 2/((L+2)(L+3))=(2-o(1))/(\log^*n)^2 2/ (( L + 2 ) ( L + 3 )) = ( 2 − o ( 1 )) / ( log ∗ n ) 2 .
Table 2 lists the size bounds of the construction for small K K K . One blow-up forces 7 colors on 3-colorable graphs with 187 vertices, and no one-level tower over a clique can force more, since First-Fit uses at most ∣ P 1 ( 3 ) ∣ = 7 |P_1(3)|=7 ∣ P 1 ( 3 ) ∣ = 7 colors on a 3-colorable one-level tower (Theorem 1.5 ). Two blow-ups force 8 colors with 88 796 vertices and 18 colors with 21 464 626 vertices. Both numbers of colors exceed 2 3 − 1 = 7 2^3-1=7 2 3 − 1 = 7 , the most an adversary can force in the transparent model [17 §4.5] . Our adversary does not reveal its 3-coloring vertex by vertex: the final color of a vertex depends on which later block it will serve. Appendix § 13 shrinks these instances by a constant factor.
Known graphs: proof of Theorem 1.3
The adversary of Theorem 6.4 chooses its servers by color, so different algorithms see different graphs. We show that the isomorphism type of the final graph does not depend on the algorithm once the adversary always completes its blocks; the algorithm may then be told the final graph in advance. We use Halldórsson’s known-graph game [16 §1, p. 2] . Alice first shows Bob a graph G G G on N N N vertices. She then presents vertices v 1 , v 2 , … v_1,v_2,\ldots v 1 , v 2 , … with their edges to earlier vertices, such that the graph induced by v 1 , … , v i v_1,\ldots,v_i v 1 , … , v i is isomorphic to a subgraph of G G G for every i i i , and Bob colors online. Alice never says which vertex of G G G a presented vertex corresponds to.
Completing every block. Let A s t r A^{\mathrm{str}} A str be the adversary of Theorem 6.4 with two changes. It never stops early, so every block of a node of level ℓ \ell ℓ has exactly b ℓ b_\ell b ℓ nodes. In step 3, if no color occurs D D D times in σ ( v ) \sigma(v) σ ( v ) , it takes for col ( v ) \operatorname{col}(v) col ( v ) a most frequent color of σ ( v ) \sigma(v) σ ( v ) and fills Res ( v ) \operatorname{Res}(v) Res ( v ) with D D D vertices of σ ( v ) \sigma(v) σ ( v ) chosen by a fixed rule, which is possible because b ℓ ≥ D b_\ell\ge D b ℓ ≥ D . Until the algorithm uses its K K K -th color, A s t r A^{\mathrm{str}} A str makes exactly the moves of the adversary of Theorem 6.4 , so it also forces K K K colors. After the K K K -th color, the colorings reported to the inner adversaries may be improper. This does no harm: all these adversaries are rules defined on every history, and from then on we use only the graph they build (the block sizes, the reserves of D D D vertices, and one server per arc).
To compare the final graphs of different plays, we describe a reservation blow-up statically, by the map that says which vertex serves which arc. For R ≥ 1 R \ge1 R ≥ 1 and a digraph H H H with out-degrees at most R R R , give every vertex v v v a set S ( v ) S(v) S ( v ) of R R R new vertices. A server assignment ρ \rho ρ chooses, for every w w w , an injection v ↦ ρ ( w , v ) v \mapsto\rho(w,v) v ↦ ρ ( w , v ) from the set N + ( w ) N^{+}(w) N + ( w ) of out-neighbors of w w w into S ( w ) S(w) S ( w ) . Let Bl ρ ( H ) \operatorname{Bl}_{\rho}(H) Bl ρ ( H ) be the digraph on ⋃ v S ( v ) \bigcup_v S(v) ⋃ v S ( v ) with an arc ρ ( w , v ) → u \rho(w,v) \to u ρ ( w , v ) → u for every arc w → v w \to v w → v of H H H and every u ∈ S ( v ) u \in S(v) u ∈ S ( v ) , with the sets S ( v ) S(v) S ( v ) ordered as in H H H when H H H is an ordered graph oriented by arrival. It is then a reservation blow-up of H H H with blocks of size R R R .
Lemma 7.1 (the server assignment does not matter). If H ≅ H ′ H \cong H' H ≅ H ′ are digraphs with out-degrees at most R R R , then Bl ρ ( H ) ≅ Bl ρ ′ ( H ′ ) \operatorname{Bl}_{\rho}(H) \cong\operatorname{Bl}_{\rho'}(H') Bl ρ ( H ) ≅ Bl ρ ′ ( H ′ ) for all server assignments ρ \rho ρ and ρ ′ \rho' ρ ′ , by an isomorphism that maps blocks to blocks.
Proof. Let φ : H → H ′ \varphi: H \to H' φ : H → H ′ be an isomorphism. For every w w w the sets ρ ( w , N + ( w ) ) ⊆ S ( w ) \rho(w,N^{+}(w)) \subseteq S(w) ρ ( w , N + ( w )) ⊆ S ( w ) and ρ ′ ( φ w , N + ( φ w ) ) ⊆ S ′ ( φ w ) \rho'(\varphi w,N^{+}(\varphi w)) \subseteq S'(\varphi w) ρ ′ ( φw , N + ( φw )) ⊆ S ′ ( φw ) have the same size, so some bijection π w : S ( w ) → S ′ ( φ w ) \pi_w : S(w) \to S'(\varphi w) π w : S ( w ) → S ′ ( φw ) satisfies π w ( ρ ( w , v ) ) = ρ ′ ( φ w , φ v ) \pi_w(\rho(w,v)) = \rho'(\varphi w,\varphi v) π w ( ρ ( w , v )) = ρ ′ ( φw , φ v ) for every out-neighbor v v v of w w w . The union π \pi π of these bijections maps the arc ρ ( w , v ) → u \rho(w,v) \to u ρ ( w , v ) → u , u ∈ S ( v ) u \in S(v) u ∈ S ( v ) , to the arc ρ ′ ( φ w , φ v ) → π v ( u ) \rho'(\varphi w,\varphi v) \to\pi_v(u) ρ ′ ( φw , φ v ) → π v ( u ) . Hence π \pi π maps arcs injectively to arcs, and the two digraphs have the same number of arcs, R R R times that of H H H .
Let H ( j ) : = K K H^{(j)} := K_K H ( j ) := K K , viewed as a transitive tournament, let H ( ℓ − 1 ) : = Bl ( H ( ℓ ) ) H^{(\ell-1)} := \operatorname{Bl}(H^{(\ell)}) H ( ℓ − 1 ) := Bl ( H ( ℓ ) ) with blocks of size b ℓ b_\ell b ℓ for ℓ = j , … , 1 \ell= j,\ldots,1 ℓ = j , … , 1 , and let H j ( K ) : = H ( 0 ) H_j(K) := H^{(0)} H j ( K ) := H ( 0 ) . By Lemma 7.1 , H j ( K ) H_j(K) H j ( K ) is well defined up to isomorphism.
Lemma 7.2 (one final graph). Against every deterministic algorithm, the final graph of A s t r \mathcal{A}^{\mathrm{str}} A str , oriented by arrival, is isomorphic to H j ( K ) H_j(K) H j ( K ) .
Proof. We induct down the levels. Let G ( ℓ ) G^{(\ell)} G ( ℓ ) be the graph that the adversary produces at level ℓ \ell ℓ , oriented by arrival; G ( j ) = K K G^{(j)} = K_K G ( j ) = K K in every play. If G ( ℓ ) ≅ H ( ℓ ) G^{(\ell)} \cong H^{(\ell)} G ( ℓ ) ≅ H ( ℓ ) , then the next level presents a block of exactly b ℓ b_\ell b ℓ nodes for every node of G ( ℓ ) G^{(\ell)} G ( ℓ ) , and its arcs are exactly x w , v → u x_{w,v} \to u x w , v → u for the arcs w → v w \to v w → v of G ( ℓ ) G^{(\ell)} G ( ℓ ) and u ∈ σ ( v ) u \in\sigma(v) u ∈ σ ( v ) . Setting ρ ( w , v ) : = x w , v \rho(w,v) := x_{w,v} ρ ( w , v ) := x w , v gives a server assignment, because every vertex leaves a reserve at most once and reserves never run out. Hence G ( ℓ − 1 ) = Bl ρ ( G ( ℓ ) ) ≅ H ( ℓ − 1 ) G^{(\ell-1)} = \operatorname{Bl}_{\rho}(G^{(\ell)}) \cong H^{(\ell-1)} G ( ℓ − 1 ) = Bl ρ ( G ( ℓ ) ) ≅ H ( ℓ − 1 ) by Lemma 7.1 .
Theorem 1.3 (restated). For every N ≥ 3 N \ge3 N ≥ 3 and L = log ∗ N L = \log^{*} N L = log ∗ N there are triangle-free 3-colorable graphs G G G and G ′ G' G ′ on N N N vertices with
χ o l ( G ) ≥ ⌊ N 2 / ( ( L + 2 ) ( L + 3 ) ) ⌋ and χ o l ( G ′ ) ≥ N 1 / ( L + 2 ) 8 ( 1 + ln 4 N ) . \chi_{\mathrm{ol}}(G) \ge\left\lfloor N^{2/((L+2)(L+3))} \right\rfloor
\quad\text{and}\quad
\chi_{\mathrm{ol}}(G') \ge\frac{N^{1/(L+2)}}{8(1+\ln4N)}. χ ol ( G ) ≥ ⌊ N 2/ (( L + 2 ) ( L + 3 )) ⌋ and χ ol ( G ′ ) ≥ 8 ( 1 + ln 4 N ) N 1/ ( L + 2 ) . Every randomized online algorithm that knows G ′ G' G ′ in advance has a presentation order of G ′ G' G ′ on which it uses at least N 1 / ( L + 2 ) / ( 8 ( 1 + ln 4 N ) ) N^{1/(L+2)}/(8(1+\ln4N)) N 1/ ( L + 2 ) / ( 8 ( 1 + ln 4 N )) colors in expectation. For N ≥ 2 406 N \ge2^{406} N ≥ 2 406 , both bounds for G ′ G' G ′ hold with N 1 / ( L + 3 ) N^{1/(L+3)} N 1/ ( L + 3 ) in place of N 1 / ( L + 2 ) / ( 8 ( 1 + ln 4 N ) ) N^{1/(L+2)}/(8(1+\ln4N)) N 1/ ( L + 2 ) / ( 8 ( 1 + ln 4 N )) . For every k ≥ 2 k \ge2 k ≥ 2 the same holds for k k k -colorable graphs, with exponents 2 / ( L ( L + 1 ) ) 2/(L(L+1)) 2/ ( L ( L + 1 )) and 1 / L 1/L 1/ L , and with N 1 / ( L + 1 ) N^{1/(L+1)} N 1/ ( L + 1 ) for N ≥ 2 201 N \ge2^{201} N ≥ 2 201 .
We prove the statements about G G G here and those about G ′ G' G ′ at the end of § 8 .
Proof for G G G . Choose K K K and j j j as in the proof of Theorem 1.2 , with N N N in place of n n n . If K = 1 K = 1 K = 1 , the edgeless graph on N N N vertices will do. Otherwise let G G G consist of H j ( K ) H_j(K) H j ( K ) and N − ∣ V ( H j ( K ) ) ∣ N - |V(H_j(K))| N − ∣ V ( H j ( K )) ∣ isolated vertices; this is possible because ∣ V ( H j ( K ) ) ∣ = K ∏ ℓ b ℓ ≤ K ( j + 1 ) ( j + 2 ) / 2 ≤ N |V(H_j(K))| = K\prod_\ell b_\ell\le K^{(j+1)(j+2)/2} \le N ∣ V ( H j ( K )) ∣ = K ∏ ℓ b ℓ ≤ K ( j + 1 ) ( j + 2 ) /2 ≤ N . The graph G G G is k k k -colorable by Corollary 5.4 and triangle-free by Remark 6.5 .
In the known-graph game, Alice shows G G G , plays A s t r \mathcal{A}^{\mathrm{str}} A str , and then presents the isolated vertices. By Lemma 7.2 every prefix of the presentation is an initial segment of a graph isomorphic to G G G , so her moves are legal. Bob knows G G G in advance, but G G G is the same in every play, so Bob is a deterministic online algorithm with G G G built in, and A s t r \mathcal{A}^{\mathrm{str}} A str forces him to use K K K colors.
For the online chromatic number, fix a deterministic algorithm Alg, run A s t r \mathcal{A}^{\mathrm{str}} A str against it, and append the isolated vertices. By Lemma 7.2 the result is G G G with some presentation order. On this order Alg sees exactly the play, so it uses at least K K K colors. Since Alg was arbitrary, χ o l ( G ) ≥ K \chi_{\mathrm{ol}}(G) \ge K χ ol ( G ) ≥ K . □
Halldórsson also considers a stricter game in which each presented vertex is identified with a vertex of G G G right after it is colored [16 pp. 2 and 4] . For fixed k k k , no adversary can force many colors in that game. Bob fixes a proper k k k -coloring c c c of G G G in advance; when v v v arrives, its earlier neighbors have been identified, and Bob colors v v v with the set [ k ] ∖ c ( N − ( v ) ) [k] \setminus c(N^-(v)) [ k ] ∖ c ( N − ( v )) . Two adjacent vertices u u u and v v v , with u u u earlier, get different sets because c ( u ) c(u) c ( u ) lies in the set of u u u but not in the set of v v v , so 2 k − 1 2^k-1 2 k − 1 colors suffice. This is the case P = P 0 ( k ) P=P_0(k) P = P 0 ( k ) of Proposition 9.4 , and it is how Halldórsson relates the stricter game to the transparent model.
Uniform towers: proof of Theorem 1.1
The adversary of Theorem 6.4 pays a factor of about K K K per level. The loss comes from step 3 of Construction 6.1: a server gives a single color to every vertex of the block it serves, so a block needs D D D vertices of one color, and the pigeonhole principle then makes it about K K K times larger than its post-degree. This section drops the one-color rule. All blocks have the same size A = 2 m A=2m A = 2 m , where m m m is the size of the clique, and all servers are chosen at random. Instead of reserving a popular color, we follow, for each color, the unused mass : the weight of the earlier presented vertices of that color that can still become servers. A color with large unused mass is seen by almost every new vertex, so the algorithm can rarely add mass to it, while the total unused mass is fixed, and many colors must share it. The argument is a short computation of expectations that covers randomized algorithms, known graphs and a deterministic adversary at once. § 8.1 defines uniform towers and the random wiring, § 8.2 proves the two lemmas about unused mass, § 8.3 assembles them into Theorem 8.5 , and § 8.4 chooses the parameters.
Uniform towers with random servers
Fix j ≥ 1 j \ge1 j ≥ 1 and m ≥ 2 m \ge2 m ≥ 2 , and put A : = 2 m A:=2m A := 2 m . The uniform tower is a full j j j -level tower over K m = ( v 1 , … , v m ) K_m=(v_1,\ldots,v_m) K m = ( v 1 , … , v m ) in which every node of positive level has a block of exactly A A A children. It has m A j mA^j m A j presented vertices. In phase t t t the adversary presents the subtree of v t v_t v t , in depth-first order.
Servers. The tower is a j j j -fold reservation blow-up of K m K_m K m . For a node w w w of level ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 below v t v_t v t , including u = v t u=v_t u = v t , and for s < t s<t s < t , let x s ( u ) x_s(u) x s ( u ) be the node of level ℓ − 1 \ell-1 ℓ − 1 below v s v_s v s that serves the arc into u u u ; it is joined to all of σ ( u ) \sigma(u) σ ( u ) . If ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 , then x s ( u ) x_s(u) x s ( u ) has exactly A A A children, and the map u ′ ↦ x s ( u ′ ) u' \mapsto x_s(u') u ′ ↦ x s ( u ′ ) is a bijection from σ ( u ) \sigma(u) σ ( u ) onto σ ( x s ( u ) ) \sigma(x_s(u)) σ ( x s ( u )) . A presented vertex in the block of a node y y y of level 1 has exactly the servers x s ( y ) x_s(y) x s ( y ) , s < t s<t s < t , as earlier neighbors: one presented vertex below each earlier top vertex. The wiring of phase t t t consists of the top servers x s ( v t ) ∈ σ ( v s ) x_s(v_t) \in\sigma(v_s) x s ( v t ) ∈ σ ( v s ) , which must be children of v s v_s v s that have not served before, and the bijections described above them. Each top vertex v s v_s v s has m − s ≤ A m-s \le A m − s ≤ A later neighbors, so a child that has not served is always available.
Construction 8.1 (random wiring R j ( m ) \mathcal{R}_j(m) R j ( m ) ). In phase t t t , for each s < t s<t s < t independently, the adversary chooses the top server x s ( v t ) x_s(v_t) x s ( v t ) uniformly at random among the children of v s v_s v s that have not served, and it chooses every bijection σ ( u ) → σ ( x s ( u ) ) \sigma(u)\to\sigma(x_s(u)) σ ( u ) → σ ( x s ( u )) uniformly at random, independently of everything else. It then presents phase t t t . It always presents the whole tower.
The random choices of phase t t t are made when phase t t t starts, so given the history before phase t t t (the graph presented and the colors given), they are still drawn as in Construction 8.1.
Lemma 8.2 (one graph). For every wiring, the presented graph is a j j j -fold reservation blow-up of K m K_m K m with all blocks of size A A A . It is triangle-free, it is k k k -colorable whenever m ≤ ∣ P j ( k ) ∣ m \le|P_j(k)| m ≤ ∣ P j ( k ) ∣ , and, as a digraph oriented by arrival, it is isomorphic to one fixed digraph G j ( m ) G_j(m) G j ( m ) that does not depend on the wiring.
Proof. Every arc is served by exactly one node, every node below the top serves at most one arc, and every block has A A A nodes. Colorability is Corollary 5.4 and triangle-freeness is Remark 6.5 . For the isomorphism, apply Lemma 7.1 once per level, exactly as in the proof of Lemma 7.2 : the out-degrees are at most m − 1 < A m-1 < A m − 1 < A at the top and at most A A A below it, since a node below the top is joined to at most one block of A A A nodes.
The wirings differ only in the arrival order inside blocks, so the random wiring is a random presentation order of the single graph G j ( m ) G_j(m) G j ( m ) .
Unused mass
Give every presented vertex below a top vertex the weight A − j A^{-j} A − j , so that the subtree of every top vertex has total weight 1. Before phase t t t , a presented vertex below v s v_s v s , s < t s < t s < t , is eligible if the child of v s v_s v s above it has not served yet. For a color c c c let u c ( t ) u_c(t) u c ( t ) be the total weight of the eligible vertices of color c c c , the unused mass of c c c . Let q t ( c ) q_t(c) q t ( c ) be the fraction of the vertices of phase t t t that have no earlier neighbor of color c c c , and let a t ( c ) a_t(c) a t ( c ) be the fraction of the vertices of phase t t t that receive color c c c . These quantities exist only in the analysis; the algorithm does not know them, and only the adversary of Theorem 8.5 (ii) computes them. Both u c ( t ) u_c(t) u c ( t ) and q t ( c ) q_t(c) q t ( c ) are determined by the history before phase t t t and the wiring of phase t t t , before the algorithm colors anything in phase t t t .
Lemma 8.3 (bookkeeping). In every play and for every color c c c and phase t t t ,
u c ( t + 1 ) ≤ u c ( t ) + a t ( c ) , a t ( c ) ≤ min ( 1 , q t ( c ) ) , and ∑ c u c ( m + 1 ) = 3 m + 1 4 . u_c(t+1) \le u_c(t) + a_t(c), \qquad a_t(c) \le\min(1,q_t(c)), \qquad\text{and} \qquad\sum_c u_c(m+1) = \frac{3m+1}{4}. u c ( t + 1 ) ≤ u c ( t ) + a t ( c ) , a t ( c ) ≤ min ( 1 , q t ( c )) , and c ∑ u c ( m + 1 ) = 4 3 m + 1 .
Proof. In phase t t t the vertices below v t v_t v t become eligible, with total weight 1 and weight a t ( c ) a_t(c) a t ( c ) of color $c, and the vertices below the top servers of phase t t t stop being eligible. A vertex with an earlier neighbor of color c c c cannot receive color c c c , so a t ( c ) ≤ q t ( c ) a_t(c) \le q_t(c) a t ( c ) ≤ q t ( c ) . At the end, all m m m subtrees have been presented, with total weight m m m . Each of the ( m 2 ) \binom{m}{2} ( 2 m ) pairs s < t s < t s < t has used one child of v s v_s v s , whose subtree has weight $1/A$, and different pairs use different children. Every presented vertex has some color, so ∑ c u c ( m + 1 ) = m − ( m 2 ) / A = m − ( m − 1 ) / 4 = ( 3 m + 1 ) / 4 \sum_c u_c(m+1) = m - \binom{m}{2}/A = m - (m-1)/4 = (3m+1)/4 ∑ c u c ( m + 1 ) = m − ( 2 m ) / A = m − ( m − 1 ) /4 = ( 3 m + 1 ) /4 .
Lemma 8.4 (colors with large mass are seen). Fix a deterministic algorithm and play it against R j ( m ) R_j(m) R j ( m ) . Condition on the history before phase t t t . Then for every presented vertex x x x of phase t t t and every color c c c ,
Pr [ x has no earlier neighbor of color c ] ≤ e − u c ( t ) . \Pr[x\text{ has no earlier neighbor of color }c] \le e^{-u_c(t)}. Pr [ x has no earlier neighbor of color c ] ≤ e − u c ( t ) .
Proof. The history before phase t t t determines the state of the adversary, namely which children of each v s v_s v s have served (a child has served if and only if its presented descendants have later neighbors), and with it the eligible vertices and u c ( t ) u_c(t) u c ( t ) . Given the history, the wiring of phase t t t is drawn as in Construction 8.1, independently of the earlier wirings. Let v t = z j , z j − 1 , … , z 1 v_t = z_j,z_{j-1},\ldots,z_1 v t = z j , z j − 1 , … , z 1 be the ancestors of x x x of levels j , … , 1 j,\ldots,1 j , … , 1 . The earlier neighbor of x x x below v s v_s v s is x s ( z 1 ) x_s(z_1) x s ( z 1 ) . The top server x s ( z j ) x_s(z_j) x s ( z j ) is uniform among the children of v s v_s v s that have not served. Given it, x s ( z j − 1 ) x_s(z_{j-1}) x s ( z j − 1 ) is the image of the fixed node z j − 1 z_{j-1} z j − 1 under a uniform bijection onto σ ( z j ) \sigma(z_j) σ ( z j ) , so it is uniform on that block, and so on down to x s ( z 1 ) x_s(z_1) x s ( z 1 ) , which is a presented vertex. All children of a node have subtrees with the same number of presented vertices, so x s ( z 1 ) x_s(z_1) x s ( z 1 ) is uniform over the eligible vertices below v s v_s v s , and these choices are independent for different s s s . Let p s p_s p s be the fraction of the eligible vertices below v s v_s v s that have color c c c . Their total weight is at most 1 1 1 , so p s p_s p s is at least their weight of color c c c , and ∑ s < t p s ≥ u c ( t ) \sum_{s<t}p_s \ge u_c(t) ∑ s < t p s ≥ u c ( t ) . Hence the probability is ∏ s < t ( 1 − p s ) ≤ exp ( − ∑ s p s ) ≤ e − u c ( t ) \prod_{s<t}(1-p_s) \le\exp\left(-\sum_s p_s\right) \le e^{-u_c(t)} ∏ s < t ( 1 − p s ) ≤ exp ( − ∑ s p s ) ≤ e − u c ( t ) . □
Neighbors of different vertices of the same phase can be dependent; the proof below uses Lemma 8.4 only through linearity of expectation.
Counting colors
We now assemble the two lemmas. A color whose unused mass reaches ln 4 m \ln4m ln 4 m , a heavy color, holds less than 1 + ln 4 m 1+\ln4m 1 + ln 4 m at that moment, and by Lemma 8.4 it gains little afterwards, so the final mass of Lemma 8.3 must be spread over many colors.
Theorem 8.5 (uniform towers force many colors). Let j ≥ 1 j \ge1 j ≥ 1 and m ≥ 2 m \ge2 m ≥ 2 , and put X m : = 2 m + 1 4 ( 1 + ln 4 m ) X_m := \frac{2m+1}{4(1+\ln4m)} X m := 4 ( 1 + l n 4 m ) 2 m + 1 .
(i) Against the random wiring R j ( m ) R_j(m) R j ( m ) , every deterministic online algorithm uses at least X m X_m X m colors in expectation.
(ii) There is a deterministic adaptive adversary, every play of which is a uniform tower over K m K_m K m with j j j levels, that forces every deterministic online algorithm to use at least ⌈ X m ⌉ \lceil X_m\rceil ⌈ X m ⌉ colors.
Proof. Let b : = ln 4 m b := \ln4m b := ln 4 m . Call a color c c c heavy in phase t t t if u c ( t ) ≥ b u_c(t) \ge b u c ( t ) ≥ b , and put
H t : = ∑ c heavy in phase t q t ( c ) . H_t := \sum_{c\ \text{heavy in phase }t} q_t(c). H t := c heavy in phase t ∑ q t ( c ) .
The total unused mass before phase t t t is at most t − 1 < m t-1<m t − 1 < m , and b > 1 b>1 b > 1 , so fewer than m m m colors are heavy in phase t t t .
A deterministic inequality. Fix a play, and let C C C be the number of colors used. Colors that are never used have no mass. For a color c c c that is used, let t c ≤ m t_c \le m t c ≤ m be the last phase at whose start c c c is not heavy; it exists because u c ( 1 ) = 0 u_c(1)=0 u c ( 1 ) = 0 , and whether c c c is heavy at the start of phase m + 1 m+1 m + 1 , the end of the play, plays no role. By Lemma 8.3 , u c ( t c + 1 ) ≤ u c ( t c ) + 1 < b + 1 u_c(t_c+1) \le u_c(t_c)+1 < b+1 u c ( t c + 1 ) ≤ u c ( t c ) + 1 < b + 1 , and in every later phase, where c c c is heavy, the mass of c c c grows by at most q t ( c ) q_t(c) q t ( c ) . Summing over the colors used and applying Lemma 8.3 once more,
3 m + 1 4 = ∑ c u c ( m + 1 ) ≤ C ( 1 + b ) + ∑ t = 1 m H t . (1) \frac{3m+1}{4}=\sum_c u_c(m+1)\le C(1+b)+\sum_{t=1}^{m}H_t. \tag*{(1)} 4 3 m + 1 = c ∑ u c ( m + 1 ) ≤ C ( 1 + b ) + t = 1 ∑ m H t . (1)
(i) The heavy colors of phase t t t are determined by the history before phase t t t . By Lemma 8.4 and linearity of expectation, every heavy color c c c has E [ q t ( c ) ∣ history ] ≤ e − b = 1 4 m \mathbb{E}[q_t(c)\mid\text{history}]\le e^{-b}=\frac{1}{4m} E [ q t ( c ) ∣ history ] ≤ e − b = 4 m 1 , so E [ H t ∣ history ] ≤ m ⋅ 1 4 m = 1 4 \mathbb{E}[H_t\mid\text{history}]\le m\cdot\frac{1}{4m}=\frac14 E [ H t ∣ history ] ≤ m ⋅ 4 m 1 = 4 1 . Taking expectations in (1) , 3 m + 1 4 ≤ E [ C ] ( 1 + b ) + m 4 \frac{3m+1}{4}\le\mathbb{E}[C](1+b)+\frac{m}{4} 4 3 m + 1 ≤ E [ C ] ( 1 + b ) + 4 m , that is, E [ C ] ≥ X m \mathbb{E}[C]\ge X_m E [ C ] ≥ X m .
(ii) At the start of phase t t t the adversary knows the history and can compute H t H_t H t for every legal wiring of phase t t t , since H t H_t H t depends only on the wiring and on the colors of earlier phases. Given the earlier phases, the random wiring of phase t t t is uniform over the legal wirings of phase t t t , and E [ H t ∣ history ] ≤ 1 4 \mathbb{E}[H_t\mid\text{history}]\le\frac14 E [ H t ∣ history ] ≤ 4 1 by the proof of (i), so some legal wiring has H t ≤ 1 4 H_t\le\frac14 H t ≤ 4 1 . The adversary plays the first such wiring in a fixed order. Then (1) gives 3 m + 1 4 ≤ C ( 1 + b ) + m 4 \frac{3m+1}{4}\le C(1+b)+\frac{m}{4} 4 3 m + 1 ≤ C ( 1 + b ) + 4 m in every play, so C ≥ X m C\ge X_m C ≥ X m , and C C C is an integer. □
The proof uses none of the structure of the algorithm and loses nothing from one level to the next; the depth j j j enters only through colorability, which needs m ≤ ∣ P j ( k ) ∣ m \le|P_j(k)| m ≤ ∣ P j ( k ) ∣ . In comparison, the reservation adversary of Theorem 6.4 is guaranteed only about m \sqrt{m} m colors with blocks of size O ( m ) O(m) O ( m ) , and the one-level adversary of Theorem D.2 forces ⌊ m / 2 ⌋ + 1 \lfloor m/2\rfloor+ 1 ⌊ m /2 ⌋ + 1 colors with even smaller blocks, but only at one level. The adversary of (ii) is explicit, but it searches over all wirings of a phase.
Putting things together
Theorem 1.1 (restated). For every n ≥ 3 n \ge3 n ≥ 3 and L = log ∗ n L = \log^* n L = log ∗ n ,
χ 3 r a n d ( n ) ≥ n 1 / ( L + 2 ) 8 ( 1 + ln 4 n ) and χ k r a n d ( n ) ≥ n 1 / L 8 ( 1 + ln 4 n ) \chi^{\mathrm{rand}}_3(n) \ge\frac{n^{1/(L+2)}}{8(1+\ln4n)}
\qquad\text{and}\qquad
\chi^{\mathrm{rand}}_k(n) \ge\frac{n^{1/L}}{8(1+\ln4n)} χ 3 rand ( n ) ≥ 8 ( 1 + ln 4 n ) n 1/ ( L + 2 ) and χ k rand ( n ) ≥ 8 ( 1 + ln 4 n ) n 1/ L for every k ≥ 4 k \ge4 k ≥ 4 .
Moreover χ 3 d e t ( n ) ≥ χ 3 r a n d ( n ) ≥ n 1 / ( log ∗ n + 3 ) \chi^{\mathrm{det}}_3(n) \ge\chi^{\mathrm{rand}}_3(n) \ge n^{1/(\log^* n+3)} χ 3 det ( n ) ≥ χ 3 rand ( n ) ≥ n 1/ ( l o g ∗ n + 3 ) for all n ≥ 2 406 n \ge2^{406} n ≥ 2 406 , and χ k d e t ( n ) ≥ χ k r a n d ( n ) ≥ n 1 / ( log ∗ n + 1 ) \chi^{\mathrm{det}}_k(n) \ge\chi^{\mathrm{rand}}_k(n) \ge n^{1/(\log^* n+1)} χ k det ( n ) ≥ χ k rand ( n ) ≥ n 1/ ( l o g ∗ n + 1 ) for every k ≥ 4 k \ge4 k ≥ 4 and all n ≥ 2 201 n \ge2^{201} n ≥ 2 201 .
Proof. Every deterministic algorithm is a randomized one, so χ k d e t ( n ) ≥ χ k r a n d ( n ) \chi^{\mathrm{det}}_k(n) \ge\chi^{\mathrm{rand}}_k(n) χ k det ( n ) ≥ χ k rand ( n ) . Let j ≥ 1 j \ge1 j ≥ 1 be the least j j j with ∣ P j ( k ) ∣ ≥ n |P_j(k)| \ge n ∣ P j ( k ) ∣ ≥ n . By Corollary 5.7 with K = n K = n K = n , j ≤ L + 1 j \le L + 1 j ≤ L + 1 if k = 3 k = 3 k = 3 and j ≤ L − 1 j \le L - 1 j ≤ L − 1 if k ≥ 4 k \ge4 k ≥ 4 . Put M : = ( n / 2 j ) 1 / ( j + 1 ) M := (n/2^j)^{1/(j+1)} M := ( n / 2 j ) 1/ ( j + 1 ) and m : = ⌊ M ⌋ m := \lfloor M\rfloor m := ⌊ M ⌋ . If m ≤ 1 m \le1 m ≤ 1 , then n < 2 2 j + 1 n < 2^{2j+1} n < 2 2 j + 1 , so n 1 / ( j + 1 ) < 4 n^{1/(j+1)} < 4 n 1/ ( j + 1 ) < 4 ; since j + 1 ≤ L + 2 j + 1 \le L + 2 j + 1 ≤ L + 2 if k = 3 k = 3 k = 3 and j + 1 ≤ L j + 1 \le L j + 1 ≤ L if k ≥ 4 k \ge4 k ≥ 4 , the bounds of the first sentence are below 4 / 8 4/8 4/8 , and there is nothing to prove; for the second sentence this case does not occur, because Lemma A.1 gives M ≥ 2 M \ge2 M ≥ 2 . Otherwise m A j = 2 j m j + 1 ≤ n mA^j = 2^j m^{j+1} \le n m A j = 2 j m j + 1 ≤ n and m ≤ n ≤ ∣ P j ( k ) ∣ m \le n \le|P_j(k)| m ≤ n ≤ ∣ P j ( k ) ∣ . By Lemma 8.2 , the random wiring R j ( m ) R_j(m) R j ( m ) , followed by n − m A j n - mA^j n − m A j isolated vertices, is a distribution over k k k -colorable ordered graphs on n n n vertices, and by Theorem 8.5 (i) every deterministic algorithm uses at least X m X_m X m colors on it in expectation. Yao’s principle (Lemma 4.4 ) gives χ k r a n d ( n ) ≥ X m \chi^{\mathrm{rand}}_k(n) \ge X_m χ k rand ( n ) ≥ X m . Since M − 1 < m ≤ M M - 1 < m \le M M − 1 < m ≤ M and M ≥ 2 M \ge2 M ≥ 2 ,
X m ≥ 2 M − 1 4 ( 1 + ln 4 M ) ≥ M 4 ( 1 + ln 4 n ) ≥ n 1 / ( j + 1 ) 8 ( 1 + ln 4 n ) . (2) X_m \ge\frac{2M-1}{4(1+\ln4M)} \ge\frac{M}{4(1+\ln4n)} \ge\frac{n^{1/(j+1)}}{8(1+\ln4n)}. \tag*{(2)} X m ≥ 4 ( 1 + ln 4 M ) 2 M − 1 ≥ 4 ( 1 + ln 4 n ) M ≥ 8 ( 1 + ln 4 n ) n 1/ ( j + 1 ) . (2)
using 2 j / ( j + 1 ) ≤ 2 2^{j/(j+1)} \le2 2 j / ( j + 1 ) ≤ 2 , and j + 1 j + 1 j + 1 is at most L + 2 L + 2 L + 2 , respectively L L L . For the second sentence, Lemma A.1 in Appendix § 12 shows that the second expression in (2) is at least n 1 / ( j + 2 ) n^{1/(j+2)} n 1/ ( j + 2 ) for n ≥ 2 406 n \ge2^{406} n ≥ 2 406 if k = 3 k = 3 k = 3 and for n ≥ 2 201 n \ge2^{201} n ≥ 2 201 if k ≥ 4 k \ge4 k ≥ 4 , and j + 2 j + 2 j + 2 is at most L + 3 L + 3 L + 3 and L + 1 L + 1 L + 1 , respectively. □ \square □
The thresholds come from the constant factors in (2) , not from the method: the first bound of the theorem holds for every n n n . At small sizes the explicit adversary of Theorem 6.4 is better; for 3-colorable graphs the bound of Theorem 8.5 overtakes it at j = 4 j = 4 j = 4 with m m m of about 600, that is, for n n n of about 2 50 2^{50} 2 50 (about 2 54 2^{54} 2 54 against the smaller instances of Appendix § 13 ).
The bound of Theorem 8.5 (i) is not carried by rare events: the same accounting, with a threshold for heavy colors that depends on the failure probability, holds with high probability.
Corollary 8.6 (forcing with high probability). Let j ≥ 1 j \ge1 j ≥ 1 , m ≥ 2 m \ge2 m ≥ 2 and 0 < ε < 1 0 < \varepsilon< 1 0 < ε < 1 . Against the random wiring R j ( m ) R_j(m) R j ( m ) , every deterministic online algorithm uses at least ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ) ) ) (2m+1)/(4(1+\ln(4m/\varepsilon))) ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ))) colors with probability at least 1 − ε 1-\varepsilon 1 − ε . Consequently, for every n ≥ 3 n \ge3 n ≥ 3 , every 0 < ε < 1 0 < \varepsilon< 1 0 < ε < 1 and L = log ∗ n L = \log^* n L = log ∗ n there is a distribution over 3-colorable ordered graphs on n n n vertices on which every deterministic online algorithm uses at least n 1 / ( L + 2 ) / ( 8 ( 1 + ln ( 4 n / ε ) ) ) n^{1/(L+2)}/(8(1+\ln(4n/\varepsilon))) n 1/ ( L + 2 ) / ( 8 ( 1 + ln ( 4 n / ε ))) colors with probability at least 1 − ε 1-\varepsilon 1 − ε ; for every k ≥ 4 k \ge4 k ≥ 4 the same holds for k k k -colorable graphs, with n 1 / L n^{1/L} n 1/ L in place of n 1 / ( L + 2 ) n^{1/(L+2)} n 1/ ( L + 2 ) .
Proof. We run the proof of Theorem 8.5 (i) with b : = ln ( 4 m / ε ) b := \ln(4m/\varepsilon) b := ln ( 4 m / ε ) in place of ln 4 m \ln4m ln 4 m . The derivation of (1) holds for every b > 0 b > 0 b > 0 , fewer than m m m colors are heavy because b > 1 b > 1 b > 1 , and Lemma 8.4 now gives E [ H t ∣ history ] ≤ m e − b = ε / 4 \mathbb{E}[H_t \mid\text{history}] \le m e^{-b} = \varepsilon/4 E [ H t ∣ history ] ≤ m e − b = ε /4 . Let H : = ∑ t = 1 m H t H := \sum_{t=1}^{m} H_t H := ∑ t = 1 m H t . Every H t H_t H t is nonnegative and E [ H ] ≤ ε m / 4 \mathbb{E}[H] \le\varepsilon m/4 E [ H ] ≤ ε m /4 , so Pr [ H ≥ m / 4 ] ≤ ε \Pr[H \ge m/4] \le\varepsilon Pr [ H ≥ m /4 ] ≤ ε by Markov’s inequality. If H < m / 4 H < m/4 H < m /4 , then (1) gives 3 m + 1 4 < C ( 1 + b ) + m 4 \frac{3m+1}{4} < C(1+b) + \frac{m}{4} 4 3 m + 1 < C ( 1 + b ) + 4 m , that is, C > ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ) ) ) C > (2m+1)/(4(1+\ln(4m/\varepsilon))) C > ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ))) . For the second statement, choose j j j , M M M and m m m as in the proof of Theorem 1.1 and append isolated vertices. If m ≤ 1 m \le1 m ≤ 1 the bound is below 1, and every algorithm uses at least one color. Otherwise the chain (2) , with ln ( 4 m / ε ) ≤ ln ( 4 n / ε ) \ln(4m/\varepsilon) \le\ln(4n/\varepsilon) ln ( 4 m / ε ) ≤ ln ( 4 n / ε ) in place of ln 4 m ≤ ln 4 n \ln4m \le\ln4n ln 4 m ≤ ln 4 n , gives ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ) ) ) ≥ n 1 / ( j + 1 ) / ( 8 ( 1 + ln ( 4 n / ε ) ) ) (2m+1)/(4(1+\ln(4m/\varepsilon))) \ge n^{1/(j+1)}/(8(1+\ln(4n/\varepsilon))) ( 2 m + 1 ) / ( 4 ( 1 + ln ( 4 m / ε ))) ≥ n 1/ ( j + 1 ) / ( 8 ( 1 + ln ( 4 n / ε ))) .
Confidence 1 − ε 1-\varepsilon 1 − ε costs only the additive term ln ( 1 / ε ) \ln(1/\varepsilon) ln ( 1/ ε ) in the denominator. With ε = 1 / n \varepsilon=1/n ε = 1/ n , for instance, the bound n 1 / ( L + 2 ) / ( 8 ( 1 + ln 4 n 2 ) ) n^{1/(L+2)}/(8(1+\ln4n^2)) n 1/ ( L + 2 ) / ( 8 ( 1 + ln 4 n 2 )) holds with probability at least 1 − 1 / n 1-1/n 1 − 1/ n .
Proof of Theorem 1.3 for G ′ G' G ′ . Choose j j j , M M M and m m m as in the proof of Theorem 1.1, with N N N in place of n n n . If m ≤ 1 m \le1 m ≤ 1 the bound is below 1 and the edgeless graph will do. Otherwise let G ′ G' G ′ consist of G j ( m ) G_j(m) G j ( m ) and N − m ( 2 m ) j N-m(2m)^j N − m ( 2 m ) j isolated vertices. It is triangle-free and k k k -colorable by Lemma 8.2. Every play of the adversary of Theorem 8.5(ii), followed by the isolated vertices, is a presentation of G ′ G' G ′ , and so is every outcome of R j ( m ) R_j(m) R j ( m ) , by Lemma 8.2. A deterministic algorithm that knows G ′ G' G ′ is still a deterministic online algorithm, so Theorem 8.5(ii) gives χ o l ( G ′ ) ≥ ⌈ X m ⌉ \chi_{\mathrm{ol}}(G') \ge\lceil X_m\rceil χ ol ( G ′ ) ≥ ⌈ X m ⌉ , and Theorem 8.5(i) with the remark after Lemma 4.4 gives the statement for randomized algorithms. Finally X m ≥ N 1 / ( j + 1 ) / ( 8 ( 1 + ln 4 N ) ) X_m \ge N^{1/(j+1)}/(8(1+\ln4N)) X m ≥ N 1/ ( j + 1 ) / ( 8 ( 1 + ln 4 N )) by (2) , and for N ≥ 2 406 N \ge2^{406} N ≥ 2 406 (for k ≥ 4 k \ge4 k ≥ 4 , N ≥ 2 201 N \ge2^{201} N ≥ 2 201 ) Lemma A.1 gives X m ≥ N 1 / ( j + 2 ) X_m \ge N^{1/(j+2)} X m ≥ N 1/ ( j + 2 ) , exactly as in the proof of Theorem 1.1.
Transfer, slowly growing chromatic number, and limits
This section proves Theorem 1.4, the bound at chromatic number log log n \log\log n log log n (Theorem 9.3), a cap for adversaries that commit to labels (Proposition 9.4) and Theorem 1.5. The first two results replace the clique at the top of a tower by another adversary; the last two bound what adversaries that commit to labels, and towers, can force.
Other adversaries at the top
The blow-up machinery of Section 6 never uses that the top is a clique, or that k k k is fixed. It needs only an adversary that forces K K K colors and whose graphs map to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) .
Theorem 1.4 (restated). Let k , k ′ ≥ 3 k,k' \ge3 k , k ′ ≥ 3 . There is j ≤ log ∗ k ′ + 1 j \le\log^* k' + 1 j ≤ log ∗ k ′ + 1 such that for all N N N and all K ≥ 2 K \ge2 K ≥ 2 , if χ k ′ d e t ( N ) ≥ K \chi^{\mathrm{det}}_{k'}(N) \ge K χ k ′ det ( N ) ≥ K then χ k d e t ( N ( j + 1 ) ( j + 2 ) / 2 ) ≥ K \chi^{\mathrm{det}}_k(N^{(j+1)(j+2)/2}) \ge K χ k det ( N ( j + 1 ) ( j + 2 ) /2 ) ≥ K . In particular, if χ k ′ d e t ( n ) = Ω ( n ε ) \chi^{\mathrm{det}}_{k'}(n)=\Omega(n^\varepsilon) χ k ′ det ( n ) = Ω ( n ε ) for a fixed k ′ ≥ 3 k' \ge3 k ′ ≥ 3 , then χ k d e t ( n ) = Ω ( n ε ′ ) \chi^{\mathrm{det}}_k(n)=\Omega(n^{\varepsilon'}) χ k det ( n ) = Ω ( n ε ′ ) with ε ′ = 2 ε / ( ( log ∗ k ′ + 2 ) ( log ∗ k ′ + 3 ) ) \varepsilon'=2\varepsilon/((\log^* k'+2)(\log^* k'+3)) ε ′ = 2 ε / (( log ∗ k ′ + 2 ) ( log ∗ k ′ + 3 )) .
Proof. Let j j j be the least j j j with width ( P j ( k ) ) ≥ k ′ \operatorname{width}(P_j(k)) \ge k' width ( P j ( k )) ≥ k ′ . By Lemma 5.6, width ( P j ( k ) ) ≥ tow ( j + 1 ) \operatorname{width}(P_j(k)) \ge\operatorname{tow}(j+1) width ( P j ( k )) ≥ tow ( j + 1 ) for k ≥ 4 k \ge4 k ≥ 4 and width ( P j ( 3 ) ) ≥ tow ( j − 1 ) \operatorname{width}(P_j(3)) \ge\operatorname{tow}(j-1) width ( P j ( 3 )) ≥ tow ( j − 1 ) for j ≥ 2 j \ge2 j ≥ 2 , so j ≤ log ∗ k ′ + 1 j \le\log^* k' + 1 j ≤ log ∗ k ′ + 1 . Let K ≥ 2 K \ge2 K ≥ 2 and N N N satisfy χ k ′ d e t ( N ) ≥ K \chi^{\mathrm{det}}_{k'}(N) \ge K χ k ′ det ( N ) ≥ K . By Observation 4.3 our adversary A \mathcal{A} A of size at most N N N forces K K K colors on k ′ k' k ′ -colorable graphs. Its post-degree is at most N − 1 N-1 N − 1 , and by Lemma 5.1(ii) every graph it presents maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) . Apply j j j reservation blow-ups (Lemma 6.3); by Lemma 5.2 the final graphs map to Tmpl ( P 0 ( k ) ) \operatorname{Tmpl}(P_0(k)) Tmpl ( P 0 ( k )) , so they are k k k -colorable. The first block size is ( K − 1 ) ( N − 2 ) + 1 ≤ K N (K-1)(N-2)+1 \le KN ( K − 1 ) ( N − 2 ) + 1 ≤ K N , and every later block size is at most K K K times the previous one, so the size is at most N ∏ i = 1 j K i N = N j + 1 K j ( j + 1 ) / 2 ≤ N ( j + 1 ) ( j + 2 ) / 2 N\prod_{i=1}^{j}K^iN = N^{j+1}K^{j(j+1)/2} \le N^{(j+1)(j+2)/2} N ∏ i = 1 j K i N = N j + 1 K j ( j + 1 ) /2 ≤ N ( j + 1 ) ( j + 2 ) /2 , using K ≤ N K \le N K ≤ N , and Observation 4.3 gives χ k d e t ( N ( j + 1 ) ( j + 2 ) / 2 ) ≥ K \chi^{\mathrm{det}}_k(N^{(j+1)(j+2)/2}) \ge K χ k det ( N ( j + 1 ) ( j + 2 ) /2 ) ≥ K . For the second statement, the hypothesis gives N k ( K ) = O ( K 1 / ε ) N_k(K)=O(K^{1/\varepsilon}) N k ( K ) = O ( K 1/ ε ) , so by the first statement and Observation 4.3, N 3 ( K ) = O ( K ( j + 1 ) ( j + 2 ) / ( 2 ε ) ) N_3(K)=O(K^{(j+1)(j+2)/(2\varepsilon)}) N 3 ( K ) = O ( K ( j + 1 ) ( j + 2 ) / ( 2 ε ) ) with j ≤ log ∗ k ′ + 1 j \le\log^* k' + 1 j ≤ log ∗ k ′ + 1 , and Observation 4.3 turns this into χ 3 d e t ( n ) = Ω ( n ε ′ ) \chi^{\mathrm{det}}_3(n)=\Omega(n^{\varepsilon'}) χ 3 det ( n ) = Ω ( n ε ′ ) .
For example j = 2 j=2 j = 2 suffices for k = 3 k=3 k = 3 and k ′ = 4 k'=4 k ′ = 4 by Lemma 5.5(iii), so N 3 ( K ) ≤ N 4 ( K ) 6 N_3(K) \le N_4(K)^6 N 3 ( K ) ≤ N 4 ( K ) 6 , and j = 1 j=1 j = 1 suffices for k = 4 k=4 k = 4 and k ′ ≤ 6 k' \le6 k ′ ≤ 6 because width ( P 1 ( 4 ) ) = ( 4 2 ) = 6 \operatorname{width}(P_1(4))=\binom{4}{2}=6 width ( P 1 ( 4 )) = ( 2 4 ) = 6 . The case k = 2 k=2 k = 2 is different: width ( P j ( 2 ) ) = 2 \operatorname{width}(P_j(2))=2 width ( P j ( 2 )) = 2 for all j j j , and bipartite graphs need only O ( log n ) O(\log n) O ( log n ) colors [32 p. 320] .
The second replacement uses an adversary of Kawarabayashi, Yoneda and Yoneda [20 Lemma 4.3] with few vertices and logarithmic chromatic number. It delays the choice of its own coloring of a vertex until a second vertex of the same algorithm color appears.
Construction 9.1 (pairing top). Fix ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and 2 ℓ 2\ell 2 ℓ base colors, grouped into ℓ \ell ℓ pairs { 2 s − 1 , 2 s } \{2s-1,2s\} { 2 s − 1 , 2 s } , 1 ≤ s ≤ ℓ 1 \le s \le\ell 1 ≤ s ≤ ℓ . The adversary presents 2 ℓ 2^\ell 2 ℓ vertices, and the i i i -th vertex v v v gets the i i i -th vector X v ∈ { 0 , 1 } ℓ X_v \in\{0,1\}^{\ell} X v ∈ { 0 , 1 } ℓ , which chooses the base color 2 s − 1 + X v ( s ) 2s-1+X_v(s) 2 s − 1 + X v ( s ) from each pair. A presented vertex is paired or unpaired , and paired vertices carry a base color φ \varphi φ . The new vertex v v v is joined to every earlier paired vertex whose base color is not chosen by X v X_v X v , and to no unpaired vertex. If the algorithm gives v v v the color of an earlier unpaired vertex u u u , then u u u and v v v become paired: the adversary chooses the least s s s with X u ( s ) ≠ X v ( s ) X_u(s) \ne X_v(s) X u ( s ) = X v ( s ) and puts φ ( u ) = 2 s − 1 + X u ( s ) \varphi(u)=2s-1+X_u(s) φ ( u ) = 2 s − 1 + X u ( s ) and φ ( v ) = 2 s − 1 + X v ( s ) \varphi(v)=2s-1+X_v(s) φ ( v ) = 2 s − 1 + X v ( s ) .
Lemma 9.2 (the pairing top; [20 Lemma 4.3] ). The pairing top presents 2 ℓ 2^\ell 2 ℓ vertices, forces 2 ℓ − 1 2^{\ell-1} 2 ℓ − 1 colors, and every graph it presents is 2 ℓ 2\ell 2 ℓ -colorable.
Proof. At most one unpaired vertex has a given color, since a second one would have been paired with it. If u u u and v v v are paired, then φ ( u ) \varphi(u) φ ( u ) and φ ( v ) \varphi(v) φ ( v ) are the two base colors of one pair, and every later vertex w w w chooses one of them, so w w w is joined to the member of the pair whose base color it does not choose. That member has the color shared by u u u and v v v , so no third vertex receives it. Hence every color is used at most twice, and the 2 ℓ 2^\ell 2 ℓ vertices receive at least 2 ℓ − 1 2^{\ell-1} 2 ℓ − 1 colors. For the coloring, give every unpaired vertex any base color chosen by its own vector. Then every vertex w w w has a base color chosen by X w X_w X w , while every earlier neighbor of w w w has a base color that X w X_w X w does not choose. A vertex receives later neighbors only after it is paired, and from then on its base color is fixed, so the base colors form a proper 2 ℓ 2\ell 2 ℓ -coloring. □ \square □
Theorem 9.3 (polynomial bounds at chromatic number log log n \log\log n log log n ). Let K ≥ 2 K \ge2 K ≥ 2 , ℓ = ⌈ log K ⌉ + 1 \ell=\lceil\log K\rceil+1 ℓ = ⌈ log K ⌉ + 1 and c ≥ 1 c \ge1 c ≥ 1 . If width ( P c − 1 ( m ) ) ≥ 2 ℓ \operatorname{width}(P_{c-1}(m)) \ge2\ell width ( P c − 1 ( m )) ≥ 2 ℓ , then an adversary forces K K K colors on m m m -colorable graphs with at most 4 c K c ( c + 1 ) / 2 4^cK^{c(c+1)/2} 4 c K c ( c + 1 ) /2 vertices. In particular, if n ≥ 16 n \ge16 n ≥ 16 and ( m ⌊ m / 2 ⌋ ) ≥ log n \binom{m}{\lfloor m/2\rfloor} \ge\log n ( ⌊ m /2 ⌋ m ) ≥ log n , then χ m ( n ) ≥ ⌊ ( n / 16 ) 1 / 3 ⌋ \chi_m(n) \ge\lfloor(n/16)^{1/3}\rfloor χ m ( n ) ≥ ⌊( n /16 ) 1/3 ⌋ ; this holds for some m ≤ log log n + log log log n + 3 m \le\log\log n+\log\log\log n+3 m ≤ log log n + log log log n + 3 .
Proof. The pairing top has N 0 = 2 ℓ ≤ 4 K N_0=2^\ell\le4K N 0 = 2 ℓ ≤ 4 K vertices, forces 2 ℓ − 1 ≥ K 2^{\ell-1} \ge K 2 ℓ − 1 ≥ K colors and is 2 ℓ 2\ell 2 ℓ -colorable, so by Lemma 5.1 (ii) its graphs map to Tmpl ( P c − 1 ( m ) ) \operatorname{Tmpl}(P_{c-1}(m)) Tmpl ( P c − 1 ( m )) . Apply c − 1 c-1 c − 1 reservation blow-ups as in the proof of Theorem 1.4 . Their block sizes satisfy b c − 1 ≤ K N 0 b_{c-1} \le K N_0 b c − 1 ≤ K N 0 and b ℓ ′ − 1 ≤ K b ℓ ′ b_{\ell'-1} \le Kb_{\ell'} b ℓ ′ − 1 ≤ K b ℓ ′ , so every play has at most N 0 c K c ( c − 1 ) / 2 ≤ 4 c K c ( c + 1 ) / 2 N_0^cK^{c(c-1)/2} \le4^cK^{c(c+1)/2} N 0 c K c ( c − 1 ) /2 ≤ 4 c K c ( c + 1 ) /2 vertices, and the final graphs are m m m -colorable by Lemma 5.2 . For the second statement take c = 2 c=2 c = 2 and K = ⌊ ( n / 16 ) 1 / 3 ⌋ K=\lfloor(n/16)^{1/3}\rfloor K = ⌊( n /16 ) 1/3 ⌋ , so that 16 K 3 ≤ n 16K^3 \le n 16 K 3 ≤ n . If K = 1 K=1 K = 1 there is nothing to prove, since every algorithm uses at least one color, so let K ≥ 2 K \ge2 K ≥ 2 . Then 2 ℓ ≤ 2 log K + 4 ≤ log n 2\ell\le2\log K+4 \le\log n 2 ℓ ≤ 2 log K + 4 ≤ log n , because log K ≤ ( log n − 4 ) / 3 \log K \le(\log n-4)/3 log K ≤ ( log n − 4 ) /3 and log n ≥ 4 \log n \ge4 log n ≥ 4 , and log n ≤ ( m ⌊ m / 2 ⌋ ) \log n \le\binom{m}{\lfloor m/2\rfloor} log n ≤ ( ⌊ m /2 ⌋ m ) . Since ( m ⌊ m / 2 ⌋ ) ≥ 2 m / ( m + 1 ) \binom{m}{\lfloor m/2\rfloor} \ge2^m/(m+1) ( ⌊ m /2 ⌋ m ) ≥ 2 m / ( m + 1 ) , it suffices that 2 m > ( m + 1 ) log n 2^m>(m+1)\log n 2 m > ( m + 1 ) log n . Put x = log log n > 2 x=\log\log n>2 x = log log n > 2 and m = ⌈ x + log x ⌉ + 2 m=\lceil x+\log x\rceil+2 m = ⌈ x + log x ⌉ + 2 . Then 2 m ≥ 4 x log n 2^m \ge4x\log n 2 m ≥ 4 x log n and m + 1 ≤ x + log x + 4 ≤ 4 x m+1 \le x+\log x+4 \le4x m + 1 ≤ x + log x + 4 ≤ 4 x , so m ≤ log log n + log log log n + 3 m \le\log\log n+\log\log\log n+3 m ≤ log log n + log log log n + 3 suffices. □ \square □
For fixed chromatic number our lower bound is n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(\log^*n+O(1))} n 1/ ( l o g ∗ n + O ( 1 )) , and at chromatic number ( 1 + o ( 1 ) ) log log n (1+o(1))\log\log n ( 1 + o ( 1 )) log log n it is already of order n 1 / 3 n^{1/3} n 1/3 . To our knowledge, earlier polynomial lower bounds concern graphs of chromatic number of order at least log n \log n log n [3 , 16 , 17 , 20 ] , or triangle-free graphs whose chromatic number is not bounded [8 , 13 ] .
A cap on adversaries that commit to labels
Our adversaries choose the final coloring of a vertex long after the algorithm has colored it. The next proposition bounds what an adversary that commits to labels can force: if it reveals a labeling of its graph by a poset P P P vertex by vertex, that is, an online homomorphism into Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) , then it forces at most ∣ J ∗ ( P ) ∣ |J^*(P)| ∣ J ∗ ( P ) ∣ colors. For a nonempty poset P P P , an adversary commits to labels from P P P if, right after the algorithm has colored a vertex v v v , it assigns a label ψ ( v ) ∈ P \psi(v) \in P ψ ( v ) ∈ P that is a function of the history so far (the graph presented and the colors given), such that ψ ( u ) ≰ ψ ( v ) \psi(u) \not\leq\psi(v) ψ ( u ) ≤ ψ ( v ) for every edge u v uv uv with u u u earlier. For the antichain P 0 ( k ) P_0(k) P 0 ( k ) this is exactly the transparent model.
Proposition 9.4 (a cap for adversaries that commit to labels). If an adversary forces K K K colors and commits to labels from a poset P P P , then K ≤ ∣ J ∗ ( P ) ∣ K \leq|J^*(P)| K ≤ ∣ J ∗ ( P ) ∣ . In particular, an adversary that forces K K K colors can commit to labels from P j ( k ) P_j(k) P j ( k ) only if j ≥ log ∗ K − log ∗ k − 1 j \geq\log^* K - \log^* k - 1 j ≥ log ∗ K − log ∗ k − 1 .
Proof. We describe a deterministic algorithm that uses at most ∣ J ∗ ( P ) ∣ |J^*(P)| ∣ J ∗ ( P ) ∣ colors against the adversary; it knows the adversary and its labeling rule. When v v v arrives, the algorithm computes ψ ( u ) \psi(u) ψ ( u ) for every u ∈ N − ( v ) u \in N^-(v) u ∈ N − ( v ) , which is possible because each such label is a function of the history up to the coloring of u u u . It then puts
U ( v ) : = { p ∈ P : ψ ( u ) ≰ p for all u ∈ N − ( v ) } , U(v) := \{p \in P : \psi(u) \not\leq p \text{ for all } u \in N^-(v)\}, U ( v ) := { p ∈ P : ψ ( u ) ≤ p for all u ∈ N − ( v )} ,
a down-set of P P P , and colors v v v with U ( v ) U(v) U ( v ) , numbering the nonempty down-sets in the order of their first appearance. The set U ( v ) U(v) U ( v ) is nonempty: whatever color v v v receives, the adversary then gives it a label ψ ( v ) \psi(v) ψ ( v ) with ψ ( u ) ≰ ψ ( v ) \psi(u) \not\leq\psi(v) ψ ( u ) ≤ ψ ( v ) for all u ∈ N − ( v ) u \in N^-(v) u ∈ N − ( v ) , that is, ψ ( v ) ∈ U ( v ) \psi(v) \in U(v) ψ ( v ) ∈ U ( v ) . The coloring is proper: for u ∈ N − ( v ) u \in N^-(v) u ∈ N − ( v ) the same argument gives ψ ( u ) ∈ U ( u ) \psi(u) \in U(u) ψ ( u ) ∈ U ( u ) , while ψ ( u ) ∉ U ( v ) \psi(u) \notin U(v) ψ ( u ) ∈ / U ( v ) , so U ( u ) ≠ U ( v ) U(u) \ne U(v) U ( u ) = U ( v ) . Hence the algorithm uses at most ∣ J ∗ ( P ) ∣ |J^*(P)| ∣ J ∗ ( P ) ∣ colors, and since the adversary forces K K K colors against it, K ≤ ∣ J ∗ ( P ) ∣ K \leq|J^*(P)| K ≤ ∣ J ∗ ( P ) ∣ . The second statement follows from ∣ P j + 1 ( k ) ∣ ≤ tow ( j + 1 + log ∗ k ) |P_{j+1}(k)| \leq\operatorname{tow}(j+1+\log^* k) ∣ P j + 1 ( k ) ∣ ≤ tow ( j + 1 + log ∗ k ) (Lemma 5.6 ). □
For P = P 0 ( k ) P = P_0(k) P = P 0 ( k ) the algorithm of the proof colors each vertex by the set of base colors missing from its earlier neighborhood, which is a variant of the classical algorithm for the transparent model [17 §4.5] , [20 Thm. 4.2] . The proposition is about deterministic adversaries, which the algorithm of its proof knows; the random wiring of § 8 escapes that algorithm because the wiring’s choices are hidden.
How far towers can go
Two facts limit what towers can force. A full j j j -level tower over K m K_m K m is k k k -colorable only if m ≤ ∣ P j ( k ) ∣ ‘ ( x r e f ‘ C o r o l l a r y 5.4 ‘ ) , s o a t l e a s t m \leq|P_j(k)|` ({xref}`Corollary 5.4`), so at least m ≤ ∣ P j ( k ) ∣‘ ( x r e f ‘ C or o l l a r y 5.4‘ ) , so a tl e a s t \log^* m - \log^* k$ levels are necessary. The second fact is algorithmic.
Lemma 9.5 (First-Fit commutes with blow-ups). Let G G G be a full blow-up of H H H , or an initial segment of one. Then First-Fit colors every vertex of σ ( v ) \sigma(v) σ ( v ) with the color that First-Fit gives to v v v on H H H . Consequently, on an initial segment of a full tower over K m = ( v 1 , … , v m ) K_m = (v_1,\ldots,v_m) K m = ( v 1 , … , v m ) , First-Fit uses exactly as many colors as there are top vertices with a presented descendant, and it gives the descendants of v t v_t v t the t t t -th smallest color.
Proof. All vertices of σ ( v ) \sigma(v) σ ( v ) have the same earlier neighbors, namely the servers of the arcs into v v v . By induction on the arrival order, a server in σ ( w ) \sigma(w) σ ( w ) has the color that First-Fit gives to w w w on H H H , so the earlier neighbors of σ ( v ) \sigma(v) σ ( v ) carry exactly the First-Fit colors of the earlier neighbors of v v v ; here we use fullness. The vertices of σ ( v ) \sigma(v) σ ( v ) are pairwise non-adjacent, so each of them gets the least color outside this set, which is the First-Fit color of v v v . Applying this once per level reduces the second statement to First-Fit on K m K_m K m . □
Theorem 1.5 (restated). Let k ≥ 3 k \geq3 k ≥ 3 . If First-Fit uses c ≥ 2 c \geq2 c ≥ 2 colors on a k k k -colorable j j j -level tower G G G , then c ≤ ∣ P j ( k ) ∣ c \leq|P_j(k)| c ≤ ∣ P j ( k ) ∣ and ∣ V ( G ) ∣ ≥ ( c − 1 i + 1 ) |V(G)| \geq\binom{c-1}{i+1} ∣ V ( G ) ∣ ≥ ( i + 1 c − 1 ) for every 0 ≤ i ≤ j 0 \leq i \leq j 0 ≤ i ≤ j . Consequently there is n k n_k n k such that for every n ≥ n k n \geq n_k n ≥ n k , First-Fit uses at most n 1 / ( log ∗ n − log ∗ k − 3 ) n^{1/(\log^* n-\log^* k-3)} n 1/ ( l o g ∗ n − l o g ∗ k − 3 ) colors on every k k k -colorable tower with at most n n n vertices.
Proof. The graph G G G is an initial segment S S S of a full tower, followed by isolated vertices. These receive the smallest color, which the first vertex of S S S already has, since c ≥ 2 c \ge2 c ≥ 2 forces S ≠ ∅ S \ne\varnothing S = ∅ . Hence First-Fit uses c c c colors on S S S , and by Lemma 9.5 , v c v_c v c has a presented descendant, so the subtrees of v 1 , … , v c − 1 v_1,\ldots,v_{c-1} v 1 , … , v c − 1 are completely presented.
The poset bound. Call a node alive if it has a presented descendant. If w → v w \to v w → v is an arc between nodes of the same level and v v v is alive, then the subtree of w w w is completely presented, because w w w arrives before v v v and subtrees are contiguous; so the server of w → v w \to v w → v is alive. Hence the alive nodes of each level form a full blow-up of the alive nodes of the level above, and the alive top vertices are v 1 , … , v c v_1,\ldots,v_c v 1 , … , v c . Since G G G is k k k -colorable, j j j applications of Lemma 5.3 show that K c K_c K c maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) , and Lemma 5.1 (i) gives c ≤ ∣ P j ( k ) ∣ c \le|P_j(k)| c ≤ ∣ P j ( k ) ∣ .
The size bound. For each arc choose one server ρ ( w , v ) \rho(w,v) ρ ( w , v ) . A walk u 0 → u 1 → ⋯ → u i u_0 \to u_1 \to\cdots\to u_i u 0 → u 1 → ⋯ → u i of completely presented nodes of one level maps to ( ρ ( u 0 , u 1 ) , … , ρ ( u i − 1 , u i ) ) (\rho(u_0,u_1),\ldots,\rho(u_{i-1},u_i)) ( ρ ( u 0 , u 1 ) , … , ρ ( u i − 1 , u i )) , a walk with one arc fewer of completely presented nodes one level down: ρ ( u a , u a + 1 ) \rho(u_a,u_{a+1}) ρ ( u a , u a + 1 ) is joined to all of σ ( u a + 1 ) \sigma(u_{a+1}) σ ( u a + 1 ) , which contains ρ ( u a + 1 , u a + 2 ) \rho(u_{a+1},u_{a+2}) ρ ( u a + 1 , u a + 2 ) . The map is injective, because ρ ( u a , u a + 1 ) \rho(u_a,u_{a+1}) ρ ( u a , u a + 1 ) determines its parent u a u_a u a , and ρ ( u i − 1 , u i ) \rho(u_{i-1},u_i) ρ ( u i − 1 , u i ) determines u i u_i u i , since a vertex serves at most one arc. The top vertices v 1 , … , v c − 1 v_1,\ldots,v_{c-1} v 1 , … , v c − 1 span a transitive tournament with ( c − 1 i + 1 ) \binom{c-1}{i+1} ( i + 1 c − 1 ) walks of length i i i . Applying the map i ≤ j i \le j i ≤ j times turns them into distinct nodes of level j − i j-i j − i , which have disjoint nonempty sets of presented descendants.
The asymptotic bound. We show that n k : = tow ( max ( 7 , log ∗ k + 3 ) ) + 1 n_k := \operatorname{tow}(\max(7,\log^* k+3))+1 n k := tow ( max ( 7 , log ∗ k + 3 )) + 1 will do. Let n ≥ n k n \ge n_k n ≥ n k , so that Λ : = log ∗ n ≥ max ( 8 , log ∗ k + 4 ) \Lambda:= \log^* n \ge\max(8,\log^* k+4) Λ := log ∗ n ≥ max ( 8 , log ∗ k + 4 ) , and put d : = Λ − log ∗ k − 3 ≥ 1 d := \Lambda-\log^* k-3 \ge1 d := Λ − log ∗ k − 3 ≥ 1 ; the claim is c ≤ n 1 / d c \le n^{1/d} c ≤ n 1/ d . Since log n > tow ( Λ − 2 ) \log n > \operatorname{tow}(\Lambda-2) log n > tow ( Λ − 2 ) , we have d ≤ Λ ≤ log log n d \le\Lambda\le\log\log n d ≤ Λ ≤ log log n , so d log log n ≤ ( log log n ) 2 ≤ log n d\log\log n \le(\log\log n)^2 \le\log n d log log n ≤ ( log log n ) 2 ≤ log n , that is, log n ≤ n 1 / d \log n \le n^{1/d} log n ≤ n 1/ d . Let G G G have n ′ ≤ n n' \le n n ′ ≤ n vertices and put L = log ∗ n ′ L=\log^* n' L = log ∗ n ′ . If L ≤ Λ − 2 L \le\Lambda-2 L ≤ Λ − 2 , then c ≤ n ′ ≤ tow ( Λ − 2 ) < log n ≤ n 1 / d c \le n' \le\operatorname{tow}(\Lambda-2) < \log n \le n^{1/d} c ≤ n ′ ≤ tow ( Λ − 2 ) < log n ≤ n 1/ d . Otherwise L ≥ Λ − 1 ≥ 7 L \ge\Lambda-1 \ge7 L ≥ Λ − 1 ≥ 7 , so that L ≤ log log n ′ L \le\log\log n' L ≤ log log n ′ . Let λ ≤ j \lambda\le j λ ≤ j be the least λ \lambda λ with ∣ P λ ( k ) ∣ ≥ c |P_\lambda(k)| \ge c ∣ P λ ( k ) ∣ ≥ c . If log ∗ c ≤ L − 3 \log^*c \le L-3 log ∗ c ≤ L − 3 , then c ≤ tow ( L − 3 ) < log log n ′ ≤ n 1 / d c \le\operatorname{tow}(L-3) < \log\log n' \le n^{1/d} c ≤ tow ( L − 3 ) < log log n ′ ≤ n 1/ d . Otherwise Corollary 5.7 gives λ ≥ log ∗ c − log ∗ k ≥ L − 2 − log ∗ k \lambda\ge\log^*c-\log^*k \ge L-2-\log^*k λ ≥ log ∗ c − log ∗ k ≥ L − 2 − log ∗ k , and λ ≤ log ∗ c + 1 ≤ L + 1 \lambda\le\log^*c+1 \le L+1 λ ≤ log ∗ c + 1 ≤ L + 1 . The size bound with i = λ i=\lambda i = λ gives n ′ ≥ ( ( c − 1 ) / ( λ + 1 ) ) λ + 1 n' \ge((c-1)/(\lambda+1))^{\lambda+1} n ′ ≥ (( c − 1 ) / ( λ + 1 ) ) λ + 1 if c > λ + 1 c>\lambda+1 c > λ + 1 , and in every case c ≤ 1 + ( λ + 1 ) n ′ 1 / ( λ + 1 ) c \le1+(\lambda+1)n'^{1/(\lambda+1)} c ≤ 1 + ( λ + 1 ) n ′ 1/ ( λ + 1 ) . The function y ↦ y n ′ 1 / y y \mapsto y n'^{1/y} y ↦ y n ′ 1/ y is decreasing for y ≤ ln n ′ y \le\ln n' y ≤ ln n ′ , and y 0 : = L − 1 − log ∗ k y_0:=L-1-\log^*k y 0 := L − 1 − log ∗ k satisfies 2 ≤ y 0 ≤ λ + 1 ≤ L + 2 ≤ ln n ′ 2 \le y_0 \le\lambda+1 \le L+2 \le\ln n' 2 ≤ y 0 ≤ λ + 1 ≤ L + 2 ≤ ln n ′ , so
c ≤ 1 + y 0 n ′ 1 / y 0 ≤ 2 L n ′ 1 / y 0 ≤ n ′ 1 / ( y 0 − 1 ) = n ′ 1 / ( L − log ∗ k − 2 ) ≤ n 1 / d . c \le1+y_0 n'^{1/y_0} \le2L n'^{1/y_0} \le n'^{1/(y_0-1)} = n'^{1/(L-\log^*k-2)} \le n^{1/d}. c ≤ 1 + y 0 n ′ 1/ y 0 ≤ 2 L n ′ 1/ y 0 ≤ n ′ 1/ ( y 0 − 1 ) = n ′ 1/ ( L − l o g ∗ k − 2 ) ≤ n 1/ d .
The third inequality is 2 L ≤ n ′ 1 / ( y 0 ( y 0 − 1 ) ) 2L \le n'^{1/(y_0(y_0-1))} 2 L ≤ n ′ 1/ ( y 0 ( y 0 − 1 )) , which holds because y 0 ( y 0 − 1 ) log 2 L ≤ L 3 ≤ ( log log n ′ ) 3 ≤ log n ′ y_0(y_0-1)\log2L \le L^3 \le(\log\log n')^3 \le\log n' y 0 ( y 0 − 1 ) log 2 L ≤ L 3 ≤ ( log log n ′ ) 3 ≤ log n ′ ; the last one uses n ′ ≤ n n' \le n n ′ ≤ n and L − log ∗ k − 2 ≥ d L-\log^*k-2 \ge d L − log ∗ k − 2 ≥ d . □ \square □
Every play of the adversaries of Theorems 6.4 and 8.5 is a tower, so First-Fit is optimal against them up to an additive constant in the denominator of the exponent. With Theorem 1.1 this determines the value of the method.
Corollary 9.6 (the value of towers). Fix k ≥ 3 k \ge3 k ≥ 3 , and let V k ( n ) V_k(n) V k ( n ) be the largest K K K such that some adversary of size at most n n n forces K K K colors and lands in the k k k -colorable towers. There is n k n_k n k such that for every n ≥ n k n \ge n_k n ≥ n k ,
n 1 / ( log ∗ n + 3 ) ≤ V k ( n ) ≤ n 1 / ( log ∗ n − log ∗ k − 3 ) . n^{1/(\log^* n+3)} \le V_k(n) \le n^{1/(\log^* n-\log^* k-3)}. n 1/ ( l o g ∗ n + 3 ) ≤ V k ( n ) ≤ n 1/ ( l o g ∗ n − l o g ∗ k − 3 ) . Equivalently, V k ( n ) = n 1 / ( log ∗ n + c ) V_k(n)=n^{1/(\log^* n+c)} V k ( n ) = n 1/ ( l o g ∗ n + c ) for a real number c = c ( k , n ) c=c(k,n) c = c ( k , n ) with − log ∗ k − 3 ≤ c ≤ 3 -\log^* k-3 \le c \le3 − log ∗ k − 3 ≤ c ≤ 3 , which may be negative.
Proof. Let n k n_k n k be as in Theorem 1.5 ; it exceeds 2 406 2^{406} 2 406 . For the lower bound, the adversary of Theorem 8.5 (ii), with the parameters of the proof of Theorem 1.1, has size at most n n n and forces ∣ X m ∣ ≥ n 1 / ( log ∗ n + 3 ) \lvert X_m\rvert\ge n^{1/(\log^* n+3)} ∣ X m ∣ ≥ n 1/ ( l o g ∗ n + 3 ) colors, and by Lemma 8.2 each of its plays is a k k k -colorable tower. For the upper bound, play First-Fit against any adversary of size at most n n n that lands in the k k k -colorable towers: by Theorem 1.5 the play ends with at most n 1 / ( log ∗ n − log ∗ k − 3 ) n^{1/(\log^* n-\log^* k-3)} n 1/ ( l o g ∗ n − l o g ∗ k − 3 ) colors. □ \square □
A lower bound of the form n Ω ( 1 ) n^{\Omega(1)} n Ω ( 1 ) , or even n 1 / o ( log ∗ n ) n^{1/o(\log^* n)} n 1/ o ( l o g ∗ n ) , therefore cannot come from towers over a clique. It needs a top of bounded chromatic number and polynomial size, which by Theorem 1.4 is the problem itself, or a different kind of level.
Discussion and open problems
For fixed k ≥ 3 k \ge3 k ≥ 3 the online chromatic number of k k k -colorable graphs now lies between n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(\log^* n+O(1))} n 1/ ( l o g ∗ n + O ( 1 )) and n 1 − Θ ( 1 / k 2 ) n^{1-\Theta(1/k^2)} n 1 − Θ ( 1/ k 2 ) ; for k = 3 k=3 k = 3 it lies between n 1 / ( log ∗ n + 3 ) n^{1/(\log^* n+3)} n 1/ ( l o g ∗ n + 3 ) and O ~ ( n 2 / 3 ) \widetilde{O}(n^{2/3}) O ( n 2/3 ) for deterministic algorithms, and between n 1 / ( log ∗ n + 3 ) n^{1/(\log^* n+3)} n 1/ ( l o g ∗ n + 3 ) and O ( n ) O(\sqrt{n}) O ( n ) for randomized ones. The lower bound is still n o ( 1 ) n^{o(1)} n o ( 1 ) , and by Corollary 9.6 no adversary that presents towers can exceed n 1 / ( log ∗ n − O ( 1 ) ) n^{1/(\log^* n-O(1))} n 1/ ( l o g ∗ n − O ( 1 )) . We list three directions.
Question 10.1 (a polynomial lower bound). Is χ 3 d e t ( n ) ≥ n ε \chi^{\mathrm{det}}_3(n) \ge n^\varepsilon χ 3 det ( n ) ≥ n ε for some ε > 0 \varepsilon> 0 ε > 0 ? Is χ 3 r a n d ( n ) ≥ n ε \chi^{\mathrm{rand}}_3(n) \ge n^\varepsilon χ 3 rand ( n ) ≥ n ε ?
A positive answer, which is the lower-bound half of Kierstead’s challenge [22 Problem 5.1] , must leave towers. For deterministic algorithms, by Theorem 1.4 it suffices to find such an adversary for any single fixed k ≥ 3 k \ge3 k ≥ 3 . Two constraints are known. The graphs must have bounded odd girth, because graphs of sufficiently large odd girth can be colored online with O ( n ε ) O(n^\varepsilon) O ( n ε ) colors [45 Thm. 1] ; our j j j -level towers have odd girth at least 2 j + 3 2j+3 2 j + 3 (Remark 6.5 ), which grows with n n n . And by Proposition 9.4 , an adversary that commits to labels from P j ( k ) P_j(k) P j ( k ) after every move forces at most ∣ P j + 1 ( k ) ∣ |P_{j+1}(k)| ∣ P j + 1 ( k ) ∣ colors. The opposite has also been conjectured: Yoneda and Yoneda conjecture that for every fixed k k k some randomized online algorithm uses n o ( 1 ) n^{o(1)} n o ( 1 ) colors [46 Conj. 27] . By Theorem 1.1, such an algorithm would still need n 1 / ( log ∗ n + O ( 1 ) ) n^{1/(\log^* n+O(1))} n 1/ ( l o g ∗ n + O ( 1 )) colors.
Question 10.2 (the constant). What is the infimum of the constants c c c such that χ k d e t ( n ) ≥ n 1 / ( log ∗ n + c ) \chi^{\mathrm{det}}_k(n) \ge n^{1/(\log^* n+c)} χ k det ( n ) ≥ n 1/ ( l o g ∗ n + c ) for all large n n n ? Can the factor log n \log n log n in Theorem 1.1 be removed?
For adversaries that present towers, Theorems 1.1 and 1.5 place the corresponding infimum for k = 3 k=3 k = 3 between − 5 -5 − 5 and 3 3 3 . The logarithmic factor in Theorem 8.5 comes from the threshold ln 4 m \ln4m ln 4 m for heavy colors. Even a constant fraction of m m m at one level, as in Theorem D.2 , does not survive several levels with our bookkeeping: the saturated colors (Appendix § 15 .§ 2 ) of different nodes of a subtree need not agree.
Question 10.3 (one level, exactly). What is the largest number of colors that an adversary can force on reservation blow-ups of K m = ( v 1 , … , v m ) K_m=(v_1,\ldots,v_m) K m = ( v 1 , … , v m ) in which the block of v t v_t v t has max ( 1 , m − t ) \max(1,m-t) max ( 1 , m − t ) vertices? Theorem D.2 gives at least ⌊ m / 2 ⌋ + 1 \lfloor m/2\rfloor+1 ⌊ m /2 ⌋ + 1 , First-Fit gives at most m m m , and exhaustive search gives 3 , 4 , 4 , 5 , 6 , 6 , 7 , 7 3,4,4,5,6,6,7,7 3 , 4 , 4 , 5 , 6 , 6 , 7 , 7 for m = 4 , … , 11 m=4,\ldots,11 m = 4 , … , 11 (Appendix § 15 .§ 3 ).
The answer measures how much a single level must lose; a linear lower bound that survives several levels would remove the logarithmic factor of Theorem 1.1.
Finally, Kierstead and Kolossa color every k k k -colorable perfect graph online with n 10 k / log log n n^{10k/\log\log n} n 10 k / l o g l o g n colors [25 Thm. 0.1] . By Theorem 1.1, general k k k -colorable graphs are therefore asymptotically harder than perfect ones for every fixed k ≥ 3 k \ge3 k ≥ 3 , although the separation sets in only at astronomically large n n n . Whether perfect graphs admit polylogarithmically many colors [23 Problem 13] is untouched by our construction: its graphs are triangle-free, and a triangle-free graph is perfect only if it is bipartite.
Acknowledgments
The author is deeply grateful to Allan Borodin for his generous advice and encouragement, and for his invaluable guidance on the direction of this work.
Use of AI tools. The author used the AI tools GPT (OpenAI) and Claude (Anthropic) to develop and check proofs, to draft and edit the text, to write the simulations and computer checks, and to produce a Lean formalization. The author is responsible for all content of this paper.
Thresholds for Theorem 1.1
This appendix proves the inequality behind the second sentence of Theorem 1.1: with the parameters of § 8.4 , the bound of Theorem 8.5 reaches n 1 / ( j + 2 ) n^{1/(j+2)} n 1/ ( j + 2 ) beyond explicit thresholds.
Lemma A.1 (thresholds). Let L = log ∗ n L=\log^* n L = log ∗ n , let 1 ≤ j ≤ j 0 ( n ) 1\le j\le j_0(n) 1 ≤ j ≤ j 0 ( n ) , where j 0 ( n ) : = L + 1 j_0(n):=L+1 j 0 ( n ) := L + 1 if k = 3 k=3 k = 3 and j 0 ( n ) : = max ( 1 , L − 1 ) j_0(n):=\max(1,L-1) j 0 ( n ) := max ( 1 , L − 1 ) if k ≥ 4 k\ge4 k ≥ 4 , and put M : = ( n / 2 j ) 1 / ( j + 1 ) M:=(n/2^j)^{1/(j+1)} M := ( n / 2 j ) 1/ ( j + 1 ) . Then M ≥ 2 M\ge2 M ≥ 2 and
2 M − 1 4 ( 1 + ln 4 M ) ≥ n 1 / ( j + 2 ) (3) \frac{2M-1}{4(1+\ln4M)}\ge n^{1/(j+2)} \tag*{(3)} 4 ( 1 + ln 4 M ) 2 M − 1 ≥ n 1/ ( j + 2 ) (3) for all n ≥ 2 406 n\ge2^{406} n ≥ 2 406 if k = 3 k=3 k = 3 , and for all n ≥ 2 201 n\ge2^{201} n ≥ 2 201 if k ≥ 4 k\ge4 k ≥ 4 .
Proof. Write X : = log n X:=\log n X := log n and let f j ( X ) f_j(X) f j ( X ) be the base-2 logarithm of the left side of (A.1) minus X / ( j + 2 ) X/(j+2) X / ( j + 2 ) . Since log M = ( X − j ) / ( j + 1 ) \log M=(X-j)/(j+1) log M = ( X − j ) / ( j + 1 ) , we have
d d X log ( 2 M − 1 ) ≥ 1 j + 1 \frac{d}{dX}\log(2M-1)\ge\frac{1}{j+1} d X d log ( 2 M − 1 ) ≥ j + 1 1
and
d d X log ( 1 + ln 4 M ) = 1 ( j + 1 ) ( 1 + ln 4 M ) , \frac{d}{dX}\log(1+\ln4M)=\frac{1}{(j+1)(1+\ln4M)}, d X d log ( 1 + ln 4 M ) = ( j + 1 ) ( 1 + ln 4 M ) 1 ,
so
f j ′ ( X ) ≥ 1 j + 1 ( 1 j + 2 − 1 1 + ln 4 M ) . f_j'(X)\ge\frac{1}{j+1}\left(\frac{1}{j+2}-\frac{1}{1+\ln4M}\right). f j ′ ( X ) ≥ j + 1 1 ( j + 2 1 − 1 + ln 4 M 1 ) .
which is nonnegative once 1 + ln 4 M ≥ j + 2 1+\ln4M\ge j+2 1 + ln 4 M ≥ j + 2 . In the ranges below, log M ≥ 39 \log M\ge39 log M ≥ 39 (in particular M ≥ 2 M\ge2 M ≥ 2 ) and j ≤ 7 j\le7 j ≤ 7 , so this holds, and f j f_j f j is non-decreasing in X X X . It therefore suffices to check f j ≥ 0 f_j\ge0 f j ≥ 0 for every admissible j j j at the left end of each range of n n n on which j 0 ( n ) j_0(n) j 0 ( n ) is constant (the values are rounded down):
Table A.1.
For L ≥ 7 L\ge7 L ≥ 7 we have X > tow ( L − 2 ) ≥ 2 65536 X>\operatorname{tow}(L-2)\ge2^{65536} X > tow ( L − 2 ) ≥ 2 65536 and L + 3 ≤ log X L+3\le\log X L + 3 ≤ log X , so log M = ( X − j ) / ( j + 1 ) ≥ 1 \log M=(X-j)/(j+1)\ge1 log M = ( X − j ) / ( j + 1 ) ≥ 1 . The left side of (A.1) is at least M / ( 4 ( 1 + ln 4 n ) ) M/(4(1+\ln4n)) M / ( 4 ( 1 + ln 4 n )) , as in (2) , so f j ( X ) ≥ X j + 1 − log ( 4 ( 1 + ln 4 n ) ) − X j + 2 ≥ X ( log X ) 2 − 1 − 2 log X f_j(X)\ge\frac{X}{j+1}-\log(4(1+\ln4n))-\frac{X}{j+2}\ge\frac{X}{(\log X)^2}-1-2\log X f j ( X ) ≥ j + 1 X − log ( 4 ( 1 + ln 4 n )) − j + 2 X ≥ ( l o g X ) 2 X − 1 − 2 log X , which is positive. ▫
The thresholds cannot be halved: inequality (A.1) fails at n = 2 405 n=2^{405} n = 2 405 for j = 6 j=6 j = 6 , and at n = 2 200 n=2^{200} n = 2 200 for j = 4 j=4 j = 4 . However, the proof of Theorem 1.1 uses the least j j j with ∣ P j ( k ) ∣ ≥ n |P_j(k)|\ge n ∣ P j ( k ) ∣ ≥ n ; for k = 3 k=3 k = 3 this is j = 5 j=5 j = 5 whenever 8 569 < n < 2 235 8\,569<n<2^{235} 8 569 < n < 2 235 , since P 4 ( 3 ) P_4(3) P 4 ( 3 ) has an antichain of 235 elements, and for j = 5 j=5 j = 5 the left side of (A.1) is at least n 1 / 8 n^{1/8} n 1/8 once log n ≥ 146 \log n\ge146 log n ≥ 146 . We computed the table and these facts by a program, for every integer log n \log n log n up to 65536.
Smaller explicit instances and exact small cases
The pigeonhole in step 3 of Construction 6.1 assumes that a block may use any of K − 1 K-1 K − 1 colors. Below the top vertex v t v_t v t fewer colors are available, because every presented vertex below v t v_t v t sees the t − 1 t-1 t − 1 distinct induced colors of v 1 , … , v t − 1 v_1,\ldots,v_{t-1} v 1 , … , v t − 1 , and the blocks can shrink accordingly. This changes the size bounds of Table 2 by a constant factor, about ( j + 1 ) ( j + 2 ) / 2 (j+1)(j+2)/2 ( j + 1 ) ( j + 2 ) /2 , but not the exponent (Table 3 ).
Table 3. Size bounds of the two adversaries, computed exactly from the formulas.
For 1 ≤ t ≤ K 1\le t\le K 1 ≤ t ≤ K put D j ( t ) : = K − t D_j(t):=K-t D j ( t ) := K − t , the post-degree of v t v_t v t , and for ℓ = j , … , 1 \ell=j,\ldots,1 ℓ = j , … , 1
b ℓ ( t ) : = ( K − t ) ( D ℓ ( t ) − 1 ) + 1 , D ℓ − 1 ( t ) : = max t < t ′ ≤ K b ℓ ( t ′ ) b_\ell(t):=(K-t)(D_\ell(t)-1)+1,\qquad D_{\ell-1}(t):=\max_{t<t'\le K}b_\ell(t') b ℓ ( t ) := ( K − t ) ( D ℓ ( t ) − 1 ) + 1 , D ℓ − 1 ( t ) := t < t ′ ≤ K max b ℓ ( t ′ )
with the maximum of the empty set equal to 0 0 0 . Since b ℓ ( t ) b_\ell(t) b ℓ ( t ) is non-increasing in t t t , this is D ℓ − 1 ( t ) = b ℓ ( t + 1 ) D_{\ell-1}(t)=b_\ell(t+1) D ℓ − 1 ( t ) = b ℓ ( t + 1 ) for t < K t<K t < K and D ℓ − 1 ( K ) = 0 D_{\ell-1}(K)=0 D ℓ − 1 ( K ) = 0 . Let A ′ A' A ′ be the adversary of Theorem 6.4 in which every block of a node of level ℓ \ell ℓ below v t v_t v t has b ℓ ( t ) b_\ell(t) b ℓ ( t ) nodes and every reserve of such a node has size D ℓ ( t ) D_\ell(t) D ℓ ( t ) . Below v K v_K v K , where the post-degree is 0 0 0 , every block is a single node, its reserve is empty, and col \operatorname{col} col is the color of that node.
Proposition B.1 (smaller blocks). If ∣ P j ( k ) ∣ ≥ K |P_j(k)|\ge K ∣ P j ( k ) ∣ ≥ K , then A ′ A' A ′ forces K K K colors on k k k -colorable graphs, and every play has at most ∑ t = 1 K ∏ ℓ = 1 j b ℓ ( t ) \sum_{t=1}^{K}\prod_{\ell=1}^{j}b_\ell(t) ∑ t = 1 K ∏ ℓ = 1 j b ℓ ( t ) vertices.
Proof. Colorability is unchanged, because Lemma 5.2 does not depend on the block sizes. For forcing, the proofs of Lemmas 6.2 and 6.3 apply once steps 1 and 3 of Construction 6.1 are possible with the new sizes. We check step 3 block by block, in the order of completion and while fewer than K K K colors are in use, assuming it for all earlier blocks, so that every server taken so far has the induced color of its node. By induction down the levels, every node below v t v_t v t has exactly one server below each v s v_s v s with s < t s<t s < t among its earlier neighbors, and that server has induced color col ( v s ) \operatorname{col}(v_s) col ( v s ) . These t − 1 t-1 t − 1 colors are distinct and in use, so the induced colors of a block below v t v_t v t lie in a set of at most K − t K-t K − t colors, and ( K − t ) ( D − 1 ) + 1 (K-t)(D-1)+1 ( K − t ) ( D − 1 ) + 1 nodes contain D D D nodes of one color. For step 1, a node of level ℓ − 1 \ell-1 ℓ − 1 below v t v_t v t serves at most one block, which lies below some v t ′ v_{t'} v t ′ with t ′ > t t'>t t ′ > t and has b ℓ ( t ′ ) ≤ D ℓ − 1 ( t ) b_\ell(t')\le D_{\ell-1}(t) b ℓ ( t ′ ) ≤ D ℓ − 1 ( t ) nodes, so a reserve of D ℓ − 1 ( t ) D_{\ell-1}(t) D ℓ − 1 ( t ) nodes suffices; the reserve of v t v_t v t itself needs D j ( t ) = K − t D_j(t)=K-t D j ( t ) = K − t elements. The vertex bound counts every block completely. □ \square □
A cheaper top. The flow adversary of Theorem D.2 forces K K K colors on K 2 K − 2 K_{2K-2} K 2 K − 2 blown up once, with a block of max ( 1 , d ) \max(1,d) max ( 1 , d ) vertices for every vertex of post-degree d d d . Used as the top level instead of a clique, it lowers the post-degree that the first reservation blow-up has to serve from about K 2 K^2 K 2 to 2 K 2K 2 K .
Corollary B.2 (a cheaper top). Let K ≥ 3 K\ge3 K ≥ 3 and j ≥ 1 j\ge1 j ≥ 1 with 2 K − 2 ≤ ∣ P j ( k ) ∣ 2K-2\le|P_j(k)| 2 K − 2 ≤ ∣ P j ( k ) ∣ . Running the flow adversary of Theorem D.2 on K 2 K − 2 K_{2K-2} K 2 K − 2 and then j − 1 j-1 j − 1 reservation blow-ups below it gives an adversary that forces K K K colors on k k k -colorable graphs with at most 2 j K ( j 2 + j + 2 ) / 2 2^jK^{(j^2+j+2)/2} 2 j K ( j 2 + j + 2 ) /2 vertices.
Proof. With m = 2 K − 2 m=2K-2 m = 2 K − 2 and blocks of sizes max ( 1 , m − t ) \max(1,m-t) max ( 1 , m − t ) , the flow adversary forces ⌊ m / 2 ⌋ + 1 = K \lfloor m/2\rfloor+1=K ⌊ m /2 ⌋ + 1 = K colors with ( m 2 ) + 1 ≤ 2 K 2 \binom{m}{2}+1\le2K^2 ( 2 m ) + 1 ≤ 2 K 2 vertices. A vertex of σ ( v s ) \sigma(v_s) σ ( v s ) serves at most one arc v s → v t v_s\to v_t v s → v t , and then it is joined to the max ( 1 , m − t ) ≤ 2 K − 4 \max(1,m-t)\le2K-4 max ( 1 , m − t ) ≤ 2 K − 4 vertices of σ ( v t ) \sigma(v_t) σ ( v t ) , since t ≥ 2 t\ge2 t ≥ 2 ; so the post-degree is at most D = 2 K − 4 D=2K-4 D = 2 K − 4 . Its final graph is a reservation blow-up of K m K_m K m , which maps to Tmpl ( P j − 1 ( k ) ) \operatorname{Tmpl}(P_{j-1}(k)) Tmpl ( P j − 1 ( k )) by Lemma 5.1 (i) and Lemma 5.2 , because m ≤ ∣ P j ( k ) ∣ m\le|P_j(k)| m ≤ ∣ P j ( k ) ∣ . Apply j − 1 j-1 j − 1 reservation blow-ups (Lemma 6.3 ); by Lemma 5.2 the final graphs are k k k -colorable. The block sizes are b 1 ′ = ( K − 1 ) ( D − 1 ) + 1 ≤ 2 K 2 b'_1=(K-1)(D-1)+1\le2K^2 b 1 ′ = ( K − 1 ) ( D − 1 ) + 1 ≤ 2 K 2 and then at most K K K times the previous one, so the size is at most 2 K 2 ∏ i = 1 j − 1 2 K i + 1 = 2 j K ( j 2 + j + 2 ) / 2 2K^2\prod_{i=1}^{j-1}2K^{i+1}=2^jK^{(j^2+j+2)/2} 2 K 2 ∏ i = 1 j − 1 2 K i + 1 = 2 j K ( j 2 + j + 2 ) /2 .
At the same j j j the exponent is smaller by j j j than the ( j + 1 ) ( j + 2 ) / 2 (j+1)(j+2)/2 ( j + 1 ) ( j + 2 ) /2 of Theorem 6.4 : for example 8 colors on 3-colorable graphs with at most 92 ⋅ 78 = 7 176 92\cdot78=7\,176 92 ⋅ 78 = 7 176 vertices instead of 88,796, and 10 colors with 20,944 instead of 426,394. The corollary needs 2 K − 2 ≤ ∣ P j ( k ) ∣ 2K-2\le|P_j(k)| 2 K − 2 ≤ ∣ P j ( k ) ∣ rather than K ≤ ∣ P j ( k ) ∣ K\le|P_j(k)| K ≤ ∣ P j ( k ) ∣ , however, and when this costs an extra level it is larger: 7 colors need j = 2 j=2 j = 2 and 3,685 vertices against 187 with one level, and 18 colors need j = 3 j=3 j = 3 and about 2.7 ⋅ 10 9 2.7\cdot10^9 2.7 ⋅ 1 0 9 vertices against 21,464,626. Asymptotically the switch costs at most one level, and the term ( log ∗ n ) 2 (\log^* n)^2 ( log ∗ n ) 2 is unchanged.
Exact small cases
To see how far these instances are from optimal, recall that N k ( c ) N_k(c) N k ( c ) is the least number of vertices with which an adversary forces c c c colors on k k k -colorable graphs.
Lemma B.3 (two vertices per color). For c ≥ k c\ge k c ≥ k , N k ( c ) ≥ 2 c − k N_k(c)\ge2c-k N k ( c ) ≥ 2 c − k .
Proof. Let the algorithm play First-Fit. If { y a } \{y_a\} { y a } and { y b } \{y_b\} { y b } , a < b a<b a < b , are color classes that consist of a single vertex, then when y b y_b y b was colored, color a a a was present on a neighbor of y b y_b y b , which can only be y a y_a y a . Hence the singleton color classes form a clique, and there are at most k k k of them. Every other color class has at least two vertices, so c c c colors need at least s + 2 ( c − s ) ≥ 2 c − k s+2(c-s)\ge2c-k s + 2 ( c − s ) ≥ 2 c − k vertices, where s ≤ k s\le k s ≤ k is the number of singletons.
Proposition B.4 (exact values). For 3 ≤ c ≤ 9 3\le c\le9 3 ≤ c ≤ 9 we have N 3 ( c ) = 2 c − 3 N_3(c)=2c-3 N 3 ( c ) = 2 c − 3 , and N 3 ( 10 ) ≥ 17 N_3(10)\ge17 N 3 ( 10 ) ≥ 17 . For k ≤ c ≤ c k k\le c\le c_k k ≤ c ≤ c k with ( k , c k ) = ( 4 , 10 ) , ( 5 , 12 ) , ( 6 , 13 ) (k,c_k)=(4,10),(5,12),(6,13) ( k , c k ) = ( 4 , 10 ) , ( 5 , 12 ) , ( 6 , 13 ) , N k ( c ) = 2 c − k N_k(c)=2c-k N k ( c ) = 2 c − k .
The lower bounds are Lemma B.3 . The upper bounds are computer-assisted: adversary strategies (for N 3 ( 9 ) ≤ 15 N_3(9)\le15 N 3 ( 9 ) ≤ 15 a DAG of 2,863 positions) found by exhaustive game search and replayed from scratch by an independent checker, which verifies k k k -colorability after every move and that every list of answers is exactly the set of legal answers. A second search with a different representation reproduces N 3 ( c ) = 2 c − 3 N_3(c)=2c-3 N 3 ( c ) = 2 c − 3 for c ≤ 8 c\le8 c ≤ 8 , and all thirty strategies are verified in Lean by a checker that is proved sound and is evaluated in the kernel.
For k = 3 k=3 k = 3 and c ≤ 9 c\le9 c ≤ 9 , the best adversaries therefore force colors at the First-Fit rate of two vertices per color, while the adversary of Theorem 6.4 needs 187 vertices for 7 colors, and the refined one of Proposition B.1 needs 77, against the optimum 11. The regime N 3 ( c ) = 2 c − 3 N_3(c)=2c-3 N 3 ( c ) = 2 c − 3 must end, since Kierstead’s algorithm gives N 3 ( c ) ≥ c 3 / 2 − o ( 1 ) N_3(c)\ge c^{3/2-o(1)} N 3 ( c ) ≥ c 3/2 − o ( 1 ) [22, Thm. 1.6.
Oblivious blow-ups
This appendix shows how the reservations of § 6 can be made oblivious. The result is a version of Theorem 1.2 that holds with probability 1 − ε 1-\varepsilon 1 − ε against randomized algorithms, at the price of a factor O ( log n ) O(\log n) O ( log n ) ; Corollary 8.6 gives a stronger bound with the same guarantee, and the oblivious construction also gives the small explicit instances of Appendix § 15 .§ 5 . Against a randomized algorithm the input is fixed in advance, so the adversary cannot reserve vertices of the popular color of a block. It replaces the reserved vertex by a hidden random index class : every vertex of a block gets a uniformly random index, and the vertices with index a a a serve the a a a -th later neighbor. If the popular color of the block occurs in every index class, then the block of every later neighbor sees that color, as if it had been reserved. This is Li’s random-index device [28 Lemma A.4] , applied to single vertices instead of bipartite gadgets. Colorability needs no change, because Lemma 5.2 allows any number of servers per arc. The new requirement is that the popular color must meet every index class, and this costs a factor O ( log n ) O(\log n) O ( log n ) in the block sizes.
The oblivious blow-up
Construction C.1 (oblivious blow-up OB R ( H ) \operatorname{OB}_{R}(\mathcal{H}) OB R ( H ) ). Let H \mathcal{H} H be a distribution over ordered graphs on exactly N N N vertices v 1 , … , v N v_1,\ldots,v_N v 1 , … , v N , and let δ : [ N ] → N \delta:[N]\to\mathbb{N} δ : [ N ] → N depend on the position only, with d H + ( v m ) ≤ δ ( m ) d_H^+(v_m)\le\delta(m) d H + ( v m ) ≤ δ ( m ) for every H H H in the support, where d H + d_H^+ d H + is the post-degree. Sample H ∼ H H\sim\mathcal{H} H ∼ H . For m = 1 , … , N m=1,\ldots,N m = 1 , … , N , present a block σ ( v m ) \sigma(v_m) σ ( v m ) of R ≥ 1 R\ge1 R ≥ 1 new vertices. Each x ∈ σ ( v m ) x\in\sigma(v_m) x ∈ σ ( v m ) receives a hidden index idx ( x ) \operatorname{idx}(x) idx ( x ) , uniform on [ δ ( m ) ] [\delta(m)] [ δ ( m )] and independent of everything else (no index if δ ( m ) = 0 \delta(m)=0 δ ( m ) = 0 ). Each vertex of σ ( v m ) \sigma(v_m) σ ( v m ) is joined to the whole index class
I ( w , a ) : = { x ∈ σ ( w ) : idx ( x ) = a } I(w,a):=\{x\in\sigma(w):\operatorname{idx}(x)=a\} I ( w , a ) := { x ∈ σ ( w ) : idx ( x ) = a }
for every earlier neighbor w w w of v m v_m v m in H H H , where v m v_m v m is the a a a -th later neighbor of w w w .
Every outcome is a blow-up of H H H in the sense of Definition 4.6 : a vertex x x x serves the arc to the idx ( x ) \operatorname{idx}(x) idx ( x ) -th later neighbor of its block’s vertex, if that neighbor exists. The input never depends on the colors, so OB R ( H ) \operatorname{OB}_{R}(\mathcal{H}) OB R ( H ) is a distribution over ordered graphs on exactly N R NR N R vertices. A vertex of σ ( v m ) \sigma(v_m) σ ( v m ) has post-degree at most R R R if δ ( m ) ≥ 1 \delta(m)\ge1 δ ( m ) ≥ 1 and 0 0 0 otherwise, again a function of the position.
Lemma C.2 (forcing survives an oblivious blow-up). Let K ≥ 2 K\ge2 K ≥ 2 and ε ≥ 0 \varepsilon\ge0 ε ≥ 0 , and suppose that
(a) every H H H in the support of H \mathcal{H} H maps to Tmpl ( J ∗ ( P ) ) \operatorname{Tmpl}(J^*(P)) Tmpl ( J ∗ ( P )) ;
(b) every deterministic online algorithm uses at least K K K colors on H ∼ H H\sim\mathcal{H} H ∼ H with probability at least ρ \rho ρ ;
(c) ∑ m = 1 N δ ( m ) ( 1 − 1 δ ( m ) ) ⌈ R / ( K − 1 ) ⌉ ≤ ε \sum_{m=1}^{N}\delta(m)\left(1-\frac{1}{\delta(m)}\right)^{\lceil R/(K-1)\rceil}\le\varepsilon ∑ m = 1 N δ ( m ) ( 1 − δ ( m ) 1 ) ⌈ R / ( K − 1 )⌉ ≤ ε , where terms with δ ( m ) = 0 \delta(m)=0 δ ( m ) = 0 are 0 0 0 .
Then every graph in the support of OB R ( H ) \operatorname{OB}_{R}(\mathcal{H}) OB R ( H ) maps to Tmpl ( P ) \operatorname{Tmpl}(P) Tmpl ( P ) , and every deterministic online algorithm uses at least K K K colors on OB R ( H ) \operatorname{OB}_{R}(\mathcal{H}) OB R ( H ) with probability at least ρ − ε \rho-\varepsilon ρ − ε .
Condition (c) holds trivially if every δ ( m ) \delta(m) δ ( m ) is 0 0 0 , and otherwise in particular if N D exp ( − R / ( ( K − 1 ) D ) ) ≤ ε ND\exp(-R/((K-1)D))\le\varepsilon N D exp ( − R / (( K − 1 ) D )) ≤ ε with D = max m δ ( m ) D=\max_m\delta(m) D = max m δ ( m ) , because ( 1 − 1 / x ) c ≤ e − c / x (1-1/x)^c\le e^{-c/x} ( 1 − 1/ x ) c ≤ e − c / x and x e − c / x xe^{-c/x} x e − c / x is increasing in x x x .
Proof. Labels. Every outcome is a blow-up of H H H , so Lemma 5.2 applies.
Forcing. The proof compares Alg with an algorithm for the inner graph that uses the popular colors, and shows that the comparison fails only if some index class misses its popular color. Fix a deterministic algorithm Alg for the presented graph, and let ι \iota ι be the family of all indices; H H H and ι \iota ι are independent. For m ≤ N m\le N m ≤ N let π ( v m ) \pi(v_m) π ( v m ) be the color that Alg uses most often on σ ( v m ) \sigma(v_m) σ ( v m ) (ties to the least color), and consider the events
C m : = { every class I ( v m , a ) , a ∈ [ δ ( m ) ] , contains a vertex of color π ( v m ) } , C_m:=\{\text{every class }I(v_m,a),\ a\in[\delta(m)],\text{ contains a vertex of color }\pi(v_m)\}, C m := { every class I ( v m , a ) , a ∈ [ δ ( m )] , contains a vertex of color π ( v m )} ,
T m : = { Alg has used at least K colors by the end of σ ( v m ) } , E m : = ¬ T m ∧ ¬ C m . T_m:=\{\text{Alg has used at least }K\text{ colors by the end of }\sigma(v_m)\},\qquad E_m:=\neg T_m\wedge\neg C_m. T m := { Alg has used at least K colors by the end of σ ( v m )} , E m := ¬ T m ∧ ¬ C m .
Step 1: Pr ( E m ) ≤ δ ( m ) ( 1 − 1 / δ ( m ) ) ⌈ R / ( K − 1 ) ⌉ \Pr(E_m)\le\delta(m)(1-1/\delta(m))^{\lceil R/(K-1)\rceil} Pr ( E m ) ≤ δ ( m ) ( 1 − 1/ δ ( m ) ) ⌈ R / ( K − 1 )⌉ . Condition on H H H and on the indices of σ ( v 1 ) , … , σ ( v m − 1 ) \sigma(v_1),\ldots,\sigma(v_{m-1}) σ ( v 1 ) , … , σ ( v m − 1 ) . The edges presented up to the end of σ ( v m ) \sigma(v_m) σ ( v m ) depend only on these, because the classes joined to σ ( v m ) \sigma(v_m) σ ( v m ) lie in earlier blocks. Hence the coloring of σ ( v m ) \sigma(v_m) σ ( v m ) , and with it π ( v m ) \pi(v_m) π ( v m ) and T m T_m T m , are fixed. If T m T_m T m holds, E m E_m E m is impossible. Otherwise σ ( v m ) \sigma(v_m) σ ( v m ) carries at most K − 1 K-1 K − 1 colors, so at least c : = ⌈ R / ( K − 1 ) ⌉ c:=\lceil R/(K-1)\rceil c := ⌈ R / ( K − 1 )⌉ of its vertices have color π ( v m ) \pi(v_m) π ( v m ) , and their indices are still independent and uniform on [ δ ( m ) ] [\delta(m)] [ δ ( m )] . All of them miss a fixed index a a a with probability at most ( 1 − 1 / δ ( m ) ) c (1 - 1/\delta(m))^c ( 1 − 1/ δ ( m ) ) c ; now sum over a a a .
Step 2: a simulated inner algorithm. For each fixed ι \iota ι we define a deterministic online algorithm Alg ι ′ \operatorname{Alg}'_{\iota} Alg ι ′ for the inner graph. It must be defined on every ordered graph, not only on the support of H \mathcal{H} H ; on an input with more than N N N vertices it gives v m v_m v m the color ( 1 , m ) (1,m) ( 1 , m ) defined below for every m > N m > N m > N . When v m v_m v m arrives, Alg ι ′ \operatorname{Alg}'_{\iota} Alg ι ′ knows the prefix H [ v 1 , … , v m ] H[v_1,\ldots,v_m] H [ v 1 , … , v m ] , and from it and ι \iota ι it rebuilds the presented graph up to the end of σ ( v m ) \sigma(v_m) σ ( v m ) , joining σ ( v m ) \sigma(v_m) σ ( v m ) to the class I ( w , a ) I(w,a) I ( w , a ) even when a > δ ( ℓ ) a > \delta(\ell) a > δ ( ℓ ) for w = v ℓ w = v_\ell w = v ℓ , in which case the class is empty. It runs Alg \operatorname{Alg} Alg on the rebuilt graph and gives v m v_m v m a color from one of two disjoint palettes, encoded injectively in the natural numbers (say ( 0 , q ) ↦ 2 q (0,q) \mapsto2q ( 0 , q ) ↦ 2 q and ( 1 , m ) ↦ 2 m + 1 (1,m) \mapsto2m+1 ( 1 , m ) ↦ 2 m + 1 ):
col ( v m ) : = { ( 0 , π ( v m ) ) if m is not switched , ( 1 , m ) if m is switched . \operatorname{col}(v_m) :=
\begin{cases}
(0,\pi(v_m)) & \text{if } m \text{ is not switched},\\
(1,m) & \text{if } m \text{ is switched}.
\end{cases} col ( v m ) := { ( 0 , π ( v m )) ( 1 , m ) if m is not switched , if m is switched .
Here “m m m is switched” means that T m T_m T m holds, or that C ℓ C_\ell C ℓ fails for some ℓ ≤ m \ell\le m ℓ ≤ m , or that some v ℓ v_\ell v ℓ with ℓ < m \ell< m ℓ < m has more than δ ( ℓ ) \delta(\ell) δ ( ℓ ) later neighbors in H [ v 1 , … , v m ] H[v_1,\ldots,v_m] H [ v 1 , … , v m ] . The algorithm can decide this from the prefix, because ι \iota ι is a fixed parameter, and switching is monotone in m m m . The coloring is proper on every input. Let w = v ℓ → v m w = v_\ell\to v_m w = v ℓ → v m be an arc, with v m v_m v m the a a a -th later neighbor of w w w . If m m m is switched, col ( v m ) = ( 1 , m ) \operatorname{col}(v_m) = (1,m) col ( v m ) = ( 1 , m ) , and this color is given to no other vertex. Otherwise ℓ \ell ℓ is not switched either, so col ( w ) = ( 0 , π ( w ) ) \operatorname{col}(w) = (0,\pi(w)) col ( w ) = ( 0 , π ( w )) , the event C ℓ C_\ell C ℓ holds, and a ≤ δ ( ℓ ) a \le\delta(\ell) a ≤ δ ( ℓ ) . The class I ( w , a ) I(w,a) I ( w , a ) then contains a vertex of color π ( w ) \pi(w) π ( w ) , every vertex of σ ( v m ) \sigma(v_m) σ ( v m ) is adjacent to it, and π ( v m ) \pi(v_m) π ( v m ) , being the color of a vertex of σ ( v m ) \sigma(v_m) σ ( v m ) , differs from π ( w ) \pi(w) π ( w ) . The tags make the colors of switched vertices new without any knowledge of the colors that Alg \operatorname{Alg} Alg will use later.
Step 3: comparison. Let H H H be in the support of H \mathcal{H} H , so that its post-degrees are at most δ \delta δ . If Alg \operatorname{Alg} Alg uses at most K − 1 K-1 K − 1 colors in total and no E m E_m E m occurs, then no T m T_m T m holds, every C m C_m C m holds, nothing is switched, and every color of Alg ι ′ \operatorname{Alg}'_{\iota} Alg ι ′ has the form ( 0 , q ) (0,q) ( 0 , q ) for a color q q q of Alg \operatorname{Alg} Alg , so Alg ι ′ \operatorname{Alg}'_{\iota} Alg ι ′ uses at most as many colors as Alg \operatorname{Alg} Alg . Hence
{ Alg ι ′ uses at least K colors } ⊆ { Alg uses at least K colors } ∪ ⋃ m E m . \{\operatorname{Alg}'_{\iota}\text{ uses at least }K\text{ colors}\}
\subseteq
\{\operatorname{Alg}\text{ uses at least }K\text{ colors}\}
\cup\bigcup_m E_m. { Alg ι ′ uses at least K colors } ⊆ { Alg uses at least K colors } ∪ m ⋃ E m .
By (b), applied to each Alg ι ′ \operatorname{Alg}'_{\iota} Alg ι ′ , and by the independence of H H H and ι \iota ι , the left-hand event has probability at least ρ \rho ρ . By Step 1 and (c), Pr ( ⋃ m E m ) ≤ ε \Pr(\bigcup_m E_m) \le\varepsilon Pr ( ⋃ m E m ) ≤ ε .
The simulated algorithm uses the indices of σ ( v m ) \sigma(v_m) σ ( v m ) only through the switch, as a fixed parameter; the graph it rebuilds depends only on earlier indices. The real algorithm does learn the classes of earlier blocks once they are used, but this is harmless, because C m C_m C m is decided by the indices of σ ( v m ) \sigma(v_m) σ ( v m ) , which are independent of everything the algorithm has seen when it colors σ ( v m ) \sigma(v_m) σ ( v m ) .
Putting things together
Theorem C.3 (iterated oblivious blow-ups). Let k ≥ 2 k \ge2 k ≥ 2 , K ≥ 2 K \ge2 K ≥ 2 , j ≥ 1 j \ge1 j ≥ 1 with ∣ P j ( k ) ∣ ≥ K |P_j(k)| \ge K ∣ P j ( k ) ∣ ≥ K , and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) . Put N j = K N_j = K N j = K and D j = K − 1 D_j = K-1 D j = K − 1 , and for ℓ = j , … , 1 \ell= j,\ldots,1 ℓ = j , … , 1 choose positive integers b ℓ b_\ell b ℓ and put N ℓ − 1 = N ℓ b ℓ N_{\ell-1} = N_\ell b_\ell N ℓ − 1 = N ℓ b ℓ and D ℓ − 1 = b ℓ D_{\ell-1} = b_\ell D ℓ − 1 = b ℓ . If
∑ ℓ = 1 j N ℓ D ℓ exp ( − b ℓ ( K − 1 ) D ℓ ) ≤ ε , (4) \sum_{\ell=1}^{j} N_\ell D_\ell\exp\left(-\frac{b_\ell}{(K-1)D_\ell}\right) \le\varepsilon, \tag*{(4)} ℓ = 1 ∑ j N ℓ D ℓ exp ( − ( K − 1 ) D ℓ b ℓ ) ≤ ε , (4) then there is a distribution over ordered k k k -colorable graphs on exactly N 0 N_0 N 0 vertices on which every deterministic online algorithm uses at least K K K colors with probability at least 1 − ε 1-\varepsilon 1 − ε .
Proof. Let H j \mathcal{H}_j H j be the point mass on the arrival-ordered clique K K K_K K K , and let H ℓ − 1 : = OB b ℓ ( H ℓ ) \mathcal{H}_{\ell-1} := \operatorname{OB}_{b_\ell}(\mathcal{H}_\ell) H ℓ − 1 := OB b ℓ ( H ℓ ) with δ = D ℓ \delta= D_\ell δ = D ℓ . This is a valid bound, because post-degrees are at most K − 1 K-1 K − 1 in K K K_K K K and at most b ℓ b_\ell b ℓ after the blow-up with blocks of size b ℓ b_\ell b ℓ . The clique maps to Tmpl ( P j ( k ) ) \operatorname{Tmpl}(P_j(k)) Tmpl ( P j ( k )) by Lemma 5.1 (i) and forces K K K colors with probability 1 1 1 . Apply Lemma C.2 once per level, with the sufficient condition for (c) stated after it. By (C.1) the losses add up to at most ε \varepsilon ε , and the graphs of H 0 \mathcal{H}_0 H 0 are k k k -colorable.
Corollary C.4 (high probability). Let n ≥ 3 n \ge3 n ≥ 3 , ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , L = log ∗ n L = \log^* n L = log ∗ n , and Λ n = ⌈ ln ( ( L + 1 ) n 2 / ε ) ⌉ \Lambda_n = \lceil\ln((L+1)n^2/\varepsilon)\rceil Λ n = ⌈ ln (( L + 1 ) n 2 / ε )⌉ . For k = 3 k=3 k = 3 , put K : = ⌊ n 2 / ( ( L + 2 ) ( L + 3 ) ) / Λ n ⌋ K := \lfloor n^{2/((L+2)(L+3))}/\Lambda_n\rfloor K := ⌊ n 2/ (( L + 2 ) ( L + 3 )) / Λ n ⌋ , and for k ≥ 4 k \ge4 k ≥ 4 , put K : = ⌊ n 2 / ( L ( L + 1 ) ) / Λ n ⌋ K := \lfloor n^{2/(L(L+1))}/\Lambda_n\rfloor K := ⌊ n 2/ ( L ( L + 1 )) / Λ n ⌋ . There is a distribution over k k k -colorable ordered graphs on n n n vertices on which every deterministic online algorithm uses at least K K K colors with probability at least 1 − ε 1-\varepsilon 1 − ε . In particular χ k r a n d ( n ) ≥ ( 1 − ε ) K \chi_k^{\mathrm{rand}}(n) \ge(1-\varepsilon)K χ k rand ( n ) ≥ ( 1 − ε ) K .
Proof. Take j = L + 1 j=L+1 j = L + 1 and e = ( L + 2 ) ( L + 3 ) / 2 e=(L+2)(L+3)/2 e = ( L + 2 ) ( L + 3 ) /2 if k = 3 k=3 k = 3 , and j = L − 1 j=L-1 j = L − 1 and e = L ( L + 1 ) / 2 e=L(L+1)/2 e = L ( L + 1 ) /2 if k ≥ 4 k \ge4 k ≥ 4 ; in both cases e = ( j + 1 ) ( j + 2 ) / 2 e=(j+1)(j+2)/2 e = ( j + 1 ) ( j + 2 ) /2 and j ≤ L + 1 j \le L+1 j ≤ L + 1 . Let Λ = Λ n \Lambda=\Lambda_n Λ = Λ n and K = ⌊ n 1 / e / Λ ⌋ K=\lfloor n^{1/e}/\Lambda\rfloor K = ⌊ n 1/ e /Λ ⌋ ; we may assume K ≥ 2 K \ge2 K ≥ 2 , since every algorithm uses at least one color. Corollary 5.7 , applied to n n n , gives ∣ P j ( k ) ∣ ≥ n ≥ K |P_j(k)| \ge n \ge K ∣ P j ( k ) ∣ ≥ n ≥ K . Choose b ℓ : = ( K − 1 ) D ℓ Λ b_\ell:= (K-1)D_\ell\Lambda b ℓ := ( K − 1 ) D ℓ Λ . Then b ℓ ≤ M D ℓ b_\ell\le MD_\ell b ℓ ≤ M D ℓ with M : = K Λ M:=K\Lambda M := K Λ , so D ℓ ≤ M j − ℓ + 1 D_\ell\le M^{j-\ell+1} D ℓ ≤ M j − ℓ + 1 and
N 0 = K ∏ ℓ = 1 j b ℓ ≤ K ⋅ M ∑ ℓ = 1 j ( j − ℓ + 2 ) ≤ M ( j + 1 ) ( j + 2 ) / 2 = ( K Λ ) e ≤ n . N_0=K\prod_{\ell=1}^{j}b_\ell\le K\cdot M^{\sum_{\ell=1}^{j}(j-\ell+2)}\le M^{(j+1)(j+2)/2}=(K\Lambda)^e\le n. N 0 = K ℓ = 1 ∏ j b ℓ ≤ K ⋅ M ∑ ℓ = 1 j ( j − ℓ + 2 ) ≤ M ( j + 1 ) ( j + 2 ) /2 = ( K Λ ) e ≤ n .
Every N ℓ D ℓ N_\ell D_\ell N ℓ D ℓ is at most N 0 2 ≤ n 2 N_0^2 \le n^2 N 0 2 ≤ n 2 , so each term of (C.1) is at most n 2 e − Λ ≤ ε / ( L + 1 ) ≤ ε / j n^2e^{-\Lambda}\le\varepsilon/(L+1)\le\varepsilon/j n 2 e − Λ ≤ ε / ( L + 1 ) ≤ ε / j , and (C.1) holds. Theorem C.3 and padding with isolated vertices give the distribution, and Yao’s principle (Lemma 4.4 ) gives the last claim. □ \square □
The loss against Theorem 1.2 is a single factor Λ n = O ( log ( n / ε ) ) \Lambda_n=O(\log(n/\varepsilon)) Λ n = O ( log ( n / ε )) , not one per level, because the exponent 1 / e 1/e 1/ e applies to K K K and Λ \Lambda Λ together. Some loss is unavoidable for this construction. Consider one oblivious blow-up of K 4 K_4 K 4 with blocks of size 7, the size used by Theorem 6.4 , and with the indices of each block uniform over the actual later neighbors of its vertex (δ = 3 , 2 , 1 , 0 \delta=3,2,1,0 δ = 3 , 2 , 1 , 0 ). The adaptive adversary forces 4 colors with certainty, but against hidden indices the best deterministic algorithm uses only 3 colors with probability exactly 7343 / 23328 ≈ 0.31 7343/23328\approx0.31 7343/23328 ≈ 0.31 (exhaustive dynamic program).
Further results on the method
This appendix collects results that complement the main line: why reservations are needed, what is known about the best possible one-level adversaries, the limits of two other kinds of levels, more about the oblivious construction, and a comparison with Li’s construction. Some of these results are computer-assisted; we say so where they are stated.
Reservations are necessary
Vishwanathan’s lower bound is built from levels in which every vertex v v v of a simulated graph H H H is replaced by a gadget Γ ( v ) \Gamma(v) Γ ( v ) , a graph that contains an edge, and every vertex of Γ ( v ) \Gamma(v) Γ ( v ) is joined to a fixed selected set X ( w ) ⊆ V ( Γ ( w ) ) X(w)\subseteq V(\Gamma(w)) X ( w ) ⊆ V ( Γ ( w )) for every earlier neighbor w w w of $v; the set X ( w ) X(w) X ( w ) is nonempty whenever w w w has a later neighbor, and it is the same for all later neighbors of w w w . We call such a level reservation-free . Li’s simulation lemma is different: it reserves a private copy of a gadget for every future neighbor of a simulated vertex [28 ] , Lemma 2.5, so the proposition below does not apply to his levels. Our blow-ups keep Li’s reservation, with independent blocks.
Proposition D.1 (reservation-free levels). If the graph one level up contains a clique on s + 1 s+1 s + 1 vertices, then the graph produced by a reservation-free level contains a clique on s + 2 s+2 s + 2 vertices. Consequently, d d d reservation-free levels over any nonempty graph produce a clique on d + 1 d+1 d + 1 vertices, so a chain of k k k such levels is never k k k -colorable, and a chain of k − 1 k-1 k − 1 levels is k k k -colorable only if the graph at the top has no edge.
Proof. Let q 1 < ⋯ < q s + 1 q_1 < \cdots< q_{s+1} q 1 < ⋯ < q s + 1 be a clique one level up. For r ≤ s r \le s r ≤ s the vertex q r q_r q r has the later neighbor q s + 1 q_{s+1} q s + 1 , so X ( q r ) X(q_r) X ( q r ) is nonempty; pick y r ∈ X ( q r ) y_r \in X(q_r) y r ∈ X ( q r ) , and pick an edge u u ′ uu' u u ′ inside Γ ( q s + 1 ) \Gamma(q_{s+1}) Γ ( q s + 1 ) . For r < r ′ ≤ s r < r' \le s r < r ′ ≤ s , the vertex y r ′ y_{r'} y r ′ belongs to Γ ( q r ′ ) \Gamma(q_{r'}) Γ ( q r ′ ) and q r q_r q r is an earlier neighbor of q r ′ q_{r'} q r ′ , so y r ′ y_{r'} y r ′ is joined to X ( q r ) ∋ y r X(q_r) \ni y_r X ( q r ) ∋ y r . In the same way u u u and u ′ u' u ′ are joined to every y r y_r y r . Hence { y 1 , … , y s , u , u ′ } \{y_1,\ldots,y_s,u,u'\} { y 1 , … , y s , u , u ′ } is a clique on s + 2 s+2 s + 2 vertices. Starting from a single vertex (s = 0 s=0 s = 0 ) and applying this d d d times gives a clique on d + 1 d+1 d + 1 vertices; starting from an edge gives one on d + 2 d+2 d + 2 .
Reservation-free amplification can therefore be stacked at most k − 1 k-1 k − 1 deep, which is where the exponent k − 1 k-1 k − 1 of Vishwanathan’s bound Ω ( log k − 1 n ) \Omega(\log^{k-1} n) Ω ( log k − 1 n ) comes from: with k − 1 k-1 k − 1 levels whose amplification factors multiply to K K K , the size grows like exp ( O ( ( k − 1 ) K 1 / ( k − 1 ) ) ) \exp(O((k-1)K^{1/(k-1)})) exp ( O (( k − 1 ) K 1/ ( k − 1 ) )) , which gives K ≈ ( log n / O ( k ) ) k − 1 K \approx(\log n/O(k))^{k-1} K ≈ ( log n / O ( k ) ) k − 1 . The hypothesis that gadgets contain an edge is needed, since gadgets must force colors by themselves in these constructions; with independent blocks, as in our blow-ups, levels can be stacked without limit, and private servers keep the chromatic number under control.
One level with minimal blocks
Theorem 8.5 loses a logarithmic factor at every number of levels. At a single level and with even smaller blocks, a deterministic adversary loses only a factor of 2.
Consider, for m ≥ 1 m \ge1 m ≥ 1 , reservation blow-ups of K m = ( v 1 , … , v m ) K_m=(v_1,\ldots,v_m) K m = ( v 1 , … , v m ) in which the block of v t v_t v t has b t ≥ max ( 1 , m − t ) b_t \ge\max(1,m-t) b t ≥ max ( 1 , m − t ) vertices, as small as the post-degree of v t v_t v t permits. When the block of v t v_t v t starts, the adversary picks one vertex of each earlier block that has not served yet to serve v t v_t v t ; let Forb t \operatorname{Forb}_t Forb t be the set of their colors. The algorithm must color all of σ ( v t ) \sigma(v_t) σ ( v t ) outside Forb t \operatorname{Forb}_t Forb t . With such small blocks the reservation rule of Construction 6.1 guarantees only about m \sqrt{m} m colors, since a block cannot reserve one color for every later neighbor. The following adversary forces half of the colors.
Theorem D.2 (one level, minimal blocks). There is an adversary of this form that forces ⌊ m / 2 ⌋ + 1 \lfloor m/2\rfloor+1 ⌊ m /2 ⌋ + 1 colors.
The adversary. The adversary records, for every earlier block, how many of its unused vertices of each color it intends to hand out in the remaining phases, as an integer flow from blocks to colors. Let W t : = m − t + 1 W_t:=m-t+1 W t := m − t + 1 be the number of phases t , … , m t,\ldots,m t , … , m in which every earlier block still has to supply a server, and let a s ( c ) a_s(c) a s ( c ) be the number of unused vertices of color c c c in σ ( v s ) \sigma(v_s) σ ( v s ) . The adversary keeps an integer matrix Y t Y_t Y t , with a row for each s < t s<t s < t and a column for each color, such that 0 ≤ Y t ( s , c ) ≤ min ( a s ( c ) , W t ) 0 \le Y_t(s,c) \le\min(a_s(c),W_t) 0 ≤ Y t ( s , c ) ≤ min ( a s ( c ) , W t ) and all row and column sums are at most W t W_t W t . A row or column is tight if its sum is exactly W t W_t W t , and Sat ( Y t ) \operatorname{Sat}(Y_t) Sat ( Y t ) is the set of tight columns, the saturated colors . In phase t t t the adversary does the following.
It views Y t Y_t Y t as a bipartite multigraph with ∣ Y t ∣ |Y_t| ∣ Y t ∣ edges, the sum of its entries, and maximum degree at most W t W_t W t , which by Kőnig’s edge-coloring theorem [26 ] splits into W t W_t W t matchings, each covering every tight row and column. It plays a matching M t M_t M t of at most average size, ∣ M t ∣ ≤ ∣ Y t ∣ / W t |M_t| \le|Y_t|/W_t ∣ M t ∣ ≤ ∣ Y t ∣/ W t . A block s s s matched to color c c c supplies an unused vertex of color c c c ; every other block supplies an unused vertex of some color c c c with a s ( c ) > Y t ( s , c ) a_s(c)>Y_t(s,c) a s ( c ) > Y t ( s , c ) .
After the algorithm has colored σ ( v t ) \sigma(v_t) σ ( v t ) , it keeps the rows of Y t − M t Y_t-M_t Y t − M t and adds a row for t t t that is maximal subject to Y t + 1 ( t , c ) ≤ a t ( c ) Y_{t+1}(t,c) \le a_t(c) Y t + 1 ( t , c ) ≤ a t ( c ) and to all row and column sums being at most W : = W t + 1 W:=W_{t+1} W := W t + 1 .
The potential Φ t : = ∣ Y t ∣ / W t + ∣ Sat ( Y t ) ∣ \Phi_t:=|Y_t|/W_t+|\operatorname{Sat}(Y_t)| Φ t := ∣ Y t ∣/ W t + ∣ Sat ( Y t ) ∣ counts recorded supply and saturated colors; every phase raises it by one.
Lemma D.3 (potential gain at one level). For 1 ≤ t ≤ m − 1 1 \le t \le m-1 1 ≤ t ≤ m − 1 we have Φ t + 1 ≥ Φ t + 1 \Phi_{t+1} \ge\Phi_t+1 Φ t + 1 ≥ Φ t + 1 .
Proof. Step (a) is possible. Before phase t t t the block σ ( v s ) \sigma(v_s) σ ( v s ) has b s − ( t − 1 − s ) ≥ W t b_s-(t-1-s)\ge W_t b s − ( t − 1 − s ) ≥ W t unused vertices. An unmatched row is not tight, so its sum is less than W t W_t W t , and some color has a s ( c ) > Y t ( s , c ) a_s(c)>Y_t(s,c) a s ( c ) > Y t ( s , c ) .
The matrix Y ′ : = Y t − M t Y' := Y_t-M_t Y ′ := Y t − M t satisfies the constraints with W t − 1 W_t-1 W t − 1 in place of W t W_t W t . A matched pick lowers Y ( s , c ) Y(s,c) Y ( s , c ) and a s ( c ) a_s(c) a s ( c ) together, and any other pick lowers only a count a s ( c ) a_s(c) a s ( c ) that exceeded Y ( s , c ) Y(s,c) Y ( s , c ) . Tight rows and columns lose exactly one, all other sums were already at most W t − 1 W_t-1 W t − 1 , and an entry equal to W t W_t W t is the only nonzero entry of a tight row and is therefore covered. Moreover ∣ Y ′ ∣ ≥ ∣ Y t ∣ ( 1 − 1 / W t ) |Y'|\ge|Y_t|(1-1/W_t) ∣ Y ′ ∣ ≥ ∣ Y t ∣ ( 1 − 1/ W t ) , so ∣ Y ′ ∣ / ( W t − 1 ) ≥ ∣ Y t ∣ / W t |Y'|/(W_t-1)\ge|Y_t|/W_t ∣ Y ′ ∣/ ( W t − 1 ) ≥ ∣ Y t ∣/ W t . The tight columns of Y t Y_t Y t stay tight, and every column of sum W t − 1 W_t-1 W t − 1 that M t M_t M t does not cover becomes tight; call the set of the latter N t N_t N t .
Step (b) gains one. The old rows do not change, so tight columns stay tight. If the new row t t t has sum W = W t + 1 W=W_{t+1} W = W t + 1 , then ∣ Y ′ ∣ |Y'| ∣ Y ′ ∣ grows by W W W and ∣ Y ′ ∣ / W |Y'|/W ∣ Y ′ ∣/ W grows by one. Otherwise, since b t ≥ W b_t\ge W b t ≥ W , some color c c c has Y t + 1 ( t , c ) < a t ( c ) Y_{t+1}(t,c)<a_t(c) Y t + 1 ( t , c ) < a t ( c ) , and by maximality the column of c c c is tight. The color c c c occurs in σ ( v t ) \sigma(v_t) σ ( v t ) , so c ∉ Forb t c\notin\operatorname{Forb}_t c ∈ / Forb t , and Forb t \operatorname{Forb}_t Forb t contains every tight column of Y t Y_t Y t because M t M_t M t covers them. Either c ∉ N t c\notin N_t c ∈ / N t , and the number of tight columns grows by ∣ N t ∣ + 1 |N_t|+1 ∣ N t ∣ + 1 , or c ∈ N t c\in N_t c ∈ N t , and it grows by ∣ N t ∣ ≥ 1 |N_t|\ge1 ∣ N t ∣ ≥ 1 .
Proof of Theorem D.2 . For m = 1 m=1 m = 1 there is nothing to prove. Let m ≥ 2 m\ge2 m ≥ 2 , C = ⌊ m / 2 ⌋ C=\lfloor m/2\rfloor C = ⌊ m /2 ⌋ , and suppose that the algorithm uses at most C C C colors. Column sums are at most W t W_t W t , so ∣ Y t ∣ / W t ≤ C |Y_t|/W_t\le C ∣ Y t ∣/ W t ≤ C , and if some color is not tight then ∣ Y t ∣ < C W t |Y_t|<CW_t ∣ Y t ∣ < C W t ; hence Φ t < 2 C − 1 \Phi_t<2C-1 Φ t < 2 C − 1 unless all C C C colors are tight. Since Φ 1 = 0 \Phi_1=0 Φ 1 = 0 , Lemma D.3 gives Φ 2 C ≥ 2 C − 1 \Phi_{2C}\ge2C-1 Φ 2 C ≥ 2 C − 1 , so all C C C colors are tight in phase 2 C ≤ m 2C\le m 2 C ≤ m . The matching M 2 C M_{2C} M 2 C covers all of them, Forb 2 C \operatorname{Forb}_{2C} Forb 2 C contains all C C C colors, and the first vertex of σ ( v 2 C ) \sigma(v_{2C}) σ ( v 2 C ) needs a new one.
One level, exactly
For the minimal one-level game of Appendix § 15 .§ 2 (blocks of sizes max ( 1 , m − t ) \max(1,m-t) max ( 1 , m − t ) over K m K_m K m , one server per arc), let V ( m ) V(m) V ( m ) be the largest number of colors an adversary can force. Theorem D.2 gives V ( m ) ≥ ⌊ m / 2 ⌋ + 1 V(m)\ge\lfloor m/2\rfloor+1 V ( m ) ≥ ⌊ m /2 ⌋ + 1 , First-Fit gives V ( m ) ≤ m V(m)\le m V ( m ) ≤ m , and the reservation adversary with the blocks of Proposition B.1 fits into these blocks, and is thus guaranteed to work, only for ⌊ ( 1 + 4 m − 7 ) / 2 ⌋ + 1 \lfloor(1+\sqrt{4m-7})/2\rfloor+1 ⌊( 1 + 4 m − 7 ) /2 ⌋ + 1 colors (for m ≥ 2 m\ge2 m ≥ 2 ). Exhaustive game search gives the following values.
Table 1.
The upper bounds are certified for every m m m : an algorithm strategy that survives with V ( m ) V(m) V ( m ) colors is replayed by an independent checker of the unrestricted game. The lower bounds are certified in the same way for m ≤ 9 ; f o r m\le9; for m ≤ 9 ; f or m=10$ the lower bound was obtained by two independent exhaustive searches, and m = 11 m=11 m = 11 follows by monotonicity; the whole table is also verified in Lean. The values rule out the natural guess V ( m ) = ⌊ ( 2 m + 2 ) / 3 ⌋ V(m)=\lfloor(2m+2)/3\rfloor V ( m ) = ⌊( 2 m + 2 ) /3 ⌋ at m = 11 m=11 m = 11 .
The ratio V ( m ) / m V(m)/m V ( m ) / m stays near 2 / 3 2/3 2/3 in this range, above the factor 1 / 2 1/2 1/2 of Theorem D.2 . Whether some adversary forces c m cm c m colors with small blocks at every level is open (§ 10 ).
Limits of two other kinds of levels
The top block of a one-level construction. Consider adversaries that present the clique K K K_K K K blown up once, where the adversary may use any number of servers per arc and chooses block sizes online. Let the budget b s b_s b s be the supremum, possibly infinite, of the sizes of σ ( v s ) \sigma(v_s) σ ( v s ) over all plays. The block of v 1 v_1 v 1 in Theorem 6.4 has ( K − 1 ) ( K − 2 ) + 1 (K-1)(K-2)+1 ( K − 1 ) ( K − 2 ) + 1 vertices, and this is optimal up to a factor of 2.
Theorem D.4 (top block). Every such adversary that forces K K K colors has b 1 ≥ ( K − 1 2 ) + 1 b_1 \ge\binom{K-1}{2}+1 b 1 ≥ ( 2 K − 1 ) + 1 , and more generally b s ≥ ( K − s 2 ) + 1 b_s \ge\binom{K-s}{2}+1 b s ≥ ( 2 K − s ) + 1 for 1 ≤ s ≤ K 1 \le s \le K 1 ≤ s ≤ K .
An exhaustive search over all such adversaries confirms the bound for s = 1 s=1 s = 1 and K ≤ 7 K \le7 K ≤ 7 , and for all s s s and K ≤ 6 K \le6 K ≤ 6 .
Proof. We prove b 1 ≥ ( K − 1 2 ) + 1 b_1 \ge\binom{K-1}{2}+1 b 1 ≥ ( 2 K − 1 ) + 1 . For 2 ≤ s ≤ K − 2 2 \le s \le K-2 2 ≤ s ≤ K − 2 the algorithm gives each of the first s − 1 s-1 s − 1 blocks its own color, which is proper because every edge joins two different blocks, and from block s s s on it runs the algorithm below with colors different from these; the same argument then runs with K − s + 1 K-s+1 K − s + 1 in place of K K K . For s ≥ K − 1 s \ge K-1 s ≥ K − 1 the claim is b s ≥ 1 b_s \ge1 b s ≥ 1 : First-Fit colors every block with a single color, because the vertices of a block have the same earlier neighbors, so an adversary that forces K K K colors must make all K K K blocks nonempty. The algorithm knows the adversary, which is deterministic, so it can simulate it and knows to which block each vertex belongs and which vertices of σ ( v 1 ) \sigma(v_1) σ ( v 1 ) have served. It colors σ ( v 1 ) \sigma(v_1) σ ( v 1 ) in a staircase : each new vertex gets the least color i ∈ { 1 , … , K − 2 } i \in\{1,\ldots,K-2\} i ∈ { 1 , … , K − 2 } that so far has fewer than K − 1 − i K-1-i K − 1 − i vertices. This holds ( K − 1 2 ) \binom{K-1}{2} ( 2 K − 1 ) vertices; suppose that b 1 ≤ ( K − 1 2 ) b_1 \le\binom{K-1}{2} b 1 ≤ ( 2 K − 1 ) , so that it colors all of σ ( v 1 ) \sigma(v_1) σ ( v 1 ) . Then for every r ≥ 1 r \ge1 r ≥ 1 at most max ( 0 , K − 1 − r ) \max(0,K-1-r) max ( 0 , K − 1 − r ) colors have at least r r r vertices. Let Q Q Q be the set of colors used on σ ( v 1 ) \sigma(v_1) σ ( v 1 ) . Every later block σ ( v t ) \sigma(v_t) σ ( v t ) has a single set F t F_t F t of forbidden colors, the colors of its earlier neighbors, and the algorithm colors the whole block with one color: with the color of Q Q Q that no later block has used yet, that is allowed, and that has the most vertices of σ ( v 1 ) \sigma(v_1) σ ( v 1 ) that have not served, if there is one; otherwise with the least allowed color already in use, if there is one; otherwise with a new color.
Call a color of Q Q Q fresh if no later block has used it. A fresh color occurs only in σ ( v 1 ) \sigma(v_1) σ ( v 1 ) . Let g g g be K K K minus the number of colors used so far, ρ \rho ρ the number of fresh colors, m q m_q m q the number of vertices of color q q q in σ ( v 1 ) \sigma(v_1) σ ( v 1 ) that have not served, and h ( r ) h(r) h ( r ) the number of fresh colors q q q with m q ≥ r m_q \ge r m q ≥ r . We show that the invariant
h ( r ) ≤ max ( 0 , g + ρ − 1 − r ) for all r ≥ 1 h(r) \le\max(0,g+\rho-1-r) \qquad\text{for all } r \ge1 h ( r ) ≤ max ( 0 , g + ρ − 1 − r ) for all r ≥ 1
holds throughout. Initially g + ρ = K g+\rho=K g + ρ = K , and the invariant is the staircase property. A round t ≥ 2 t \ge2 t ≥ 2 only lowers the numbers m q m_q m q of the colors shown to σ ( v t ) \sigma(v_t) σ ( v t ) , and every fresh color in F t F_t F t is shown by a vertex of σ ( v 1 ) \sigma(v_1) σ ( v 1 ) , whose m q m_q m q therefore drops by at least one. Since h ( r ) ≥ 1 h(r) \ge1 h ( r ) ≥ 1 forces g + ρ − 1 − r ≥ 1 g+\rho-1-r \ge1 g + ρ − 1 − r ≥ 1 , we may ignore the maximum. A round with an empty block colors nothing and only lowers some m q m_q m q . For a nonempty block, let U t U_t U t be the set of colors already in use that are not in F t F_t F t .
(a) The set U t U_t U t is empty. Every fresh color is forbidden, so every m q m_q m q drops, and the block takes a new color, so g g g drops by one. Hence h ′ ( r ) ≤ h ( r + 1 ) ≤ g + ρ − 2 − r = g ′ + ρ − 1 − r h'(r) \le h(r+1) \le g+\rho-2-r=g'+\rho-1-r h ′ ( r ) ≤ h ( r + 1 ) ≤ g + ρ − 2 − r = g ′ + ρ − 1 − r .
(b) The block takes a fresh color x ∈ U t x \in U_t x ∈ U t , so ρ \rho ρ drops by one; colors of U t U_t U t keep m q m_q m q and the others drop. If m x ≥ r m_x \ge r m x ≥ r , then x x x leaves the count of h ( r ) h(r) h ( r ) and nothing enters it, so h ′ ( r ) ≤ h ( r ) − 1 ≤ g + ρ ′ − 1 − r h'(r) \le h(r)-1 \le g+\rho'-1-r h ′ ( r ) ≤ h ( r ) − 1 ≤ g + ρ ′ − 1 − r . If m x < r m_x < r m x < r , then every fresh color of U t U_t U t has m q < r m_q < r m q < r by the choice of x x x , so h ′ ( r ) ≤ h ( r + 1 ) ≤ g + ρ ′ − 1 − r h'(r) \le h(r+1) \le g+\rho'-1-r h ′ ( r ) ≤ h ( r + 1 ) ≤ g + ρ ′ − 1 − r .
(c) The set U t U_t U t is nonempty but contains no fresh color. Every fresh color is forbidden, so h ′ ( r ) ≤ h ( r + 1 ) h'(r) \le h(r+1) h ′ ( r ) ≤ h ( r + 1 ) , while g g g and ρ \rho ρ do not change.
Suppose that the adversary forces K K K colors. The K K K -th color appears in a round t ∗ t^* t ∗ of type (a) with g = 1 g=1 g = 1 . There are K − ∣ Q ∣ K-|Q| K − ∣ Q ∣ rounds of type (a) among the at most K − 1 K-1 K − 1 rounds before and including t ∗ t^* t ∗ , so fewer than ∣ Q ∣ |Q| ∣ Q ∣ rounds of type (b) precede t ∗ t^* t ∗ , and ρ ≥ 1 \rho\ge1 ρ ≥ 1 . The invariant with g = 1 g=1 g = 1 and r = 1 r=1 r = 1 gives h ( 1 ) ≤ ρ − 1 h(1) \le\rho-1 h ( 1 ) ≤ ρ − 1 , so some fresh color q q q has m q = 0 m_q=0 m q = 0 . But q ∈ F t ∗ q \in F_{t^*} q ∈ F t ∗ must be shown by a vertex of σ ( v 1 ) \sigma(v_1) σ ( v 1 ) that has not served, a contradiction. □
One partial-join level. In a partial-join level the vertices of the block of v t v_t v t may have different earlier neighborhoods, all inside the reserves (monochromatic subsets) of earlier blocks, with at least one neighbor in each; forcing is then automatic once every play reaches the last block, and the question is how small a 3-colorable such level can be. One might hope that a single partial-join level gives a polynomial bound with a large exponent. It cannot give an exponent above 1/3.
Theorem D.5 (partial joins). If a partial-join level over K m K_m K m forces m m m colors, is 3-colorable in every play against every algorithm and has at most N N N vertices, then N ≥ m 3 / ( 3 ( 2 log 2 N + 1 ) ) − m 2 N \ge m^3/(3(2\log_2 N+1))-m^2 N ≥ m 3 / ( 3 ( 2 log 2 N + 1 )) − m 2 , so N ≥ m 3 − o ( 1 ) N \ge m^{3-o(1)} N ≥ m 3 − o ( 1 ) . In particular, a lower bound χ 3 e x t ( n ) ≥ n c \chi_3^{\mathrm{ext}}(n) \ge n^c χ 3 ext ( n ) ≥ n c obtained from one partial-join level over K m K_m K m for arbitrarily large m m m has c ≤ 1 / 3 c \le1/3 c ≤ 1/3 .
The theorem uses that later vertices have no neighbors outside the reserves of earlier blocks; whether it holds without this restriction is open.
Proof. Let B 1 , … , B m B_1,\ldots,B_m B 1 , … , B m be the blocks and R i ⊆ B i R_i \subseteq B_i R i ⊆ B i the reserve that the adversary selects after B i B_i B i ; its color is col ( i ) \operatorname{col}(i) col ( i ) . Every vertex of B i B_i B i has a neighbor in every earlier reserve, so the algorithm may use only colors of [ m − 1 ] [m-1] [ m − 1 ] , and block i i i has the palette [ m − 1 ] ∖ { col ( 1 ) , … , col ( i − 1 ) } [m-1]\setminus\{\operatorname{col}(1),\ldots,\operatorname{col}(i-1)\} [ m − 1 ] ∖ { col ( 1 ) , … , col ( i − 1 )} of m − i m-i m − i colors. The algorithm RR colors every block i ≤ m − 1 i\le m-1 i ≤ m − 1 round robin, giving the vertices of block i i i the colors of its palette in cyclic order. Since R i R_i R i is monochromatic, round robin forces ∣ B i ∣ ≥ ( m − i ) ( ∣ R i ∣ − 1 ) + 1 |B_i|\ge(m-i)(|R_i|-1)+1 ∣ B i ∣ ≥ ( m − i ) ( ∣ R i ∣ − 1 ) + 1 .
For i ≤ m − 1 i\le m-1 i ≤ m − 1 let R R i \mathrm{RR}_i RR i play RR up to the end of block i i i and then switch to a hub strategy. A later vertex u u u has a neighbor in R i R_i R i ; let g ( u ) g(u) g ( u ) , the hub of u u u , be its earliest one, and color u u u by the pair consisting of g ( u ) g(u) g ( u ) and the color that the algorithm of Lovász, Saks and Trotter [24 Thm. 4.2 and its proof] gives u u u inside its group { u ′ : g ( u ′ ) = g ( u ) } \{u' : g(u')=g(u)\} { u ′ : g ( u ′ ) = g ( u )} . Each group avoids the color of its hub in every 3-coloring, so it is bipartite and receives at most τ : = 2 ⌊ log 2 N ⌋ + 1 \tau:=2\lfloor\log_2 N\rfloor+1 τ := 2 ⌊ log 2 N ⌋ + 1 colors, and there are at most ∣ R i ∣ τ |R_i|\tau ∣ R i ∣ τ pairs. If ∣ R i ∣ τ ≤ m − 1 − i |R_i|\tau\le m-1-i ∣ R i ∣ τ ≤ m − 1 − i , then R R i \mathrm{RR}_i RR i maps the pairs injectively into the m − 1 − i m-1-i m − 1 − i colors of [ m − 1 ] ∖ { col ( 1 ) , … , col ( i ) } [m-1]\setminus\{\operatorname{col}(1),\ldots,\operatorname{col}(i)\} [ m − 1 ] ∖ { col ( 1 ) , … , col ( i )} , so it never uses a color outside [ m − 1 ] [m-1] [ m − 1 ] , and the adversary does not force m m m colors against it. These colors may also occur on vertices of blocks 1 , … , i 1,\ldots,i 1 , … , i outside the reserves; this is harmless because those vertices have no later neighbors. Hence an adversary that forces m m m colors has ∣ R i ∣ τ ≥ m − i |R_i|\tau\ge m-i ∣ R i ∣ τ ≥ m − i , and so ∣ R i ∣ ( 2 log 2 N + 1 ) ≥ m − i |R_i|(2\log_2 N+1)\ge m-i ∣ R i ∣ ( 2 log 2 N + 1 ) ≥ m − i . The adversary is deterministic and R R i \mathrm{RR}_i RR i agrees with RR up to the end of block i i i , so the reserve R i R_i R i of the RR-play must satisfy this bound for every i i i at once. Summing ∣ B i ∣ ≥ ( m − i ) ( ( m − i ) / ( 2 log 2 N + 1 ) − 1 ) + 1 |B_i|\ge(m-i)((m-i)/(2\log_2 N+1)-1)+1 ∣ B i ∣ ≥ ( m − i ) (( m − i ) / ( 2 log 2 N + 1 ) − 1 ) + 1 over i i i gives the bound. □ \square □
The oblivious construction
The logarithmic factor is needed. On one oblivious blow-up of K K K_K K K , with the indices of σ ( v t ) \sigma(v_t) σ ( v t ) uniform over the K − t K-t K − t later neighbors of v t v_t v t , First-Fit colors every block with a single color, because its vertices have the same earlier neighbors. It uses all K K K colors exactly when every index class is nonempty, so
Pr [ First-Fit uses at most K − 1 colors ] = 1 − ∏ d = 1 K − 1 surj ( R , d ) , \Pr[\text{First-Fit uses at most }K-1\text{ colors}]=1-\prod_{d=1}^{K-1}\operatorname{surj}(R,d), Pr [ First-Fit uses at most K − 1 colors ] = 1 − d = 1 ∏ K − 1 surj ( R , d ) ,
where
surj ( R , d ) = ∑ i = 0 d ( − 1 ) i ( d i ) ( 1 − i d ) R , \operatorname{surj}(R,d)=\sum_{i=0}^{d}(-1)^i\binom{d}{i}\left(1-\frac{i}{d}\right)^R, surj ( R , d ) = i = 0 ∑ d ( − 1 ) i ( i d ) ( 1 − d i ) R ,
the probability that R R R uniform balls hit all d d d bins. For fixed ε \varepsilon ε and K → ∞ K\to\infty K → ∞ , forcing with probability 1 − ε 1-\varepsilon 1 − ε therefore needs R ≥ ( 1 − o ( 1 ) ) ( K − 1 ) ln ( ( K − 1 ) / ε ) R\ge(1-o(1))(K-1)\ln((K-1)/\varepsilon) R ≥ ( 1 − o ( 1 )) ( K − 1 ) ln (( K − 1 ) / ε ) at the top level. This is a factor ln ( ( K − 1 ) / ε ) \ln((K-1)/\varepsilon) ln (( K − 1 ) / ε ) more than the K − 1 K-1 K − 1 vertices that the top block needs to give each later neighbor one server, and for large K K K still less than the ( K − 1 ) ( K − 2 ) + 1 (K-1)(K-2)+1 ( K − 1 ) ( K − 2 ) + 1 vertices of the adaptive top block; but hidden index classes, unlike reservations, cost a logarithmic factor per server.
The best deterministic algorithm escapes this oblivious blow-up with the following probabilities: These values are exact: a dynamic program over all deterministic algorithms in rational arithmetic, implemented twice, and a raw game-tree search for small R R R .
Table 4.
Explicit instances. One oblivious blow-up of K 7 K_7 K 7 with blocks of 150 vertices, with indices uniform over the actual later neighbors of each vertex, gives a distribution on 3-colorable graphs with 1 050 vertices on which every deterministic algorithm uses 7 colors with probability at least 0.915. Two oblivious blow-ups of K 8 K_8 K 8 , indexed in the same way, with blocks of 245 and then 27 293 vertices, give 53 494 280 vertices and 8 colors with probability at least 0.906. Since every algorithm uses at least one color, every randomized algorithm then uses at least 8 − 7 ⋅ 0.094 > 7.25 8-7\cdot0.094>7.25 8 − 7 ⋅ 0.094 > 7.25 colors in expectation, more than the transparent limit 7. Both probabilities are computed from condition (c) of Lemma C.2 .
Transfer for randomized algorithms. The proof of Theorem 1.4 also works for oblivious adversaries, with Lemma C.2 in place of Lemma 6.2 . If a distribution on k ′ k' k ′ -colorable graphs with N N N vertices and post-degree at most D D D forces K ≥ 2 K\ge2 K ≥ 2 colors with probability ρ > 0 \rho>0 ρ > 0 (so N , D ≥ 1 N,D\ge1 N , D ≥ 1 ), 0 < ε < 1 0<\varepsilon<1 0 < ε < 1 , and the j j j of the proof of Theorem 1.4 is at least 1 (otherwise there is nothing to do), then j j j oblivious blow-ups with R 1 = ⌈ ( K − 1 ) D ln ( j N D / ε ) ⌉ R_1=\lceil(K-1)D\ln(jND/\varepsilon)\rceil R 1 = ⌈( K − 1 ) D ln ( j N D / ε )⌉ and R i + 1 = ⌈ ( K − 1 ) R i ln ( j N R 1 ⋯ R i ⋅ R i / ε ) ⌉ R_{i+1}=\lceil(K-1)R_i\ln(jNR_1\cdots R_i\cdot R_i/\varepsilon)\rceil R i + 1 = ⌈( K − 1 ) R i ln ( j N R 1 ⋯ R i ⋅ R i / ε )⌉ give a distribution on k k k -colorable graphs that forces K K K colors with probability ρ − ε \rho-\varepsilon ρ − ε . Lower bounds n c n^c n c or 2 ( log n ) c 2^{(\log n)^c} 2 ( l o g n ) c that hold with constant probability against every deterministic algorithm also transfer from any k ′ ≥ 3 k'\ge3 k ′ ≥ 3 to k = 3 k=3 k = 3 , with a smaller c c c . This does not cover χ k ′ r a n d \chi_{k'}^{\mathrm{rand}} χ k ′ rand : an expected cost of x x x gives x / 2 x/2 x /2 colors with probability at least x / ( 2 N ) x/(2N) x / ( 2 N ) , but in general not with constant probability.
Comparison with Li’s construction
Figure 4 compares the number of vertices with which the adversary of Theorem 6.4 forces K K K colors on 3-colorable graphs with the corresponding number for Li’s construction [28 ] . Li states his bounds asymptotically and without the constants of his recursion, so his curve is an evaluation of one parameter choice that we derived from his lemmas [28 §§2.1–2.3] . For K ≥ 3 K\ge3 K ≥ 3 , with β : = ⌈ log 2 K ⌉ ≥ 2 \beta:=\lceil\log_2 K\rceil\ge2 β := ⌈ log 2 K ⌉ ≥ 2 , h h h the least integer with β h ≥ K \beta^h\ge K β h ≥ K , and thresholds t i : = β i t_i:=\beta^i t i := β i for i < h i<h i < h and t h : = K t_h:=K t h := K , it starts from ( N , D ) = ( 1 , 1 ) (N,D)=(1,1) ( N , D ) = ( 1 , 1 ) and applies, for i = h − 1 , … , 0 i=h-1,\ldots,0 i = h − 1 , … , 0 with t = t i t=t_i t = t i and q = t i + 1 q=t_{i+1} q = t i + 1 , the step
Figure 4. Vertices needed to force K K K colors on 3-colorable graphs, on doubly logarithmic axes: the adversary of Theorem 6.4 with the least sufficient number of levels, and the recursion above for Li’s construction.
j : = ⌈ 2 q − t ⌊ t / 2 ⌋ ⌉ , B : = K ( 2 j + 1 − 1 ) , R : = K q D , N ← N R B , D ← R B + B − 1 , j:=\left\lceil\frac{2q-t}{\lfloor t/2\rfloor}\right\rceil,\qquad B:=K(2^{j+1}-1),\qquad R:=KqD,\qquad N\leftarrow NRB,\qquad D\leftarrow RB+B-1, j := ⌈ ⌊ t /2 ⌋ 2 q − t ⌉ , B := K ( 2 j + 1 − 1 ) , R := K q D , N ← N R B , D ← R B + B − 1 ,
where B B B bounds the size of a gadget copy and R R R the number of copies per simulated vertex. The figure plots the final N N N ; other constants change the curve but not its growth rate 2 Θ ( ( log K ) 3 / ( log log K ) 2 ) 2^{\Theta((\log K)^3/(\log\log K)^2)} 2 Θ (( l o g K ) 3 / ( l o g l o g K ) 2 ) .