AFTD Auto-Formalizing Theoretical Domains

cycle_power_thirty_one_model_bit_one_not_both_true

theoremverified

In a tight, exactly dyadically covered, fully covered exponent-5 model with 6 active classes per vertex, no two consecutive classes both contain bit 1: x(p,1) = true implies x(p+1,1) = false.

Statement

theorem cycle_power_thirty_one_model_bit_one_not_both_true (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 = true → x (p+1) 1 = false
Source
RT-1 / OP-205, arXiv:2610.15635: the k = 31 (m = 5) case.
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 9
Used by 1

The proof, explained

The proof shows that no two consecutive classes can both contain bit 1 by reducing the general statement to the base case at vertex 0 via translation invariance. The base case—that no valid model can have both y(0, 1) = true and y(1, 1) = true—is proved as an auxiliary lemma through an exhaustive decision tree over coordinates (3, 28), (-2, 28), (-6, 1), (4, 1), and (-2, 1), where each of the six leaf cases is refuted by an established lemma. For any vertex p where x(p, 1) = true and x(p+1, 1) = true, shifting the model by p yields a valid model that violates the base case, producing a contradiction.

  1. Formulate the key lemma that no valid model can satisfy both y(0, 1) = true and y(1, 1) = true, and assume for contradiction that such a model y exists.

    We state the auxiliary lemma `key`: any model y satisfying tightness, exact dyadic coverage, full coverage, and vertex degree 6 cannot simultaneously have y(0, 1) = true and y(1, 1) = true. We introduce the model y along with its four model hypotheses and the two true bit assumptions hu0 and hu1, setting the goal to False.

    lines 14–25

      have key : ∀ y : ℤ → ℕ → Bool,
          (∀ p, cycle_power_dyadic_class_weight (4+1) (y p) =
            (Finset.range (2^(4+1))).sum (fun a => (y p a).toNat)) →
          (∀ j < 4+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>
            (y (v-(a : ℤ)) a && y (v-(a : ℤ)) (a+2^(4+1)-2^j)).toNat) = 1) →
          (∀ d : ℕ, 1 ≤ d → d < 2^(4+1) → ∀ v : ℤ,
            ∃ a : ℕ, a < 2^(4+1)-d ∧ y (v-(a : ℤ)) a = true ∧
              y (v-(a : ℤ)) (a+d) = true) →
          (∀ v : ℤ, (Finset.range (2^(4+1))).sum (fun a =>
            (y (v-(a : ℤ)) a).toNat) = (4+1)+1) →
          y (0 : ℤ) 1 = true → y (1 : ℤ) 1 = true → False := by
        intro y htight hexact hcover hcount hu0 hu1
  2. The branch where y(3, 28) = true leads to a contradiction.

    We perform a case split on the truth value of y(3, 28). When y(3, 28) = true, we further branch on y(-2, 28). If y(-2, 28) = true, the configuration is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28t`. If y(-2, 28) = false, it is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28f`.

    lines 26–30

    uses cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28t, cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28f

        by_cases h0 : y (3 : ℤ) 28 = true
        · by_cases h1 : y (-2 : ℤ) 28 = true
          · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28t y htight hexact hcover hcount hu0 hu1 h0 h1
          · have h1 : y (-2 : ℤ) 28 = false := by simpa using h1
            exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28f y htight hexact hcover hcount hu0 hu1 h0 h1
  3. When y(3, 28) = false, the subcase where y(-6, 1) = true leads to a contradiction.

    In the remaining case where y(3, 28) = false, we branch on y(-6, 1). In the subcase where y(-6, 1) = true, we branch on y(4, 1). If y(4, 1) = true, the configuration is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4t`. If y(4, 1) = false, it is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4f`.

    lines 31–36

    uses cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4t, cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4f

        · have h0 : y (3 : ℤ) 28 = false := by simpa using h0
          by_cases h1 : y (-6 : ℤ) 1 = true
          · by_cases h2 : y (4 : ℤ) 1 = true
            · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4t y htight hexact hcover hcount hu0 hu1 h0 h1 h2
            · have h2 : y (4 : ℤ) 1 = false := by simpa using h2
              exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4f y htight hexact hcover hcount hu0 hu1 h0 h1 h2
  4. When y(3, 28) = false and y(-6, 1) = false, the remaining subcases also lead to a contradiction, completing the proof of the key lemma.

    In the final subcase where both y(3, 28) = false and y(-6, 1) = false, we branch on y(-2, 1). If y(-2, 1) = true, it is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2t`. If y(-2, 1) = false, it is refuted by `cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2f`. This closes all branches of the case analysis, establishing `key`.

    lines 37–41

    uses cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2t, cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2f

          · have h1 : y (-6 : ℤ) 1 = false := by simpa using h1
            by_cases h2 : y (-2 : ℤ) 1 = true
            · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2t y htight hexact hcover hcount hu0 hu1 h0 h1 h2
            · have h2 : y (-2 : ℤ) 1 = false := by simpa using h2
              exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2f y htight hexact hcover hcount hu0 hu1 h0 h1 h2
  5. For an arbitrary vertex p with x(p, 1) = true, assuming the contrary implies x(p + 1, 1) = true.

    We introduce the vertex p and the assumption x(p, 1) = true. To show x(p + 1, 1) = false, we assume for contradiction that ¬ (x(p + 1, 1) = false), which simplifies to x(p + 1, 1) = true.

    lines 42–44

      intro p hp
      by_contra hq
      have hq' : x (p+1) 1 = true := by simpa using hq
  6. Shifting the model by p yields a valid model that contradicts the key lemma, proving the theorem.

    By `RT1C32.model_shift`, translation invariance guarantees that the shifted assignment y(q, a) = x(p + q, a) satisfies all four model axioms. For this shifted model, y(0, 1) = x(p, 1) = true and y(1, 1) = x(p + 1, 1) = true, which directly contradicts `key`.

    lines 45–46

    uses RT1C32.model_shift

      obtain ⟨t, e, c, n⟩ := RT1C32.model_shift x ⟨htight, hexact, hcover, hcount⟩ p
      exact key (fun q a => x (p+q) a) t e c n (by simpa using hp) (by simpa using hq')
cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28t
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = true, and x(-2, 28) = true is impossible.
cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28f
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = true, and x(-2, 28) = false is impossible.
cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4t
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = false, x(-6, 1) = true, and x(4, 1) = true is impossible.
cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4f
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = false, x(-6, 1) = true, and x(4, 1) = false is impossible.
cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2t
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = false, x(-6, 1) = false, and x(-2, 1) = true is impossible.
cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2f
In any exponent-5 model satisfying tightness, exact dyadic coverage, full coverage, and degree 6, having x(0, 1) = true, x(1, 1) = true, x(3, 28) = false, x(-6, 1) = false, and x(-2, 1) = false is impossible.
RT1C32.model_shift
If x is a valid model satisfying tightness, exact dyadic coverage, full coverage, and vertex degree conditions, then for any integer translation v, the shifted assignment (p, a) ↦ x(v + p, a) is also a valid model.

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

-- uses RT1C32.model_shift from the s5f moduletheorem cycle_power_thirty_one_model_bit_one_not_both_true (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 = true → x (p+1) 1 = false := by  have key : ∀ y : ℤ → ℕ → Bool,      (∀ p, cycle_power_dyadic_class_weight (4+1) (y p) =        (Finset.range (2^(4+1))).sum (fun a => (y p a).toNat)) →      (∀ j < 4+1, ∀ v : ℤ, (Finset.range (2^j)).sum (fun a =>        (y (v-(a : ℤ)) a && y (v-(a : ℤ)) (a+2^(4+1)-2^j)).toNat) = 1) →      (∀ d : ℕ, 1 ≤ d → d < 2^(4+1) → ∀ v : ℤ,        ∃ a : ℕ, a < 2^(4+1)-d ∧ y (v-(a : ℤ)) a = true ∧          y (v-(a : ℤ)) (a+d) = true) →      (∀ v : ℤ, (Finset.range (2^(4+1))).sum (fun a =>        (y (v-(a : ℤ)) a).toNat) = (4+1)+1) →      y (0 : ℤ) 1 = true → y (1 : ℤ) 1 = true → False := by    intro y htight hexact hcover hcount hu0 hu1    by_cases h0 : y (3 : ℤ) 28 = true    · by_cases h1 : y (-2 : ℤ) 28 = true      · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28t y htight hexact hcover hcount hu0 hu1 h0 h1      · have h1 : y (-2 : ℤ) 28 = false := by simpa using h1        exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28t_m2b28f y htight hexact hcover hcount hu0 hu1 h0 h1    · have h0 : y (3 : ℤ) 28 = false := by simpa using h0      by_cases h1 : y (-6 : ℤ) 1 = true      · by_cases h2 : y (4 : ℤ) 1 = true        · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4t y htight hexact hcover hcount hu0 hu1 h0 h1 h2        · have h2 : y (4 : ℤ) 1 = false := by simpa using h2          exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6t_4f y htight hexact hcover hcount hu0 hu1 h0 h1 h2      · have h1 : y (-6 : ℤ) 1 = false := by simpa using h1        by_cases h2 : y (-2 : ℤ) 1 = true        · exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2t y htight hexact hcover hcount hu0 hu1 h0 h1 h2        · have h2 : y (-2 : ℤ) 1 = false := by simpa using h2          exact cycle_power_thirty_one_double_true_bit_one_refuted_3b28f_m6f_m2f y htight hexact hcover hcount hu0 hu1 h0 h1 h2  intro p hp  by_contra hq  have hq' : x (p+1) 1 = true := by simpa using hq  obtain ⟨t, e, c, n⟩ := RT1C32.model_shift x ⟨htight, hexact, hcover, hcount⟩ p  exact key (fun q a => x (p+q) a) t e c n (by simpa using hp) (by simpa using hq')
See it in the graphDiscuss this resultChallenge it