op309_rook_rich_three_star_impossible
In the three-by-three rook model, the three edges in one row cannot all be rich in a proper five-edge-coloring.
Statement
theorem op309_rook_rich_three_star_impossible
(i k : Fin 3) (hik : i ≠ k) (c : Fin 3 × Fin 3 → Fin 5)
(hproper : ∀ e f, op309_rook_adj e f → c e ≠ c f)
(hrich : ∀ j : Fin 3, ∀ f g, op309_rook_adj (i,j) f →
op309_rook_adj (i,j) g → f ≠ g → c f ≠ c g) : False- Source
- OP-309 six-vertex and cubic bipartite-block obstruction, experiment 40722.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- op309_k33_witness_min_degreeIn K3,3, every total edge-dominating witness set produces a witness conflict graph with minimum degree at least six; hence a…
The proof, explained
The proof shows by contradiction that having all three cells in row i be rich forces all six cells in rows i and k (for any row k ≠ i) to receive pairwise distinct colors. Any two cells that share a row or column are adjacent, so their colors differ by properness of the coloring. Any two cells in different rows and different columns are both neighbors of an intermediate cell in row i, so their colors must differ by the assumed richness of that cell. This forces six distinct colors to be chosen from a set of size five, which contradicts the pigeonhole principle (6 ≤ 5).
All adjacent pairs among the six cells in rows i and k receive distinct colors.
Because the coloring c is proper (hproper), adjacent cells in the rook graph must have different colors. Two distinct cells in the same row share their row coordinate, so the three cells in row i are pairwise adjacent, yielding c (i,0) ≠ c (i,1), c (i,0) ≠ c (i,2), and c (i,1) ≠ c (i,2) (lines 6–8). Likewise, the three cells in row k are pairwise adjacent, giving c (k,0) ≠ c (k,1), c (k,0) ≠ c (k,2), and c (k,1) ≠ c (k,2) (lines 9–11). Finally, since rows i and k are distinct (i ≠ k), cells in the same column across the two rows are distinct and adjacent, giving c (k,0) ≠ c (i,0), c (k,1) ≠ c (i,1), and c (k,2) ≠ c (i,2) (lines 12–14).
uses
op309_rook_adj,Ne.symmhave hab : c (i,0) ≠ c (i,1) := hproper _ _ (by simp [op309_rook_adj]) have hac : c (i,0) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj]) have hbc : c (i,1) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj]) have hxy : c (k,0) ≠ c (k,1) := hproper _ _ (by simp [op309_rook_adj]) have hxz : c (k,0) ≠ c (k,2) := hproper _ _ (by simp [op309_rook_adj]) have hyz : c (k,1) ≠ c (k,2) := hproper _ _ (by simp [op309_rook_adj]) have hxa : c (k,0) ≠ c (i,0) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) have hyb : c (k,1) ≠ c (i,1) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) have hzc : c (k,2) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik])
The remaining six cross-row pairs also receive distinct colors due to the richness of the cells in row i.
By hypothesis (hrich), every cell (i, j) in row i is rich, meaning any two distinct neighbors of (i, j) in the rook graph receive different colors. For each column j ∈ {0, 1, 2}, the cell (k, j) shares column j with (i, j), while the cells (i, j') with j' ≠ j share row i with (i, j). Since k ≠ i, (k, j) is distinct from (i, j'), making both of them distinct neighbors of (i, j). Applying richness to (i, 0) gives c (k,0) ≠ c (i,1) and c (k,0) ≠ c (i,2) (lines 15–16). Richness of (i, 1) yields c (k,1) ≠ c (i,0) and c (k,1) ≠ c (i,2) (lines 17–18). Richness of (i, 2) yields c (k,2) ≠ c (i,0) and c (k,2) ≠ c (i,1) (lines 19–20).
uses
op309_rook_adj,Ne.symmhave hxb : c (k,0) ≠ c (i,1) := hrich 0 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hxc : c (k,0) ≠ c (i,2) := hrich 0 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hya : c (k,1) ≠ c (i,0) := hrich 1 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hyc : c (k,1) ≠ c (i,2) := hrich 1 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hza : c (k,2) ≠ c (i,0) := hrich 2 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hzb : c (k,2) ≠ c (i,1) := hrich 2 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik])
The list of colors assigned to the six cells in rows i and k contains no duplicate elements.
The condition that the six-element list [c (i,0), c (i,1), c (i,2), c (k,0), c (k,1), c (k,2)] has no duplicates (List.Nodup) is unfolded using rewriting rules (List.nodup_cons, List.mem_cons, List.mem_singleton, List.nodup_singleton, not_or). This rewrites the goal into the conjunction of all 15 pairwise disequalities among the six colors. Because each of the 15 disequalities was established in the previous steps, automated propositional reasoning (aesop) discharges the goal.
uses
List.nodup_cons,List.mem_cons,List.mem_singleton,List.nodup_singleton,not_orhave h6 : ([c (i,0),c (i,1),c (i,2),c (k,0),c (k,1),c (k,2)] : List (Fin 5)).Nodup := by simp only [List.nodup_cons, List.mem_cons, List.mem_singleton, List.nodup_singleton, not_or] at * aesop
Contradiction via the pigeonhole principle.
A list with no duplicate elements drawn from a finite type can have length at most the cardinality of that type. The list of colors has length 6 while the color type Fin 5 has cardinality 5, which would require 6 ≤ 5. Arithmetic simplification (norm_num) detects this contradiction and closes the proof with False.
have hh := h6.length_le_card norm_num at hh
op309_rook_adj- Two cells in the 3×3 grid are adjacent in the rook graph if they are distinct and share either the same row coordinate or the same column coordinate.
Ne.symm- Inequality is symmetric: if a ≠ b, then b ≠ a.
List.nodup_cons- A list with head a and tail l has no duplicate elements if and only if a does not appear in l and l has no duplicates.
List.mem_cons- An element a belongs to b :: l if and only if a = b or a belongs to l.
List.mem_singleton- An element a belongs to the singleton list [b] if and only if a = b.
List.nodup_singleton- A list containing a single element has no duplicates.
not_or- The negation of a disjunction ¬(p ∨ q) is equivalent to ¬p ∧ ¬q.
- In step 3, establishing duplicate-freeness for the list of six colors reduces to verifying all 15 pairwise disequalities, which Lean discharges automatically via aesop.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem op309_rook_rich_three_star_impossible (i k : Fin 3) (hik : i ≠ k) (c : Fin 3 × Fin 3 → Fin 5) (hproper : ∀ e f, op309_rook_adj e f → c e ≠ c f) (hrich : ∀ j : Fin 3, ∀ f g, op309_rook_adj (i,j) f → op309_rook_adj (i,j) g → f ≠ g → c f ≠ c g) : False := by have hab : c (i,0) ≠ c (i,1) := hproper _ _ (by simp [op309_rook_adj]) have hac : c (i,0) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj]) have hbc : c (i,1) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj]) have hxy : c (k,0) ≠ c (k,1) := hproper _ _ (by simp [op309_rook_adj]) have hxz : c (k,0) ≠ c (k,2) := hproper _ _ (by simp [op309_rook_adj]) have hyz : c (k,1) ≠ c (k,2) := hproper _ _ (by simp [op309_rook_adj]) have hxa : c (k,0) ≠ c (i,0) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) have hyb : c (k,1) ≠ c (i,1) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) have hzc : c (k,2) ≠ c (i,2) := hproper _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) have hxb : c (k,0) ≠ c (i,1) := hrich 0 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hxc : c (k,0) ≠ c (i,2) := hrich 0 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hya : c (k,1) ≠ c (i,0) := hrich 1 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hyc : c (k,1) ≠ c (i,2) := hrich 1 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hza : c (k,2) ≠ c (i,0) := hrich 2 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have hzb : c (k,2) ≠ c (i,1) := hrich 2 _ _ (by simp [op309_rook_adj, hik, Ne.symm hik]) (by simp [op309_rook_adj]) (by simp [hik, Ne.symm hik]) have h6 : ([c (i,0),c (i,1),c (i,2),c (k,0),c (k,1),c (k,2)] : List (Fin 5)).Nodup := by simp only [List.nodup_cons, List.mem_cons, List.mem_singleton, List.nodup_singleton, not_or] at * aesop have hh := h6.length_le_card norm_num at hh