Beyond Brooks: (Δ-1)-Coloring in Semi-Streaming
The project
Showcase
Maxime Flin and Magnús M. Halldórsson
ICALP 2026 (LIPIcs, vol. 374)DOI 10.4230/LIPIcs.ICALP.2026.92Theoretical computer science: Algorithms, complexity and games
- amsart
- amsaddr
- hyphenat
- csquotes
- nameref
Compare with TeX's PDFOriginalSource
CC BY 4.0, published at drops.dagstuhl.de. “Beyond Brooks: (Δ-1)-Coloring in Semi-Streaming” by Maxime Flin, Magnús M. Halldórsson, arXiv:2605.07774v1 (published in ICALP 2026, LIPIcs vol. 374, 10.4230/LIPIcs.ICALP.2026.92). Licensed under CC BY 4.0. Typeset here by reflowtex from the authors' source.
BEYOND BROOKS: (∆ − 1)-COLORING IN SEMI-STREAMING
MAXIME FLIN AND MAGNÚS M. HALLDÓRSSON
Abstract. Reed [J. Comb. Theory B, 1999] showed that graphs of maximum degree ∆ ⩾ 1014 without ∆-cliques are (∆ − 1)-colorable. We design a one-pass semi-streaming algorithm for computing such a coloring. Additionally, we prove that any one-pass (∆ − k)-coloring algorithm for 0 ⩽ k < (∆ + 1)/2 requires Ω(n(k + 1)) space.
1.Introduction
Graph coloring is a central problem in combinatorics and theoretical computer science. Given a graph G = (V, E) and an integer q ⩾ 1, a q-coloring assigns a color from {1, . . . , q} to each vertex so that adjacent vertices receive different colors. Coloring has been extensively studied in diverse computational models, including the classical RAM [LY94; KLS00], distributed message-passing [Lin92; BEPS16; HSS18; CLP20], sublinear models [ACK19; CFGUZ19; CDP21; AY25], dynamic algorithms [BCHN18; HP22; BGKLS22; BRW25], communication complexity [FM25; CMNS25], and streaming models [ACK19; AA20; BBMU21; ACS22; CGS22; AKM23; AY25]. In semi-streaming, the algorithm must produce a coloring after processing the edges of an n-vertex graph one at a time in an adversarial order while using O(n · poly log n) space.
In this work, we study the streaming complexity of coloring with fewer than ∆ colors, where ∆ is the maximum degree. We give the first one-pass semi-streaming algorithm that outputs a (∆ − 1)-coloring for graphs with large enough degree and no ∆-clique.
Coloring With ∆ + 1 or ∆ Colors. The classic (∆ + 1)-coloring problem is easy sequentially because one can always extend a partial solution to a full solution. Notwithstanding, the greedy approach does not work in semi-streaming; thus to (∆ + 1)-color in semi-streaming, Assadi, Chen, and Khanna [ACK19] had to invent the influential palette sparsification technique: if one samples O(log n) colors from {1, 2, . . . , ∆ + 1} independently for each vertex, then with high probability, all vertices can be colored with a color from their list. It has been further leveraged in sublinear algorithms [AA20; AKM23; AY25], distributed algorithms [HKNT22; FGHKN24], dynamic algorithms [BRW25], and discrete mathematics [KK23; KK24; Dha24].
By a theorem of Brooks [Bro41], ∆ colors always suffice except for (∆ + 1)-cliques or odd cycles. Assadi, Kumar, and Mittal [AKM23] gave a semi-streaming algorithm for ∆-coloring, in spite of the fact that palette sparsification provably fails [ACK19, Proposition C.2] and such an algorithm only exists when each edge appears at most once in the stream [AKM23]. To that end, they introduced the novel sketching technique of sparse recovery.
In the scale of things, ∆-coloring is conceptually easy. It has spawned a great many solutions, starting with [MV69; Lov75], including newer linear-time algorithms [BW14; SS22]; see comprehensive treatments in [CR13] and the book of [ST15]. Modulo a single vertex, it can be greedily colored, as there is an order under which it suffices to assign each node an arbitrary available color. The (∆ − 1)-coloring problem does not have such a greedy or near-greedy property.
Beyond Brooks: (∆ − 1)-Coloring. In [Ree98], Reed showed that Brooks barely scratched the surface: in fact, as the size of the largest clique decreases, so does the chromatic number. Borodin and Kostochka [BK77] conjectured that every graph of maximum degree ∆ ⩾ 9 without a ∆-clique is (∆ − 1)-colorable. Reed [Ree99] proved the conjecture for ∆ ⩾ 1014. The conjecture is otherwise open, but holds for claw-free graphs [CR13]. Despite significant advances in (∆ + 1)- and even ∆-coloring, going further in the semi-streaming model has remained elusive.
Unsurprisingly, Reed’s result is an order of magnitude more involved than the many simple proofs of Brooks’ theorem. Reed’s approach — based on technical structural observations and the probabilistic method — is highly non-trivial and remains (effectively) the only one known. As such, Reed’s theorem is not merely a quantitative improvement but an exhibit for the existence of a conceptual leap between (∆ − 1)-coloring and ∆-coloring. Indeed, unlike proofs of Brooks’ Theorem (including that of [AKM23]), Reed’s argument is far from being greedy: it begins by transforming the graph — specifically, by adding edges. Given the already strenuous effort necessary to obtain a (∆ + 1)-coloring and ∆-coloring in semi-streaming and the technical depth of Reed’s theorem, it is natural to ask if ∆-coloring is the best we can hope for in semi-streaming:
Does there exist a (one-pass) semi-streaming algorithm to color with fewer than ∆ colors any given graph of maximum degree ∆ (large enough) and no ∆-cliques?
Even if such an algorithm exists, the concern is that removing one more color may require an explosion of cases, considering, e.g., the much larger number of cases in the ∆-coloring algorithms [AKM23; FHM23] than for (∆ + 1)-coloring [ACK19; HNT21].
1.1.Our Contributions. The main technical contribution of this paper is a semi-streaming algorithm for (∆ − 1)-coloring graphs of sufficiently high degree. Concretely, we prove the following.
Theorem 1. There exists a universal constant ∆0 for which the following holds. There exists a randomized one-pass semi-streaming algorithm that given any graph G = (V, E) with maximum degree ∆ ⩾ ∆0 and containing no ∆-clique, outputs a (∆ − 1)-coloring of G with high probability.
During the streaming pass, akin to [AKM23], our algorithm samples poly(log n)-sized random lists and stores only the edges of the sparsified graph, meanwhile using their sparse recovery technique to learn about the densest regions of the graph. The coloring algorithm differs substantially: we begin by transforming the graph — both removing extremely dense subgraphs and carefully adding edges — and then leverage various kinds of probabilistic coloring arguments to construct a coloring.
Clearly, the impossibility results highlighted in [AKM23] also apply to us. We therefore assume that each edge appears at most once in the stream. It is also worth noting that randomness is essential, as Assadi, Chen, and Sun [ACS22] demonstrated that any deterministic semi-streaming algorithm requires exp(∆o(1)) colors.
As a final remark on Theorem 1, we observe that ∆0 is in fact the smallest universal constant for which graphs of maximum degree ∆ ⩾ ∆0 and no ∆-clique admit a (∆ − 1)-coloring. Reed proved in [Ree99] that ∆0 ⩽ 1014. For graphs of maximum degree ∆ ⩽ 1014, all edges O(n∆) = O(n) in the graph can be stored, and an optimal coloring can be computed (although, not in polynomial time). We have not tried to reduce this constant; in [Ree99, Section 5], Reed claims that ∆0 = 106 also works with more care, while ∆0 < 100 would need different techniques.
Using Fewer Colors. A natural follow-up question from Theorem 1 is to what extent this can be pushed further. Molloy and Reed [MR14] gave a characterization of (∆ − k)-colorable graphs in terms of forbidden local subgraphs, for all k ≲ √∆. This generalizes Reed’s result and suggests an alternative approach. However, their structural decomposition is delicate and obtained through phases of contracting vertices and computing optimal partitions. We prove that, in fact, computing a (∆ − k)-coloring requires Ω(n(k + 1)) space, prohibiting semi-streaming algorithms for (∆ − k)-coloring unless k is polylogarithmic.
Theorem 2. Let ∆, c > 0 be non-negative integers such that (∆ + 1)/2 < c ⩽ ∆. Any (possibly randomized) one-pass streaming algorithm that outputs a c-coloring of given c-colorable n-vertex graph of maximum degree ∆ requires Ω(n(∆ − c + 1)) space.
Very recently, Assadi, Sundaresan, and Yazdanyar [ASY26] studied the problem of distinguishing graphs of low chromatic number (e.g., constant) from those with a large chromatic number (e.g., √n). They proved, amongst other things, that it requires n2−o(1) space in adversarial streams. Theorem 2 is orthogonal to (and much simpler than) their results since it considers graphs whose chromatic number is one less than their clique number.
1.2.Organization of the Paper. In Section 2, we give an overview of the challenges and technical ideas necessary to obtain Theorem 1. At the end of Section 2, we also provide a more detailed comparison with [AKM23; FHJM26]. In Section 4, we detail the information stored during the streaming pass and describe the coloring algorithm in Section 5. Theorem 2 is presented in Section 6.
2.Technical Introduction
We give an overview of the ideas behind Theorem 1. First, we present the three components for constructing (∆ − 1)-colorings, followed by a description of the high-level algorithm that combines them. We then explain how to implement these components in semi-streaming. For a complete step-by-step description, see Section 5. In this introduction, various concepts are simplified to aid intuition.
Pre-/Post-Processing. We start by identifying subgraphs in the graph that are easily colorable regardless of the coloring in the rest of the graph. During pre-processing, we remove those subgraphs and only color them at the very end during post-processing.
For instance, consider the (∆ + 1)-clique missing two disjoint edges, as illustrated in Figure 1a. In any (∆ − 1)-coloring of such a subgraph, both endpoints of each anti-edge must be assigned the same color. Once these pairs of vertices are colored the same, the remaining vertices can be colored greedily. In general, the subgraphs shown in Figure 1 are such that any coloring of the outer vertices can be extended to a coloring of the inner vertices as well (they are, in fact, (deg −1)-choosable; see Section B). This property allows us to defer their coloring to the very end of the algorithm.
To detect these subgraphs, during pre-processing, we decompose the graph into (locally) sparse vertices — which have many missing edges in their neighborhood — and almost-cliques — sets of vertices that can be turned into (∆ + 1)-cliques by modifying an ε-fraction of their edges and vertices. We look for those choosable subgraphs only in the densest almost-cliques, as the other vertices can be colored by other means. We then distinguish two main types of choosable components: the solitary ones are inscribed inside an almost-clique (as on Figures 1a and 1b), and the popular ones for which the choosable component contains some vertices outside the almost-clique (as on Figure 1c).
(a) (b) (c)
Figure 1: The three types of subgraphs G[X] such that any coloring of G[V − X] can be extended to a coloring of G. The vertices inside the gray circle are in the almost-clique. Figure 1a represent an almost-clique with an induced 2-anti-matching. Figure 1b represents an almost-clique with a 3-independent set. Figure 1c represents a (∆ − 1)-clique with two vertices sharing a neighbor in the clique, each with a different anti-neighbor in the clique. To color each such graph, we must ensure that the highlighted pairs of vertices are same-colored, which is unlikely to occur through randomized coloring arguments.
For the remainder of this technical introduction, we focus on the case of ∆-regular nodes in disjoint (∆ − 1)-cliques, as this already captures the main challenges and intuition for (∆ − 1)-coloring.
Generating Slack Probabilistically. Rather than directly attempting to color all vertices, many coloring algorithms begin by coloring a few vertices randomly. The hope is that uncolored vertices have neighbors that pick the same color, which increases the flexibility when completing the coloring.
Consider the following random coloring process. Each vertex flips a coin and, if it is heads, randomly picks a color. A vertex keeps its color only if no neighbor selects the same one. If v is a vertex in a (∆ − 1)-clique such as the one in Figure 2a, basic probabilistic analysis shows that v has a constant probability of saving two colors — meaning that v remains inactive, and both of its external neighbors retain colors used elsewhere in the clique. We say that v was successful.
For a (∆ − 1)-clique with all (or most) of its external neighbors distinct, one can show that with high probability it contains two successful vertices. Then, we can defer the coloring of successful vertices and color the rest of the clique greedily. This technique generalizes to any almost-clique without an external node connected to most of its internal vertices.
Reed Transform. The most difficult case occurs when a (∆ − 1)-clique C has an external vertex — called a friend — with numerous neighbors in C, yet lacks any structure that yields probabilistic slack or choosability. To illustrate the challenge, consider the situation where the vertices are adjacent to either s1 or s2, but not both. If the probabilistic coloring procedure colors s1 and s2 the same (an event with probability ≈ 1/∆), then the coloring cannot be extended to the rest of C (see Figure 2b). It is crucial to note that recoloring vertices might convert successful vertices into unsuccessful ones, rendering the approach infeasible.
To handle such cliques, we apply the Reed Transform, based on a construction from [Ree99]. Identify a specific substructure in C (vertices s, x, y, u, v as in Figure 2c), delete C from the graph, and add a single edge xy (in dashed gray in Figure 2c). Once the rest of the graph is colored — forcing x and y to have distinct colors — we reinsert and color C by coloring v as x and s as some anti-neighbor z ∈ C − N(s). Naturally, x and y must be chosen carefully to avoid creating a ∆-clique when we connect them.
(a) (b) (c)
Figure 2: A (∆ − 1)-clique in different configurations. On Figure 2a it has many different external neighbors. On Figure 2b, all vertices are either adjacent to s1 on the left or s2 on the right. If slack generation colors s1 and s2 the same, there is no way to extend the coloring. On Figure 2c, a representation of the Reed Transform: the clique is removed, and the dashed edge added to the graph; the coloring can be later extended by same coloring the s vertex with some vertex of the clique and the v-vertex like the x-vertex. The edge added between the x- and y-vertex ensures this is possible.
The Coloring Algorithm. With this, we now describe the high-level structure of our (∆ − 1)-coloring algorithm. Despite our intricate analysis, each step is conceptually simple:
(1) Identify and remove choosable components (solitary and popular as in Figure 1);
(2) Apply the Reed Transform to troublesome (∆ − 1)-cliques;
(3) Use probabilistic slack to color the remaining graph greedily;
(4) Invert the Reed transform to color the removed cliques;
(5) Complete the coloring of the choosable components.
Note how the steps pair with each other and correspond to one of the aforementioned three ideas. For the remainder of this technical introduction, we outline how each step can be implemented in semi-streaming, discuss the challenges, and present our solutions.
Streaming Implementation. We focus here on the implementation of our coloring algorithm after the streaming pass is done, for the streaming algorithm itself largely follows from [ACK19; AKM23]: running palette sparsification and computing linear sketches. See Section 4.4 for a summary of the information recovered by the algorithm after the streaming pass.
First, we observe that we may focus on the densest almost-cliques, for the other ones can be colored by palette sparsification. Using the sparse-recovery technique of [AKM23], we recover almost all the edges incident to the densest almost-cliques. In particular, it allows us to identify the choosable subgraphs and the (∆ − 1)-cliques that need to be removed by the Reed Transform. Implementing the Reed Transform requires that we avoid the creation of a ∆-clique and that we preserve invertibility for later steps. We must also ensure that we do not densify sparse neighborhoods, as this could inadvertently create the dense subgraphs we sought to isolate in Step (1). Remarkably, simple downsampling suffices: it limits the number of edges added per vertex while preserving enough flexibility to avoid creating a ∆-clique.
We avoid monochromatic edges by keeping a serene coloring: a coloring for which each node uses a color from its random list unless all its incident edges have been recovered, in which case it may choose its color freely. We frequently combine palette sparsification with sparse-recovery. For instance, when coloring popular almost-cliques, some nodes are colored using their random lists, while others are colored greedily, as in the classical setting. Overall, our algorithm makes significantly more use of the edges recovered by sparse recovery than [AKM23]. Though subtle, this difference proves consequential: it frees us to focus more deeply on the graph’s structural properties.
The second major challenge is a technical one: proving concentration on the probabilistic guarantees of the randomized coloring procedure described earlier. Indeed, to invert the Reed Transform, we require that each friend has at least ∆/poly(log n) edges into the clique. Consequently, we can no longer guarantee that most external neighbors are distinct. At a high level, this undermines the apparent randomness of colors sampled outside the almost-clique—they may originate from too few vertices to provide sufficient diversity. Unfortunately, standard concentration inequalities fall short in capturing this behavior. Instead, we rely on a case analysis that combines multiple forms of slack-based concentration, sometimes even blending probabilistic and temporal slack to recover the guarantees we need.
Comparison with [AKM23]. In [AKM23], the authors design a semi-streaming algorithm for ∆-coloring and, in particular, introduces the sparse-recovery technique used by our algorithm. In contrast, while [AKM23] would use it to recover edges incident on at most two vertices for each of the densest cliques (see Definitions 4.6 and 4.7 of [AKM23]), we heavily use that we can recover all edges incident on the densest cliques, most notably for implementing and inverting the Reed Transform.
Coloring with fewer than (∆ − 1)-colors. Molloy and Reed [MR14] generalized Reed’s result to (∆ − k)-colorable graphs, for all values of k up to roughly √∆. As shown in [BE19; FHJM26], this can be obtained in the LOCAL model [Lin92; HS20] in a near-optimal round complexity of poly(log log n). The lower bound of Theorem 2 proves that (∆ − k)-coloring is not attainable in semi-streaming unless k = poly(log n).
Our work leaves open the question of (∆ − k)-coloring in the streaming model for k ⩾ 2, specifically whether it can be achieved in n · poly(k, log n) space. Conceptually, as k increases, the number of cases involving dense cliques grows rapidly, as it no longer suffices to track two anti-edges per dense clique.
To avoid this combinatorial explosion, the main alternative is to follow the approach of [MR14], which provides a systematic treatment for arbitrary k via a generalization of the Reed transform. This framework starts from a coarse structural decomposition (akin to the almost-clique decomposition) and progressively refines it through increasingly intricate local transformations. These transformations appear to require the full knowledge of the local topology as they rely, among other things, on the optimal coloring of dense induced subgraphs. While it is conceivable that, using the sparse recovery technique with poly(k)-sparse vectors (thus, n · poly(k, log n) space), one could recover most of the edges necessary to implement this intricate transformation, the feasibility of this approach remains open.
3.Preliminaries
Notation. For an integer k ⩾ 1, we use [k] to denote {1, 2, . . . , k}. For sets A and B, we write A − B = {a ∈ A : a / ∈ B}. For succinctness, we abuse notation slightly and write A − x and A + x for A − {x} and A ∪ {x} respectively. For a function f : X → Y, let f(A) = {f(a) : a ∈ A} and f−1(B) = {x : f(x) ∈ B} where A ⊆ X and B ⊆ Y respectively. We abuse notation slightly and occasionally write f−1(y) instead of f−1({y}) when y ∈ Y.
Let G = (V, E) be a simple graph. We denote by n = |V| and m = |E| its respective number of vertices and edges. For a set S ⊆ V, the induced subgraph G[S] is the graph on vertex set S and all edges of E between pairs of vertices in S. The neighborhood of v ∈ V is NG(v) = {u ∈ V : {u, v} ∈ E} and deg(v, G) = |NG(v)|. The closed neighborhood of v is NG[v] = NG(v) + v. When G is clear from context, we write N(v) and deg(v). The maximum degree of G is denoted by ∆. We refer to a pair {u, v} as a non-edge or an anti-edge when no edge connects u and v. A k-anti-matching is a set of k anti-edges such that each vertex belongs to at most one anti-edge. A k-independent set is a set of k vertices that are not connected by any edge.
For an integer q ⩾ 1, a partial q-coloring is a mapping ϕ : V → [q] ∪ {⊥} such that ϕ(u) = ϕ(v) or ⊥ ∈ {ϕ(u), ϕ(v)} for all {u, v} ∈ E. The set of colored vertices is the domain dom ϕ = {v ∈ V : ϕ(v) = ⊥}. Given a partial coloring ϕ, the uncolored degree of v is degϕ(v, G) = |NG(v) − dom ϕ|. Throughout the paper, we denote by Lϕ(v) = [∆ − 1] − ϕ(N(v)) the set of colors unused by neighbors of v with respect to a (possibly partial) coloring ϕ. We say that a coloring ψ is an extension of ϕ if ψ(v) = ϕ(v) for all v ∈ dom ϕ.
We say that an event occurs with high probability (in n) if it occurs with probability at least 1 − n−c, for a desirably large constant c > 0. An event occurs with exponentially high probability in x if it occurs with probability at least 1 − exp(−Ω(x)). We abridge “with probability”, “with high probability” and “with exponentially high probability” as “w.p.”, “w.h.p.” and “w.e.h.p.” respectively.
3.1.Sparse-Dense Decomposition. We use the variant of the sparse-dense decomposition from [HSS18; ACK19; AW22; AKM23] (inspired by [Ree98; MR02]). It partitions vertices between (locally) sparse vertices — with many anti-edges in their neighborhood — and dense vertices clustered in almost-cliques — subgraphs that resemble a (∆ + 1)-clique.
Definition 3.1. A vertex v is ζ-sparse in G if G[N(v)] contains at most ∆ 2 − ζ∆ edges.
Definition 3.2. A set C ⊆ V is an (ε, δ)-almost-clique if
(1) part]part:acd-size (1 − ε/2)∆ ⩽ |C| ⩽ (1 + ε/2)∆,
(2) part]part:acd-neighbors |C − N[v]|, |N(v) − C| ⩽ ε∆ for all v ∈ C, and
(3) part]part:acd-ext every v / ∈ C has |C − N(v)| ⩾ δ∆.
We stress that (??) is not always included as part of the definition of almost-clique (e.g., in [HSS18; ACK19]). It is however essential for us that nodes outside an almost-clique have δ∆ non-neighbor inside the almost-clique (we will always have δ = Ω(ε)).
Let v be a vertex in some almost-clique C. We call external neighbors E(v) = N(v) − C its e(v) = |E(v)| neighbors outside C. The vertices of C that are not adjacent to v are its anti-neighbors A(v) = C − N[v]; let a(v) = |A(v)| be the anti-degree of v. Part (??) in Definition 3.2 means that e(v), a(v) ⩽ ε∆.
Definition 3.3. For ε, η ∈ (0, 1), an (η, ε, δ)-almost-clique decomposition of G is a vertex-partition Vsparse, C1, C2, . . . , Ck such that
(1) every v ∈ Vsparse is ηε2∆-sparse; part]part:acd-sparse-nodes
(2) for every i ∈ [k], the set Ci is an (ε, δ)-almost-clique.
Vertices of Vsparse are called sparse, and those of V − Vsparse are called dense. It follows almost directly from the definitions that dense vertices have sparsity proportional to their anti-degree and external-degree. For a proof, we refer readers to [HKMT21, Lemma 6.2] for the bound in terms of anti-degrees and to [FH25, Lemma 3.6] for the bound in terms of external degrees1.
1In contrast to our definition, which includes sparse vertices as external neighbors, in [HKMT21], the authors count as external neighbors only vertices from other almost-cliques. The original proof of Lemma 3.4 is in a technical report [HNT21].
Lemma 3.4. If Vsparse, C1, . . . , Ck is an (η, ε, δ)-almost-clique decomposition, then every v ∈ Ci with e(v) ⩾ 2/(ηε2) is max{ηε2/4 · e(v), (1 − 3ε)/2 · a(v)}-sparse.
A semi-streaming algorithm for computing an almost-clique decomposition exists, as given by [AKM23, Proposition 3.5].
Proposition 3.5. There are universal constants η, ε0 ∈ (0, 1) such that the following holds. For any 0 < ε < ε0, there is a streaming algorithm using O(ε−2n log n) space that computes an (η, ε, ε)-almost-clique decomposition.
3.2.Palette Sparsification. Our streaming algorithm uses the palette sparsification technique from [ACK19] to color some almost-cliques. Assadi, Chen and Khanna view the coloring of an almost-clique as a perfect matching in a bipartite graph, where one side of the bipartition represents vertices and the other side the colors. An edge exists between a vertex and a color in this graph if the color is available to the vertex with respect to the current coloring. When we apply palette sparsification, each edge is retained in the graph independently with some probability, and they prove that, under the right assumptions, it is possible to match all vertices with high probability.
We use the following formulation of the statement, from [AKM23, Lemma 3.10], in a black-box manner. We refer readers to [ACK19, Section 3.5] for a detailed proof. We say that a matching is an L-perfect matching iff it matches all vertices of L.
Lemma 3.6. Let G = (L ∪ R, E) be a bipartite graph with the following properties:
(1) k = |L| and k ⩽ |R| ⩽ 2k;
(2) every vertex v ∈ L has deg(v, R) ⩾ 2k/3; and
(3) for every set S ⊆ L with |S| ⩾ k/2 we have that v∈S deg(v, R) ⩾ |S| · k − k/4.
For any δ ∈ (0, 1), the subgraph obtained by sampling each edge in G independently with probability at least 20 k (log k + log(1/δ)) contains an L-perfect matching with probability at least 1 − δ.
As observed by [AKM23], every almost-clique C such that G[C] contains at least 107ε∆ anti-edges (they call them holey) can be colored using palette sparsification. Note that the extension exists with high probability regardless of the coloring outside C.
Lemma 3.7. Let C be an almost-clique inducing at least 107ε∆ anti-edges and let L(v) be a list of Oε(log n) random colors in [∆ − 1] for each v ∈ C. For any partial (∆ − 1)-coloring ϕ outside C (i.e., C ∩ dom ϕ = ∅), there exists, w.h.p., an extension ψ of the coloring to C such that ψ(v) ∈ L(v) for every v ∈ C.
We stress that Lemma 3.7 assumes that C is uncolored. Since the proof is almost verbatim that of [AKM23, Lemma 5.10] or [ACK19], we skip details and refer interested readers to [AKM23, Appendix B.3].
3.3.Concentration. We use the classic Chernoff Bound on sums of independent random variables:
Proposition 3.8 (Chernoff bounds, [Doe20, Theorem 1.10.1 and 1.10.5]). Let X1, . . . , Xn be a family of independent random variables with values in [0, 1], and let X = i∈[n] Xi. Suppose µL ⩽ Exp[X] ⩽ µH, then
for all δ ⩾ 0, we have that Pr[X > (1 + δ)µH] ⩽ exp− δ2 2 + δµH . (1)
Let Y1, . . . , Yn be boolean random variables (with values in {0, 1}). We say they form a read-k family if they can be expressed as a function of independent random variables X1, . . . , Xm such that each Xj influences at most k variables Yi. More formally, there are sets Pi ⊆ [m] for each i ∈ [n] such that: (1) for each i ∈ [n], the variable Yi is a function of {Xj : j ∈ Pi} and (2) |{i : j ∈ Pi}| ⩽ k for each j ∈ [m].
Proposition 3.9 (read-k bound, [GLSS15]). Let Y1, . . . , Yn be a read-k family of boolean variables, and let Y be their sum. Then, for any δ > 0,
PrY − Exp[Y] > δn ⩽ 2 exp−2δ2n k .
4.The Streaming Algorithm
In this section, we describe the information we collect during the streaming pass. This amounts to the almost-clique decomposition (Proposition 3.5), the sparsified graph (Section 4.1) and some linear sketches to recover edges in the densest regions of the graph (Section 4.3). Overall, we use O(n) space with high probability. In Section 4.2, we introduce structural definitions essential to our coloring algorithm.
Parameters. Let us define some parameters:
α = 150 a conveniently large constant,
where the constant c is large enough to have exp(−Ω(ε2ρ)) ⩽ 1/poly(n). We use the dependency on ε of ρ in Section 5.4, Eq (3) to ensure that all dense vertices have two same-colored neighbors. At a high-level, the parameter ρ is chosen so that we can color nodes with greater sparsity using palette sparsification, and those with less sparsity using information recovered from vectors with O(ρ) non-zero values. By choosing ρ = Θ(ε−2 log n), the algorithm uses O(nρ) = O(n) space while the probabilistic guarantees from slack generation and palette sparsification hold with high probability.
Assumption on ∆. We assume ∆ is known in advance and that ∆ ⩾ 2αρ3 so that exp(−Ω(∆/ρ2)) and exp(−Ω(∆/ρ)) are at most 1/poly(n). When ∆ is not known in advance, we run the algorithm ⌈log n⌉ times in parallel with ∆ set to each power of two. After the streaming pass, we know ∆ and we thus use the information from the streaming pass corresponding to the largest power of two smaller than ∆. When ∆ ⩽ ρ3, we can afford to store all edges of the graph and use that, by [Ree99], a (∆ − 1)-coloring exists for ∆ ⩾ ∆0, for some large enough universal constant ∆0.
4.1.Palette Sampling. To avoid storing all edges, our algorithm uses palette sparsification to color some of the vertices. Similarly to [ACK19; AKM23], we partition the list of colors L(v) sampled by v into multiple independent random lists. This is done to simplify the analysis by removing dependencies between the successive coloring steps. The exact sampling process for each of the Li(v) is therefore chosen to be convenient in the analysis of Section 5, where the index i corresponds to the step at which the coloring algorithm uses Li(v). For each vertex v ∈ V, let
• L2(v): sample one color in [∆ − 1] uniformly at random,
• L3(v): each color of [∆ − 1] is sampled w.p. ρ/∆,
• L4(v): each color of [∆ − 1] is sampled independently w.p. ρ/∆,
• L5(v): each color of [∆ − 1] is sampled independently w.p. ρ2/∆,
• L6(v): each color of [∆ − 1] is sampled independently w.p. ρ3/∆.
and L(v) is the union of those lists. The random lists of colors are sampled before the beginning of the streaming pass.
During the streaming pass, we store all the edges of the sparsified graph.
Definition 4.1. For a graph G = (V, E) and random lists L, the sparsified graph is the subgraph of G with vertex set V and all edges {u, v} ∈ E such that L(u) ∩ L(v) is not empty.
The following lemma is direct by applications of the Chernoff Bound. We refer readers to [ACK19, Lemma 4.1] for details. In particular, it shows that w.h.p. the sparsified graph requires only O(n) space to store.
Lemma 4.2. W.h.p., each L(v) contains at most O(ρ3) colors and the sparsified graph contains at most O(nρ6) edges.
4.2.Structural Decomposition. First, partition almost-cliques based on their size.
Definition 4.3. We say the almost-clique C is large if |C| ⩾ ∆ + 1, small if |C| ⩽ ∆ + 1 − ρ and critical otherwise.
Our algorithm focuses almost entirely on coloring critical almost-cliques. The large will be easy to color because they always contain some anti-edges. This motivates the following definition.
Definition 4.4. The core of C is a K ⊆ C such that G[K] is a clique of maximal size. We say C is solitary iff the core of C has size at most |C| − 2.
If the largest clique of G[C] is not unique, we pick an arbitrary one as the core of C. When C is not solitary, the core is uniquely defined unless G[C] contains exactly one anti-edge. We call core-critical the vertices in the core of a critical almost-clique. When we have an almost-clique decomposition Vsparse, C1, C2, . . . , Ck, we write Ki for the core of Ci for all i ∈ [k]. Since G does not contain a ∆-clique, a large almost-clique is solitary. What makes the solitary almost-cliques easy to color is the following fact.
Fact 4.5. C is solitary iff G[C] contains a 2-anti-matching or a 3-independent set.
Proof. If G[C] contains a 2-anti-matching or a 3-independent set, at least two vertices cannot belong to K, hence C is solitary. Conversely, if C is solitary, let u = v ∈ C − K. Assume that u and v have exactly one anti-neighbor in K and that it is the same vertex w ∈ K, because G[C] otherwise contains a 2-anti-matching. If u and v are adjacent, then G[K + u + v − w] is a clique larger than K, which is absurd; hence {u, v, w} is a 3-independent set.
Solitary almost-cliques are such that any coloring of V − C can be extended to C (see Figures 1a and 1b). The second criteria that determines how we color almost-cliques relates to how they are connected to the vertices outside (see Figure 1c for an example of a popular clique and Figures 2b and 2c for examples of friendly cliques, where s1, s2 and s are friends).
Definition 4.6. Let C be a non-solitary almost-clique with core K, v ∈ N(C) − K and k ∈ R>0. We say v is a k-friend of C if it has at least ∆/k neighbors in K and at least one non-neighbor in K.
If C has two k-friend u and v with a shared neighbor in K and there exists u′ = v′ ∈ K such that {u, u′} and {v, v′} are not edges, we say that C is k-popular.
If C has at least one k-friend but is not k-popular, we say that C is k-friendly.
4.3.Sparse Recovery. To color the densest regions of the graph, it is necessary to recover some of their structure. For a solitary C, the information contained in the solitary helper structure allows us to extend any coloring of V − C to C.
Definition 4.7. Let C be a solitary almost-clique. A solitary helper structure for C is one of the two following types of tuple:
• (u1, v1, u2, v2, NG(u1), NG(u2)) such that {u1v1, u2v2} is a 2-anti-matching of G[C]; or
• (u1, u2, v, NG(u1), NG(u2)) such that {u1, u2, v} is a 3-independent set in G[C].
We do not define other types of helper structure, for we can implicitly recover all the edges incident to the remaining dense vertices. Formally, we recover the following:
Lemma 4.8. W.h.p., sparse-recovery uses O(n) memory and after the streaming pass, we recover
• the sets A(v) and E(v) for every vertex v / ∈ Vsparse with a(v) + e(v) ⩽ 4ρ, and
• a solitary helper structure for every non-small solitary almost-clique.
We say that “we know NG(v)” if we can iterate over the neighbors u ∈ NG(v) in time O(deg(v)) and poly(log n) space after the streaming pass. So, we know NG(u1) and NG(u2) where u1 and u2 are vertices from the solitary helper structure described in Definition 4.7. Lemma 4.8 implies that, w.h.p., we also know NG(v) for every dense vertex such that a(v) + e(v) ⩽ 4ρ. Indeed, to iterate over the neighbors of v ∈ C, it suffices to iterate over E(v) and then C − A(v), which is possible since C, E(v) and A(v) are stored in memory. We remark that we only store NG(v) implicitly, and hence the space usage remains O(n).
Since the sparse recovery is almost verbatim that of [AKM23, Section 4.4], we skip details here and refer readers to Section A. Observe how using Lemma 4.8 allows us to recover all relevant information for non-small and popular almost-cliques.
Corollary 4.9. Let C with core K be critical and not solitary. From sparse-recovery, we recover K and N(v) ∩ K for all vertices v ∈ V.
Proof. Since C is not solitary, we have that |K| ⩾ |C| − 1. All vertices of K thus have a(v) ⩽ 1 and e(v) ⩽ ∆ + 1 − |C| + a(v) ⩽ ρ + 1 ⩽ 4ρ, where the first inequality uses that C is not small. By Lemma 4.8, we recover all edges with exactly one endpoint in K. In particular, if C = K, we identify the vertex in C − K and thereby recover K.
4.4.Summary of the Information Collected by the Algorithm. Before moving on with the analysis of our coloring algorithm, we recapitulate all the information gathered during the streaming pass. With high probability, at the end of the stream, we have the following information available:
• the random lists of colors L(v) as described in Section 4.1,
• all the edges of the sparsified graph defined in Definition 4.1,
• a vertex partition Vsparse, C1, . . . , Ck as in Definition 3.3 (by Proposition 3.5),
• the sets A(v) and E(v) for all v ∈ C with a(v) + e(v) ⩽ 4ρ (by Lemma 4.8),
• a solitary-helper structure for every non-small solitary almost-clique (by Lemma 4.8),
• the core of every critical and not solitary almost-clique (by Corollary 4.9),
• the sets of critical k-popular and k-friendly almost-cliques for all k > 0.
It is an easy observation that the set of k-popular critical almost-cliques can be inferred, such cliques are not solitary and all the edges incident to their core are known.
It should also be clear that the algorithm uses O(n) space as the sparsified graph contains O(n log6 n) edges (by Lemma 4.2), and sparse recovery uses O(n) space (by Lemma 4.8).
5.The Coloring Algorithm
In this section, we explain how to color the graph after the streaming pass. We have two means to ensure that we do not create monochromatic edges when we color vertices. Either they use a color from their random list L(v), and we can check for conflicts by looking at the edges of the sparsified graph (Definition 4.1). Or we color a vertex with a color that is not from its random list L(v), in which case we must be able to iterate over all its neighbors. To emphasize that aspect, we define the notion of serene coloring and maintain that our coloring is one.
Definition 5.1. We say that a (possibly partial) coloring ϕ is serene if for all vertices v with ϕ(v) = ⊥, either ϕ(v) ∈ L(v) or we know NG(v) after the streaming pass.
Detailed Overview. Let us explain the steps of our coloring algorithm.
• Step 1: Reed Transform. First, we remove all non-small solitary and non-small αρ2-popular almost-cliques from G and obtain the graph G′. Then, we remove all 2ρ-friendly almost-cliques with a (∆ − 1)-clique, possibly adding some extra edges to the graph. The resulting graph is called H and has the same almost-clique decomposition (apart from those that got removed), but contains no large, critical solitary, or critical ρ-popular almost-clique, and the almost-cliques with a core of size ∆ − 1 are not ρ-friendly.
• Step 2: Slack Generation. Every vertex in H gets activated with constant probability and samples a uniform color in [∆ − 1]. If that color was sampled by no neighbor, we color the vertex with it.
• Step 3: Coloring Critical Almost-Cliques of H. Recall that all edges incident to the core of critical almost-cliques are known. Hence, we color those vertices serenely without using palette sparsification. We argue that after slack generation, all critical almost-cliques have two vertices whose coloring can be delayed, because (1) they have two pairs of same-colored neighbors, or (2) they have one pair of same-colored neighbor and an uncolored neighbor whose coloring can be deferred even further. Because the coloring of some vertices must be delayed, we actually color critical almost-cliques in two steps.
• Step 4: Coloring Sparse Vertices & Small Almost-Cliques. After Step 3, all critical almost-cliques have been colored. Observe that in Step 1, we removed all large almost-cliques from H, because they are solitary. So it remains to color the small almost-cliques and the sparse vertices. The sparse vertices are colored as in [ACK19]. Each dense vertex from this set gets Ω(log n) pairs of same-colored neighbors from slack generation. As such, they can be colored using palette sparsification.
• Step 5: Inverse Reed Transform. Steps 3 and 4 colored all vertices of H. From a proper coloring of H, we construct a coloring of G′. Step 5 focuses on inverting the Reed Transform, during which we removed 2ρ-friendly almost-cliques with a (∆ − 1)-core from the graph, and possibly added some edge. By same-coloring two pairs of vertices manually, we can extend the coloring to all such almost-cliques. Note that, from then on, we may recolor vertices. In particular, the pairs of same-colored neighbors produced by slack generation are no longer guaranteed to exist.
• Step 6: Coloring Non-Small Popular & Non-Small Solitary. We complete the coloring by handling the solitary and friendly almost-cliques removed during the phase 1 of the Reed Transform. Structurally, those almost-cliques have pairs of vertices that, if same-colored, allow us to extend the coloring greedily (recall Figure 1). Thanks to sparse recovery, we can identify those pairs and same-color them with colors from their random lists. Then, they can be colored using either a greedy algorithm or palette sparsification.
Solitary Popular Friendly with a (∆ − 1) Core Others Small Step 4 Step 4 Large Step 6 Critical Step 6 Step 6 Step 5 Step 3
Table 1: For each type of almost-clique, the step of the algorithm at which it is colored. We stress that popular almost-cliques are not solitary and that the “Friendly with a (∆ − 1) Core” are neither solitary nor popular.
5.1.Step 1: Preprocessing and the Reed Transform. This first step removes from the graph all vertices that cannot be colored with slack generation. To ensure that the almost-cliques removed from the graph can be colored later, we may add some edges. The resulting graph is called H.
Concretely, we construct the graph H in two phases. First, a preprocessing phase computes the graph G′ by removing from G all almost-cliques that are either large, critical solitary, or critical αρ2-popular. This step is obvious from the information gathered during the streaming pass (Section 4.4) and needs not further discussion. Then, the Reed Transform computes the graph H by removing from G′ all 2ρ-friendly almost-cliques that contain a (∆ − 1)-clique and adding selected edges. We choose the edges to add to H in Algorithm 1.
Remark 5.2. Some important observations about Algorithm 1 before we analyze it:
• the random set ART is introduced in Algorithm 1 to break-symmetry and simplify the inversion of the Reed Transform; it ensures that an x- or y-vertex is not selected as a u- or v-vertex for some other almost-clique and vice versa;
• the algorithm can be implemented after the streaming pass because the decomposition is known (Proposition 3.5) and the core as well as all edges incident to core vertices of non-small almost-cliques are known (Corollary 4.9).
Lemma 5.3. Assume that ∆ ⩾ αρ3 and ε ⩾ max{8/ρ, 4√2/√ηρ}. Let G′ be a graph with an (η, ε, ε)-almost-clique decomposition Vsparse, C1, C2, . . ., Ck that has no large, critical solitary, or critical αρ2-popular almost-cliques. W.h.p., the graph H produced by Algorithm 1 with the same vertex-partition restricted to V(H) is such that:
(RT.1) part]part:RT-acd it is an (η/2, ε, ε/2)-almost-clique decomposition;
(RT.2) part]part:RT-not-sol-pop all solitary or ρ-popular almost-cliques in H are small;
(RT.3) part]part:RT-not-friendly no almost-clique in H with a (∆ − 1)-core is ρ-friendly; and
(RT.4) part]part:RT-nice H has maximum degree ∆ and does not contain a ∆-clique.
Proof. We first verify that each u ∈ Di of degree ∆ has exactly one external neighbor f(u) different from si. Indeed, u is in the (∆ − 1)-clique Ki, thus has ∆ − 2 core neighbors. Since u is of degree ∆, it has one additional neighbor besides si, which must be external because si is the only vertex of Ci − Ki (when Ci = Ki).
Fact 5.4. Every u ∈ Di with degree ∆ has exactly one external neighbor f(u) other than si.
We need that a constant fraction of u ∈ Di belong to Si, i.e., are in ART while their external neighbor f(u) is not. We show that this is a high probability event.
Claim 5.5. W.h.p. over the randomness of ART, we have |Si| ⩾ |Di|/24.
Proof of claim. For u ∈ Di, let Xu be the indicator random variable of the event that u ∈ ART and f(u) / ∈ ART. We have Exp[Xu] = pRT(1 − pRT) and by the linearity of expectation their sum has expectation µ = pRT(1 − pRT)|Di| ⩾ |Di|/12. The activation of u affects only Xu and the activation of a vertex in f(Di) affects at most ∆/αρ2 other vertices in Di, for Ci would otherwise be αρ2-popular. So we may use the read-k bound (Proposition 3.9) with k = ∆/(αρ2) and δ = 1/24 to show concentration as
Pr u∈Di Xu − µ ⩾ |Di|/24 ⩽ exp−Ω|Di| k ⩽ exp(−Ω(ρ)) ⩽ 1/poly(n) ,
where we use that |Di| ⩾ ∆/(2ρ).
Henceforth, fix ART such that Claim 5.5 holds and let S = i∈I Si.
In Step v)a, vertices are downsampled to ensure that the algorithm does not add an excessive number of edges to any single vertex.
Claim 5.6. After Step v)a, over the randomness T = i Ti, we have that
i) For each Ci, we have that |Ti| ⩾ ∆/(50ρ2) w.p. exp(−Ω(∆/ρ2)).
ii) For each node u ∈ V(G′), we have that |f−1(u) ∩ T| ⩽ 2∆/ρ w.p. exp(−Ω(∆/ρ)).
iii) For each Ci, we have that |f(T) ∩ Ki| ⩽ 4∆/ρ w.p. exp(−Ω(∆/ρ)).
Proof of claim. Consider an almost-clique Ci. Observe that |Ti| is the sum of independent binary variables over the nodes in Si, each with probability pds. By linearity of expectation, Exp[|Ti|] = |Si|pds ⩾ |Di|/24 · 1/ρ ⩾ ∆/(48ρ2), using Claim 5.5 and that |Di| ⩾ ∆/(2ρ). By Chernoff, |Ti| ⩾ ∆/(50ρ2), w.p. exp(−Ω(∆/ρ2)), establishing i).
Consider an arbitrary vertex u of the graph. Each neighbor v ∈ f−1(u) ∩ S, independently joins T w.p. pds = 1/ρ. Hence, by linearity of expectation, we have Exp[|f−1(u) ∩ T|] ⩽ ∆/ρ. By Chernoff, we get that |f−1(u) ∩ T| is at most 2∆/ρ w.p. exp(−Ω(∆/ρ)), establishing ii).
Each vertex of Ki has at most two external neighbors, so |E(Ki)| ⩽ 2(∆ + 1). Each vertex of E(Ki) joins T independently with probability at most 1/ρ so Exp[|E(Ki) ∩ T|] ⩽ 2(∆ + 1)/ρ. By Chernoff, at most 4∆/ρ vertices of E(Ki) join T w.p. exp(−Ω(∆/ρ)). It implies iii) because each external neighbor in T maps to at most one vertex of Ki through f, i.e., |f(T) ∩ Ki| ⩽ |E(Ki) ∩ T|.
We deduce that the algorithm is well-defined.
Claim 5.7. W.h.p., for each Ci, there is a pair ui, vi as required in Step v)b of Algorithm 1.
Proof of claim. Let ui be any node in Ti. If xi = f(ui) is in a critical almost-clique Cj, then f(Si) includes at most one other vertex z ∈ Cj ∩ f(Si) because f(Si) is an independent set and Cj is not small, hence not solitary. Both xi and z (if it exists) have at most ∆/αρ2 neighbors in Di, for otherwise Ci would be αρ2-popular. From Claim 5.6-i), we have that |Ti| ⩾ ∆/(50ρ2), w.h.p. Thus, if we exclude from consideration the nodes in Ti that map by f to either xi or z, we are left with |Ti| − 2∆/(αρ2) ⩾ ∆/(αρ2) ⩾ ρ suitable candidates (using that α ⩾ 150). Any of these can be chosen as vi, thereby establishing the claim.
It is now easy to verify that ?? to ?? of Lemma 5.3 hold. It is immediate from Claim 5.6-ii) that at most 2∆/ρ edges are added into H that are incident on any given vertex. So, a vertex v ∈ Vsparse gains at most 2∆/ρ new neighbors and each of its previous neighbors gains at most 2∆/ρ incident edges (by Claim 5.6-ii). So the sparsity of v decreases by at most 4∆/ρ, staying above ηε2∆ − 4∆/ρ ⩾ (η/2)ε2∆. Similarly, we add few enough edges to ensure that ?? of Definition 3.3 continues to hold, up to a constant factor.
Using the properties of the almost-clique decomposition ??, we deduce that H contains no ∆-clique.
Claim 5.8. The graph H has maximum degree ∆ and contains no ∆-clique.
Proof of claim. The maximum degree remains at most ∆, for each edge added incident to v, another edge incident to v is removed. So we focus on proving that H contains no ∆-clique.
A ∆-clique in H must be within an almost-clique, since its nodes must be dense, and it can’t involve nodes from different almost-cliques (by Definition 3.2 (??)). But the almost-clique decomposition did not change ?? and no edges were added inside critical almost-cliques (by Step v)b), so the ∆-clique would have to have been contained in G′, a contradiction.
This concludes the proof of Lemma 5.3.
5.2.Step 2: Slack Generation. Formally, when we color some graph, the slack of a vertex is the difference between the number of colors it has available and its number of (uncolored) neighbors. For (∆ − 1)-coloring, vertices start with −1 slack and each time we same-color a pair of neighbors, we increase the slack by one. We use a well-known technique for generating pairs of same-colored neighbors: let vertices pick random colors. The algorithm is as follows; recall that we run it on the graph H obtained from Step 1.
To implement Algorithm 2 after the streaming pass, each vertex uses the one color from L2 as the random color χ(v). It therefore suffices to look at the edges of the sparsified graph to know if a vertex retains its color.
The activation probability ensures that not too many vertices get colored by slack generation.
Fact 5.9. After Algorithm 2, w.h.p., every Ci contains at most ∆/5 colored vertices.
Proof. During slack generation, a vertex gets colored only if active. Since every vertex gets activated independently with probability p = 1/10, the Chernoff Bound implies that w.h.p. at most 1.5p|Ci| < ∆/5 are colored in every almost-clique. By union bound, this holds for all almost-cliques of the decomposition.
We use three flavors of slack generations. First, we have the well-known result (see, e.g., [MR02; EPS15; HKMT21]) that ζ-sparse vertices (cf. Definition 3.1) receive Ω(ζ) slack w.e.h.p. in ζ. This explains why sparse vertices and small almost-cliques can be colored easily.
Proposition 5.10 ([HKMT21, Lemma 6.1]). There exists a universal constant γ ∈ (0, 1) for which the following holds. Suppose H is a graph of maximal degree ∆ ≫ 1. If ϕ is the coloring produced by Algorithm 2, then a ζ-sparse vertex v with ζ ≫ 1 has that
|Lϕ(v)| ⩾ degϕ(v, H) + γ · ζ
with probability at least 1 − exp(−Ω(ζ)).
In very dense critical almost-cliques, the sparsity of individual vertices is too small for Proposition 5.10 to provide vertices with extra colors (by same-coloring neighbors) with high enough probability. However, when the almost-clique has many different external neighbors, a very similar argument shows that many vertices of the almost-clique get one external neighbor colored the same as a vertex inside the almost-clique. For simplicity, we state the result for a clique K, rather than an almost-clique.
Proposition 5.11 (Rephrasing Lemma 5.4 in [FHM23]). Let K be a clique and M a matching between K and N(K) − K. After Algorithm 2, w.e.h.p. in |M|, at least Ω(|M|) vertices in V(M) ∩ K have two non-adjacent neighbors colored the same, i.e., one unit of slack.
We conclude this anthology of results about slack generation with one from Reed’s original paper on (∆ − 1)-coloring. It serves the same purpose as Proposition 5.11 except that it counts vertices that receive two units of slack. Consequently, instead of asking for a matching between C and N(C) − C, we require a one-to-two matching. Formally, we define a triple for C as a tuple (u, v, w) such that v ∈ C, u = w ∈ E(v). We say that a set of triples is disjoint if no vertex belongs to more than one.
Proposition 5.12 ([Ree99, Section 4] or [MR02, Chapter 11.3]). For every ε, δ ∈ (0, 1/10), there is a universal constant γ = γ(ε, δ, pSG) for which the following holds. Let C be an (ε, δ)-almost-clique and {(ui, vi, wi)}ti=1 be a set of disjoint triples for C. Let Z be the random variable counting number of triples for which vi is uncolored, and ui and wi are colored the same as some vertex in C by slack generation. Then,
Pr[Z ⩽ γ · t] ⩽ exp−Θ t2 ∆
Note that the concentration from Proposition 5.12 is effective only when t is asymptotically larger than √∆. This is a consequence of the fact that, contrary to Propositions 5.10 and 5.11, counting colors does not suffice to count the number of vertices with two-units of slack.
5.3.Step 3: Coloring Critical Cliques in H. In this step, we prove that all critical almost-cliques of H can be colored after slack generation. Since the formal argument is involved, let us provide first a bird’s-eye view of the proof. It is in three parts:
• Firstly, in Claim 5.16, we argue that if a subgraph of H induced by a set of critical almost-cliques is such that each almost-clique has two adjacent vertices with respectively one and two units of slack, we can serenely color that subgraph greedily.
• Then we analyze how the critical vertices of H get slack from slack generation (Algorithm 2). The analysis is three-fold: when many low-degree vertices exist (Claim 5.15), or when many vertices have external neighbors with few edges to the almost-clique (Claim 5.16), or finally when most of the vertices have degree ∆ and external neighbors with many edges to the almost-clique (Claim 5.17). In the first two cases, we show that w.h.p. at least two vertices get slack. For the last case, we argue that w.h.p. the almost-clique has many vertices with one pair of same-colored neighbors and one uncolored external neighbor with 2ρ edges to the almost-clique.
• Finally, we color the critical vertices of H in two stages using Claim 5.14. That is to ensure that, in the last type of critical almost-cliques, the uncolored external neighbors with 2ρ neighbors in the almost-clique C remain inactive while we color C, thereby providing one more unit of slack. The trick is that such external neighbors, if dense, must have 2ρ external neighbors. However, critical almost-cliques of H, since they are not solitary, contain at most one such vertex.
In the end, we get the following result.
Lemma 5.13. Let H be the graph obtained from Step 1 and ϕ be the coloring produced by Algorithm 2 in Step 2. With high probability over the randomness of L2(V) and L3(V), there exists a serene extension of ϕ to all critical almost-cliques of H.
Proof. We shall prove that, after running slack generation in H, every critical almost-clique contains two adjacent vertices such that one has two units of slack and the other has one unit of slack. The coloring can then be greedily and serenely extended to all vertices of H, thereby proving Lemma 5.13.
Claim 5.14. Let J ⊆ N be such that all Cj for j ∈ J are critical and define C = j∈J Cj. Suppose ψ is a partial serene coloring of H such that for all j ∈ J, there are two adjacent and uncolored vertices u = v ∈ Kj such that
(1) |Lψ(u)| ⩾ degψ(u, C), and
(2) |Lψ(v)| ⩾ degψ(v, C) + 1.
Then, w.h.p. over the randomness of L3(C), the coloring ψ can be extended serenely to all vertices of C.
Proof of claim. We color the almost-cliques of C sequentially. Observe that as we extend the coloring to C, properties (1) and (2) remain true. Consider a critical almost-clique Cj. If Cj = Kj, let s be the unique vertex of Cj not in Kj. If s is not colored, we color it as follows. By Fact 5.9, it has at least ∆/5 − ε∆ uncolored neighbors, thus at least ∆/5 − ε∆ − 1 ⩾ ∆/10 available colors. The probability that none of the colors from L3(s) is available is at most (1 − ρ/∆)∆/10 ⩽ exp(−ρ/10) ⩽ 1/poly(n). So we may color s first with a color from L3(s). Then, we greedily color the vertices of Cj − N(u) ∩ N(v) − u − v, and then those of Cj − u − v. Since u is adjacent to v, which is uncolored, we may color u next. Finally, the vertex v always has at least one available color, so it may be colored last. Observe that, by Lemma 4.8, we know NG(v) and NH(v) for all v ∈ Ki. In particular, our coloring remains serene.
For the second part of the proof, we analyze how critical almost-cliques of H get slack from slack generation. Consider a fixed critical C = Ci of H with core K = Ki. Let us begin with the case where K contains many vertices of degree less than ∆.
Claim 5.15 (Low-Degree Vertices). Suppose S ⊆ K is a set of at least ∆/10 vertices with degree less than ∆ in H. Then after slack generation (Algorithm 2), w.h.p., there are two vertices u = v ∈ S as in Claim 5.14.
Proof of claim. If at least one vertex of S has degree at most ∆ − 2 and another has degree at most ∆ − 1, the claim already holds. So we may assume without loss of generality that all vertices of S have degree ∆ − 1. We show that there exists a matching of size at least ρ/10 between vertices of S and C − N(C). Proposition 5.11 then implies that, w.h.p., at least two vertices u ∈ S have an external neighbor colored the same as a neighbor in K by slack generation. As such, at least two vertices in K have |Lϕ(v)| ⩾ ∆ − 1 − |ϕ(NH(v))| ⩾ ∆ − 1 − |NH(v) ∩ dom ϕ| + 1 ⩾ degϕ(v, H) + 1.
To prove the existence of the matching, we argue that each vertex of degree ∆ − 1 has at least one external neighbor with fewer than ∆/ρ neighbors in K. A greedy construction therefore produces a matching of ∆/10 ∆/ρ ⩾ ρ/10 edges {u, v} where u ∈ S and v ∈ N(C) − C.
There are three cases.
• If |C| = |K| = ∆ − 1. The vertices of degree ∆ − 1 have external degree exactly ∆ − 1 − (|K| − 1) = ∆ − |K| = 1. Since C has no ρ-friend ??, the external neighbor has fewer than ∆/ρ edges to K.
• If |C| = |K| ⩽ ∆ − 2, then a vertex of degree ∆ − 1 has exactly ∆ − 1 − (|K| − 1) ⩾ 2 external neighbors. Since C is not ρ-popular ??, at most one of these external neighbors may have ∆/ρ edges to K.
• If |C| − 1 = |K| ⩽ ∆ − 2, call s the vertex of C − K. A vertex of degree ∆ − 1 in K − NH(s) has at least two external neighbors, of which at most one can have ∆/ρ edges to K. A vertex of degree ∆ − 1 in K ∩ NH(s) has at least one external neighbor, which cannot have ∆/ρ edges to K for otherwise C would be ρ-popular, with s and that external vertex.
These are all possible cases since H contains no ∆-clique and C is not solitary.
The remaining two cases depend on how C connects to the outside. Partition external neighbors of C depending on their number of neighbors inside K:
XC = {u ∈ N(C) − C : |N(u) ∩ K| ⩾ 2ρ} and YC = N(C) − (C ∪ X) .
First, observe that cliques where most vertices have two external neighbors in YC are easy.
Claim 5.16 (Expanding Cliques). If there is a set S ⊆ K of at least ∆/2 vertices with two external neighbors in YC, then after slack generation, Ω(∆/ρ) vertices of S have |Lϕ(v)| ⩾ degϕ(v, H) + 1, with high probability.
Proof of claim. Construct greedily disjoint triples (u, v, w) where v ∈ K and u = w ∈ E(v) ∩ YC. Since u and w have at most 2ρ neighbors in K, we can find at least t = (∆/2)/(4ρ) = ∆/(8ρ) such disjoint triples. By Proposition 5.12, after slack generation, at least Ω(t) triples are such that their v-vertex has two pairs of same-colored neighbors w.e.h.p. in t2/∆ = Ω(∆/ρ2); hence w.h.p. for ∆ ⩾ ρ3. Simple accounting shows that such vertices v verify |Lϕ(v)| ⩾ degϕ(v, H) + 1.
For the last case, we do not show directly that some vertex gets two pairs of same-colored neighbors. Instead, we argue that there must be many vertices with one pair of same-colored neighbor and one uncolored external neighbor in XC whose coloring can be deferred.
Claim 5.17. Suppose there is a set S ⊆ K of at least ∆/3 vertices of degree ∆ with at most one external neighbor in YC. Then, w.h.p., at least Ω(ρ) vertices in S have an uncolored neighbor in XC and an external neighbor colored the same as a vertex in K by slack generation.
Proof of claim. Number the vertices of S as u1, u2, . . . , uℓ where ℓ = |S| ⩾ ∆/3. First, we show that every ui has neighbors xi ∈ E(ui) ∩ XC and zi ∈ E(ui) − xi with |NH(xi) ∩ K|, |NH(zi) ∩ K| ⩽ ∆/ρ. The proof is by case analysis.
If |K| = ∆ − 1, then C = K and C has no ρ-friend ??, hence every ui has two external neighbors, at least one of which belongs to XC (since ui would otherwise have more than one external neighbor in YC). Suppose now that |K| ⩽ ∆ − 2. If K = C, then every ui has ∆ − (|K| − 1) ⩾ 3 external neighbors. At least two belong to XC (since ui would otherwise have more than one external neighbor in YC) and at most one can have more than ∆/ρ edges to K (since C is not ρ-popular, by ??). If K = C − s, the case where ui ∈ K − N(s), is similar. When ui ∈ K ∩ N(s), then ui has ∆ − (|C| − 1) ⩾ 2 external neighbors. Neither of them has ∆/ρ edges to K, for K would otherwise be ρ-popular (because of s) and at most one of them belong to YC. So we find suitable xi and zi for all ui.
Now, we show that after slack generation, w.h.p., at least Ω(∆) indices i ∈ [ℓ] are such that ui and xi are uncolored, and zi is colored the same as some vertex in K. First, we argue that, after Step (1) of slack generation, w.h.p. over the randomness of ASG, at least Ω(ℓ) vertices ui are not in ASG, have xi / ∈ ASG and zi ∈ ASG. Let Xi be the indicator random variable of the event that ui, xi / ∈ ASG and zi ∈ ASG. Clearly, Exp[Xi] = (1 − pSG)2pSG. The activation of some ui affects only Xi; activation of other vertices in C are irrelevant. The activation of a vertex xi, zi outside C affects all neighboring vertices in C, which is at most k = ∆/ρ by our choice of xi and zi. Let X = i Xi, by the read-k bound (Proposition 3.9) with δ = (1 − pSG)2pSG/2, we have that
PrX − Exp[X] > Exp[X]/2 ⩽ exp−(1 − pSG)2pSG/22 · 2ℓ k ⩽ 1/poly(n) .
Thus, w.h.p., the set U = {ui : ui, xi / ∈ ASG, zi ∈ ASG} of such vertices has size at least (1 − pSG)2pSGℓ/2 = Ω(∆).
Call R the set of activated external neighbors zi ∈ ASG and consider the bipartite graph with bipartition (U, R) and an edge between u ∈ U and v ∈ R iff the edge exists in H. As we argued, U has size Ω(∆) and, by definition, each ui ∈ U has at least one edge to zi ∈ R. Conversely, every vertex in R has at most ∆/ρ neighbors in U ⊆ K, so there is a matching of size at least Ω(ρ) in this bipartite graph. Using the Proposition 5.112, we get that at least Ω(ρ) vertices u ∈ U adjacent to z ∈ R such that z is colored the same as a vertex in K.
2In [FHM23], the proof of Proposition 5.11 requires that vertices be activated randomly with probability, say, 1/2. Given that we condition on the activation of slack generation ASG earlier in the proof, it might not be clear that the argument still applies. A simple fix consist in having two shots of activation: view the 1/10 activation probability in Algorithm 2 as the result of the random experiment where we activate first with probability 1/5, and then again with probability 1/2. The argument from this proof conditions on the first activation bit, while Proposition 5.11 uses the randomness of the second activation.
Now that we have established how each type of critical almost-clique gets slack, let us describe how we serenely extend the coloring produced by slack generation. We color critical almost-cliques of H in two stages.
Stage 1: Let J1 be the set of indices such that Cj = Kj or the unique vertex in Cj − Kj has external degree strictly less than 2ρ or was colored by slack generation. For the j ∈ J1 such that Cj is as described by Claims 5.15 and 5.16, w.h.p., the vertices described in Claim 5.14 (with J = J1 and C1 = j∈J Cj) exist. Otherwise by Claim 5.17, w.h.p., all Cj with j ∈ J1 contain at least Ω(ρ) > 2 vertices u ∈ Kj with a neighbor x ∈ XCj uncolored in ϕ and a neighbor z colored the same as a vertex of Kj. Crucially, we have that x / ∈ C1 because the core vertices in critical almost-cliques have external degree at most ρ + 1 < 2ρ — which is less than necessary to belong to XCj — and the only non-core vertices with external degree ⩾ 2ρ included in C1 are colored by slack generation — while x is uncolored. Consequently, the number of colors available to u is
|Lϕ(u)| = ∆ − 1 − |ϕ(NH(u))|
All almost-cliques of C1 verify the conditions of Claim 5.14, hence we serenely extend the coloring produced by slack generation such that all vertices of C1 are colored.
Stage 2: Let J2 be the remaining indices j such that Cj is critical. In particular, for j ∈ J2, we have that Cj − Kj contains a vertex sj uncolored after Stage 1. Call D = Kj ∩ N(sj). If D verifies the assumptions of either Claim 5.15 or Claim 5.16, w.h.p., at least two vertices verify the assumptions of Claim 5.14. If this is not the case, we can construct a matching of (1−ε)∆−∆/10−∆/2 ∆/ρ ⩾ ρ/3 vertices between D and N(C) − C because each vertex outside C has at most ∆/ρ neighbors in D (otherwise C would be ρ-popular). By Proposition 5.11, w.h.p., at least Ω(ρ) vertices of D have a pair of same-colored neighbors. We claim that, w.h.p., one anti-neighbor of sj was not colored by slack generation. Indeed, since e(sj) ⩾ 2ρ (because j would otherwise be in J1), sj has at least |Cj| − (∆ + 1) + e(sj) ⩾ ρ anti-neighbors, where the last inequality uses that Cj is not small. The probability that they are all activated during slack generation is at most pρSG ⩽ 1/poly(n), and hence w.h.p. at least one zi ∈ Kj − N(sj) is uncolored after Stage 1. We same-color sj and zj using a color from L3(sj), which exists w.p. at least 1 − (1 − ρ/∆)∆/3 ⩾ 1 − 1/poly(n). Then every vertex of D has two pairs of same-colored vertices in their neighborhood. Hence, the vertices of C2 = j∈J2 Cj can be colored by Claim 5.14.
This concludes the proof of Lemma 5.13 for C1 and C2 consists of all vertices in critical almost-cliques of H.
5.4.Step 4: Coloring Sparse Vertices & Small Almost-Cliques. We color the non-critical vertices of H in the following order: first, the sparse vertices; second, the small almost-cliques with fewer than 107ε∆ anti-edges; last, the small almost-cliques with at least 107ε∆ anti-edges.
Coloring Sparse Vertices. By Proposition 5.10, has degϕ(v, H) + Ω(ε2∆) available colors after slack generation. Again, as the coloring has only been extended, this remains true in Step 4 after we have colored all almost-cliques of H. Then, the greedy algorithm colors the sparse vertices with high probability. Indeed, when it comes to v, whatever the current coloring may be, the probability that none of Ω(ε2∆) colors available to v get sampled in L4 is at most 1 − ρ ∆Ω(ε2∆) ⩽ exp(−Ω(ε2ρ)) ⩽ 1/poly(n), from our choice of ρ. It extends to all sparse vertices by union bound.
Coloring the Small Almost-Cliques. We use that every dense vertex in a small almost-clique C is Ω(ε2ρ)-sparse. Indeed, if e(v) ⩾ ρ/2, it follows from Lemma 3.4, and otherwise v has degree at most |C| − 1 + e(v) − a(v) ⩽ ∆ − ρ/2, hence is Ω(ρ)-sparse. By Proposition 5.10 about slack generation, that after Algorithm 2, w.h.p. every v in a small almost-clique has
(3)|Lϕ(v)| ⩾ degϕ(v, H) + Ω(ε2ρ) ⩾ degϕ(v, H) + Ω(log n) ,
where the second inequality uses that ρ = Θ(ε−2 log n). Note that the coloring produced by Step 3 is an extension of the coloring produced by slack generation, thus that Eq (3) continues to holds at the beginning of Step 4. We now argue that the coloring can be extended with palette sparsification.
Recall that almost-cliques with 107ε∆ anti-edges can be colored using palette sparsification, by the argument of [ACK19] stated here as Lemma 3.7. We stress that the small almost-cliques with many anti-edges are colored last, because Lemma 3.7 assumes that vertices get uncolored, which means we might have to recolor some vertices colored by slack generation. In any case, it suffices to prove the following.
Lemma 5.18. Fix a small almost-clique C with fewer than 107ε∆ anti-edges. With high probability over L2(V) and L4(C), any extension of the coloring computed by slack generation can be further extended to C using only colors from L4(v) for v ∈ C.
Proof. Consider such a C. Let L be the uncolored vertices of C and R the colors used by none of the vertices in C. Let G be the palette graph: the bipartite graph with bi-partition L ∪ R and an edge between v ∈ L and χ ∈ R when χ is available to v, with respect to the coloring we computed so far. We use Lemma 3.6 to show that G where each edge is retained with probability ρ/∆ has a L-perfect-matching, thus the coloring can be extended to every vertex of C, with high probability. Call t the number of vertices in C colored by slack generation.
Call k = |L| = |C| − t. Every color available to v belongs to R unless it is used by an anti-neighbor. Hence, every v ∈ L has deg(v, R) ⩾ |Lϕ(v)| − a(v) ⩾ k + Ω(log n) − 2a(v), where the second inequality uses Eq (3) along with the fact that v has at least k − a(v) uncolored neighbors in C.
Now, let us explain how we apply Lemma 3.6. Since C contains fewer than 107ε∆ ⩽ ∆/10 anti-edges, from picking ε ⩽ 10−8, at least half of the vertices have no anti-neighbor. For such a vertex v, the lower bound on deg(v, R) implies that |R| ⩾ deg(v, R) ⩾ k. The inequality |R| ⩽ 2k holds because |R| ⩽ ∆ − 1 and k = |C| − t ⩾ 4∆/5 ⩾ |R|/2 by Fact 5.9. This shows the Part (1) of Lemma 3.6. Part (2) follows from the lower bound on deg(v, R) since k ⩾ ∆/2 by Fact 5.9, and a(v) ⩽ ε∆ ⩽ 2εk ⩽ k/3 for every vertex. We conclude by proving Part (3). Fix S ⊆ A such that |S| ⩾ k/2. Then, using again the lower bound on deg(v, R), we have
v∈S deg(v, R) ⩾ |S| · k + |S| · Ω(log n) − 2 v∈S a(v)
where the second inequality uses the bound on the number of anti-edges in C and the last that ε ⩽ 10−8.
5.5.Step 5: Inverting the Reed Transform. In this step, we take the coloring of H computed thus far and inverse the Reed Transform from Algorithm 1 to deduce a coloring of G′, i.e., of the all vertices except those in non-small solitary or non-small αρ2-popular almost-cliques. We emphasize that we may change colors given by slack generation (Algorithm 2), thus guarantees of Propositions 5.10 to 5.12 do not apply henceforth.
The algorithm same-color two pairs of vertices in each almost-clique removed by the Reed Transform. This guarantees that the remaining vertices can be serenely colored (recall that we know the neighborhood of core-critical vertices). We argue that the pairs can be same-colored greedily, in fact they always have Ω(∆/ρ) colors available. When certain pairs of vertices to same-color overlap, then we same-color entire independent sets at once.
Lemma 5.19. Let H be the graph from Algorithm 1. Suppose ϕ is a total proper serene coloring of H. With high probability, we compute a serene coloring of G′, i.e., of the graph G where all non-small solitary and non-small αρ2-popular almost-cliques are removed.
Proof. The goal is to same-color all pairs of vertices xivi and sizi, where zi is an anti-neighbor of si in Ki. Then the coloring can be serenely extended to all 2ρ-friendly critical almost-cliques with a (∆ − 1)-clique, by Claim 5.14. If a vertex in Di does not have degree ∆, we do not have any vertices xi and yi; same-coloring the sizi pair suffices. If f(Si) is not an independent set, we pick any pair ui = vi ∈ Si such that xi = f(ui) and yi = f(vi) are adjacent in G′.
Denote by S, X, Y, U and V the set vertices respectively containing all si, xi, yi, ui and vi. Recall that Algorithm 1 chooses X and V disjoint (because V ⊆ ART while X ∩ ART = ∅). For w, call S(w) the set of i ∈ I for which w = si. First, let us explain how we select the zi vertices.
Claim 5.20. If |S(w)| ⩾ 1, then there exist vertices zi ∈ Ki − N(w) for all i ∈ S(w) and such that
I(w) := {w} ∪ {zi : w = si} ∪ {vi : w = xi or zj = xi for some j ∈ S(w)}
is an independent set.
Proof of claim. There are two cases.
Case 1: w ∈ Ci and S(w) = {i}. Pick any zi ∈ Ki − N(w). Let us argue that I(w) is an independent set. First, zi is not adjacent to a vj with w = xj because vj has only one external neighbor different from sj, and it is w. Consider a vj with zi = xj. There are no edges between vj and w because it would mean that w = yj hence that the Reed Transform chose xj, yj in the same critical almost-clique, which is impossible (by Algorithm 1, Step v)b). Also note that V is an independent set (because V ⊆ ART while f(V) ∩ ART = ∅).
Case 2: Observe that, if we are not in Case 1, we have that Ki − N(w) contains at least ρ vertices for each i ∈ S(w). It follows from ?? of Definition 3.2 when w / ∈ Ci and, when w ∈ Ci, from the observation that w has at least e(w) ⩾ ∆/(2ρ) external neighbors (because |S(w)| ⩾ 2 hence w is ∆/(2ρ)-friendly with an almost-clique different from Ci), thus w has at least a(v) ⩾ e(v) − ρ ⩾ ρ anti-neighbors (the first inequality uses that Ci is not small).
We use the probabilistic method. Sample each node of i∈S(w) Ki − N(w) into a set R w.p. 1/10. For each i ∈ S(w), let Ri = R ∩ Ki − N(w). Define Xu as the indicator random variable equal to one iff u ∈ R and E(u) ∩ R = ∅ and f(vj) / ∈ R for all vj with u = xj. Observe that if we only select zi’s such that Xzi = 1, then we are guaranteed that I(w) is an independent set. Since u has at most two external neighbors, each leading to at most one f(vj), it should be clear that Exp[Xu] ⩾ 1/10(1 − 4/10) ⩾ 1/100. The variable depends on vertices of external degree at most two joining R or not. As each vertex in some Ki − N(w) has at most two external neighbors, the read-k bound (Proposition 3.9 with k = O(1) and δ = 1/200) implies that u∈Ki−N(w) Xu ⩾ ρ/200 w.e.h.p. in ρ/k = Ω(ρ), hence with high probability in n.
Taking the union bound over the at most ∆ indices in S(w), we can pick all the zi this way, w.p. 1 − exp(−Ω(ρ)). In particular, there must exist such a choice of {zi}, as desired.
Call zi the vertex given by Claim 5.20 in Ci and call Z the set of all zi vertices. Note that X can overlap with S and Z. The nodes in Z, V are core-critical but not those in S. We same-color the pairs in the following order:
(1) uncolor all vertices of S,
(2) color all vi with ϕ(xi) where xi is colored,
(3) color all pairs sizi and xivi where xi ∈ S ∪ Z, and finally
(4) color all remaining pairs xivi, i.e., where xi / ∈ S ∪ Z and xi ∈ Cj with j ∈ I.
Step (2) cannot create a color conflict because vi has at most one colored external neighbor yi (after uncoloring S) and H (from the Reed Transform) contained an edge between xi and yi.
Let us explain how we perform Step (3). We form a virtual graph Q1 by contracting sets of vertices in G. More precisely, for a set of disjoint sets of vertices I ⊆ 2V(G), denote by G/I the graph with vertex set I and an edge between two vertices if the corresponding sets contain adjacent vertices in G. Let I1 be the sets of I(w) for all w ∈ S and Q1 = G/I1. For a vertex I of Q1 (i.e., I ∈ I1), let L(I) be the intersection of the lists of available colors in G overall the vertices in I, i.e., L(I) = w∈I Lϕ(w).
Since each I(w) is an independent set, a coloring of Q1 using lists L(I) induces a proper extension of the coloring to G where vertices from the same I(w) ∈ I1 are colored the same. Since each si has at least ∆/ρ uncolored neighbors, while each element I(si) other than si gives rises to O(1) edges, we do obtain a (deg +Ω(∆/ρ))-list-coloring instance.
Claim 5.21. For all I ∈ I1, we have that |L(I)| ⩾ deg(I, Q1) + ∆/4ρ.
Proof of claim. By definition, I contains exactly one vertex s ∈ S and the remaining vertices are from Z or V. Let W be the number of neighbors of s (in G) that have already been colored. Let T be the number of uncolored neighbors of s that are not in an almost-clique containing a vertex of I. Let R = |S(s)| be the number of pairs sjzj such that s = sj. For each of the R pairs szi (for which s = si), the vertex s has ∆/2ρ neighbors in Ki (as a 2ρ-friend of Ci in G). Let P be the number of pairs svi such that s = xi. For each of the P pairs svi (for which s = xi), s has a neighbor ui in Ci. Since the total degree of s in G is at most ∆, we have that
T + R · ∆/(2ρ) + P + W ⩽ ∆ .
To count the degree of I in Q1, we count the number of edges between vertices of I and vertices in some I′ ∈ I1 − I. First, each of the T uncolored neighbor of s could belong to some I′. Second, each vi with s = xi has one edge to si / ∈ I. Third, for each j ∈ S(s), the vertex s is adjacent to vj / ∈ I that gets same-colored as some xj. Finally, each zi ∈ I has at most two external neighbors that each cause to increase of I by one, either because the external is an uncolored vertex in some other I′ ∈ I1 or because it is a vj such that zi = xj, and it has an edge to sj. So we may bound the degree in Q1 as
deg(I, Q1) ⩽ T + 3R + P .
The L(I) contains at least ∆ − 1 − W − 2R colors because a pair xivi where xi = w or xi = zj is such that all neighbors of vi are uncolored. Combining the two displayed expressions, we obtain that |L(I)| ⩾ T + P + R(∆/(2ρ) − 3) − 1. Since R ⩾ 1 and ∆ ⩾ ρ3 by assumption, the claim follows.
To implement this in streaming, recall that we know all edges incident to core-critical vertices, which include Z and V. In particular, we can compute the sets I(w) described in Claim 5.20, which thereby implies that we know Q1. We color vertices of Q1 greedily. When it comes to I = I(w) with w ∈ S, we claim that we can color I with some color from L5(w) with high probability. Indeed, by Claim 5.21, for any partial coloring of Q1, the vertex I still has Ω(∆/ρ) available colors, thus
Pr[L5(w) ∩ L(I) = ∅] ⩽ 1 − ρ2 ∆ ∆ 4ρ ⩽ exp(−Ω(ρ)) ⩽ 1/poly(n) .
In particular, when we color vertices of I with that color, the coloring remains serene because (1) w is the only non-core-critical vertex of this set, and it gets a color from its random list, and (2) we know the neighborhood of all other vertices from sparse recovery.
The pairs that remain to be same-colored are of the form xivi such that xi / ∈ S ∪ Z and xi ∈ Cj for some j ∈ I. As such, it has at least ∆ − O(ρ) available colors and at most two external neighbors. It can be that xi = xj = x, in which case we must same color the three vertices x, vi and vj. Note that vi and vj cannot be adjacent as V is an independent set. Since the uncolored vertices in X and V belong to (∆ − 1)-cliques of which at most two vertices are colored, the vertices to same-color share at least ∆ − O(1) available colors.
Claim 5.6-iii) implies that |X ∩ Ci| ⩽ 4∆/ρ for all i ∈ I because X ⊆ f(T). Hence, the degree of virtual vertices is at most 12∆/ρ, and we can use (deg +1)-list-coloring. Recall that all the xi that remains are core-critical, hence we know their neighborhood and can serenely color them with any color.
5.6.Step 6: Post-processing. Finally, we assume that ϕ is a serene coloring of G′, i.e., of all the vertices except for the non-small solitary and non-small αρ2-popular almost-cliques. We iterate over such almost-cliques and apply either Lemma 5.22 or Lemma 5.23. The algorithm successfully colors all such almost-cliques with high probability by the union bound.
Lemma 5.22. Suppose ϕ is a serene coloring and C is an αρ2-popular almost-clique that is neither small nor solitary. With high probability over L6(V), we can compute a serene coloring ψ such that C ∪ dom ϕ ⊆ dom ψ.
Proof. We assume without loss of generality that C is uncolored in ϕ, and otherwise begin by uncoloring all its vertices. Let K be the core of C and let x1, x2 be two αρ2-friend of C and w their shared neighbor in C. If C = K and s ∈ C − K is not x1 nor x2, we begin by coloring s. It has at least ∆/2 uncolored neighbors in C, thus at least ∆/2 − 1 − ε∆ ⩾ ∆/3 available colors. The probability that none of those colors are sampled in L6(s) is at most (1 − ρ3/∆)∆/3 ⩽ 1/poly(n). So we may color s while keeping the coloring serene. Recall that since C is not solitary, the only vertex in C − K is s, thus only K remains to color.
We have that x1, x2 / ∈ K and w ∈ K. Recall that every v ∈ K has a(v) ⩽ 1 and e(v) ⩽ ρ + 1 because C is not solitary nor small, respectively. In particular, we know NG(v) for all v ∈ K. Denote by z1 = z2 ∈ K the anti-neighbors of x1 and x2 respectively (whose existence is given by definition, c.f. Definition 4.6). Then Lϕ(xi) ∩ Lϕ(zi) contains at least ∆/(αρ2) − 1 − e(zi) ⩾ ∆/(2αρ2) colors, because xi has at least ∆/(αρ2) uncolored neighbors in K. Since each color is sampled independently with probability ρ3/∆, we have that
Pr[L6(x1) ∩ Lϕ(x1) ∩ Lϕ(z1) = ∅] ⩽ 1 − ρ3 ∆ ∆ 2αρ2 ⩽ exp(−ρ/2α) ⩽ 1/poly(n) .
So, w.h.p., we can serenely same-color x1 and z1. Similarly, w.h.p., we can serenely same-color x2 and z2 with a different color. As w is incident to x1, x2, z1, z2, it has two units of slack. Any other vertex in N(x1) ∩ K is adjacent to w, x1 and z1. So the coloring can be extended to K.
Lemma 5.23. Suppose ϕ is a serene coloring and C is a non-small solitary almost-clique. With high probability over L6(V), we can compute a serene coloring ψ such that C ∪ dom ϕ ⊆ dom ψ.
Proof. We assume without loss of generality that C is uncolored in ϕ, and otherwise begin by uncoloring all its vertices. We may also assume that C contains fewer than 107ε∆ anti-edges, since otherwise Lemma 3.7 colors C through palette sparsification. In particular, it implies that |C| ⩽ ∆ + 1. Recall that for such C, we recover a solitary helper structure as specified in Definition 4.7 (by Lemma 4.8). Suppose that it is of the first kind: we know about distinct vertices v1, u1, v2, u2 ∈ C such that v1u1 and v2u2 are disjoint anti-edges, and we know N(u1) and N(u2). We serenely same-color viui with a color from L6(vi). We also use different colors for both anti-edges. Since C is uncolored, v1 and u2 have at least ∆/2 shared available colors and the probability that none of them get sampled in L6(v1) is
Pr[L6(v1) ∩ Lϕ(v1) ∩ Lϕ(u1) = ∅] ⩽ 1 − ρ3 ∆ ∆/2 ⩽ exp(−ρ3/2) ⩽ 1/poly(n) .
The same goes for v2 and u2 excluding also the color picked for v1u1. Call χ1 and χ2 the color given to v1u1 and v2u2 respectively. We argue that the coloring of C can be extended through palette sparsification.
Since C contains fewer than 107ε∆ ⩽ ∆/10 anti-edges, at most half of the vertices of C have some anti-neighbor. Call this set S. Each vertex from S has at least (1 − ε)∆ − 4 uncolored neighbors, hence at least ∆/2 available colors. We color vertices v ∈ S sequentially with colors from their random list L6(v). The probability that we do not find a color for some v ∈ S is at most (1 − ρ3/∆)∆/2 ⩽ 1/poly(n); hence, by union bound, all vertices of S get serenely colored with high probability. To color the vertices of C − S, observe that since they have no anti-neighbor, they also have external degree at most ρ. In particular, we know their neighborhood from sparse recovery. First, we color greedily the vertices of C − S − N(v1) ∩ N(u1) ∩ N(v2) ∩ N(u2). This is possible because each such vertex has at least (1 − 5ε)∆ ⩾ 2 uncolored neighbors in N(v1) ∩ N(u1) ∩ N(v2) ∩ N(u2). Finally, we color greedily vertices of N(v1) ∩ N(u1) ∩ N(v2) ∩ N(u2), which is possible because they have two pairs of same-colored neighbors.
For the second type of solitary helper structure, where we recover a 3-independent set v, u1, u2 along with N(u1) and N(u2), we same-color v, u1 and u2 with a color from χ ∈ L6(v). It exists w.h.p. by the same argument as in the prior case. Then, we can color the remaining vertices like we did in the previous case.
6.Lower bound for (∆ − k)-Coloring in Semi-Streaming
Recall that by a result of Molloy and Reed [MR14], graphs of maximum degree ∆ (larger than some sufficiently large constant) that do not have certain forbidden local subgraphs can be (∆ − k)-colored for all k such that (k + 1)(k + 2) ⩽ ∆. Very recently, [FHJM26] proved that such a (∆ − k)-coloring can be computed in poly(log log n) rounds of Local for all such k but the largest one (for which the problem requires Ω(n/∆) rounds).
In this section, we show that such a result cannot be obtained in semi-streaming.
Theorem 2. Let ∆, c > 0 be non-negative integers such that (∆ + 1)/2 < c ⩽ ∆. Any (possibly randomized) one-pass streaming algorithm that outputs a c-coloring of given c-colorable n-vertex graph of maximum degree ∆ requires Ω(n(∆ − c + 1)) space.
The proof is via a reduction to the one-way communication complexity of the INDEXm problem. In this problem, Alice is given a bit-string x = (x1, x2, . . . , xm) and Bob is given an index i ∈ [m]. Alice sends one message to Bob and so that Bob correctly outputs xi with probability at least 2/3. It is well-known that Alice needs to send Ω(m) bits to Bob (see [KNR99, Theorem 3.7] or [RY20, Chapter 6] for a more recent treatment).
We construct a gadget with Θ(∆) vertices such that Bob can infer the value of xi from a proper c-coloring of that graph. The graph induced by C is a (c − 3)-clique, and the graph induced by A ∪ B will be the complement of that induced by A ∪ B. We select m pairs e1, e2, . . . , em between A and B, but Alice includes the edge ej iff xj = 1 (and the corresponding edge between A and B is added iff xj = 0). Then Bob connects the endpoints of ei in A ∪ B, and he connects all the vertices of C and the endpoints of ei to the endpoints of ei in A ∪ B. See Figure 3. The key observation is that the graph induced by C plus the endpoints of ei in A ∪ B and A ∪ B form a (c + 1)-clique minus one of the edge in A ∪ B or A ∪ B, depending on whether xi = 0 or xi = 1. Since any c-coloring of this graph must same-color the endpoints of this missing edge, Bob recovers the value of xi from a proper c-coloring of this gadget. It follows that c-coloring this gadget requires Ω(∆(∆ − c + 1)) bits. To obtain Theorem 2, we create g = m ∆(∆−c+1) parallel gadgets, each encoding a different contiguous block of ∆(∆ − c + 1) bits from x.
Figure 3: One gadget from the lower bound with ∆ = 7 and c = 6. In black are the edges of C, known to both players, and in gray the pairs used to encode the bits of x. The edges known/added by Alice are represented in red, and the edges known/added by Bob are represented in blue. Here x = 10101011011000 as read on the right with the edges between A and B, and i = 1 since the edges of Bob are incident to the first gray pair.
Proof of Theorem 2. Suppose there exists a streaming algorithm as described in Theorem 2. Let m be an integer divisible by ∆(∆ − c + 1). Let (x1, x2, . . . , xm) ∈ {0, 1}m be Alice’s input and i ∈ [m] be Bob’s input to the INDEX problem. Alice and Bob construct the following graph G(x, i).
Let g = m ∆(∆−c+1) and n = g(4∆ + c − 3) be the number of vertices. The graph is the union of g gadgets: for all q ∈ [g], we have the following five sets of vertices
Aq = {a1q, a2q, . . . , a∆q}, Bq = {b1q, b2q, . . . , b∆q}, Aq = {a1q, a2q, . . . , a∆q}, Bq = {b1q, b2q, . . . , b∆q}, Cq = {c1q, c2q, . . . , cc−3q}
For succinctness, we call Gq the subgraph of G(x, i) induced by Aq ∪ Bq ∪ Aq ∪ Bq ∪ Cq for all q ∈ [g] (this is the gadget from Figure 3). An edge connects every pair of vertices in Cq, i.e., Cq is a (c − 3)-clique. Let F = ([2∆], E) be a (∆ − c + 1)-regular bipartite graph with bipartition {1, 2, . . . , ∆} and {∆ + 1, ∆ + 2, . . . , 2∆}. Number the edges of F as e1, e2, . . . , et with t = ∆(∆ − c + 1).
For j ∈ [m], let r, q ∈ N be such that j = gq + r and er = {x, ∆ + y}. If xj = 1, Alice adds the edge {axq, byq} and if xj = 0 Alice adds the edge {axq, byq}. Observe that the graph induced by Aq ∪ Bq is the complement of that induced by Aq ∪ Bq, for an edge exists in one iff it does not in the other.
Then let i = gp + ℓ and eℓ = {x, ∆ + y}. Bob connects axp, byp, axp and byp to all vertices of Cp. He also adds and connects those four vertices as in K2,2: he adds edges {axp, axp}, {axp, byp}, {byp, axp}, and {byp, byp}.
Since c ⩽ ∆, the graph G(x, i) has maximum degree ∆. The graph Gq for q = p is c-colorable since Aq ∪ Bq induces a bipartite graph, Cq is a (c − 3)-clique, and Bob did not add any edge between them. Observe that Cp ∪ {axp, byp, axp, byp} is a (c + 1)-clique minus one edge, where the edge missing is {axp, byp} if xi = 1, and {axp, byp} if xi = 0. So Cp ∪ {axp, byp, axp, byp} can be c-colored by using the same color for both endpoints of that missing edge. The vertices that are not part of this (c + 1)-clique have degree at most ∆ − c + 1, thus can be greedily colored when c > (∆ + 1)/2. Observe that, in fact, any proper c-coloring of Cp ∪ {axp, byp, axp, byp} must same-color the endpoints of the missing edge. As such, Bob recovers the value of xi from a c-coloring of G(x, i).
To solve the INDEX instance x, i, Alice runs the streaming algorithm on all the edges of G(x, i) except those added by Bob. Then she sends to Bob everything stored by the streaming algorithm, and Bob completes the streaming pass by processing his edges. Since the algorithm produces a proper c-coloring of G(x, i) with probability at least 2/3, Bob recovers xi with probability at least 2/3. It follows that the streaming algorithm must use
Ω(m) = Ω(g∆(∆ − c + 1)) ⩾ Ω(n(∆ − c + 1))
space, where the last inequality uses that g ⩾ n/(5∆) since c ⩽ ∆.
References
[AA20] Noga Alon and Sepehr Assadi. “ Palette Sparsification Beyond (∆+1) Vertex Coloring”. In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2020, August 17-19, 2020, Virtual Conference. Vol. 176. LIPIcs. 2020. doi: 10 . 4230 / LIPIcs . APPROX / RANDOM . 2020 . 6 (cit. on p. 1).
[ACK19] Sepehr Assadi, Yu Chen, and Sanjeev Khanna. “ Sublinear Algorithms for (∆ + 1) Vertex Coloring”. In: Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019. 2019. doi: 10 . 1137 / 1 . 9781611975482 . 48 (cit. on p. 1).
[ACS22] Sepehr Assadi, Andrew Chen, and Glenn Sun. “ Deterministic graph coloring in the streaming model”. In: STOC ’22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June 20 - 24, 2022. 2022. doi: 10 . 1145 / 3519935 . 3520016 (cit. on p. 1).
[AKM23] Sepehr Assadi, Pankaj Kumar, and Parth Mittal. “ Brooks’ Theorem in Graph Streams: A Single-Pass Semi-Streaming Algorithm for ∆-Coloring”. In: TheoretiCS 2 (2023). doi: 10 . 46298 / theoretics . 23 . 9 (cit. on p. 1).
[ASY26] Sepehr Assadi, Janani Sundaresan, and Helia Yazdanyar. “ Coloring Graphs with Few Colors in the Streaming Model”. In: Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2026. 2026. doi: 10 . 1137 / 1 . 9781611978971 . 217 (cit. on p. 1).
[AW22] Sepehr Assadi and Chen Wang. “ Sublinear Time and Space Algorithms for Correlation Clustering via Sparse-Dense Decompositions”. In: 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, January 31 - February 3, 2022, Berkeley, CA, USA. Vol. 215. LIPIcs. 2022. doi: 10 . 4230 / LIPIcs . ITCS . 2022 . 10 (cit. on p. 1).
[AY25] Sepehr Assadi and Helia Yazdanyar. “ Simple Sublinear Algorithms for (∆ + 1) Vertex Coloring via Asymmetric Palette Sparsification”. In: 2025 Symposium on Simplicity in Algorithms, SOSA 2025, New Orleans, LA, USA, January 13-15, 2025. 2025. doi: 10 . 1137 / 1 . 9781611978315 . 1 (cit. on p. 1).
[BBMU21] Anup Bhattacharya, Arijit Bishnu, Gopinath Mishra, and Anannya Upasana. “ Even the Easiest(?) Graph Coloring Problem Is Not Easy in Streaming!” In: 12th Innovations in Theoretical Computer Science Conference, ITCS 2021, January 6-8, 2021, Virtual Conference. Vol. 185. LIPIcs. 2021. doi: 10 . 4230 / LIPIcs . ITCS . 2021 . 15 (cit. on p. 1).
[BCHN18] Sayan Bhattacharya, Deeparnab Chakrabarty, Monika Henzinger, and Danupon Nanongkai. “ Dynamic Algorithms for Graph Coloring”. In: Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018. 2018. doi: 10 . 1137 / 1 . 9781611975031 . 1 (cit. on p. 1).
[BE19] Étienne Bamas and Louis Esperet. “ Distributed Coloring of Graphs with an Optimal Number of Colors”. In: 36th International Symposium on Theoretical Aspects of Computer Science, STACS 2019, March 13-16, 2019, Berlin, Germany. Vol. 126. LIPIcs. 2019. doi: 10 . 4230 / LIPIcs . STACS . 2019 . 10 (cit. on p. 1).
[BEPS16] Leonid Barenboim, Michael Elkin, Seth Pettie, and Johannes Schneider. “ The Locality of Distributed Symmetry Breaking”. In: J. ACM 63.3 (2016). doi: 10 . 1145 / 2903137 (cit. on p. 1).
[BGKLS22] Sayan Bhattacharya, Fabrizio Grandoni, Janardhan Kulkarni, Quanquan C. Liu, and Shay Solomon. “ Fully Dynamic (∆ +1)-Coloring in O(1) Update Time”. In: ACM Trans. Algorithms 18.2 (2022). doi: 10 . 1145 / 3494539 (cit. on p. 1).
[BK77] Oleg V Borodin and Alexandr V Kostochka. “ On an upper bound of a graph’s chromatic number, depending on the graph’s degree and density”. In: Journal of Combinatorial Theory, Series B 23.2-3 (1977). doi: 10 . 1016 / 0095 - 8956(77 ) 90037 - 5 (cit. on p. 1).
[Bro41] Rowland Leonard Brooks. “ On colouring the nodes of a network”. In: Mathematical Proceedings of the Cambridge Philosophical Society 37.2 (1941). doi: 10 . 1017 / S030500410002168X (cit. on p. 1).
[BRW25] Soheil Behnezhad, Rajmohan Rajaraman, and Omer Wasim. “ Fully Dynamic (∆ + 1)-Coloring Against Adaptive Adversaries”. In: Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025. 2025. doi: 10 . 1137 / 1 . 9781611978322 . 169 (cit. on p. 1).
[BW14] Bradley Baetz and David R Wood. Brooks’ vertex-colouring theorem in linear time. 2014. doi: 10 . 48550 / arXiv . 1401 . 8023. arXiv: 1401 . 8023 [cs.DM] (cit. on p. 1).
[CDP21] Artur Czumaj, Peter Davies, and Merav Parter. “ Simple, Deterministic, Constant-Round Coloring in Congested Clique and MPC”. In: SIAM J. Comput. 50.5 (2021). doi: 10 . 1137 / 20M1366502 (cit. on p. 1).
[CFGUZ19] Yi-Jun Chang, Manuela Fischer, Mohsen Ghaffari, Jara Uitto, and Yufan Zheng. “ The Complexity of (∆+1) Coloring in Congested Clique, Massively Parallel Computation, and Centralized Local Computation”. In: Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing, PODC 2019, Toronto, ON, Canada, July 29 - August 2, 2019. 2019. doi: 10 . 1145 / 3293611 . 3331607 (cit. on p. 1).
[CGS22] Amit Chakrabarti, Prantar Ghosh, and Manuel Stoeckl. “ Adversarially Robust Coloring for Graph Streams”. In: 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, January 31 - February 3, 2022, Berkeley, CA, USA. Vol. 215. LIPIcs. 2022. doi: 10 . 4230 / LIPIcs . ITCS . 2022 . 37 (cit. on p. 1).
[CLP20] Yi-Jun Chang, Wenzheng Li, and Seth Pettie. “ Distributed (∆+1)-Coloring via Ultrafast Graph Shattering”. In: SIAM J. Comput. 49.3 (2020). doi: 10 . 1137 / 19M1249527 (cit. on p. 1).
[CMNS25] Yi-Jun Chang, Gopinath Mishra, Hung Thuan Nguyen, and Farrel D. Salim. “ Round and Communication Efficient Graph Coloring”. In: Proceedings of the ACM Symposium on Principles of Distributed Computing, PODC 2025, Hotel Las Brisas Huatulco, Huatulco, Mexico, June 16-20, 2025. 2025. doi: 10 . 1145 / 3732772 . 3733508 (cit. on p. 1).
[CR13] Daniel W. Cranston and Landon Rabern. “ Coloring Claw-Free Graphs with Delta-1 Colors”. In: SIAM J. Discret. Math. 27.1 (2013). doi: 10 . 1137 / 12088015X (cit. on p. 1).
[Dha24] Abhishek Dhawan. “ Palette Sparsification for Graphs with Sparse Neighborhoods”. In: arXiv preprint arXiv:2408.08256 (2024). doi: 10 . 48550 / arXiv . 2408 . 08256 (cit. on p. 1).
[Doe20] Benjamin Doerr. “ Probabilistic Tools for the Analysis of Randomized Optimization Heuristics”. In: Theory of Evolutionary Computation - Recent Developments in Discrete Optimization. Natural Computing Series. 2020. doi: 10 . 1007 / 978 - 3 - 030 - 29414 - 4 _ 1 (cit. on p. 1).
[EPS15] Michael Elkin, Seth Pettie, and Hsin-Hao Su. “ (2∆ - l)-Edge-Coloring is Much Easier than Maximal Matching in the Distributed Setting”. In: Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015. 2015. doi: 10 . 1137 / 1 . 9781611973730 . 26 (cit. on p. 1).
[FGHKN24] Maxime Flin, Mohsen Ghaffari, Magnús M. Halldórsson, Fabian Kuhn, and Alexandre Nolin. “ A Distributed Palette Sparsification Theorem”. In: Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024. 2024. doi: 10 . 1137 / 1 . 9781611977912 . 142 (cit. on p. 1).
[FH25] Maxime Flin and Magnús M. Halldórsson. “ Faster Dynamic (∆+1)-Coloring Against Adaptive Adversaries”. In: 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025. Vol. 334. LIPIcs. 2025. doi: 10 . 4230 / LIPIcs . ICALP . 2025 . 79 (cit. on p. 1).
[FHJM26] Maxime Flin, Magnús M. Halldórsson, Manuel Jakob, and Yannic Maus. Sublogarithmic Distributed Vertex Coloring with Optimal Number of Colors. To appear at STOC 2026. 2026. doi: 10 . 48550 / arXiv . 2603 . 28637. arXiv: 2603 . 28637 [cs.DC] (cit. on p. 1).
[FHM23] Manuela Fischer, Magnús M. Halldórsson, and Yannic Maus. “ Fast Distributed Brooks’ Theorem”. In: Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023. 2023. doi: 10 . 1137 / 1 . 9781611977554 . ch98 (cit. on p. 1).
[FM25] Maxime Flin and Parth Mittal. “ (∆ + 1) vertex coloring in O(n) communication”. In: Distributed Comput. 38.1 (2025). doi: 10 . 1007 / s00446 - 024 - 00475 - 3 (cit. on p. 1).
[GLSS15] Dmitry Gavinsky, Shachar Lovett, Michael E. Saks, and Srikanth Srinivasan. “ A tail bound for read-k families of functions”. In: Random Struct. Algorithms 47.1 (2015). doi: 10 . 1002 / rsa . 20532 (cit. on p. 1).
[HKMT21] Magnús M. Halldórsson, Fabian Kuhn, Yannic Maus, and Tigran Tonoyan. “ Efficient randomized distributed coloring in CONGEST”. In: STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021. 2021. doi: 10 . 1145 / 3406325 . 3451089 (cit. on p. 1).
[HKNT22] Magnús M. Halldórsson, Fabian Kuhn, Alexandre Nolin, and Tigran Tonoyan. “ Near-optimal distributed degree+1 coloring”. In: STOC ’22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June 20 - 24, 2022. 2022. doi: 10 . 1145 / 3519935 . 3520023 (cit. on p. 1).
[HNT21] Magnús M. Halldórsson, Alexandre Nolin, and Tigran Tonoyan. Ultrafast Distributed Coloring of High Degree Graphs. 2021. doi: 10 . 48550 / arXiv . 2105 . 04700. arXiv: 2105 . 04700 [cs.DC] (cit. on p. 1).
[HP22] Monika Henzinger and Pan Peng. “ Constant-time Dynamic (∆ +1)-Coloring”. In: ACM Trans. Algorithms 18.2 (2022). doi: 10 . 1145 / 3501403 (cit. on p. 1).
[HS20] Juho Hirvonen and Jukka Suomela. Distributed Algorithms. 2020 (cit. on p. 1).
[HSS18] David G. Harris, Johannes Schneider, and Hsin-Hao Su. “ Distributed (∆ +1)-Coloring in Sublogarithmic Rounds”. In: J. ACM 65.4 (2018). doi: 10 . 1145 / 3178120 (cit. on p. 1).
[KK23] Jeff Kahn and Charles Kenney. “ Asymptotics for palette sparsification”. In: arXiv preprint arXiv:2306.00171 (2023). doi: 10 . 48550 / arXiv . 2306 . 00171 (cit. on p. 1).
[KK24] Jeff Kahn and Charles Kenney. “ Asymptotics for Palette Sparsification from Variable Lists”. In: arXiv preprint arXiv:2407.07928 (2024). doi: 10 . 48550 / arXiv . 2407 . 07928 (cit. on p. 1).
[KLS00] Sanjeev Khanna, Nathan Linial, and Shmuel Safra. “ On the hardness of approximating the chromatic number”. In: Combinatorica 20.3 (2000). doi: 10 . 1007 / s004930070013 (cit. on p. 1).
[KNR99] Ilan Kremer, Noam Nisan, and Dana Ron. “ On Randomized One-Round Communication Complexity”. In: Comput. Complex. 8.1 (1999). doi: 10 . 1007 / s000370050018 (cit. on p. 1).
[Lin92] Nathan Linial. “ Locality in Distributed Graph Algorithms”. In: SIAM J. Comput. 21.1 (1992). doi: 10 . 1137 / 0221015 (cit. on p. 1).
[Lov75] László Lovász. “ Three Short Proofs in Graph Theory”. In: Journal of Combinatorial Theory, Series B 19.3 (1975). doi: 10 . 1016 / 0095 - 8956(75 ) 90089 - 1 (cit. on p. 1).
[LY94] Carsten Lund and Mihalis Yannakakis. “ On the hardness of approximating minimization problems”. In: J. Assoc. Comput. Mach. 41.5 (1994). doi: 10 . 1145 / 185675 . 306789 (cit. on p. 1).
[MR02] Michael Molloy and Bruce Reed. Graph colouring and the probabilistic method. Vol. 23. Algorithms and Combinatorics. 2002. doi: 10 . 1007 / 978 - 3 - 642 - 04016 - 0 (cit. on p. 1).
[MR14] Michael Molloy and Bruce A. Reed. “ Colouring graphs when the number of colours is almost the maximum degree”. In: J. Comb. Theory B 109 (2014). doi: 10 . 1016 / j . jctb . 2014 . 06 . 004 (cit. on p. 1).
[MV69] L. S. Melnikov and V. G. Vizing. “ New Proof of Brooks’ Theorem”. In: Journal of Combinatorial Theory 7.4 (1969). doi: 10 . 1016 / S0021 - 9800(69 ) 80057 - 8 (cit. on p. 1).
[Ree98] Bruce A. Reed. “ ω, ∆, and χ”. In: J. Graph Theory 27.4 (1998) (cit. on p. 1).
[Ree99] Bruce Reed. “ A strengthening of Brooks’ theorem”. In: Journal of Combinatorial Theory, Series B 76.2 (1999). doi: 10 . 1006 / jctb . 1998 . 1891 (cit. on p. 1).
[RY20] Anup Rao and Amir Yehudayoff. Communication Complexity: and Applications. Cambridge, 2020. doi: 10 . 1017 / 9781108671644 (cit. on p. 1).
[SS22] Gopalan Sajith and Sanjeev Saxena. On Brooks’ Theorem. 2022. doi: 10 . 48550 / arXiv . 2208 . 02186. arXiv: 2208 . 02186 [cs.DM] (cit. on p. 1).
[ST15] Michael Stiebitz and Bjarne Toft. “ Brooks’ Theorem”. In: Topics in Chromatic Graph Theory. 2015. doi: 10 . 1017 / CBO9781139519793 . 005 (cit. on p. 1).
Appendix A.Sparse Recovery
Our sparse recovery technique follows closely that of [AKM23]. The first ingredient is a property of the Vandermonde matrix that allows to recover sparse vectors. A vector x ∈ Fn is k-sparse if it has at most k non-zero coordinates. We use the following well-known fact:
Proposition A.1. For n, k ⩾ 1 arbitrary integers and p ⩾ n a prime number, the Vandermonde matrix ΦV of dimension (2k × n) over Fp is defined as ΦVi,j = ji−1mod p for all i ∈ [2k] and j ∈ [n]. For any k-sparse vector x ∈ Fp, one can uniquely recover x from ΦVx in polynomial time.
Since we do not know whether vectors are k-sparse or not, we test the outcome produced by the recovery algorithm of Proposition A.1. We use random matrices; see [AKM23, Proposition 3.7] for a proof.
Proposition A.2. Let n, t ⩾ 1 be arbitrary integers and p ⩾ n a prime number. If x = y ∈ Fnp and ΦR ∈ F(t×n)p is a random matrix, we have
PrΦRx = ΦRy ⩽ p−t .
The streaming algorithm is the same as that of [AKM23] up to minor changes in the parameters. The recovery algorithm, after the streaming pass, is essentially the same except that we recover slightly more information in solitary almost-cliques.
Recall that ρ = Θ(ε−2 log n). For a set S ⊆ [n], denote by 1S the characteristic vector of S.
Proof of Lemma 4.8. Let us first argue about the space usage of Algorithm 3. For a given i and vertex v ∈ Vi, the vectors yi(v) ∈ F2sip and zi(v) ∈ Fcp require O(si log p) bits of memory to store. When i ∈ {0, 1, 2}, we have V = Vi, so the algorithm uses O(ns1 log n) = O(n log2 n) bits of memory. Then, each Vi for i ⩾ 3 has expected size n · 4ρ/si, thus by the Chernoff Bound,
Pr[|Vi| > 8nρ/si] ⩽ exp−4nρ 3si ⩽ 1/poly(n) ,
resulting in i O(nρ log p) = O(n log3 n) bits of memory for storing all the yi(v) and zi(v) vectors. Storing all the random matrices ΦRi requires O(n log p log n) = O(n log2 n) memory. It is not necessary to store ΦVi explicitly for its coefficients can be derived from si, p and n. Overall, we use O(n log3 n) = O(n log3 n) bits of memory.
Now, consider v ∈ C. Suppose that a(v) + e(v) ⩽ 4ρ. Observe that a(v) and e(v) are unknown at this point. At the end of the streaming pass, for every v ∈ V, we have that y2(v) = ΦV21N[v], so the vector x(v) = ΦV21C − y2(v) is equal to +1 at coordinates u ∈ A(v), −1 for u ∈ E(v) and zero otherwise. By assumption x(v) is 4ρ-sparse and we recover A(v) and E(v), by Proposition A.1; hence, we recover N(v). Now, suppose that a(v) + e(v) > 4ρ so that x(v) is not ρ-sparse, but by using the algorithm of Proposition A.1 on ΦV · x(v), we recover some set S ⊆ V. To test if S = N(v), we compute ΦR21S and test if it equals z2(v) = ΦR21N(v). By Proposition A.2, if S = N(v), we obtain different values with high probability.
Consider a non-small solitary almost-clique C. Observe that if {u, v} is an anti-edge of C such that a(u) + e(v) ⩽ 4ρ, then by the earlier argument we recover N(u) and learn about the anti-edge {u, v}. So we may assume that all anti-edges in G[C] have both endpoints with a(v) + e(v) > 4ρ. Observe it suffices to construct the 2-anti-matching helper structure from Definition 4.7, because when there is a 3-independent set and no 2-anti-matching, we recovered the neighborhood of all vertices.
Pick the two vertices v0 = v1 with largest anti-degrees in C. Observe that since C is not small, for both i ∈ {0, 1}, we have that
(4)4ρ ⩽ a(vi) + e(vi) ⩽ ∆ + 1 − |C| + 2a(vi) ⩽ ρ + 2a(vi) ,
and hence that a(vi) ⩾ ρ. Fix vi and call j ⩾ 1 the integer for which sj ⩽ a(vi) ⩽ sj+1 and A = A(vi) − v1−i. By the same reasoning as for Eq (4), every u ∈ A has
a(u) + e(u) ⩽ ρ + 2a(u) ⩽ ρ + 2sj+1 ⩽ sj+3 .
In particular, the vector x(u) = ΦVj+31C − yj+3(u) is sj+3-sparse for all u ∈ A. The probability that none of the u ∈ A gets sampled in Vj+3 is at most
(1 − pj+3)a(vi)−1 ⩽ exp− ρ sj+3(sj − 1) ⩽ exp(−ρ/16) ⩽ 1/poly(n) ,
where the last inequality holds because sj − 1 = sj+2/4 − 1 ⩾ sj+2/8 = sj+3/16 (using sj+2 ⩾ 8) and ρ ⩾ Θ(log n). After the streaming pass, we recover N(u) for every si-sparse vertex of Vi — eliminating those that are not sufficiently sparse with the test of Proposition A.2. For v0 and v1 in C, we thereby identify a 2-anti-matching {v0u0, v1u1} where we recovered N(u0) and N(u1).
Appendix B.Degree-Minus-One Choosable Subgraphs
A graph Q = (V, E) is (deg −1)-choosable if, for any lists L : V → 2N such that |L(v)| = deg(v, Q) − 1 for all v ∈ V, there exists a coloring ϕ of Q such that ϕ(v) ∈ L(v) for all v ∈ V.
The following lemma implies that every almost-clique with a 2-anti-matching or any popular almost-clique induces a (deg −1)-choosable subgraph of size 8.
Lemma B.1. Fix d ⩾ 5. Let Q be a graph on vertex set V = K + s1 + s2 where Q[K] is a d-clique and
(1) there exists some v ∈ N(s1) ∩ N(s2) ∩ K,
(2) both s1 and s2 are incident to at least 5 vertices in K, and
(3) there are two vertices a1 = a2 ∈ K such that a1 / ∈ N(s1) and a2 / ∈ N(s2).
Then Q is (deg −1)-choosable. This holds regardless of the existence of the edge {s1, s2}.
Proof. Fix arbitrary lists L : V → 2N such that |L(u)| = deg(u) − 1 for every u ∈ V. More precisely, L(v) contains exactly d colors, L(s1) and L(s2) contain between 4 and d colors, and every u ∈ K has at least d − 2 colors in its list.
We show by case analysis that we can provide two units of slack to v and one unit of slack to another uncolored vertex. It implies that the coloring of Q can be completed greedily.
Case 1: For at least one i ∈ {1, 2}, we have L(si) ∩ L(ai) = ∅. Let us assume without loss of generality that i = 1. Same-color {s1, a1} with χ1 ∈ L(s1) ∩ L(a1). This provides v with at least one unit of slack and some uncolored neighbor of s1 in K − v − a2 with unit slack (regardless of whether its list contains χ1 or not). We may assume that χ1 ∈ L(v) as otherwise, v has two units of slack, and we are done already. If there exists χ2 ∈ L(s2) ∩ L(a2) − χ1, we same-color s2 and a2 with χ2 which provides v a second unit of slack. So we henceforth assume L(s2) ∩ L(a2) − χ1 is empty. But in that case, there exists a color χ2 ∈ L(s2) ∪ L(a2) − χ1 that is not in L(v) because otherwise
d − 1 = |L(v) − χ1| ⩾ |L(s2) − χ1| + |L(a2) − χ1| ⩾ (4 − 1) + (d − 3) = d .
Coloring s2 or a2 with such a χ2 / ∈ L(v) − χ1 provides v its second unit of slack.
Case 2: For both i ∈ {1, 2} sets L(si) and L(ai) are disjoint. By the same argument as in Case 1, there must exist a color χ1 ∈ L(s1) ∪ L(a1) that is not in L(v). Color s1 or a1 with χ1 and leave the other vertex uncolored. This provides one unit of slack to v. Then, there must be x ∈ {s2, a2} such that L(x) − (L(v) + χ1) contains at least one color. We call y ∈ {s2, a2} − x the other vertex of the pair. Such an x exists, because L(x) and L(y) are disjoint and if L(v) contains both, then
d = |L(v)| ⩾ |L(x) − χ1| + |L(y) − χ1| ⩾ (d − 2) + 4 − 1 = d + 1 ,
a contradiction. We subtract χ1 (used by s1 or a1) only once as it can be in at most one of the two lists. There are now two subcases: let w be a shared neighbor of x and y in K − v − a1 (which exists because of (2))
• If there exists χ2 ∈ (L(x) − (L(v) + χ1)) − L(w) then coloring x with χ2 provides both v and w unit slack (and we are done).
• Otherwise, L(x) − (L(v) + χ1) ⊆ L(w) and coloring w with any color χ2 ∈ L(x) − (L(v) + χ1) provides one unit of slack to both v and y. Vertex y receives unit slack because χ2 ∈ L(x) which is disjoint from L(y).
For the remaining type of solitary almost-cliques, we have the following result. The argument is similar in nature but the case analysis differs. Here again, the resulting subgraph contains 9 vertices.
Lemma B.2. Fix d ⩾ 6. Let Q be a graph on vertex set V = K + u1 + u2 + u3 where Q[K] is a d-clique and
(1) {u1, u2, u3} is an independent set,
(2) each ui is adjacent to all vertices of K.
Then Q is a (deg −1)-choosable.
Proof. Fix lists L : V → 2N such that |L(v)| = deg(v) − 1 for all v. Each v ∈ K has a list of d + 1 colors and each ui has a list of d − 1 colors.
Suppose first that there exists a pair ui = uj for which L(ui) ∩ L(uj) contains at least 3 colors. Call v any vertex of K and uk = ui, uj the remaining u-vertex. If L(uk) shares a color with L(ui) ∩ L(uj), then we can extend the coloring by same-coloring all three vertices. If L(ui) ∩ L(uj) is not included in L(v), then we can extend the coloring by same-coloring uiuj with a color outside L(v). If L(ui) ∩ L(uj) ⊆ L(v) but L(uk) contains a color outside L(v), then we same-color uiuj and color uk with a color not in L(v). This is all the cases because otherwise L(ui) ∩ L(uj) and L(uk) are disjoint subsets of L(v), which implies the following absurdity
d + 2 = 3 + (d − 1) ⩽ |L(ui) ∩ L(uj)| + |L(uk)| ⩽ |L(v)| = d + 1 .
Suppose now that all pairs i = j are such that |L(ui) ∩ L(vj)| ⩽ 2. Consider first u1 and u2. Note that L(u1) ∪ L(u2) contains at least 2(d − 3) + 2 = 2d − 4 colors. For d ⩾ 6, we can color either u1 or u2 with a color not in L(v). Suppose without loss of generality that this vertex is u1. By the same reasoning, we color u2 or u3 with a color not in L(v). The coloring can then be extended to all vertices.