op874_nonbinary_low_ports_one_exception
The explicit matching and selected low ports are consistent, cover same-bit factor edges without double selection, and have one reversal from the stated per-cycle directions.
Statement
theorem op874_nonbinary_low_ports_one_exception : (∀ i, In1098Global.mate (In1098Global.mate i) = i ∧ In1098Global.mate i ≠ i ∧ op874_nonbinary_bit (In1098Global.mate i) = op874_nonbinary_bit i ∧ In1098Global.prev (In1098Global.next i) = i ∧ In1098Global.next (In1098Global.prev i) = i) ∧ (∀ i, In1098Global.selected i = In1098Global.mate i ∨ In1098Global.selected i = In1098Global.prev i ∨ In1098Global.selected i = In1098Global.next i) ∧ (∀ i, In1098Global.selected i = In1098Global.mate i ↔ In1098Global.selected (In1098Global.mate i) ≠ i) ∧ (∀ i, op874_nonbinary_bit i = op874_nonbinary_bit (In1098Global.next i) → In1098Global.selected i = In1098Global.next i ∨ In1098Global.selected (In1098Global.next i) = i) ∧ (∀ i, ¬ (In1098Global.selected i = In1098Global.next i ∧ In1098Global.selected (In1098Global.next i) = i)) ∧ (∀ i, In1098Global.selected i ≠ In1098Global.mate i → (i = 6 ∧ In1098Global.selected i = In1098Global.prev i) ∨ (i ≠ 6 ∧ (if In1098Global.group i = 3 then In1098Global.selected i = In1098Global.prev i else In1098Global.selected i = In1098Global.next i)))
- Source
- Explicit fixed-low local-to-global obstruction, experiments 36317–36319.
- Verified
- 22 Nov 2026
- Axioms
propext- Built on 2
- op874_nonbinary_fixed_low_port_dataThe factor successor, predecessor, matching mate, selected low ports, factor labels and explicit local-color witness for the…
- op874_nonbinary_bitThe matching-cut bits in the global ownership example.
The proof, explained
The theorem establishes that explicit port selections on a 16-node graph satisfy six structural properties: the matching is a fixed-point-free bit-preserving involution; successor and predecessor form cycle permutations; each node selects an incident edge; matching edges are selected by exactly one endpoint; same-bit cycle edges are covered without double selection; and non-matching selections follow per-group cycle directions with node 6 being the unique exception. Because all functions are defined by explicit lookups over `Fin 16`, the entire conjunction is verified by exhaustive computation via `decide`.
All six structural properties—including involution consistency, unique matching selection, same-bit cycle-edge coverage, and cycle orientation with node 6 as the sole exception—hold for all sixteen nodes. automation
Every function involved (`In1098Global.mate`, `prev`, `next`, `selected`, `group`, and `op874_nonbinary_bit`) is explicitly defined by tabular lookups on the finite domain `Fin 16`. Because each condition is a decidable predicate quantified over a finite type, the `decide` tactic verifies all six conjuncts simultaneously by exhaustive evaluation.
(∀ i, In1098Global.selected i ≠ In1098Global.mate i → (i = 6 ∧ In1098Global.selected i = In1098Global.prev i) ∨ (i ≠ 6 ∧ (if In1098Global.group i = 3 then In1098Global.selected i = In1098Global.prev i else In1098Global.selected i = In1098Global.next i))) := by decide
- The entire proof is discharged by the `decide` tactic, which checks all six conjuncts by computational reflection over the 16 elements of `Fin 16`.
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_nonbinary_low_ports_one_exception : (∀ i, In1098Global.mate (In1098Global.mate i) = i ∧ In1098Global.mate i ≠ i ∧ op874_nonbinary_bit (In1098Global.mate i) = op874_nonbinary_bit i ∧ In1098Global.prev (In1098Global.next i) = i ∧ In1098Global.next (In1098Global.prev i) = i) ∧ (∀ i, In1098Global.selected i = In1098Global.mate i ∨ In1098Global.selected i = In1098Global.prev i ∨ In1098Global.selected i = In1098Global.next i) ∧ (∀ i, In1098Global.selected i = In1098Global.mate i ↔ In1098Global.selected (In1098Global.mate i) ≠ i) ∧ (∀ i, op874_nonbinary_bit i = op874_nonbinary_bit (In1098Global.next i) → In1098Global.selected i = In1098Global.next i ∨ In1098Global.selected (In1098Global.next i) = i) ∧ (∀ i, ¬ (In1098Global.selected i = In1098Global.next i ∧ In1098Global.selected (In1098Global.next i) = i)) ∧ (∀ i, In1098Global.selected i ≠ In1098Global.mate i → (i = 6 ∧ In1098Global.selected i = In1098Global.prev i) ∨ (i ≠ 6 ∧ (if In1098Global.group i = 3 then In1098Global.selected i = In1098Global.prev i else In1098Global.selected i = In1098Global.next i))) := by decide