Documentation

LeanPool.BalancedEdgeColourings.Bkls.Hexagon

Balister–Kostochka–Li–Schelp 2004, Lemma 5 #

hexagon: pendant colours p i ∈ Fin 4 on a hexagon (with diagonals on the opposite pairs in D), p i ≠ p (i + 3) off D, extend to a proper colouring of the hexagon and the diagonals in which opposite vertices see different colour sets. The witnesses come from Hex.table, checked by Hex.check.

theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.qv_lt (mask n w i : ℕ) :
qv mask n w i < 4

The encoding of p.

Equations
Instances For
    theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.dig_enc (p : ZMod 6 → Fin 4) (i : ZMod 6) :
    dig (enc p) ↑i = ↑(p i)

    The encoding of D (one bit per opposite pair).

    Equations
    Instances For
      theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.maskOf_bits (D : Finset (ZMod 6)) :
      (maskOf D / 2 ^ 0 % 2 = 1 ↔ 0 ∈ D) ∧ (maskOf D / 2 ^ 1 % 2 = 1 ↔ 1 ∈ D) ∧ (maskOf D / 2 ^ 2 % 2 = 1 ↔ 2 ∈ D)
      theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.inD_maskOf (D : Finset (ZMod 6)) (hD : ∀ (i : ZMod 6), i ∈ D ↔ i + 3 ∈ D) (i : ZMod 6) :
      inD (maskOf D) (↑i % 3) = true ↔ i ∈ D
      theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.sum_three {a b c : Fin 4} (hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c) :
      ∑ x ∈ {a, b, c}, ↑x = ↑a + ↑b + ↑c
      theorem LeanPool.BalancedEdgeColourings.Bkls.Hex.hexagon (D : Finset (ZMod 6)) (hD : ∀ (i : ZMod 6), i ∈ D ↔ i + 3 ∈ D) (p : ZMod 6 → Fin 4) (hp : ∀ i ∉ D, p i ≠ p (i + 3)) :
      ∃ (h : ZMod 6 → Fin 4) (q : ZMod 6 → Fin 4), (∀ i ∉ D, q i = p i) ∧ (∀ i ∈ D, q i = q (i + 3)) ∧ Proper h q ∧ ∀ (i : ZMod 6), S h q i ≠ S h q (i + 3)

      Lemma 5.