Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Probability and analysis

Strong Law of Large Numbers

For almost every outcome, the running average of pairwise independent, identically distributed integrable real random variables settles to their common expected value.

Exact theorem

Exact Mathlib statement

theorem ProbabilityTheory.strong_law_ae_real {Ω : Type*} {m : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} (X : ℕ → Ω → ℝ) (hint : MeasureTheory.Integrable (X 0) μ) (hindep : Pairwise ((· ⟂ᵢ[μ] ·) on X)) (hident : ∀ i, ProbabilityTheory.IdentDistrib (X i) (X 0) μ μ) : ∀ᵐ ω ∂μ, Filter.Tendsto (fun n : ℕ => (∑ i ∈ Finset.range n, X i ω) / n) Filter.atTop (𝓝 μ[X 0])

The theorem at a glance

Strong Law of Large Numbers at a glance

A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.

Pairwise-independent identically distributed integrable real variables have empirical averages converging almost everywhere to their common expectation. Explanatory diagram.
Detailed visual description

The poster separates the sequence hypotheses, the empirical-average expression, the almost-everywhere convergence conclusion, and a four-stage proof route through truncation, sparse geometric subsequences, interpolation to all indices, and positive/negative decomposition.

Statement structure

Statement and scope

Statement map for Strong Law of Large NumbersEmpirical averages of pairwise independent identically distributed integrable real random variables converge almost everywhere to their common expectation. Claim boundary: This page indexes Mathlib's real-valued almost-sure strong law for an integrable, identically distributed sequence with pairwise independence. It concludes almost-everywhere convergence of empirical averages to the integral of X 0. It does not state a convergence rate, finite-sample concentration bound, Lp convergence, convergence in distribution only, or the more general Banach-valued theorem. The pinned upstream declaration is ProbabilityTheory.strong_law_ae_real. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEmpirical averages ofpairwise independentidentically distributedintegrable real randomvariables convergealmost everywhere totheir commonexpectation.Claim boundaryThis page indexesMathlib's real-valuedalmost-sure strong lawfor an integrable,identically distributedsequence with pairwiseindependence. Itconcludesalmost-everywhereconvergence of empiricalaverages to the integralof X 0. It does notstate a convergencerate, finite-sampleconcentration bound, Lpconvergence, convergencein distribution only, orthe more generalBanach-valued theorem.Pinned declarationmathlib ·ProbabilityTheory.strong_law_ae_realStatement map for Strong Law of Large NumbersEmpirical averages of pairwise independent identically distributed integrable real random variables converge almost everywhere to their common expectation. Claim boundary: This page indexes Mathlib's real-valued almost-sure strong law for an integrable, identically distributed sequence with pairwise independence. It concludes almost-everywhere convergence of empirical averages to the integral of X 0. It does not state a convergence rate, finite-sample concentration bound, Lp convergence, convergence in distribution only, or the more general Banach-valued theorem. The pinned upstream declaration is ProbabilityTheory.strong_law_ae_real. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEmpirical averages ofpairwise independentidentically distributedintegrable real randomvariables convergealmost everywhere totheir commonexpectation.Claim boundaryThis page indexesMathlib's real-valuedalmost-sure strong lawfor an integrable,identically distributedsequence with pairwiseindependence. Itconcludesalmost-everywhereconvergence of empiricalaverages to the integralof X 0. It does notstate a convergencerate, finite-sampleconcentration bound, Lpconvergence, convergencein distribution only, orthe more generalBanach-valued theorem.Pinned declarationmathlib ·ProbabilityTheory.strong_law_ae_real

Read the exact Mathlib declaration

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

Along almost every outcome, the empirical-average path settles onto the common expectation. Explanatory diagram.
Detailed visual description

A wide forest-green probability field shows repeated real-valued observations with pairwise rather than all-at-once connections. Their successive averages form a narrowing emerald ribbon around a single antique-gold level; a small translucent exceptional region remains visually separate.

Why it matters

A mathematical landmark

The strong law is probability's fundamental pathwise stabilization theorem. It connects repeated observation with long-run average behavior and complements the collection's distributional Central Limit Theorem with a genuinely almost-sure conclusion.

ProofAtlas record

What has been checked

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

Mathlib is the source of the theorem; the local Lean replay and page review are separate.

Claim boundary

No new theorem is claimed

This page indexes Mathlib's real-valued almost-sure strong law for an integrable, identically distributed sequence with pairwise independence. It concludes almost-everywhere convergence of empirical averages to the integral of X 0. It does not state a convergence rate, finite-sample concentration bound, Lp convergence, convergence in distribution only, or the more general Banach-valued theorem.

Source and local evidence

Where the theorem comes from

Existing declaration
ProbabilityTheory.strong_law_ae_real in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.strong-law-large-numbers.v001
Source
Open the pinned upstream reference