AFTD Auto-Formalizing Theoretical Domains

cycle_power_fifteen_middle_bits_of_alternating

theoremverified

In a tight, exactly dyadically covered, fully covered integer Boolean class model at exponent 4 (offsets 0..15) with 5 active classes per vertex, where bit 1 alternates and every class without bit 1 has no inner bits other than possibly 7 and 8, those two middle bits vanish too: every class without bit 1 consists of its endpoints only.

Statement

theorem cycle_power_fifteen_middle_bits_of_alternating (x : ℤ → ℕ → Bool)
    (htight : ∀ p, cycle_power_dyadic_class_weight (3+1) (x p) =
      (Finset.range (2^(3+1))).sum (fun a => (x p a).toNat))
    (hexact : ∀ j < 3+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>
      (x (v-(a : ℤ)) a && x (v-(a : ℤ)) (a+2^(3+1)-2^j)).toNat) = 1)
    (hcover : ∀ d : ℕ, 1 ≤ d → d < 2^(3+1) → ∀ v : ℤ,
      ∃ a : ℕ, a < 2^(3+1)-d ∧ x (v-(a : ℤ)) a = true ∧
        x (v-(a : ℤ)) (a+d) = true)
    (hcount : ∀ v : ℤ, (Finset.range (2^(3+1))).sum (fun a =>
      (x (v-(a : ℤ)) a).toNat) = (3+1)+1)
    (halt : ∀ p : ℤ, x (p+1) 1 = !x p 1)
    (hpart : ∀ p : ℤ, x p 1 = false → ∀ j, 0 < j → j < 2^(3+1) - 1 → j ≠ 2^3 - 1 → j ≠ 2^3 →
      x p j = false) :
    ∀ p : ℤ, x p 1 = false → x p (2^3 - 1) = false ∧ x p (2^3) = false
Source
RT-1 / OP-205, arXiv:2610.15635: the t = 3 (bandwidth 15) case of cycle_power_dyadic_middle_bits_of_alternating.
Verified
20 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3

The proof, explained

The theorem is proved by applying the general reduction lemma `cycle_power_dyadic_middle_bits_from_defective_halves` with scale parameter t = 3. This lemma reduces the vanishing of the two middle bits in classes without bit 1 to the absence of defects in defective half-models of order t. The latter condition is supplied for t = 3 by `cycle_power_eight_defective_halves_no_defects`, and the side condition 2 ≤ 3 holds by numerical evaluation.

  1. For any class p where bit 1 is false, both middle bits at indices 7 (2^3 - 1) and 8 (2^3) are false.

    The claim follows directly from the reduction theorem `cycle_power_dyadic_middle_bits_from_defective_halves` instantiated with parameter t = 3. The side condition 2 ≤ 3 is verified by direct arithmetic (`norm_num`), the model hypotheses `htight`, `hexact`, `hcover`, `hcount`, `halt`, and `hpart` are passed unchanged, and the required absence of defects for defective half-models of order 3 is supplied by `cycle_power_eight_defective_halves_no_defects`.

    lines 15–16

    uses cycle_power_dyadic_middle_bits_from_defective_halves, cycle_power_eight_defective_halves_no_defects

      exact cycle_power_dyadic_middle_bits_from_defective_halves 3 (by norm_num) x htight hexact hcover
        hcount halt hpart cycle_power_eight_defective_halves_no_defects
cycle_power_dyadic_middle_bits_from_defective_halves
In an exponent-(t+1) dyadic model satisfying tightness, exact covering, full covering, vertex degree, alternating bit 1, and partial classification, if every order-t defective half-model (with shift 0 or 2^(t-1)) has no defects, then any class where bit 1 is false also has bits 2^t - 1 and 2^t set to false.
cycle_power_eight_defective_halves_no_defects
In any defective half-model of order 3 (with shift 0 or 2^(3-1) = 4), the defect function e is identically false everywhere.

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_fifteen_middle_bits_of_alternating (x : ℤ → ℕ → Bool)    (htight : ∀ p, cycle_power_dyadic_class_weight (3+1) (x p) =      (Finset.range (2^(3+1))).sum (fun a => (x p a).toNat))    (hexact : ∀ j < 3+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>      (x (v-(a : ℤ)) a && x (v-(a : ℤ)) (a+2^(3+1)-2^j)).toNat) = 1)    (hcover : ∀ d : ℕ, 1 ≤ d → d < 2^(3+1) → ∀ v : ℤ,      ∃ a : ℕ, a < 2^(3+1)-d ∧ x (v-(a : ℤ)) a = true ∧        x (v-(a : ℤ)) (a+d) = true)    (hcount : ∀ v : ℤ, (Finset.range (2^(3+1))).sum (fun a =>      (x (v-(a : ℤ)) a).toNat) = (3+1)+1)    (halt : ∀ p : ℤ, x (p+1) 1 = !x p 1)    (hpart : ∀ p : ℤ, x p 1 = false → ∀ j, 0 < j → j < 2^(3+1) - 1 → j ≠ 2^3 - 1 → j ≠ 2^3 →      x p j = false) :    ∀ p : ℤ, x p 1 = false → x p (2^3 - 1) = false ∧ x p (2^3) = false := by  exact cycle_power_dyadic_middle_bits_from_defective_halves 3 (by norm_num) x htight hexact hcover    hcount halt hpart cycle_power_eight_defective_halves_no_defects
See it in the graphDiscuss this resultChallenge it