op309_uniform28_four_palette_kernel
The nine-class palette pattern consisting of two four-cliques and three cross constraints cannot be colored with four colors.
Statement
theorem op309_uniform28_four_palette_kernel
(a b c d e f g h i : Fin 4)
(hae : a ≠ e) (haf : a ≠ f) (hag : a ≠ g)
(hef : e ≠ f) (heg : e ≠ g) (hfg : f ≠ g)
(hba : b ≠ a) (hbe : b ≠ e)
(hcf : c ≠ f) (hcg : c ≠ g)
(hcd : c ≠ d) (hch : c ≠ h) (hci : c ≠ i)
(hdh : d ≠ h) (hdi : d ≠ i) (hhi : h ≠ i)
(hbd : b ≠ d) (hbh : b ≠ h) (hbi : b ≠ i) : False- Source
- OP-309 girth-six uniform-host five-color quotient, experiment 42517.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The proof establishes that the nine vertices cannot be colored with four colors by forcing two vertices to share a color and then finding five mutually distinct colors. First, because {d, h, i} are three distinct colors in Fin 4, vertices b and c (each distinct from all three) must both take the unique remaining color, giving b = c. Substituting c = b transfers the cross constraints c ≠ f and c ≠ g onto b, making b distinct from all four members of the 4-clique {a, e, f, g}, which is impossible in a 4-element set.
If three elements in Fin 4 are pairwise distinct, any two elements distinct from all three are equal. automation
The lemma uniform28_three_exclusion considers five elements b, c, d, h, i of Fin 4 where d, h, i are pairwise distinct and both b and c are distinct from each of them. Since Fin 4 has only 4 elements, exactly one element remains once three distinct values are removed, forcing b = c. The proof checks all cases exhaustively using fin_cases and simp_all.
fin_cases d <;> fin_cases h <;> simp_all all_goals fin_cases i <;> simp_all all_goals fin_cases b <;> simp_all all_goals fin_cases c <;> simp_all
No element in Fin 4 can be distinct from four pairwise distinct elements. automation
The lemma uniform28_two_sides_disjoint considers five elements a, b, e, f, g of Fin 4 where e, f, g are pairwise distinct, a is distinct from e, f, g, and b is distinct from all four of a, e, f, g. By the pigeonhole principle, a 4-element set cannot contain 5 pairwise distinct elements, so this is impossible. The proof verifies this contradiction by exhaustive case enumeration with fin_cases and simp_all.
fin_cases a <;> fin_cases e <;> simp_all all_goals fin_cases f <;> simp_all all_goals fin_cases g <;> simp_all all_goals fin_cases b <;> simp_all
Vertices b and c must have the same color (b = c), transferring the non-equality constraints on c to b.
Applying uniform28_three_exclusion to b, c, d, h, i establishes that b = c, because both b and c are distinct from the three mutually distinct elements d, h, i. Substituting c with b (subst c) rewrites the cross constraints c ≠ f and c ≠ g into b ≠ f and b ≠ g.
uses
uniform28_three_exclusionhave hbc := uniform28_three_exclusion b c d h i hdh hdi hhi hbd hbh hbi hcd hch hci subst c
A contradiction is reached, showing the palette pattern cannot be 4-colored.
With c substituted by b, the vertex b is distinct from a and e (by the original hypotheses) and from f and g (from the rewritten hypotheses on c). Together with the fact that {a, e, f, g} are pairwise distinct, b is distinct from all four elements of a 4-clique in Fin 4. Applying uniform28_two_sides_disjoint closes the goal with False.
uses
uniform28_two_sides_disjointexact uniform28_two_sides_disjoint a b e f g hae haf hag hef heg hfg hba hbe hcf hcg
uniform28_three_exclusion- In Fin 4, if three elements d, h, i are pairwise distinct, and elements b and c are each distinct from d, h, and i, then b = c.
uniform28_two_sides_disjoint- In Fin 4, if four elements a, e, f, g are pairwise distinct, no element b can be distinct from all four.
- The helper lemmas uniform28_three_exclusion and uniform28_two_sides_disjoint are proved purely by brute-force exhaustion over Fin 4 via fin_cases and simp_all.
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.
Lean’s trace was cut to the first 400 of 651 tactics.
private theorem uniform28_three_exclusion (b c d h i : Fin 4) (hdh : d ≠ h) (hdi : d ≠ i) (hhi : h ≠ i) (hbd : b ≠ d) (hbh : b ≠ h) (hbi : b ≠ i) (hcd : c ≠ d) (hch : c ≠ h) (hci : c ≠ i) : b = c := by fin_cases d <;> fin_cases h <;> simp_all all_goals fin_cases i <;> simp_all all_goals fin_cases b <;> simp_all all_goals fin_cases c <;> simp_allprivate theorem uniform28_two_sides_disjoint (a b e f g : Fin 4) (hae : a ≠ e) (haf : a ≠ f) (hag : a ≠ g) (hef : e ≠ f) (heg : e ≠ g) (hfg : f ≠ g) (hba : b ≠ a) (hbe : b ≠ e) (hbf : b ≠ f) (hbg : b ≠ g) : False := by fin_cases a <;> fin_cases e <;> simp_all all_goals fin_cases f <;> simp_all all_goals fin_cases g <;> simp_all all_goals fin_cases b <;> simp_alltheorem op309_uniform28_four_palette_kernel (a b c d e f g h i : Fin 4) (hae : a ≠ e) (haf : a ≠ f) (hag : a ≠ g) (hef : e ≠ f) (heg : e ≠ g) (hfg : f ≠ g) (hba : b ≠ a) (hbe : b ≠ e) (hcf : c ≠ f) (hcg : c ≠ g) (hcd : c ≠ d) (hch : c ≠ h) (hci : c ≠ i) (hdh : d ≠ h) (hdi : d ≠ i) (hhi : h ≠ i) (hbd : b ≠ d) (hbh : b ≠ h) (hbi : b ≠ i) : False := by have hbc := uniform28_three_exclusion b c d h i hdh hdi hhi hbd hbh hbi hcd hch hci subst c exact uniform28_two_sides_disjoint a b e f g hae haf hag hef heg hfg hba hbe hcf hcg