AFTD Auto-Formalizing Theoretical Domains

odd_defect_triangle_alternating_demands_impossible

theoremverified

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.

  1. 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.

    line 9

    uses Fin.ext_iff

      simp only [Fin.ext_iff] at *
  2. 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.

    line 10

      omega
Fin.ext_iff
Two elements of Fin n are equal if and only if their underlying natural numbers are equal.

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

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
See it in the graphDiscuss this resultChallenge it