An $n^{1/O(\log^* n)}$ Lower Bound for Online Coloring of $k$-Colorable Graphs
Sajad Faghfoor Maghrebi
cs.DS
Nov 22, 2026 · v1
cs.DM
TL;DR
All numbered results, including the main lower-bound theorems, are formalized in Lean 4 with Mathlib; small-case strategies are verified by a kernel-evaluated sound checker.
Abstract
In online coloring, the vertices of a graph arrive one at a time with their edges to earlier vertices, and each vertex must be colored irrevocably on arrival. For graphs promised to be $k$-colorable, with $k\ge 3$ fixed, the best deterministic algorithms use $n^{1-Θ(1/k^2)}$ colors, while the best lower bound was Vishwanathan's $Ω(\log^{k-1}n)$ from 1990 until Li recently proved $2^{Ω((\log n)^{1/3}(\log\log n)^{2/3})}$. For every fixed $k\ge 3$ and all sufficiently large $n$, we prove a lower bound of $n^{1/(\log^*n+3)}$ colors for deterministic online algorithms on $n$-vertex $k$-colorable graphs, and the same lower bound in expectation for randomized online algorithms. Both bounds hold on a single triangle-free $3$-colorable graph: even an algorithm that is shown this graph in advance, but is not told which of its vertices each arriving vertex is, can be forced to use this many colors by a suitable arrival order. The hard instances are iterated blow-ups of a clique, in which every vertex becomes a block of independent vertices and every edge a private server in the earlier block; each blow-up keeps the forced colors and replaces the chromatic number $χ$ by about $\logχ$, so about $\log^*n$ blow-ups bring it down to $k$. We also show that deterministic lower bounds for different values of $k\ge 3$ are polynomially equivalent, and that no adversary presenting such iterated blow-ups can force more than $n^{1/(\log^*n-O(1))}$ colors. All numbered results are formalized in Lean 4.
Problem
Online coloring of k-colorable graphs (k≥3) has had a large gap between polynomial upper bounds and quasi-polylogarithmic lower bounds. Kierstead asked for an n^ε lower bound.
Approach
Adversaries present iterated reservation blow-ups of a clique. Each vertex becomes a block of independent vertices and each edge becomes a reserved server vertex. Each blow-up preserves the number of forced colors and lowers the chromatic number from χ to about log χ, analyzed through a label-poset calculus related to arc and shift graphs. A uniform-tower variant with random servers tracks unused mass to handle randomized algorithms and known graphs. All numbered results are formalized in Lean 4 with Mathlib.
Results
Deterministic and randomized online algorithms need n^{1/(log* n+3)} colors on a single triangle-free 3-colorable graph. The paper also shows that deterministic bounds for different k are polynomially equivalent, and that iterated blow-up adversaries cannot force more than n^{1/(log* n−O(1))} colors.
| bound | deterministic | randomized |
|---|
| upper, k=3 | O(n^{2/3} log^{1/3} n) | O(n^{1/2}) |
| lower, previous | 2^{Ω((log n)^{1/3}(log log n)^{2/3})} | 2^{Ω((log n)^{1/3}(log log n)^{2/3})} |
| lower, this paper | n^{1/(log* n+O(1))} | n^{1/(log* n+O(1))} |
Bounds for online coloring of k-colorable graphs