op869_general_budget_inversion
For any integer budget growing at least linearly whose next-budget logarithm is O(m³ log m), every sufficiently large n admits a feasible m with m^m at least exp(c(log n)^(1/3)(log log n)^(2/3)).
Statement
theorem op869_general_budget_inversion (budget : ℕ → ℕ) (D : ℝ) (hD1 : 1 ≤ D)
(hbig : ∀ m, 1 ≤ m → m ≤ budget m)
(hsucc : ∀ m, 2 ≤ m → Real.log (budget (m+1) : ℝ) ≤ D*(m : ℝ)^3*Real.log (m : ℝ)) : ∃ c : ℝ, 0 < c ∧ ∃ n₀ : ℕ, ∀ n : ℕ, n₀ ≤ n →
∃ m : ℕ, 2 ≤ m ∧
budget m ≤ n ∧
Real.exp (c * (Real.log (n : ℝ) ^ ((1 : ℝ) / 3)) *
(Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ) / 3))) ≤ (m^m : ℝ)- Source
- General form of the logarithmic inversion used in arXiv:2610.41516 Section 2.3.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- op869_integer_schedule_asymptoticFor every positive integer C, the integer budget F_m^(m²) fits in any sufficiently large n for some m≥2 whose target m^m is at least…
- Used by 1
- op869_three_colorable_lower_bound_of_forcingIf the bounded adversary game forces m^m colours on at most exp(C m³ log m) vertices for every m ≥ 2, then the three-colourable…
The proof, explained
The theorem is proved by setting c = 1 / W for W = D(4 + D / log 2)² + 1 and threshold n₀ = max(3, budget(2)). For any n ≥ n₀, the linear lower bound on the budget ensures the existence of a maximal index m ≥ 2 satisfying budget(m) ≤ n < budget(m + 1). The next-budget growth bound then yields log n ≤ D m³ log m and log(log n) ≤ (4 + D / log 2) log m. Combining these via an algebraic scalar inversion lemma gives c (log n)^(1/3) (log log n)^(2/3) ≤ m log m, which exponentiates directly to the desired lower bound m^m.
The constants E = 4 + D / log 2 and W = D E² + 1 are well-defined real numbers satisfying 0 ≤ E and 0 < W.
We define auxiliary constants E = 4 + D / log 2 and W = D E² + 1. Since D ≥ 1 by hypothesis, D ≥ 0. Since 2 > 1, log 2 > 0, so D / log 2 ≥ 0, which gives E ≥ 4 ≥ 0. Furthermore, D E² ≥ 0, which makes W = D E² + 1 ≥ 1 > 0.
uses
Real.log_pos,div_nonneg,mul_nonneg,sq_nonneglet E : ℝ := 4+D/Real.log 2 let W : ℝ := D*E^2+1 have hD0 : 0 ≤ D := by linarith have hlog2 : 0 < Real.log 2 := Real.log_pos (by norm_num) have hE0 : 0 ≤ E := by dsimp [E] have h := div_nonneg hD0 hlog2.le linarith have hW0 : 0 < W := by dsimp [W] have h := mul_nonneg hD0 (sq_nonneg E) linarith
Choosing c = 1 / W and threshold n₀ = max(3, budget(2)) reduces the goal to finding m for every n ≥ n₀.
We provide the witnesses c = 1 / W (which is strictly positive because W > 0) and n₀ = max(3, budget(2)). It remains to verify that every integer n ≥ n₀ admits a feasible index m ≥ 2 satisfying the budget and growth bounds.
refine ⟨1/W, by positivity, max 3 (budget 2), ?_⟩
For any n ≥ n₀, there exists an integer m ≥ 2 such that budget(m) ≤ n < budget(m + 1).
Since n ≥ n₀ = max(3, budget(2)), we have n ≥ 3 and budget(2) ≤ n. Because the budget grows at least linearly (m ≤ budget(m) for all m ≥ 1), the maximal budget lemma op869_asym_maximal_budget_internal provides an index m ≥ 2 such that budget(m) ≤ n < budget(m + 1). We choose this m, which directly satisfies budget(m) ≤ n.
uses
le_trans,le_max_left,le_max_right,op869_asym_maximal_budget_internalintro n hn have hn3 : 3 ≤ n := le_trans (le_max_left _ _) hn have hnB : budget 2 ≤ n := le_trans (le_max_right _ _) hn obtain ⟨m, hm, hbudget, hnext⟩ := op869_asym_maximal_budget_internal budget hbig n hnB refine ⟨m, hm, ?_, ?_⟩ · exact hbudget
The terms n, log n, log(log n), m, and log m are non-negative, with n ≥ 3, log n ≥ 1, and m ≥ 2.
From n ≥ 3 > 0 and exp(1) ≤ 3 ≤ n, we obtain log n ≥ 1 ≥ 0, which also gives log(log n) ≥ log 1 = 0. Similarly, since m ≥ 2, we have m ≥ 0 and log m ≥ log 1 = 0.
uses
Real.le_log_iff_exp_le,le_trans,Real.exp_one_lt_three.le,Real.log_nonneghave hn0 : 0 < (n : ℝ) := by exact_mod_cast (show 0 < n by omega) have hn3r : (3 : ℝ) ≤ (n : ℝ) := by exact_mod_cast hn3 have hx1 : 1 ≤ Real.log (n : ℝ) := (Real.le_log_iff_exp_le hn0).2 (le_trans Real.exp_one_lt_three.le hn3r) have hx0 : 0 ≤ Real.log (n : ℝ) := by linarith have hy0 : 0 ≤ Real.log (Real.log (n : ℝ)) := Real.log_nonneg hx1 have hm0 : 0 ≤ (m : ℝ) := by positivity have hm2r : (2 : ℝ) ≤ (m : ℝ) := by exact_mod_cast hm have hl0 : 0 ≤ Real.log (m : ℝ) := Real.log_nonneg (by linarith)
The logarithmic bounds log n ≤ D m³ log m and log(log n) ≤ E log m hold.
Since n < budget(m + 1), we have n ≤ budget(m + 1). Monotonicity of the logarithm gives log n ≤ log(budget(m + 1)), and combining this with the budget growth hypothesis hsucc gives log n ≤ D m³ log m. Applying the double-logarithm lemma op869_asym_loglog_internal then yields log(log n) ≤ E log m, where E = 4 + D / log 2.
uses
Nat.le_of_lt,Real.log_le_log,le_trans,op869_asym_loglog_internalhave hcast : (n : ℝ) ≤ (budget (m+1) : ℕ) := by exact_mod_cast (Nat.le_of_lt hnext) have hlogn : Real.log (n : ℝ) ≤ Real.log (budget (m+1) : ℕ) := Real.log_le_log hn0 hcast have hxbound : Real.log (n : ℝ) ≤ D*(m : ℝ)^3*Real.log (m : ℝ) := le_trans hlogn (hsucc m hm) have hybound : Real.log (Real.log (n : ℝ)) ≤ E*Real.log (m : ℝ) := by have h := op869_asym_loglog_internal (Real.log (n : ℝ)) (m : ℝ) D (by linarith) hm2r hD1 hxbound simpa [E] using h
The inequality (1 / W) (log n)^(1/3) (log log n)^(2/3) ≤ m log m holds.
Applying the scalar inversion lemma op869_asym_scalar_inv_internal to the upper bounds on log n and log(log n) gives (log n)^(1/3) (log log n)^(2/3) ≤ (D E² + 1) m log m = W m log m. Dividing by W > 0 yields the desired inequality.
uses
op869_asym_scalar_inv_internal,div_le_iff₀,mul_assoc,mul_comm,mul_left_commhave hscalar := op869_asym_scalar_inv_internal (Real.log (n : ℝ)) (Real.log (Real.log (n : ℝ))) (m : ℝ) (Real.log (m : ℝ)) D E hx0 hy0 hm0 hl0 hD0 hE0 hxbound hybound have hscale : (1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3)) ≤ (m : ℝ)*Real.log (m : ℝ) := by calc (1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3)) = ((Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3))) / W := by ring _ ≤ (m : ℝ)*Real.log (m : ℝ) := by apply (div_le_iff₀ hW0).2 simpa only [W, mul_assoc, mul_comm, mul_left_comm] using hscalar
Exponentiating both sides yields exp(c (log n)^(1/3) (log log n)^(2/3)) ≤ m^m, completing the proof.
Applying the order-preserving exponential map Real.exp_le_exp.mpr to the bound from the previous step gives exp((1 / W) (log n)^(1/3) (log log n)^(2/3)) ≤ exp(m log m). Rewriting m log m as log(m^m) via Real.log_pow and simplifying exp(log(m^m)) to m^m via Real.exp_log (since m^m > 0) concludes the proof.
uses
Real.exp_le_exp.mpr,Real.log_pow,Real.exp_logcalc Real.exp ((1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3))) ≤ Real.exp ((m : ℝ)*Real.log (m : ℝ)) := Real.exp_le_exp.mpr hscale _ = Real.exp (Real.log ((m : ℝ)^m)) := by rw [Real.log_pow] _ = (m^m : ℝ) := Real.exp_log (by positivity)
Real.log_pos- The natural logarithm of any real number strictly greater than 1 is strictly positive.
div_nonneg- The quotient of two non-negative numbers is non-negative.
mul_nonneg- The product of two non-negative numbers is non-negative.
sq_nonneg- The square of any real number is non-negative.
le_trans- Inequality is transitive: if a ≤ b and b ≤ c, then a ≤ c.
le_max_left- A number is less than or equal to the maximum of itself and another number.
le_max_right- A number is less than or equal to the maximum of another number and itself.
op869_asym_maximal_budget_internal- For an integer budget growing at least linearly and any n ≥ B(2), there exists an integer m ≥ 2 such that B(m) ≤ n < B(m + 1).
Real.le_log_iff_exp_le- For y > 0, x ≤ log y if and only if exp(x) ≤ y.
Real.exp_one_lt_three.le- The base of natural logarithms e = exp(1) is at most 3.
Real.log_nonneg- The natural logarithm of any real number at least 1 is non-negative.
Nat.le_of_lt- A strict inequality between natural numbers implies a non-strict inequality.
Real.log_le_log- The natural logarithm is monotone: if 0 < x ≤ y, then log x ≤ log y.
op869_asym_loglog_internal- If x ≤ D m³ log m with x > 0, m ≥ 2, and D ≥ 1, then log x ≤ (4 + D / log 2) log m.
op869_asym_scalar_inv_internal- For non-negative variables, if x ≤ A m³ l and y ≤ B l, then x^(1/3) y^(2/3) ≤ (A B² + 1) m l.
div_le_iff₀- For c > 0, b / c ≤ a if and only if b ≤ a · c.
mul_assoc- Multiplication is associative: (a · b) · c = a · (b · c).
mul_comm- Multiplication is commutative: a · b = b · a.
mul_left_comm- Multiplication satisfies the left-commutativity property a · (b · c) = b · (a · c).
Real.exp_le_exp.mpr- The exponential function preserves non-strict inequality: if a ≤ b, then exp(a) ≤ exp(b).
Real.log_pow- The natural logarithm of x^n equals n log x.
Real.exp_log- The exponential of the natural logarithm of any positive real number is the number itself.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- Invert any integer budget with the fold-schedule logarithmic growth bound. -/theorem op869_general_budget_inversion (budget : ℕ → ℕ) (D : ℝ) (hD1 : 1 ≤ D) (hbig : ∀ m, 1 ≤ m → m ≤ budget m) (hsucc : ∀ m, 2 ≤ m → Real.log (budget (m+1) : ℝ) ≤ D*(m : ℝ)^3*Real.log (m : ℝ)) : ∃ c : ℝ, 0 < c ∧ ∃ n₀ : ℕ, ∀ n : ℕ, n₀ ≤ n → ∃ m : ℕ, 2 ≤ m ∧ budget m ≤ n ∧ Real.exp (c * (Real.log (n : ℝ) ^ ((1 : ℝ) / 3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ) / 3))) ≤ (m^m : ℝ) := by let E : ℝ := 4+D/Real.log 2 let W : ℝ := D*E^2+1 have hD0 : 0 ≤ D := by linarith have hlog2 : 0 < Real.log 2 := Real.log_pos (by norm_num) have hE0 : 0 ≤ E := by dsimp [E] have h := div_nonneg hD0 hlog2.le linarith have hW0 : 0 < W := by dsimp [W] have h := mul_nonneg hD0 (sq_nonneg E) linarith refine ⟨1/W, by positivity, max 3 (budget 2), ?_⟩ intro n hn have hn3 : 3 ≤ n := le_trans (le_max_left _ _) hn have hnB : budget 2 ≤ n := le_trans (le_max_right _ _) hn obtain ⟨m, hm, hbudget, hnext⟩ := op869_asym_maximal_budget_internal budget hbig n hnB refine ⟨m, hm, ?_, ?_⟩ · exact hbudget have hn0 : 0 < (n : ℝ) := by exact_mod_cast (show 0 < n by omega) have hn3r : (3 : ℝ) ≤ (n : ℝ) := by exact_mod_cast hn3 have hx1 : 1 ≤ Real.log (n : ℝ) := (Real.le_log_iff_exp_le hn0).2 (le_trans Real.exp_one_lt_three.le hn3r) have hx0 : 0 ≤ Real.log (n : ℝ) := by linarith have hy0 : 0 ≤ Real.log (Real.log (n : ℝ)) := Real.log_nonneg hx1 have hm0 : 0 ≤ (m : ℝ) := by positivity have hm2r : (2 : ℝ) ≤ (m : ℝ) := by exact_mod_cast hm have hl0 : 0 ≤ Real.log (m : ℝ) := Real.log_nonneg (by linarith) have hcast : (n : ℝ) ≤ (budget (m+1) : ℕ) := by exact_mod_cast (Nat.le_of_lt hnext) have hlogn : Real.log (n : ℝ) ≤ Real.log (budget (m+1) : ℕ) := Real.log_le_log hn0 hcast have hxbound : Real.log (n : ℝ) ≤ D*(m : ℝ)^3*Real.log (m : ℝ) := le_trans hlogn (hsucc m hm) have hybound : Real.log (Real.log (n : ℝ)) ≤ E*Real.log (m : ℝ) := by have h := op869_asym_loglog_internal (Real.log (n : ℝ)) (m : ℝ) D (by linarith) hm2r hD1 hxbound simpa [E] using h have hscalar := op869_asym_scalar_inv_internal (Real.log (n : ℝ)) (Real.log (Real.log (n : ℝ))) (m : ℝ) (Real.log (m : ℝ)) D E hx0 hy0 hm0 hl0 hD0 hE0 hxbound hybound have hscale : (1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3)) ≤ (m : ℝ)*Real.log (m : ℝ) := by calc (1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3)) = ((Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3))) / W := by ring _ ≤ (m : ℝ)*Real.log (m : ℝ) := by apply (div_le_iff₀ hW0).2 simpa only [W, mul_assoc, mul_comm, mul_left_comm] using hscalar calc Real.exp ((1/W) * (Real.log (n : ℝ) ^ ((1 : ℝ)/3)) * (Real.log (Real.log (n : ℝ)) ^ ((2 : ℝ)/3))) ≤ Real.exp ((m : ℝ)*Real.log (m : ℝ)) := Real.exp_le_exp.mpr hscale _ = Real.exp (Real.log ((m : ℝ)^m)) := by rw [Real.log_pow] _ = (m^m : ℝ) := Real.exp_log (by positivity)