AFTD Auto-Formalizing Theoretical Domains

cycle_power_thirty_one_model_alternating

theoremverified

In a tight, exactly dyadically covered, fully covered exponent-5 Boolean class model with 6 active classes at every vertex, bit 1 alternates: x(p+1,1) = not x(p,1) for every p.

Statement

theorem cycle_power_thirty_one_model_alternating (x : ℤ → ℕ → Bool)
    (htight : ∀ p, cycle_power_dyadic_class_weight (4+1) (x p) =
        (Finset.range (2^(4+1))).sum (fun a => (x p a).toNat))
    (hexact : ∀ j < 4+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>
        (x (v-(a : ℤ)) a && x (v-(a : ℤ)) (a+2^(4+1)-2^j)).toNat) = 1)
    (hcover : ∀ d : ℕ, 1 ≤ d → d < 2^(4+1) → ∀ v : ℤ,
        ∃ a : ℕ, a < 2^(4+1)-d ∧ x (v-(a : ℤ)) a = true ∧
          x (v-(a : ℤ)) (a+d) = true)
    (hcount : ∀ v : ℤ, (Finset.range (2^(4+1))).sum (fun a =>
        (x (v-(a : ℤ)) a).toNat) = (4+1)+1) :
    ∀ p : ℤ, x (p+1) 1 = !x p 1
Source
RT-1 / OP-205, arXiv:2610.15635: the k = 31 (m = 5) case of the open even case. The one remaining hypothesis of simple_graph_equivalence_covering_number_cycle_power_thirty_one_of_alternating; window SAT evidence experiment 37427.
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 2

The proof, explained

The theorem states that bit 1 strictly alternates between consecutive positions p and p + 1, so that x(p + 1, 1) = !x(p, 1). The proof proceeds by case analysis on the Boolean value of x(p, 1). In each branch, the result follows immediately from previously established lemmas showing that two consecutive positions cannot both have bit 1 false, nor can they both have bit 1 true.

  1. It suffices to fix an integer index p and consider the two possible Boolean values of x(p, 1).

    We introduce an arbitrary vertex index p and split into cases based on whether x(p, 1) is false or true.

    lines 12–13

      intro p
      cases h : x p 1
  2. If x(p, 1) = false, then x(p + 1, 1) = !false.

    Under the model hypotheses, consecutive vertices cannot both have bit 1 false: cycle_power_thirty_one_model_bit_one_not_both_false ensures that x(p + 1, 1) = true. Since !false evaluates to true, the equality holds.

    line 14

    uses cycle_power_thirty_one_model_bit_one_not_both_false

      · simpa using cycle_power_thirty_one_model_bit_one_not_both_false x htight hexact hcover hcount p h
  3. If x(p, 1) = true, then x(p + 1, 1) = !true.

    Under the model hypotheses, consecutive vertices cannot both have bit 1 true: cycle_power_thirty_one_model_bit_one_not_both_true ensures that x(p + 1, 1) = false. Since !true evaluates to false, the equality holds.

    line 15

    uses cycle_power_thirty_one_model_bit_one_not_both_true

      · simpa using cycle_power_thirty_one_model_bit_one_not_both_true x htight hexact hcover hcount p h
cycle_power_thirty_one_model_bit_one_not_both_false
in this model, if bit 1 is false at index p, then it must be true at index p + 1
cycle_power_thirty_one_model_bit_one_not_both_true
in this model, if bit 1 is true at index p, then it must be false at index p + 1

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 cycle_power_thirty_one_model_alternating (x : ℤ → ℕ → Bool)    (htight : ∀ p, cycle_power_dyadic_class_weight (4+1) (x p) =        (Finset.range (2^(4+1))).sum (fun a => (x p a).toNat))    (hexact : ∀ j < 4+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>        (x (v-(a : ℤ)) a && x (v-(a : ℤ)) (a+2^(4+1)-2^j)).toNat) = 1)    (hcover : ∀ d : ℕ, 1 ≤ d → d < 2^(4+1) → ∀ v : ℤ,        ∃ a : ℕ, a < 2^(4+1)-d ∧ x (v-(a : ℤ)) a = true ∧          x (v-(a : ℤ)) (a+d) = true)    (hcount : ∀ v : ℤ, (Finset.range (2^(4+1))).sum (fun a =>        (x (v-(a : ℤ)) a).toNat) = (4+1)+1) :    ∀ p : ℤ, x (p+1) 1 = !x p 1 := by  intro p  cases h : x p 1  · simpa using cycle_power_thirty_one_model_bit_one_not_both_false x htight hexact hcover hcount p h  · simpa using cycle_power_thirty_one_model_bit_one_not_both_true x htight hexact hcover hcount p h
See it in the graphDiscuss this resultChallenge it