The Borel-Cantelli Lemmas
Two rules that tell you, from nothing but a list of probabilities, whether an event is bound to keep happening forever or is bound to eventually stop for good — the mathematics behind "the drawdown that never recurs" versus "the bug that always resurfaces."
Prerequisites: Kolmogorov's Axioms of Probability
You run a trading system for years and occasionally it hits a rare fault — a data feed glitch, a fill that reports twice. Will that fault keep recurring forever, no matter how long you run the system, or will it — despite being possible at every single moment — eventually stop happening for good? Astonishingly, the answer depends on nothing but how fast the fault's probability shrinks over time, and the Borel-Cantelli lemmas give the exact dividing line, with a clean pass/fail test based on a single sum.
The analogy: an infinite row of lottery tickets with shrinking odds
Imagine buying one lottery ticket every day, forever, but the odds of winning get worse and worse each day — day 's ticket wins with probability , shrinking toward zero. Will you win infinitely often over your infinite lifetime, or only finitely many times before your luck permanently runs dry? It feels like it should depend on details of exactly how the odds shrink and how "generous" they are early on. It doesn't, in a very precise sense: it depends on one number — whether the infinite sum is finite or infinite. Add up all your daily win-probabilities: if that total is finite, you almost surely win only finitely many times, ever; if that total diverges to infinity, you almost surely win infinitely many times. Nothing else about the sequence matters for this dichotomy.
Writing it down
Let be a sequence of events (say, "a fault occurs on day "), and let " infinitely often" mean the event that infinitely many of the occur (not that all of them occur — just that no matter how far out you go, another one still happens eventually).
First Borel-Cantelli lemma. If , then
In words: if the probabilities shrink fast enough that their infinite sum is finite, the event almost surely stops happening for good, eventually. No independence is needed for this direction — it holds for any sequence of events whatsoever.
Second Borel-Cantelli lemma. If the are independent and , then
In words: if the events are independent and their probabilities sum to infinity — even if each individual probability is tiny — the event is almost certain to recur forever, no matter how far out you look. Independence is essential here; without it, a diverging sum does not guarantee recurrence.
Worked example 1: a fault that eventually stops for good
A system fault on day occurs with probability . Check the sum: , a finite number (this is the classic Basel-problem sum). By the first Borel-Cantelli lemma — no independence needed — : almost surely, after some finite day, the fault never occurs again. Concretely, the fault's probability drops fast: by day , , and the tail sum from day 1000 onward, , is itself already tiny — the "remaining chance of ever seeing the fault again after day 1000" is bounded by that shrinking tail sum, which is the actual mechanism behind the almost-sure eventual stopping.
Worked example 2: a fault that recurs forever
Now suppose the fault's probability decays more slowly, , and faults on different days are independent (a reasonable model if each day's fault is caused by an unrelated random glitch). Check the sum: is the harmonic series, which diverges to infinity — provably, since grows like , unbounded as . By the second Borel-Cantelli lemma (independence holds, sum diverges), : almost surely, no matter how far you run the system, the fault will occur again eventually, over and over, forever. The only change from example 1 was to — a seemingly small difference in decay rate — and it completely flips the long-run outcome from "stops for good" to "recurs forever."
What this means in practice
Whether a rare risk event — a circuit-breaker trigger, a settlement fail, a strategy drawdown of a given severity — will keep recurring indefinitely as you trade for longer and longer depends precisely on how fast its probability decays with market conditions or time, exactly the dichotomy these lemmas formalise. The strong law of large numbers is itself proved using the first Borel-Cantelli lemma, applied to the event "the sample average deviates from the true mean by more than ."
Whether a sequence of events happens infinitely often almost surely depends only on whether is finite or infinite. Finite sum implies almost-sure eventual stopping, no independence required (first lemma). Infinite sum plus independence implies almost-sure infinite recurrence (second lemma).
The classic mistake is applying the second lemma's infinite-sum-implies-recurs-forever conclusion to events that are not independent. Without independence, a diverging sum does not guarantee infinitely many occurrences — strongly correlated events (a fault that, once triggered, makes future faults far less likely due to a fix) can have individually large probabilities yet only occur finitely often. Only the first lemma's direction (finite sum implies eventual stopping) is unconditional; the recurrence direction always needs an independence check first.
Related concepts
Practice in interviews
Further reading
- Williams, Probability with Martingales (ch. 2, 12)
- Durrett, Probability: Theory and Examples (ch. 2)