Documentation

LeanPool.BalancedEdgeColourings.Bkls.Path

Colouring a path greedily (Balister–Kostochka–Li–Schelp 2004, Corollary 4, paths) #

A path with vertices 0, …, n and edges i = {i, i + 1} (i < n); an edge colouring is f : ℕ → Fin 3 (only f 0, …, f (n - 1) matter), proper iff f i ≠ f (i + 1) for i + 1 < n. The colour set of vertex i is pathSet n f i (the colours of the edges i - 1 and i that exist). Every vertex is free, or must avoid a given set (ext F), or must differ from its partner j (int j, an involution). If both ends are free, a greedy choice of f 0, f 1, … succeeds: at each step two colours keep the colouring proper and the constraint at the new vertex excludes at most one (exists_path_colouring).

The state of a vertex.

Instances For

    The colour set of vertex i of the path 0, …, n.

    Equations
    Instances For
      def LeanPool.BalancedEdgeColourings.Bkls.PSat (n : ℕ) (st : ℕ → PState) (f : ℕ → Fin 3) (i : ℕ) :

      The constraint at vertex i holds.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem LeanPool.BalancedEdgeColourings.Bkls.pathSet_congr {n : ℕ} {f g : ℕ → Fin 3} {i : ℕ} (h : ∀ m < i + 1, f m = g m) :
        pathSet n f i = pathSet n g i
        theorem LeanPool.BalancedEdgeColourings.Bkls.pathSet_mid {n : ℕ} (f : ℕ → Fin 3) {i : ℕ} (h0 : 0 < i) (hn : i < n) :
        pathSet n f i = {f (i - 1), f i}
        theorem LeanPool.BalancedEdgeColourings.Bkls.exists_avoid (a : Fin 3) (T : Finset (Fin 3)) :
        ∃ (x : Fin 3), x ≠ a ∧ {a, x} ≠ T

        Some colour avoids a and the (at most one) colour x ≠ a with {a, x} = T.

        theorem LeanPool.BalancedEdgeColourings.Bkls.exists_path_colouring (n : ℕ) (st : ℕ → PState) (h0 : st 0 = PState.free) (hn : st n = PState.free) (hint : ∀ (i j : ℕ), st i = PState.int j → st j = PState.int i ∧ j ≠ i ∧ j ≤ n) (hrange : ∀ (i : ℕ), n < i → st i = PState.free) :
        ∃ (f : ℕ → Fin 3), (∀ (i : ℕ), i + 1 < n → f i ≠ f (i + 1)) ∧ ∀ i ≤ n, PSat n st f i

        Greedy colouring of a path with free ends.