Divergence of the harmonic series
ProvedFamousTheorems.harmonic_series_divergescalculusmathlibreal-analysis
The harmonic series diverges.
Oresme's fourteenth-century proof groups terms in blocks of length , each summing to at least :
so the partial sums exceed any bound.
The divergence is famously slow — the partial sums grow like — which is why the result is counterintuitive: the terms tend to , yet the sum does not converge. It is the standard demonstration that is necessary but not sufficient for convergence.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem harmonic_series_diverges :
Filter.Tendsto (fun n : ℕ => ∑ i ∈ Finset.range n, 1 / ((i : ℝ) + 1))
Filter.atTop Filter.atTop := by sorry
end FamousTheoremsSource
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.