op1525_cycle_pair_profiles_do_not_reconstruct
There are two Boolean colorings of the cyclic group of order twelve, each with seven true vertices, such that for every cyclic distance they have the same number of ordered pairs of different colors, neither rotation nor reflection identifies them even after a global color exchange, and one switching card of the first has no match among the second coloring’s switching cards under rotation, reflection, and global color exchange. Both colorings contain a vertex whose two neighbors have the opposite color and a vertex whose two neighbors have the same color.
Statement
theorem op1525_cycle_pair_profiles_do_not_reconstruct : ∃ a b : Fin 12 → Bool, (∑ x : Fin 12, if a x then 1 else 0 : ℕ) = 7 ∧ (∑ x : Fin 12, if b x then 1 else 0 : ℕ) = 7 ∧ (∀ d : Fin 12, (∑ x : Fin 12, if a x = a (x+d) then 0 else 1 : ℕ) = (∑ x : Fin 12, if b x = b (x+d) then 0 else 1 : ℕ)) ∧ (∀ t : Fin 12, ∀ c : Bool, (∃ x : Fin 12, a (x+t) ≠ xor (b x) c) ∧ (∃ x : Fin 12, a (t-x) ≠ xor (b x) c)) ∧ (∀ w t : Fin 12, ∀ c : Bool, (∃ x : Fin 12, xor (a (x+t)) (decide (x+t = 0)) ≠ xor (xor (b x) (decide (x = w))) c) ∧ (∃ x : Fin 12, xor (a (t-x)) (decide (t-x = 0)) ≠ xor (xor (b x) (decide (x = w))) c)) ∧ (∃ x : Fin 12, a (x-1) ≠ a x ∧ a (x+1) ≠ a x) ∧ (∃ x : Fin 12, a (x-1) = a x ∧ a (x+1) = a x) ∧ (∃ x : Fin 12, b (x-1) ≠ b x ∧ b (x+1) ≠ b x) ∧ (∃ x : Fin 12, b (x-1) = b x ∧ b (x+1) = b x)
- Source
- An obstruction to using only two-vertex orbital cut statistics in OP-1525; the two underlying signed cycles satisfy its mixed net-degree condition.
- Verified
- 17 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem is proved by explicitly providing two Boolean colorings on the cyclic group of order 12: the indicator functions of {0, 1, 2, 3, 5, 6, 8} and {0, 1, 2, 3, 4, 7, 9}. Because the domain is finite, the required properties—cardinality 7, matching distance profiles, inequivalence under rotations and reflections modulo color negation, failure to reconstruct a switching card, and local neighbor configurations—are all decidable finite combinatorial statements. Lean's `decide` tactic discharges all nine verification goals by exhaustive computation.
Provide explicit witness colorings a and b on Fin 12, reducing the existence claim to nine concrete verification subgoals.
The existential quantifiers are instantiated by choosing a to be the indicator function of {0, 1, 2, 3, 5, 6, 8} and b to be the indicator function of {0, 1, 2, 3, 4, 7, 9} in the cyclic group of order 12. Using `refine` with placeholders leaves nine separate subgoals: verifying that each set has 7 elements, that they share identical pair-difference profiles across all cyclic distances, that no dihedral symmetry (rotation or reflection) combined with color inversion identifies them, that the switching card of a at vertex 0 is not isomorphic to any switching card of b, and that both colorings contain both alternating and monochromatic 3-vertex neighborhoods.
refine ⟨(fun x => decide (x.val ∈ [0, 1, 2, 3, 5, 6, 8])), (fun x => decide (x.val ∈ [0, 1, 2, 3, 4, 7, 9])), ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
All nine combinatorial properties hold for the chosen colorings a and b. automation
Because the domain Fin 12 and the target Bool are finite types, each of the nine conjuncts is a decidable proposition involving finite sums, bounded universal quantifiers, and bounded existential witnesses. Lean's `decide` tactic evaluates every goal by direct exhaustive computation.
all_goals decide
- The verification of the nine combinatorial properties—including matching distance profiles, dihedral inequivalence under color negation, and switching card non-reconstruction—is delegated entirely to Lean's `decide` tactic, which evaluates the finite sums and exhaustive searches over Fin 12 by direct computation.
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_profiles_do_not_reconstruct : ∃ a b : Fin 12 → Bool, (∑ x : Fin 12, if a x then 1 else 0 : ℕ) = 7 ∧ (∑ x : Fin 12, if b x then 1 else 0 : ℕ) = 7 ∧ (∀ d : Fin 12, (∑ x : Fin 12, if a x = a (x+d) then 0 else 1 : ℕ) = (∑ x : Fin 12, if b x = b (x+d) then 0 else 1 : ℕ)) ∧ (∀ t : Fin 12, ∀ c : Bool, (∃ x : Fin 12, a (x+t) ≠ xor (b x) c) ∧ (∃ x : Fin 12, a (t-x) ≠ xor (b x) c)) ∧ (∀ w t : Fin 12, ∀ c : Bool, (∃ x : Fin 12, xor (a (x+t)) (decide (x+t = 0)) ≠ xor (xor (b x) (decide (x = w))) c) ∧ (∃ x : Fin 12, xor (a (t-x)) (decide (t-x = 0)) ≠ xor (xor (b x) (decide (x = w))) c)) ∧ (∃ x : Fin 12, a (x-1) ≠ a x ∧ a (x+1) ≠ a x) ∧ (∃ x : Fin 12, a (x-1) = a x ∧ a (x+1) = a x) ∧ (∃ x : Fin 12, b (x-1) ≠ b x ∧ b (x+1) ≠ b x) ∧ (∃ x : Fin 12, b (x-1) = b x ∧ b (x+1) = b x) := by refine ⟨(fun x => decide (x.val ∈ [0, 1, 2, 3, 5, 6, 8])), (fun x => decide (x.val ∈ [0, 1, 2, 3, 4, 7, 9])), ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ all_goals decide