AFTD Auto-Formalizing Theoretical Domains

cycle_power_thirty_one_middle_bits_of_alternating

theoremverified

The t = 4 case (k = 31) of cycle_power_dyadic_middle_bits_of_alternating: in a tight, exactly dyadically covered, fully covered integer Boolean class model at exponent 5 with 6 active classes per vertex, with alternating bit 1 and with all inner bits other than 15 and 16 vanishing in the classes without bit 1, those two middle bits vanish there as well.

Statement

theorem cycle_power_thirty_one_middle_bits_of_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)
    (halt : ∀ p : ℤ, x (p+1) 1 = !x p 1)
    (hpart : ∀ p : ℤ, x p 1 = false → ∀ j, 0 < j → j < 2^(4+1) - 1 → j ≠ 2^4 - 1 → j ≠ 2^4 →
      x p j = false) :
    ∀ p : ℤ, x p 1 = false → x p (2^4 - 1) = false ∧ x p (2^4) = false
Source
RT-1 / OP-205, arXiv:2610.15635: the t = 4 (bandwidth 31) case of cycle_power_dyadic_middle_bits_of_alternating.
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 3

The proof, explained

The proof instantiates the general reduction theorem cycle_power_dyadic_middle_bits_from_defective_halves at parameter t = 4. This theorem guarantees that the two middle bits (15 and 16) vanish in all classes with bit 1 false, provided every defective half-model at scale 4 is defect-free. That remaining defect-freeness condition is discharged directly by the previously proved classification theorem cycle_power_sixteen_defective_halves_no_defects.

  1. For every class p where bit 1 is false, the two middle bits 15 and 16 also vanish: x(p, 15) = false and x(p, 16) = false.

    We apply the general reduction theorem cycle_power_dyadic_middle_bits_from_defective_halves with parameter t = 4. The side condition 2 ≤ 4 is established by straightforward arithmetic (via norm_num). The given model hypotheses (htight, hexact, hcover, hcount, halt, and hpart) satisfy all structural assumptions at exponent 4 + 1 = 5, and the required absence of defects in scale-4 half-models is supplied by cycle_power_sixteen_defective_halves_no_defects.

    lines 15–16

    uses cycle_power_dyadic_middle_bits_from_defective_halves, cycle_power_sixteen_defective_halves_no_defects

      exact cycle_power_dyadic_middle_bits_from_defective_halves 4 (by norm_num) x htight hexact hcover
        hcount halt hpart cycle_power_sixteen_defective_halves_no_defects
cycle_power_dyadic_middle_bits_from_defective_halves
For any t ≥ 2, in a model at scale t + 1 satisfying dyadic tightness, exact dyadic coverage, full coverage, vertex count t + 2, alternating bit 1, and vanishing of non-middle inner bits when bit 1 is false, if all defective half-models at scale t have no defects, then the middle bits 2^t - 1 and 2^t also vanish whenever bit 1 is false.
cycle_power_sixteen_defective_halves_no_defects
Every defective half-model at scale t = 4 has no defects: its defect indicator e is identically false at every vertex.

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_middle_bits_of_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)    (halt : ∀ p : ℤ, x (p+1) 1 = !x p 1)    (hpart : ∀ p : ℤ, x p 1 = false → ∀ j, 0 < j → j < 2^(4+1) - 1 → j ≠ 2^4 - 1 → j ≠ 2^4 →      x p j = false) :    ∀ p : ℤ, x p 1 = false → x p (2^4 - 1) = false ∧ x p (2^4) = false := by  exact cycle_power_dyadic_middle_bits_from_defective_halves 4 (by norm_num) x htight hexact hcover    hcount halt hpart cycle_power_sixteen_defective_halves_no_defects
See it in the graphDiscuss this resultChallenge it