Documentation

LeanPool.BalancedEdgeColourings.Bkls.Cycle3

Colouring one cycle (Balister–Kostochka–Li–Schelp 2004, Lemma 3, one cycle) #

The cycle has vertices ZMod r; edge i joins i and i + 1; an edge colouring is f : ZMod r → Fin 3, proper iff f i ≠ f (i + 1); the colour set of vertex i is S f i = {f (i - 1), f i}. Each vertex is free, externally restricted (ext F, |F| = 2: we need S f i ≠ F), or internally matched (int j: we need S f i ≠ S f j; the matching is an involution without fixed points and never joins adjacent vertices).

cycle_colouring: a colouring exists if r is odd only when some vertex is free, and unless r = 6 with all six vertices matched to their opposites. The proof (the article's) reduces to the ℕ-indexed cases of Bkls.Cycle2 after renumbering from a suitable vertex t (transfer):

The state of a vertex of the cycle.

Instances For

    The colours at vertex i: those of edges i - 1 and i.

    Equations
    Instances For

      The position of x counted from t.

      Equations
      Instances For

        The states renumbered from t.

        Equations
        Instances For
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.idx_add {r : ℕ} (t : ZMod r) {i : ℕ} (hi : i < r) :
          idx t (t + ↑i) = i
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.add_idx {r : ℕ} [NeZero r] (t x : ZMod r) :
          t + ↑(idx t x) = x
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.S_eq {r : ℕ} [NeZero r] (t : ZMod r) (h : ℕ → Fin 3) (x : ZMod r) :
          S (fun (y : ZMod r) => h (idx t y)) x = cset r h (idx t x)
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.conv_int {r : ℕ} {t : ZMod r} {s : VState r} {j : ℕ} (h : conv t s = PState.int j) :
          ∃ (y : ZMod r), s = VState.int y ∧ j = idx t y
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.nsOf_zero {r : ℕ} (t : ZMod r) (st : ZMod r → VState r) :
          nsOf t st 0 = conv t (st t)
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.nsOf_last {r : ℕ} [NeZero r] (t : ZMod r) (st : ZMod r → VState r) :
          nsOf t st (r - 1) = conv t (st (t - 1))
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.transfer {r : ℕ} [NeZero r] (st : ZMod r → VState r) (t : ZMod r) (h : ℕ → Fin 3) (hg : NatGood r (nsOf t st) h) :
          ∃ (f : ZMod r → Fin 3), (∀ (i : ZMod r), f i ≠ f (i + 1)) ∧ (∀ (i : ZMod r) (F : Finset (Fin 3)), st i = VState.ext F → S f i ≠ F) ∧ ∀ (i j : ZMod r), st i = VState.int j → S f i ≠ S f j

          Renumbering from t turns a colouring of 0, …, r - 1 into one of the cycle.

          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.natSym {r : ℕ} [NeZero r] (st : ZMod r → VState r) (hint : ∀ (i j : ZMod r), st i = VState.int j → st j = VState.int i ∧ j ≠ i ∧ j ≠ i + 1 ∧ i ≠ j + 1) (t : ZMod r) :
          NatSym r (nsOf t st)

          The renumbered matching is symmetric, loopless and joins no adjacent vertices.

          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.exists_not_mem (F : Finset (Fin 3)) (h : F.card = 2) :
          ∃ (a : Fin 3), a ∉ F
          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.choose_a {r : ℕ} (s0 s1 : VState r) (hF0 : ∀ (F : Finset (Fin 3)), s0 = VState.ext F → F.card = 2) (hF1 : ∀ (F : Finset (Fin 3)), s1 = VState.ext F → F.card = 2) (hne : ¬∃ (F : Finset (Fin 3)), s0 = VState.ext F ∧ s1 = VState.ext F) :
          ∃ (a : Fin 3), (∀ (F : Finset (Fin 3)), s0 = VState.ext F → a ∉ F) ∧ ∀ (F : Finset (Fin 3)), s1 = VState.ext F → a ∈ F

          The colour of edge t in case A.

          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.caseB {r : ℕ} [NeZero r] (heven : Even r) (F0 : Finset (Fin 3)) (hc : F0.card = 2) (st : ZMod r → VState r) (hall : ∀ (x : ZMod r), st x = VState.ext F0) :
          ∃ (f : ZMod r → Fin 3), (∀ (i : ZMod r), f i ≠ f (i + 1)) ∧ (∀ (i : ZMod r) (F : Finset (Fin 3)), st i = VState.ext F → S f i ≠ F) ∧ ∀ (i j : ZMod r), st i = VState.int j → S f i ≠ S f j

          Case B: every vertex restricted by the same set, r even.

          theorem LeanPool.BalancedEdgeColourings.Bkls.Cyc.cycle_colouring (r : ℕ) [NeZero r] (hr : 3 ≤ r) (st : ZMod r → VState r) (hF : ∀ (i : ZMod r) (F : Finset (Fin 3)), st i = VState.ext F → F.card = 2) (hint : ∀ (i j : ZMod r), st i = VState.int j → st j = VState.int i ∧ j ≠ i ∧ j ≠ i + 1 ∧ i ≠ j + 1) (hodd : Odd r → ∃ (i : ZMod r), st i = VState.free) (h6 : ¬(r = 6 ∧ ∀ (i : ZMod r), st i = VState.int (i + 3))) :
          ∃ (f : ZMod r → Fin 3), (∀ (i : ZMod r), f i ≠ f (i + 1)) ∧ (∀ (i : ZMod r) (F : Finset (Fin 3)), st i = VState.ext F → S f i ≠ F) ∧ ∀ (i j : ZMod r), st i = VState.int j → S f i ≠ S f j

          One cycle of Lemma 3 (three colours).