Documentation

CslibFrontier.Computability.Distributed.OrientedCycle.Linial

Linial's lower bound for colouring oriented cycles #

Linial proved that a deterministic LOCAL algorithm 3-colouring every oriented n-cycle with identifiers from {1, …, n} needs Ω(log* n) rounds. We follow the proof of Laurinharju and Suomela, which gives the explicit bound t ≥ (log* n) / 2 - 1.

A rule of radius t sees the identifiers at offsets -t, …, t. Restricted to windows of increasing identifiers it is a colouring of increasing (2t + 1)-tuples (windowColoring). When the rule properly colours every cycle, two consecutive nodes whose 2t + 2 identifiers are increasing get different colours, so this is a shift colouring (Cslib.IsShiftColoring). The speedup lemma then gives n ≤ 2 ^ 2 ^ ⋯ ^ c with 2t exponentials for c colours.

The identifiers are a bijection from the nodes onto {0, …, n - 1}, the strongest assumption of this kind: the bound holds even for algorithms that know n and need to succeed only on these inputs. Identifiers from {1, …, n} are the same up to a shift by one.

Main definitions #

Main results #

References #

def Cslib.Distributed.OrientedCycle.windowColoring {O : Type u_1} {t : ℕ} (F : LocalRule ℕ O t) (b : Fin (2 * t + 1) → ℕ) :
O

The colouring of increasing (2t + 1)-tuples induced by a rule of radius t: the tuple b is read as the identifiers at offsets -t, …, t.

theorem Cslib.Distributed.OrientedCycle.LocalRule.le_iterate_of_isProperColoring {O : Type u_1} [Fintype O] {n t : ℕ} (F : LocalRule ℕ O t) (hF : ∀ (x : ZMod n → ℕ), Function.Injective x → (∀ (v : ZMod n), x v < n) → IsProperColoring (F.apply x)) :
n ≤ (fun (x : ℕ) => 2 ^ x)^[2 * t] (Fintype.card O)

Linial's lower bound, combinatorial core Linial, following Laurinharju and Suomela. If a rule of radius t properly colours the oriented n-cycle with colours in O for every assignment of distinct identifiers below n, then n ≤ 2 ^ 2 ^ ⋯ ^ |O| with 2t exponentials.

theorem Cslib.Distributed.OrientedCycle.Algorithm.le_iterate_of_isProperColoring {S : Type u_1} {O : Type u_2} [Fintype O] {n t : ℕ} (A : Algorithm ℕ S O) (hA : ∀ (x : ZMod n → ℕ), Function.Injective x → (∀ (v : ZMod n), x v < n) → IsProperColoring (A.run x t)) :
n ≤ (fun (x : ℕ) => 2 ^ x)^[2 * t] (Fintype.card O)

Linial's lower bound for algorithms. If a t-round algorithm properly colours every oriented n-cycle with distinct identifiers below n, using colours in a finite type O, then n ≤ 2 ^ 2 ^ ⋯ ^ |O| with 2t exponentials.

Linial's lower bound in terms of log*: a t-round algorithm properly colouring every oriented n-cycle with distinct identifiers below n and colours below c has log* n ≤ 2t + log* c.

Linial's lower bound Linial, with the constants of Laurinharju and Suomela. A deterministic t-round LOCAL algorithm that properly 3-colours every oriented n-cycle with distinct identifiers from {0, …, n - 1} satisfies log* n ≤ 2t + 2, that is t ≥ (log* n) / 2 - 1.