Colouring one cycle (Balister–Kostochka–Li–Schelp 2004, Lemma 3, one cycle): the path step #
path_fixed: a path with edges g 0, …, g n whose first edge g 0 = α is given; the inner
vertices 1, …, n (vertex i sees {g (i - 1), g i}) are free, externally restricted, or matched
among themselves. If the last vertex's restriction contains β (or its partner is not adjacent),
a greedy colouring exists with g n ≠ β.
theorem
LeanPool.BalancedEdgeColourings.Bkls.path_fixed
(n : ℕ)
(hn : 1 ≤ n)
(α β : Fin 3)
(st : ℕ → PState)
(hint : ∀ (i j : ℕ), 1 ≤ i → i ≤ n → st i = PState.int j → st j = PState.int i ∧ j ≠ i ∧ 1 ≤ j ∧ j ≤ n)
(hend : ∀ (F : Finset (Fin 3)), st n = PState.ext F → β ∈ F)
(hends : ∀ (s : ℕ), st n = PState.int s → s + 2 ≤ n)
:
A path with a given first edge, greedily.