six_cycle_three_pairs_outer_inequalities_contradiction
On six cyclic colors, if one color occurs in three alternating incident pairs, then the stated outer-color inequalities cannot both hold.
Statement
theorem six_cycle_three_pairs_outer_inequalities_contradiction {Ω : Type*} (a b c d e f z : Ω) (h1 : z = a ∨ z = b) (h2 : z = c ∨ z = d) (h3 : z = e ∨ z = f) (hfa : f ≠ a) (hbc : b ≠ c) (hde : d ≠ e) (hac : a ≠ c) (hbf : b ≠ f) : False
- Source
- Six-cycle palette kernel for the OP-874 nonbinary ownership obstruction.
- Verified
- 19 Nov 2026
- Axioms
- none — Lean reports it depends on no axioms
The proof, explained
The proof proceeds by contradiction via case analysis on the hypothesis z = a ∨ z = b. In the first case (z = a), the inequality f ≠ a rules out z = f, forcing z = e, which in turn with d ≠ e rules out z = d to force z = c, contradicting a ≠ c. The second case (z = b) is symmetric: b ≠ c forces z = d, which with d ≠ e forces z = f, contradicting b ≠ f.
It suffices to derive a contradiction in each of the two cases: z = a and z = b.
We perform a case split on the assumption h₁ : z = a ∨ z = b.
rcases h1 with hza | hzb
Assuming z = a, we deduce z = e.
If z = f, then transitivity with z = a implies f = a, contradicting hfa : f ≠ a. Thus z ≠ f. Since z = e ∨ z = f by h₃, eliminating the second disjunct forces z = e.
· have hzf : z ≠ f := by intro hz exact hfa (hz.symm.trans hza) have hze : z = e := h3.resolve_right hzf
From z = a and z = e, we deduce z = c.
If z = d, then transitivity with z = e implies d = e, contradicting hde : d ≠ e. Thus z ≠ d. Since z = c ∨ z = d by h₂, eliminating the second disjunct forces z = c.
have hzd : z ≠ d := by intro hz exact hde (hz.symm.trans hze) have hzc : z = c := h2.resolve_right hzd
The case z = a leads to a contradiction.
Since z = a and z = c, transitivity of equality gives a = c, which contradicts hac : a ≠ c.
exact hac (hza.symm.trans hzc)Assuming z = b, we deduce z = d.
If z = c, then transitivity with z = b implies b = c, contradicting hbc : b ≠ c. Thus z ≠ c. Since z = c ∨ z = d by h₂, eliminating the first disjunct forces z = d.
· have hzc : z ≠ c := by intro hz exact hbc (hzb.symm.trans hz) have hzd : z = d := h2.resolve_left hzc
From z = b and z = d, we deduce z = f.
If z = e, then transitivity with z = d implies d = e, contradicting hde : d ≠ e. Thus z ≠ e. Since z = e ∨ z = f by h₃, eliminating the first disjunct forces z = f.
have hze : z ≠ e := by intro hz exact hde (hzd.symm.trans hz) have hzf : z = f := h3.resolve_left hze
The case z = b leads to a contradiction, completing the proof.
Since z = b and z = f, transitivity of equality gives b = f, which contradicts hbf : b ≠ f.
exact hbf (hzb.symm.trans hzf)
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 six_cycle_three_pairs_outer_inequalities_contradiction {Ω : Type*} (a b c d e f z : Ω) (h1 : z = a ∨ z = b) (h2 : z = c ∨ z = d) (h3 : z = e ∨ z = f) (hfa : f ≠ a) (hbc : b ≠ c) (hde : d ≠ e) (hac : a ≠ c) (hbf : b ≠ f) : False := by rcases h1 with hza | hzb · have hzf : z ≠ f := by intro hz exact hfa (hz.symm.trans hza) have hze : z = e := h3.resolve_right hzf have hzd : z ≠ d := by intro hz exact hde (hz.symm.trans hze) have hzc : z = c := h2.resolve_right hzd exact hac (hza.symm.trans hzc) · have hzc : z ≠ c := by intro hz exact hbc (hzb.symm.trans hz) have hzd : z = d := h2.resolve_left hzc have hze : z ≠ e := by intro hz exact hde (hzd.symm.trans hz) have hzf : z = f := h3.resolve_left hze exact hbf (hzb.symm.trans hzf)