Existing in Mathlib · Probability
Second Borel–Cantelli Lemma
If independent measurable events carry an infinite total amount of probability, then with probability one an outcome belongs to infinitely many of them.
- measurable events
- mutual independence
- divergent measure sum
- set limsup
- infinitely often
Exact theorem
Exact Mathlib statement
theorem ProbabilityTheory.measure_limsup_eq_one {Ω : Type*} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ℕ → Set Ω} (hsm : ∀ n, MeasurableSet (s n)) (hs : ProbabilityTheory.iIndepSet s μ) (hs' : (∑' n, μ (s n)) = ∞) : μ (limsup s Filter.atTop) = 1The theorem at a glance
Second Borel–Cantelli Lemma at a glance
A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.
Second Borel–Cantelli Lemma at a glance

Detailed visual description
The poster places measurability, mutual independence, and divergent measure sum above a limsup corridor. Recurrent outcome paths pass through arbitrarily late event windows, while the exact-scope footer distinguishes infinitely-often membership from eventual membership in every event.
Statement structure
From hypotheses to conclusion
This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.
Independent events recurring infinitely often

Detailed visual description
Repeated translucent event windows continue beyond the frame. Many outcome threads cross selected windows again and again at later positions, gathering into a luminous full-measure field without suggesting membership in every event.
Why it matters
A mathematical landmark
Borel–Cantelli turns a divergent series of event probabilities plus independence into an almost-sure recurrence law. It is a central bridge between measure estimates and long-run probabilistic behavior.
ProofAtlas record
What has been checked
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 second Borel–Cantelli lemma for a mutually independent sequence of measurable sets whose measures have divergent sum. It concludes that the set-theoretic limsup has measure one. It does not assert the first Borel–Cantelli direction, replace mutual independence by pairwise independence, give a convergence rate, or identify a finite stage at which every point belongs.
- The hypothesis is the recorded mutual-independence predicate iIndepSet, not merely an informal pairwise-independence condition.
- Measure one for the limsup does not mean that every point lies in every sufficiently late event.
- This selected declaration is the second lemma; the summable first Borel–Cantelli direction is separate.
Source and local evidence
Where the theorem comes from
- Existing declaration
ProbabilityTheory.measure_limsup_eq_onein mathlib- Relationship
- The checked artifact is the upstream declaration itself
- Local Lean evidence
artifact.library.mathlib.second-borel-cantelli-lemma.v001