The strong law of large numbers
ProvedFamousTheorems.strong_law_aeThe strong law of large numbers (Etemadi's form).
Let be pairwise independent, identically distributed, integrable random variables taking values in a Banach space. Then almost surely
"Strong" distinguishes almost-sure convergence from the weak law's convergence in probability: the weak law says that for each large the average is probably close to the mean, while the strong law says that along almost every single realisation the averages settle down and stay close. This is what justifies reading an empirical average as an estimate of an expectation, and it is the theorem behind Monte Carlo integration.
Two hypotheses are weaker than one might expect. Only pairwise independence is needed — this sharpening is due to Etemadi (1981) and is genuinely surprising, since most limit theorems require full independence. And only integrability is assumed, no variance; Kolmogorov proved integrability is also necessary, since without it the averages almost surely fail to converge.
Borel proved the case of coin flips (the normal number theorem) in 1909; Kolmogorov gave the general independent case in 1933.
Formalization note. ⟂ᵢ[μ] is independence of two random variables, applied pairwise along X;
μ[X 0] is the Bochner integral. The result is Mathlib's ProbabilityTheory.strong_law_ae.
import Mathlib
namespace FamousTheorems
open MeasureTheory ProbabilityTheory Filter
open scoped Real Topology
theorem strong_law_ae {Ω : Type*} {mΩ : MeasurableSpace Ω} {μ : Measure Ω}
{E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E]
[MeasurableSpace E] [BorelSpace E]
(X : ℕ → Ω → E) (hint : Integrable (X 0) μ)
(hindep : Pairwise (Function.onFun (· ⟂ᵢ[μ] ·) X))
(hident : ∀ i, IdentDistrib (X i) (X 0) μ μ) :
∀ᵐ ω ∂μ, Tendsto (fun n : ℕ ↦ (n : ℝ)⁻¹ • (∑ i ∈ Finset.range n, X i ω)) atTop (𝓝 μ[X 0]) := by sorry
end FamousTheoremsConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.