A geometric sum over an interval is bounded by its first term's tail
ProvedGeometricSums.geom_sum_le_bot_IccA truncated geometric sum starting at is bounded by the full tail from .
For , and any (indeed any ),
The right-hand side is the value of the infinite tail , so the content is that every partial sum starting at is bounded by that tail — true because all terms are non-negative. When the sum is empty and the bound is trivial, so no ordering hypothesis is needed.
The bottom-indexed form is what makes this useful: the bound depends on the starting index through the factor , which decays geometrically. In practice one sums over a range whose lower endpoint grows, and needs the estimate to inherit that decay rather than collapsing to the uniform bound .
Formalization note. The index set is Finset.Icc a b, i.e. ; the hypotheses
and ensure all terms are non-negative, and makes .
import Mathlib
namespace GeometricSums
theorem geom_sum_le_bot_Icc {r c : ℝ} (hc : 0 ≤ c) (hr0 : 0 ≤ r) (hr1 : r < 1) (a b : ℕ) :
∑ i ∈ Finset.Icc a b, c * r ^ i ≤ c * r ^ a / (1 - r) := by sorry
end GeometricSums