op1525_cycle_pair_oriented_common_card
For the two explicit twelve-cycle colorings used in op1525_cycle_pair_profiles_do_not_reconstruct, switching vertex 5 in the first and vertex 0 in the second gives the same coloring after rotating the first by one position, without global color exchange.
Statement
theorem op1525_cycle_pair_oriented_common_card : ∀ x : Fin 12, xor (decide (x.val ∈ [0, 1, 2, 3, 5, 6, 8])) (decide (x = 5)) = xor (decide ((x+1).val ∈ [0, 1, 2, 3, 4, 7, 9])) (decide (x+1 = 0))
- Source
- The orientation-preserving common-card obstruction to a general pair-orbital reconstruction route for OP-1525.
- Verified
- 17 Nov 2026
- Axioms
Quot.soundpropext
The proof, explained
The theorem asserts that two 2-colorings of a 12-cycle, after flipping a single vertex in each (vertex 5 in the first coloring and vertex 0 in the second), are related by a shift of one position ($x \\mapsto x + 1$). Because the domain is the finite type $\\mathrm{Fin}(12)$ and all expressions are decidable boolean values, the proof proceeds by exhaustive computation over all 12 vertices using the `decide` tactic.
For all $x \\in \\{0, 1, \\dots, 11\\}$, the rotated coloring with vertex 0 flipped coincides with the original coloring with vertex 5 flipped. automation
The universal quantifier ranges over the finite type `Fin 12`, and every component of the equation—membership in the literal lists, equality checks, and the boolean `xor` operation—is purely computational. The `decide` tactic evaluates both sides for each of the 12 values of $x$ (0 through 11) and verifies that the equality holds in every case.
decide
- The proof relies entirely on Lean's kernel computation (`decide`), which exhaustively checks the identity for all 12 elements of `Fin 12`.
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 op1525_cycle_pair_oriented_common_card : ∀ x : Fin 12, xor (decide (x.val ∈ [0, 1, 2, 3, 5, 6, 8])) (decide (x = 5)) = xor (decide ((x+1).val ∈ [0, 1, 2, 3, 4, 7, 9])) (decide (x+1 = 0)) := by decide