op874_fixed_words_proper_and_pair_rich
The two displayed five-cycle edge words are proper, and the two factor colors at the endpoints of every prescribed matching edge form unequal unordered pairs.
Statement
theorem op874_fixed_words_proper_and_pair_rich : (∀ (s : Bool) (i : Fin 5), In1098Bit.word s (i - 1) ≠ In1098Bit.word s i) ∧ (∀ i : Fin 5, let j := In1098Bit.perm i; ¬ ((In1098Bit.word false (i-1) = In1098Bit.word true (j-1) ∧ In1098Bit.word false i = In1098Bit.word true j) ∨ (In1098Bit.word false (i-1) = In1098Bit.word true j ∧ In1098Bit.word false i = In1098Bit.word true (j-1))))
- Source
- Fixed-high matching-factor obstruction, experiment 36048.
- Verified
- 20 Nov 2026
- Axioms
propext- Built on 1
- op874_pair_rich_fixed_words_kernel_dataThe explicit two five-cycle words, matching permutation, low-bit and ownership encoding, high-port tables and Boolean interface checker…
The proof, explained
The theorem establishes two properties for two explicit words of length 5 over the alphabet {0, 1, 2, 3} and a permutation of the 5-cycle indices: each word defines a proper coloring of the 5-cycle, and no matching edge connects vertices with identical pairs of colors. Because the index domains are finite and the words and permutation are defined explicitly by lookup tables, the proposition is decidable. The proof reduces to exhaustive computational evaluation, which verifies all 15 cases.
Both 5-cycle edge words are proper colorings, and the endpoint color pairs along the matching edges never coincide. automation
Because the universal quantifiers range over the finite types `Bool` (2 elements) and `Fin 5` (5 elements), and the functions `In1098Bit.word` and `In1098Bit.perm` are defined by explicit value tables, the entire conjunction is a decidable proposition. The `decide` tactic evaluates the 10 adjacency conditions (verifying `word s (i - 1) ≠ word s i`) and the 5 matching-edge conditions (verifying that the unordered pairs of endpoint colors do not coincide), confirming that both conjuncts hold.
In1098Bit.word false i = In1098Bit.word true (j-1)))) := by decide
- The theorem is proved by pure computation: the `decide` tactic checks all cases by evaluating the explicit function definitions over the finite types `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_fixed_words_proper_and_pair_rich : (∀ (s : Bool) (i : Fin 5), In1098Bit.word s (i - 1) ≠ In1098Bit.word s i) ∧ (∀ i : Fin 5, let j := In1098Bit.perm i; ¬ ((In1098Bit.word false (i-1) = In1098Bit.word true (j-1) ∧ In1098Bit.word false i = In1098Bit.word true j) ∨ (In1098Bit.word false (i-1) = In1098Bit.word true j ∧ In1098Bit.word false i = In1098Bit.word true (j-1)))) := by decide