Sum of a geometric series
ProvedFamousTheorems.geom_sum_Icocalculusmathlibreal-analysis
Sum of a geometric series.
For in a division ring and ,
Taking gives the familiar . The identity is the telescoping divided through, and the hypothesis is exactly what makes that division legal. It holds in any division ring, commutativity is not needed: every term is a power of the single element , so everything in sight commutes.
The finite sum is the more fundamental statement — the infinite series for is its limit, and every convergence statement about geometric series descends from this closed form. It is the workhorse behind the ratio test, the Neumann series for , and the evaluation of repeating decimals.
Formalization note. Finset.Ico m n is the half-open integer interval . The result is
Mathlib's geom_sum_Ico.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem geom_sum_Ico {K : Type*} [DivisionRing K] {x : K} (hx : x ≠ 1) {m n : ℕ} (hmn : m ≤ n) :
∑ i ∈ Finset.Ico m n, x ^ i = (x ^ n - x ^ m) / (x - 1) := by sorry
end FamousTheoremsSource
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.