Documentation

CslibFrontier.Foundations.Combinatorics.ShiftColoring

Shift colourings and the speedup lemma #

A shift colouring of the increasing (k + 1)-tuples from {0, …, m - 1} gives the first and last (k + 1)-entry windows of every increasing (k + 2)-tuple different colours. These are the (k + 1)-ary colourings of Laurinharju and Suomela, i.e. proper colourings of the shift graph. Their speedup lemma lowers the arity by one at the cost of an exponential in the number of colours. Iterating it, a shift colouring of (k + 1)-tuples with c colours forces m ≤ 2 ^ 2 ^ ⋯ ^ c with k exponentials, hence log* m ≤ k + log* c. This is the combinatorial core of Linial's lower bound for colouring oriented cycles.

Main definitions #

Main results #

References #

def Cslib.IsShiftColoring {C : Type u_1} (m k : ℕ) (f : (Fin (k + 1) → ℕ) → C) :

A colouring f of the increasing (k + 1)-tuples from {0, …, m - 1} is a shift colouring if every increasing (k + 2)-tuple a gives its first and last (k + 1)-entry windows different colours: f (init a) ≠ f (tail a). These are the (k + 1)-ary colourings of Laurinharju and Suomela, i.e. proper colourings of the shift graph.

noncomputable def Cslib.IsShiftColoring.speedup {C : Type u_1} {k : ℕ} (m : ℕ) (f : (Fin (k + 2) → ℕ) → C) :
(Fin (k + 1) → ℕ) → Finset C

The speedup of a colouring of (k + 2)-tuples: an increasing (k + 1)-tuple b receives the set of colours of all its increasing extensions snoc b y with y < m.

theorem Cslib.IsShiftColoring.speedup_isShiftColoring {C : Type u_1} {m k : ℕ} {f : (Fin (k + 2) → ℕ) → C} (hf : IsShiftColoring m (k + 1) f) :

The speedup lemma Laurinharju and Suomela: the speedup of a shift colouring of (k + 2)-tuples is a shift colouring of (k + 1)-tuples, with colours the subsets of the original colours.

theorem Cslib.IsShiftColoring.card_le {C : Type u_1} {m : ℕ} {f : (Fin 1 → ℕ) → C} [Fintype C] (hf : IsShiftColoring m 0 f) :

A shift colouring of the 1-tuples from {0, …, m - 1} is injective, so it needs at least m colours.

theorem Cslib.IsShiftColoring.le_iterate {m k : ℕ} {C : Type u_2} [Fintype C] {f : (Fin (k + 1) → ℕ) → C} (hf : IsShiftColoring m k f) :
m ≤ (fun (x : ℕ) => 2 ^ x)^[k] (Fintype.card C)

A shift colouring of increasing (k + 1)-tuples from {0, …, m - 1} with colours in C forces m ≤ 2 ^ 2 ^ ⋯ ^ |C| with k exponentials.

theorem Cslib.IsShiftColoring.logStar_le {m k : ℕ} {C : Type u_2} [Fintype C] {f : (Fin (k + 1) → ℕ) → C} (hf : IsShiftColoring m k f) :

A shift colouring of increasing (k + 1)-tuples from {0, …, m - 1} with colours in C has log* m ≤ k + log* |C|.