AFTD Auto-Formalizing Theoretical Domains

op869_log_integer_budget_lower

theoremverified

For C≥1 and m≥2, the logarithm of the integer schedule budget is at least 3m³ log m.

Statement

theorem op869_log_integer_budget_lower (C m : ℕ) (hC : 1 ≤ C) (hm : 2 ≤ m) :
    3 * (m : ℝ)^3 * Real.log (m : ℝ) ≤
      Real.log (((C * (m^m)^3 * 2^(C*(m+1)))^(m^2) : ℕ) : ℝ)
Source
The explicit integer schedule related to arXiv:2610.41516 Section 2.3.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

The proof, explained

The proof factors the budget expression as F^(m^2), where F = C * (m^m)^3 * 2^(C*(m+1)). Because C ≥ 1 and 2^(C*(m+1)) ≥ 1, the base satisfies F ≥ (m^m)^3 = m^(3m), which gives log F ≥ 3m log m by monotonicity of the logarithm. Pulling out the outer exponent m^2 from log(F^(m^2)) = m^2 log F and scaling the inequality by m^2 gives the lower bound 3m^3 log m.

  1. m > 0 and C > 0, and with K = m^m and F = C * K^3 * 2^(C*(m+1)), K is strictly positive

    From C ≥ 1 and m ≥ 2, linear integer arithmetic establishes m > 0 and C > 0. We define the abbreviations K = m^m and F = C * K^3 * 2^(C*(m+1)). Since m > 0, positivity directly gives K > 0.

    lines 5–9

      have hm0 : 0 < m := by omega
      have hC0 : 0 < C := by omega
      let K := m^m
      let F := C*K^3*2^(C*(m+1))
      have hK0 : 0 < K := by dsimp [K]; positivity
  2. K^3 ≤ F as natural numbers, and therefore as real numbers

    Expanding F = C * K^3 * 2^(C*(m+1)), since 2 > 0 we have 1 ≤ 2^(C*(m+1)) by Nat.one_le_pow. Together with 1 ≤ C, monotonicity of multiplication yields K^3 = 1 * K^3 * 1 ≤ C * K^3 * 2^(C*(m+1)) = F. This inequality is then cast from ℕ to ℝ.

    lines 10–16

    uses Nat.one_le_pow

      have hFbound : K^3 ≤ F := by
        dsimp [F]
        have hp : 1 ≤ 2^(C*(m+1)) := Nat.one_le_pow _ _ (by decide)
        calc
          K^3 = 1*K^3*1 := by simp
          _ ≤ C*K^3*2^(C*(m+1)) := by gcongr
      have hcast : ((K^3 : ℕ) : ℝ) ≤ (F : ℝ) := by exact_mod_cast hFbound
  3. 3m log m ≤ log F

    Since K^3 > 0 and K^3 ≤ F, monotonicity of the real logarithm (Real.log_le_log) gives log(K^3) ≤ log F. Expanding K = m^m, the base is (m^m)^3 = m^(3m) via Nat.cast_pow and mul_assoc, and applying the logarithm power rule (Real.log_pow) reduces log(K^3) to 3m log m.

    lines 17–20

    uses Real.log_le_log, Nat.cast_pow, Real.log_pow, mul_assoc

      have hlog : Real.log (((K^3 : ℕ) : ℝ)) ≤ Real.log (F : ℝ) :=
        Real.log_le_log (by positivity) hcast
      have hlogK : 3*(m : ℝ)*Real.log (m : ℝ) ≤ Real.log (F : ℝ) := by
        simpa [K, Nat.cast_pow, Real.log_pow, mul_assoc] using hlog
  4. The target budget logarithm log(((C * (m^m)^3 * 2^(C*(m+1)))^(m^2))) rewrites to m^2 log F

    Rewriting the budget expression in terms of F gives log(F^(m^2)). Applying Real.log_pow pulls the exponent m^2 out in front as a coefficient, giving m^2 log F.

    lines 21–24

    uses Real.log_pow

      change _ ≤ Real.log ((F^(m^2) : ℕ) : ℝ)
      push_cast
      rw [Real.log_pow]
      push_cast
  5. 3m^3 log m ≤ log(budget)

    By polynomial ring algebra, 3m^3 log m = m^2 * (3m log m). Multiplying the bound 3m log m ≤ log F by m^2 ≥ 0 on the left via mul_le_mul_of_nonneg_left gives 3m^3 log m ≤ m^2 log F, which equals the logarithm of the budget.

    lines 25–27

    uses mul_le_mul_of_nonneg_left

      calc
        3 * (m : ℝ)^3 * Real.log (m : ℝ) = (m : ℝ)^2 * (3*(m : ℝ)*Real.log (m : ℝ)) := by ring
        _ ≤ (m : ℝ)^2 * Real.log (F : ℝ) := mul_le_mul_of_nonneg_left hlogK (by positivity)
Nat.one_le_pow
Any power of a strictly positive natural number is at least 1
Real.log_le_log
The real logarithm function is order-preserving: if 0 < x ≤ y, then log x ≤ log y
Nat.cast_pow
Casting a natural power to a semiring equals the power of the casted base
Real.log_pow
For a real number x and a natural exponent n, log(x^n) = n * log x
mul_assoc
Multiplication in a semigroup is associative: (a * b) * c = a * (b * c)
mul_le_mul_of_nonneg_left
Left multiplication by a non-negative element preserves inequalities: if b ≤ c and 0 ≤ a, then a * b ≤ a * c

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

/-- Lower bound for the logarithm of the integer fold-schedule budget. -/theorem op869_log_integer_budget_lower (C m : ℕ) (hC : 1 ≤ C) (hm : 2 ≤ m) :    3 * (m : ℝ)^3 * Real.log (m : ℝ) ≤      Real.log (((C * (m^m)^3 * 2^(C*(m+1)))^(m^2) : ℕ) : ℝ) := by  have hm0 : 0 < m := by omega  have hC0 : 0 < C := by omega  let K := m^m  let F := C*K^3*2^(C*(m+1))  have hK0 : 0 < K := by dsimp [K]; positivity  have hFbound : K^3 ≤ F := by    dsimp [F]    have hp : 1 ≤ 2^(C*(m+1)) := Nat.one_le_pow _ _ (by decide)    calc      K^3 = 1*K^3*1 := by simp      _ ≤ C*K^3*2^(C*(m+1)) := by gcongr  have hcast : ((K^3 : ℕ) : ℝ) ≤ (F : ℝ) := by exact_mod_cast hFbound  have hlog : Real.log (((K^3 : ℕ) : ℝ)) ≤ Real.log (F : ℝ) :=    Real.log_le_log (by positivity) hcast  have hlogK : 3*(m : ℝ)*Real.log (m : ℝ) ≤ Real.log (F : ℝ) := by    simpa [K, Nat.cast_pow, Real.log_pow, mul_assoc] using hlog  change _ ≤ Real.log ((F^(m^2) : ℕ) : ℝ)  push_cast  rw [Real.log_pow]  push_cast  calc    3 * (m : ℝ)^3 * Real.log (m : ℝ) = (m : ℝ)^2 * (3*(m : ℝ)*Real.log (m : ℝ)) := by ring    _ ≤ (m : ℝ)^2 * Real.log (F : ℝ) := mul_le_mul_of_nonneg_left hlogK (by positivity)
See it in the graphDiscuss this resultChallenge it