A geometric sum over a range with ratio above one
ProvedGeometricSums.geom_sum_le_topcalculusmathlibreal-analysis
For ratio , a geometric sum over is controlled by .
For , and every ,
Exact summation gives , and dropping the yields the bound. The essential feature is that the answer is a constant multiple of the largest term , with constant — for an increasing geometric progression the total is comparable to its final term, uniformly in the length.
This is the estimate behind "the top scale dominates" in dyadic and multi-scale arguments: an error growing geometrically across scales contributes, in total, no more than a constant times its contribution at the largest scale.
Formalization note. Finset.range I is , so gives the empty sum
and the bound holds trivially; makes .
Preamble
import Mathlib
Formal statement
namespace GeometricSums
theorem geom_sum_le_top {r c : ℝ} (hc : 0 ≤ c) (hr : 1 < r) (I : ℕ) :
∑ i ∈ Finset.range I, c * r ^ i ≤ c * r ^ I / (r - 1) := by sorry
end GeometricSumsSource
Elementary. Lean proof extracted from `Salt/Tactic/` of the Salt project, https://github.com/jyh/salt (Apache-2.0, Jason Hickey).