AFTD Auto-Formalizing Theoretical Domains

op1525_cycle_pair_profiles_do_not_reconstruct

theoremverified

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.

  1. 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.

    lines 20–22

      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])),
        ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
  2. 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.

    line 23

      all_goals decide

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

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
See it in the graphDiscuss this resultChallenge it