The BorelâÂÂCantelli lemma is a result in measure theory. It is often stated in the context of probability theory, where it is used to study whether, in a given sequence of events, a finite or infinite number of these events occur. The statement of the lemma is often split into two parts:
It follows that the probability of the limit superior of a sequence of independent events is always either zero or one. For this reason, the BorelâÂÂCantelli lemma is often referred to as a zero-one law. Other examples or similar results include Kolmogorov's zeroâÂÂone law and the HewittâÂÂSavage zeroâÂÂone law.
The BorelâÂÂCantelli lemma is named after ÃÂmile Borel and Francesco Paolo Cantelli, who stated it in the first decades of the 20th century.
Let E<sub>1</sub>, E<sub>2</sub>, ... be a sequence of events in some probability space. The BorelâÂÂCantelli lemma states:
Here, "lim sup" denotes limit supremum of the sequence of events. That is, lim sup E<sub>n</sub> is the outcome that infinitely many of the infinite sequence of events (E<sub>n</sub>) actually occur. Explicitly, The set lim sup E<sub>n</sub> is sometimes denoted {E<sub>n</sub> i.o.}, where "i.o." stands for "infinitely often". The theorem therefore asserts that if the sum of the probabilities of the events E<sub>n</sub> is finite, then the set of all outcomes that contain infinitely many events must have probability zero. Note that no assumption of independence is required.
Suppose (X<sub>n</sub>) is a sequence of random variables with Pr(X<sub>n</sub> = 0) = 1/n<sup>2</sup> for each n. The probability that X<sub>n</sub> = 0 occurs for infinitely many n is equivalent to the probability of the intersection of infinitely many [X<sub>n</sub> = 0] events. The intersection of infinitely many such events is a set of outcomes common to all of them. However, the sum ãPr(X<sub>n</sub> = 0) converges to and so the BorelâÂÂCantelli Lemma states that the set of outcomes that are common to infinitely many such events occurs with probability zero. Hence, the probability of X<sub>n</sub> = 0 occurring for infinitely many n is 0. Almost surely (i.e., with probability 1), X<sub>n</sub> is nonzero for all but finitely many n.
Let (E<sub>n</sub>) be a sequence of events in some probability space.
The sequence of events is non-increasing: By continuity from above, By subadditivity, By original assumption, As the series converges,
as required.
For general measure spaces, the BorelâÂÂCantelli lemma takes the following form:
A related result, sometimes called the second BorelâÂÂCantelli lemma, is a partial converse of the first BorelâÂÂCantelli lemma. The lemma states: If the events E<sub>n</sub> are independent and the sum of the probabilities of the E<sub>n</sub> diverges to infinity, then the probability that infinitely many of them occur is 1. That is:
The assumption of independence can be weakened to pairwise independence, but in that case the proof is more difficult.
The infinite monkey theorem follows from this second lemma.
The lemma can be applied to give a covering theorem in R<sup>n</sup>. Specifically , if E<sub>j</sub> is a collection of Lebesgue measurable subsets of a compact set in R<sup>n</sup> such that
then there is a sequence F<sub>j</sub> of translates
such that
apart from a set of measure zero.
Suppose that and the events are independent. It is sufficient to show the event that the E<sub>n</sub>'s did not occur for infinitely many values of n has probability 0. This is just to say that it is sufficient to show that
Noting that: it is enough to show: . Since the are independent:
The convergence test for infinite products guarantees that the product above is 0, if diverges. This completes the proof.
The assumption of independence in the second lemma can be relaxed. The RenyiâÂÂLamperti lemma states that if the events satisfy and a condition of weak dependence regarding the correlation of the events, specifically:
then .
This result is related to the KochenâÂÂStone theorem, which provides a lower bound for the probability of infinitely many events occurring when the limit inferior in the condition above is positive but not necessarily 1.
A powerful generalization involving conditional probability is known as the Conditional BorelâÂÂCantelli lemma (or Lévy's extension of the BorelâÂÂCantelli lemma). It connects the occurrence of events to the accumulation of their conditional probabilities given the past.
Let be a filtration on a probability space, and let be a sequence of events adapted to the filtration. Then, almost surely:
In other words, the event that occurs infinitely often is almost surely equivalent to the event that the sum of the conditional probabilities diverges. This result is a consequence of martingale convergence theorems.
Another related result is the so-called counterpart of the BorelâÂÂCantelli lemma. It is a counterpart of the Lemma in the sense that it gives a necessary and sufficient condition for the limsup to be 1 by replacing the independence assumption by the completely different assumption that is monotone increasing for sufficiently large indices. This Lemma says:
Let be such that , and let denote the complement of . Then the probability of infinitely many occur (that is, at least one occurs) is one if and only if there exists a strictly increasing sequence of positive integers such that This simple result can be useful in problems such as for instance those involving hitting probabilities for stochastic process with the choice of the sequence usually being the essence.
Let be a sequence of events with and Then there is a positive probability that occur infinitely often.
Let . Then, note that
and
Hence, we know that
We have that
Now, notice that by the Cauchy-Schwarz Inequality, for any random variable :
therefore,
We then have
Given , since , we can find large enough so that
for any given . Therefore,
But the left side is precisely the probability that the occur infinitely often since
We're done now, since we've shown that
The BorelâÂÂCantelli lemma is a standard tool used to prove the Strong Law of Large Numbers. In many proofs, Chebyshev's inequality is applied to bound the probability that a sum of random variables deviates from its mean. If these probabilities sum to a finite value (often involving a convergence of ), the first BorelâÂÂCantelli lemma implies that large deviations occur only finitely often, establishing almost sure convergence.
The lemma was originally formulated by ÃÂmile Borel in the context of number theory to study the properties of normal numbers. It is central to the metric theory of Diophantine approximation. For instance, the BorelâÂÂBernstein theorem uses the lemma to show that for almost all real numbers , the inequality
holds for infinitely many pairs of coprime integers . Conversely, if the function on the right-hand side is replaced by one where the sum converges, the inequality has only finitely many solutions almost surely.