op874_sparse_words_exactly_one_square_conflict
Each of the two explicit pentagon high-color words has exactly one distance-two color equality.
Statement
theorem op874_sparse_words_exactly_one_square_conflict : ∀ s : Bool, ∃! i : Fin 5, In1098Sparse.word s i = In1098Sparse.word s (i+2)- Source
- Sparse fixed-high matching-factor obstruction, experiments 36281 and 36285.
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- op874_sparse_pair_rich_words_kernel_dataThe explicit two pentagon factor words with one distance-two equality each, the matching permutation, and the Boolean local-interface…
- uniquely_k4_saturated_max_degree_six_order_twelveThere exists a simple graph G on Fin 12 such that G is uniquely K_4-saturated and the maximum degree of G equals 6.
The proof, explained
The theorem asserts that for each of the two sparse pentagon colorings indexed by $s \in \mathrm{Bool}$, there is exactly one vertex $i \in \mathbb{Z}/5\mathbb{Z}$ whose color matches that of the vertex at distance two ($i+2 \pmod 5$). Because both $\mathrm{Bool}$ and $\mathrm{Fin}\ 5$ are finite types, this is a finite decidable property. The proof carries out the verification by exhaustive computation using `decide`.
For both $s = \mathrm{true}$ and $s = \mathrm{false}$, there is a unique index $i \in \mathbb{Z}/5\mathbb{Z}$ such that the color at position $i$ equals the color at position $i+2$. automation
The proposition is a decidable statement quantified over the finite types `Bool` (two values) and `Fin 5` (five values). The `decide` tactic checks every case by direct computation: for $s = \mathrm{true}$ the sequence is $(0, 1, 2, 0, 3)$, where only $i = 3$ satisfies $w(3) = w(0) = 0$; for $s = \mathrm{false}$ the sequence is $(0, 1, 2, 3, 1)$, where only $i = 4$ satisfies $w(4) = w(1) = 1$.
theorem op874_sparse_words_exactly_one_square_conflict : ∀ s : Bool, ∃! i : Fin 5, In1098Sparse.word s i = In1098Sparse.word s (i+2) := by decide
- The entire proof is discharged by computational reflection (`decide`), which verifies the predicate by exhaustive evaluation on the finite domains `Bool` and `Fin 5`.
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 op874_sparse_words_exactly_one_square_conflict : ∀ s : Bool, ∃! i : Fin 5, In1098Sparse.word s i = In1098Sparse.word s (i+2) := by decide