odd_defect_triangle_alternating_demands_impossible
The explicit four-color constraints arising from a defect triangle with alternating demands on the defect palette are inconsistent.
Statement
theorem odd_defect_triangle_alternating_demands_impossible
(a b c t u r p q : Fin 4)
(hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c)
(hta : t ≠ a) (htb : t ≠ b) (hua : u ≠ a) (hub : u ≠ b) (htu : t ≠ u)
(hra : r ≠ a) (hrb : r ≠ b) (hrc : r ≠ c)
(hpa : p ≠ a) (hpc : p ≠ c) (hqa : q ≠ a) (hqc : q ≠ c) (hpq : p ≠ q)
(hrq : r ≠ q) (hpu : p ≠ u)
(ht : t = 0 ∨ t = 1) (hd1 : b = 0 ∨ c = 0) (hd2 : c = 1 ∨ a = 1) : False- Source
- OP-874 single-defect local interface obstruction, independently tested in experiment 35103.
- Verified
- 20 Nov 2026
- Axioms
Quot.soundpropext
The proof, explained
The proof establishes that the collection of distinctness and palette-demand constraints on eight variables in Fin 4 is unsatisfiable. All equalities and inequalities are first recast as arithmetic relations on the underlying natural numbers. Lean's `omega` tactic then refutes the system of constraints by automated integer linear arithmetic.
The distinctness and equality conditions on Fin 4 are recast as relations on natural numbers.
Rewriting with `Fin.ext_iff` converts each equality x = y and inequality x ≠ y among the Fin 4 variables into the corresponding numerical equality or inequality on their underlying natural number values.
uses
Fin.ext_iffsimp only [Fin.ext_iff] at *
The system of constraints is inconsistent, deriving False. automation
The hypotheses form a finite constraint satisfaction problem over eight variables in {0, 1, 2, 3} subject to pairwise distinctness, bounds, and disjunctions. The `omega` decision procedure checks the Presburger arithmetic formulas and determines that no simultaneous assignment exists.
omega
Fin.ext_iff- Two elements of Fin n are equal if and only if their underlying natural numbers are equal.
- The contradiction in line 10 is derived by `omega`, which automates linear integer arithmetic and exhaustive case analysis over the finite domain {0, 1, 2, 3} for each variable in Fin 4.
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 odd_defect_triangle_alternating_demands_impossible (a b c t u r p q : Fin 4) (hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c) (hta : t ≠ a) (htb : t ≠ b) (hua : u ≠ a) (hub : u ≠ b) (htu : t ≠ u) (hra : r ≠ a) (hrb : r ≠ b) (hrc : r ≠ c) (hpa : p ≠ a) (hpc : p ≠ c) (hqa : q ≠ a) (hqc : q ≠ c) (hpq : p ≠ q) (hrq : r ≠ q) (hpu : p ≠ u) (ht : t = 0 ∨ t = 1) (hd1 : b = 0 ∨ c = 0) (hd2 : c = 1 ∨ a = 1) : False := by simp only [Fin.ext_iff] at * omega