Documentation

LeanPool.BalancedEdgeColourings.Bkls.L3L

Lemma 3 in line-graph form, with paths #

L is a graph of maximum degree 2 whose vertices are to be coloured with three colours, properly; the colour set of an edge ab of L is {g a, g b}. μ matches some edges of L to other edges (possibly adjacent). If every odd cycle of L has an unmatched edge and no 6-cycle has all its opposite edges matched, a colouring separating the colour sets of matched edges exists (lemma3L). Paths of L (ends free) are coloured with exists_path_colouring, cycles with Cyc.cycle_colouring, one component at a time.

In Corollary 4 the vertices of L are the edges of the two-coloured graph, and the edges of L are its vertices of degree two (and the identified pairs of matched ends).

def LeanPool.BalancedEdgeColourings.Bkls.L3L.cs {E : Type u_1} (g : E → Fin 3) (e : Sym2 E) :

The colour set of an edge.

Equations
Instances For
    theorem LeanPool.BalancedEdgeColourings.Bkls.L3L.cs_mk {E : Type u_1} (g : E → Fin 3) (a b : E) :
    cs g s(a, b) = {g a, g b}
    def LeanPool.BalancedEdgeColourings.Bkls.L3L.Good {E : Type u_1} (L : SimpleGraph E) (μ : Sym2 E → Option (Sym2 E)) (T : E → Prop) (g : E → Fin 3) :

    g is good on T: proper there, and separating the matched edges inside T.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem LeanPool.BalancedEdgeColourings.Bkls.L3L.cs_congr {E : Type u_1} [Finite E] {g g' : E → Fin 3} {e : Sym2 E} (h : ∀ v ∈ e, g' v = g v) :
      cs g' e = cs g e
      theorem LeanPool.BalancedEdgeColourings.Bkls.L3L.card_cs {E : Type u_1} [Finite E] {g : E → Fin 3} {a b : E} (h : g a ≠ g b) :
      (cs g s(a, b)).card = 2
      theorem LeanPool.BalancedEdgeColourings.Bkls.L3L.lemma3L {E : Type u_1} [Fintype E] {L : SimpleGraph E} [DecidableRel L.Adj] (hdeg : ∀ (v : E), L.degree v ≤ 2) (μ : Sym2 E → Option (Sym2 E)) (hμ : ∀ (e e' : Sym2 E), μ e = some e' → μ e' = some e ∧ e ∈ L.edgeSet ∧ e' ∈ L.edgeSet ∧ e ≠ e') (hodd : ∀ (n : ℕ) (p : ℕ → E), Comp.IsPathFn L n p → 2 ≤ n → L.Adj (p 0) (p n) → Odd (n + 1) → μ s(p n, p 0) = none ∨ ∃ i < n, μ s(p i, p (i + 1)) = none) (h6 : ∀ (p : ℕ → E), Comp.IsPathFn L 5 p → L.Adj (p 0) (p 5) → ¬∀ (k : ZMod 6), μ s(p (k - 1).val, p k.val) = some s(p (k + 2).val, p (k + 3).val)) :
      ∃ (g : E → Fin 3), (∀ (a b : E), L.Adj a b → g a ≠ g b) ∧ ∀ (e e' : Sym2 E), μ e = some e' → cs g e ≠ cs g e'

      Lemma 3, line-graph form.