Deterministic (Δ + 1)-Coloring on Bounded-Degree Graphs in the LOCAL Model #
Deterministic synchronous LOCAL vertex-coloring protocols on finite simple graphs
G : SimpleGraph V of maximum degree G.maxDegree ≤ Δ (steps towards #7505, after
Cole and Vishkin, Goldberg, Plotkin and Shannon,
Kuhn and Wattenhofer, Wattenhofer Chapter 1, and
Hirvonen and Suomela Chapter 4).
Three reusable building blocks are provided on BroadcastProtocol (and hence also on
PortProtocol via BroadcastProtocol.toPortProtocol):
- One-round greedy local-maximum color reduction (
greedyColorReduction Δ): following Hirvonen and Suomela, §4.5, Lemma 4.1, p. 69, every node whose current color strictly exceeds all neighbor colors recolors itself to the smallest color in{0, …, Δ}absent from its neighborhood. Each round preserves properness and reduces a palette of sizeqtomax (q - 1) (Δ + 1), reachingΔ + 1colors withinq - (Δ + 1)rounds from any initial properq-coloring (greedyColorReduction_run). - Kuhn–Wattenhofer one-round disjoint-block palette compression (
kwCompressProtocol Δ m): following Kuhn and Wattenhofer, §5, Theorem 5.1, p. 12, one broadcast round compresses any properm-coloring on a graph of maximum degree≤ ΔintokwBound Δ m = ⌈m (Δ + 1) / (Δ + 2)⌉colors (kwCompressProtocol_run), strictly shrinking every palette withΔ + 2 ≤ m(kwBound_lt). - Orientation-decomposed Cole–Vishkin
(Δ + 1)-coloring (deltaPlusOneColoring Δ C): from injective node identifiers belowC, Round0collects and sorts each node's≤ Δneighbor identifiers to decompose incident constraints intoΔfunctional out-edge slots; the nextNat.logStar Crounds runCslib.Distributed.OrientedCycle.cvColorin parallel across allΔslots to obtainΔproper6-colorings; andΔmerging phases of5 (Δ + 1)greedy reduction rounds fold the slot colorings into a single properFin (Δ + 1)-coloring withindeltaPlusOneRounds Δ C = 1 + Nat.logStar C + 5 * Δ * (Δ + 1)rounds (O(log* C + Δ²), henceO(Δ log* C + Δ²)), stabilizing for all later rounds (deltaPlusOneColoring_isProperColoring). Polynomial cover-free set-system reduction (O(log* C + Δ log Δ)) and linear-in-Δcoloring remain open under#7505.
Main definitions #
Cslib.Distributed.LocalGraph.firstFreeColor,greedyStep,greedyColorReduction: smallest available color in{0, …, Δ}and one-round greedy local-maximum color reduction.Cslib.Distributed.LocalGraph.kwBound,kwCompress,kwCompressProtocol: Kuhn–Wattenhofer palette bound⌈m (Δ + 1) / (Δ + 2)⌉and one-round disjoint-block compression protocol.Cslib.Distributed.LocalGraph.ColoringState,deltaPlusOneRounds,deltaPlusOneColoring: local state, round bound1 + log* C + 5 Δ (Δ + 1), and deterministic(Δ + 1)-coloringBroadcastProtocol.
Main results #
Cslib.Distributed.LocalGraph.greedyStep_ne_of_adj,greedyStep_lt,greedyColorReduction_run: properness andq - rpalette bound ofgreedyColorReduction.Cslib.Distributed.LocalGraph.kwBound_lt,kwCompressProtocol_run: Kuhn–Wattenhofer one-round proper compression step frommtokwBound Δ mcolors (after[KuhnWattenhofer2006], Theorem 5.1).Cslib.Distributed.LocalGraph.deltaPlusOneRounds_le,deltaPlusOneColoring_isProperColoring,deltaPlusOneGraphColoring: explicitO(log* C + Δ²)/O(Δ log* C + Δ²)round bound, properFin (Δ + 1)-coloring correctness, and bundledG.Coloring (Fin (Δ + 1))constructor fordeltaPlusOneColoring Δ Cfrom unique identifiers belowC.
References #
- R. Cole and U. Vishkin, Deterministic coin tossing with applications to optimal parallel list ranking
- A. V. Goldberg, S. A. Plotkin and G. E. Shannon, Parallel symmetry-breaking in sparse graphs
- F. Kuhn and R. Wattenhofer, On the complexity of distributed graph coloring, §5, Theorem 5.1
- R. Wattenhofer, Principles of Distributed Computing, Chapter 1
- J. Hirvonen and J. Suomela, Distributed Algorithms 2020, §4.5, Lemma 4.1
Smallest unused color and one-round greedy local-maximum reduction #
firstFreeColor Δ used always lies in {0, …, Δ}.
Whenever at most Δ colors are excluded (used.card ≤ Δ), firstFreeColor Δ used is absent
from used.
One step of greedy local-maximum color reduction (Hirvonen and Suomela,
§4.5, Lemma 4.1, p. 69): a node whose color strictly exceeds every neighbor's color recolors to
firstFreeColor Δ nbrs; all other nodes keep their color.
On any graph H where every vertex has degree at most Δ, applying greedyStep Δ to a proper
coloring f : V → ℕ preserves properness.
On any graph H where every vertex has degree at most Δ, if f is proper on H and bounded
below q, then greedyStep Δ produces colors bounded below max (q - 1) (Δ + 1).
One-round greedy local-maximum color reduction as a BroadcastProtocol.
Step towards #7505 (not the cited endpoint, after Lemma 4.1 of
Hirvonen and Suomela, §4.5, p. 69): running greedyColorReduction Δ for r
rounds on a finite simple graph G with G.maxDegree ≤ Δ from a proper q-coloring preserves
properness and bounds every output color below max (q - r) (Δ + 1).
Kuhn–Wattenhofer one-round disjoint-block palette compression #
The Kuhn–Wattenhofer one-round target palette size ⌈m (Δ + 1) / (Δ + 2)⌉
(Kuhn and Wattenhofer, §5, Theorem 5.1, p. 12).
Kuhn–Wattenhofer local compression rule: colors below q = kwBound Δ m stay fixed; a high
color own ≥ q with i = own - q picks the first color in block
{i (Δ + 1), …, (i + 1)(Δ + 1) - 1} unused by its neighbors' initial colors.
Kuhn–Wattenhofer one-round palette compression as a BroadcastProtocol.
Step towards #7505 (not the cited endpoint, after Theorem 5.1 of
Kuhn and Wattenhofer, §5, p. 12): in a single broadcast round on any finite
simple graph G with G.maxDegree ≤ Δ, kwCompressProtocol Δ m turns any proper m-coloring
into a proper coloring with colors below kwBound Δ m = ⌈m (Δ + 1) / (Δ + 2)⌉.
Orientation-decomposed Cole–Vishkin (Δ + 1)-coloring in O(log* C + Δ²) rounds #
Local node state for deltaPlusOneColoring Δ C.
Round bound for deltaPlusOneColoring Δ C: 1 discovery round, Nat.logStar C parallel
Cole–Vishkin rounds, and Δ merging phases of 5 (Δ + 1) greedy reduction rounds each.
Explicit O(Δ log* C + Δ²) bound: for 1 ≤ Δ, deltaPlusOneRounds Δ C is bounded by
Δ * Nat.logStar C + 10 * Δ ^ 2 + 1 (and in fact equals 1 + Nat.logStar C + 5 * Δ * (Δ + 1)).
Deterministic (Δ + 1)-coloring step function at round r.
Deterministic synchronous LOCAL (Δ + 1)-coloring protocol (BroadcastProtocol) from
injective node identifiers below C on graphs of maximum degree ≤ Δ.
After deltaPlusOneRounds Δ C rounds, every node's state remains permanently fixed.
Step towards #7505 (not the cited endpoint, after Cole and Vishkin,
Goldberg, Plotkin and Shannon, and
Hirvonen and Suomela, §4.5): on any finite simple graph G with
G.maxDegree ≤ Δ and injective node identifiers x : V → ℕ bounded below C,
deltaPlusOneColoring Δ C outputs a proper Fin (Δ + 1)-coloring (G.IsProperColoring) in every
round r ≥ deltaPlusOneRounds Δ C (= 1 + Nat.logStar C + 5 * Δ * (Δ + 1)).
Construct a SimpleGraph.Coloring directly from deltaPlusOneColoring Δ C after
r ≥ deltaPlusOneRounds Δ C synchronous LOCAL rounds.