π-λ Theorem & Monotone Classes

Generating Classes π-λ Theorem Uniqueness of Measures Independence from Generators From Sets to Functions

Generating Classes

A \(\sigma\)-algebra is rarely described set by set. The Borel \(\sigma\)-algebra is generated by intervals. The past of a Brownian motion is generated by the events that constrain the path at finitely many times, together with the sets of probability zero. A product \(\sigma\)-algebra is generated by measurable rectangles. In each case we know a small collection \(\mathcal{C}\) explicitly and work with the generated \(\sigma\)-algebra \(\sigma(\mathcal{C})\), the intersection of all \(\sigma\)-algebras containing \(\mathcal{C}\).

Two questions about such a pair recur throughout probability. If two measures agree on \(\mathcal{C}\), do they agree on \(\sigma(\mathcal{C})\)? If a product formula for probabilities holds for the events of \(\mathcal{C}\), does it hold for the events of \(\sigma(\mathcal{C})\)? The definition of \(\sigma(\mathcal{C})\) as an intersection gives no recipe that builds its elements from those of \(\mathcal{C}\), so neither answer can be read off directly.

The proof of the independence of Brownian increments from the past meets an instance of the second question. It verifies a product formula for a collection of events that generates the Brownian history \(\mathcal{F}_u\) up to a time \(u\), and then extends the formula to all of \(\mathcal{F}_u\). This page proves the theorem that justifies this extension, together with the corresponding theorem for measures.

Agreement on a generating collection is not enough by itself, as a four-point example shows.

Example: Two Measures That Agree on the Generators but Not Everywhere

Let \(\Omega = \{1, 2, 3, 4\}\) with the \(\sigma\)-algebra of all its subsets, and let \(\mathcal{C} = \{ \{1, 2\}, \{2, 3\} \}\). Every singleton lies in \(\sigma(\mathcal{C})\), because \[ \begin{align*} \{2\} &= \{1, 2\} \cap \{2, 3\} , \\\\ \{1\} &= \{1, 2\} \setminus \{2\} , \\\\ \{3\} &= \{2, 3\} \setminus \{2\} , \\\\ \{4\} &= \bigl( \{1, 2\} \cup \{2, 3\} \bigr)^c , \end{align*} \] so \(\sigma(\mathcal{C})\) contains every subset of \(\Omega\).

Let \(\mu\) give mass \(1/4\) to each point. Let \(\nu\) give mass \(1/2\) to each of the points \(1\) and \(3\), and mass \(0\) to each of the points \(2\) and \(4\). Both are probability measures, and \[ \begin{align*} \mu(\{1, 2\}) &= \nu(\{1, 2\}) = \tfrac{1}{2} , \\\\ \mu(\{2, 3\}) &= \nu(\{2, 3\}) = \tfrac{1}{2} . \end{align*} \] Yet \(\mu(\{2\}) = 1/4\) while \(\nu(\{2\}) = 0\). The two measures agree on \(\mathcal{C}\) and on \(\Omega\), but not on \(\sigma(\mathcal{C})\).

The sets on which \(\mu\) and \(\nu\) agree are \(\emptyset\), \(\{1, 2\}\), \(\{3, 4\}\), \(\{2, 3\}\), \(\{1, 4\}\) and \(\Omega\). This class contains \(\Omega\) and contains \(B \setminus A\) whenever \(A\) and \(B\) are members with \(A \subseteq B\). It also contains the union of every increasing sequence of its members, since such a sequence of subsets of a finite set is eventually constant. The class contains \(\{1, 2\}\) and \(\{2, 3\}\) but not their intersection \(\{2\}\), so it is not closed under intersection. The proposition at the end of this section shows that this is the only obstruction to its being a \(\sigma\)-algebra.

The example shows the two kinds of closure that the \(\pi\)-\(\lambda\) theorem of the next section treats separately. Closure under intersection is required of the generating collection, where it can be checked directly. The collection \(\mathcal{C}\) of the example fails this requirement, since \(\{1, 2\} \cap \{2, 3\} = \{2\} \notin \mathcal{C}\). The remaining closure properties follow from the axioms of a measure for the class of sets on which two finite measures of equal total mass agree. They follow in the same way for the class of events that satisfy a product formula against a fixed event. From now on, \(\Omega\) denotes an arbitrary set.

Definition: \(\pi\)-System

A collection \(\mathcal{P}\) of subsets of \(\Omega\) is a \(\pi\)-system if \(A \cap B \in \mathcal{P}\) whenever \(A, B \in \mathcal{P}\).

Definition: \(\lambda\)-System

A collection \(\mathcal{L}\) of subsets of \(\Omega\) is a \(\lambda\)-system if the following three conditions hold.

  1. The collection contains the whole space, \(\Omega \in \mathcal{L}\).
  2. If \(A, B \in \mathcal{L}\) and \(A \subseteq B\), then \(B \setminus A \in \mathcal{L}\).
  3. If \(A_1, A_2, \ldots \in \mathcal{L}\) and \(A_1 \subseteq A_2 \subseteq \cdots\), then \(\bigcup_{n=1}^{\infty} A_n \in \mathcal{L}\).

Every \(\sigma\)-algebra is both a \(\pi\)-system and a \(\lambda\)-system. It contains \(\Omega = \emptyset^c\) and is closed under complements and countable unions. A union of two sets is a countable union in which every term after the second is \(\emptyset\). A \(\sigma\)-algebra is therefore also closed under intersections \(A \cap B = (A^c \cup B^c)^c\) and under differences \(B \setminus A = B \cap A^c\). Increasing unions are countable unions, so they are covered as well.

Every algebra of sets is a \(\pi\)-system by the same identity for intersections. In the example, the class of sets on which \(\mu\) and \(\nu\) agree is a \(\lambda\)-system that is not a \(\pi\)-system. The next proposition shows that a class with both properties is already a \(\sigma\)-algebra.

Proposition: A \(\pi\)-System That Is a \(\lambda\)-System Is a \(\sigma\)-Algebra

Let \(\mathcal{L}\) be a \(\lambda\)-system on \(\Omega\). Then \(\emptyset \in \mathcal{L}\), and \(A^c \in \mathcal{L}\) whenever \(A \in \mathcal{L}\). If \(\mathcal{L}\) is also a \(\pi\)-system, then \(\mathcal{L}\) is a \(\sigma\)-algebra.

Proof.

Let \(A \in \mathcal{L}\). By condition (1), \(\Omega \in \mathcal{L}\), so condition (2) applied to \(A \subseteq \Omega\) gives \(A^c = \Omega \setminus A \in \mathcal{L}\). The case \(A = \Omega\) gives \(\emptyset \in \mathcal{L}\).

Now let \(\mathcal{L}\) also be a \(\pi\)-system. For \(A, B \in \mathcal{L}\), the complements \(A^c\) and \(B^c\) lie in \(\mathcal{L}\). Since \(\mathcal{L}\) is a \(\pi\)-system, their intersection lies in \(\mathcal{L}\), and so does its complement \(A \cup B = (A^c \cap B^c)^c\). By induction, \(\mathcal{L}\) is closed under finite unions. For \(A_1, A_2, \ldots \in \mathcal{L}\), the sets \(B_n = A_1 \cup \cdots \cup A_n\) lie in \(\mathcal{L}\) and increase, so condition (3) gives \(\bigcup_n A_n = \bigcup_n B_n \in \mathcal{L}\). Together with \(\emptyset \in \mathcal{L}\) and closure under complements, this gives the three conditions in the definition of a \(\sigma\)-algebra.

The \(\pi\)-\(\lambda\) Theorem

The closure proposition turns the obstruction found in the example into a criterion. A \(\lambda\)-system that is closed under intersection is a \(\sigma\)-algebra. The \(\pi\)-\(\lambda\) theorem shows that the closure under intersection has to hold only on a generating collection. A \(\lambda\)-system that contains a \(\pi\)-system contains the whole \(\sigma\)-algebra generated by that \(\pi\)-system, even if the \(\lambda\)-system is not itself closed under intersection.

Theorem: The \(\pi\)-\(\lambda\) Theorem

Let \(\mathcal{P}\) be a \(\pi\)-system and let \(\mathcal{L}\) be a \(\lambda\)-system on the same set \(\Omega\). If \(\mathcal{P} \subseteq \mathcal{L}\), then \(\sigma(\mathcal{P}) \subseteq \mathcal{L}\).

Proof.

Step 1 (the smallest \(\lambda\)-system).
Let \(\ell(\mathcal{P})\) be the intersection of all \(\lambda\)-systems on \(\Omega\) that contain \(\mathcal{P}\). The collection of all subsets of \(\Omega\) is one of them, so the intersection is taken over a nonempty family. Each of the three conditions of a \(\lambda\)-system holds in every member of the family, so it holds in the intersection. Hence \(\ell(\mathcal{P})\) is a \(\lambda\)-system. It contains \(\mathcal{P}\), because each of these \(\lambda\)-systems does, and it is contained in \(\mathcal{L}\), because \(\mathcal{L}\) belongs to the family. Thus \[ \mathcal{P} \subseteq \ell(\mathcal{P}) \subseteq \mathcal{L} . \]

Step 2 (reduction).
It suffices to show that \(\ell(\mathcal{P})\) is a \(\pi\)-system. Then \(\ell(\mathcal{P})\) is a \(\sigma\)-algebra containing \(\mathcal{P}\), because a \(\lambda\)-system that is also a \(\pi\)-system is a \(\sigma\)-algebra. Since the generated \(\sigma\)-algebra \(\sigma(\mathcal{P})\) is the intersection of all such \(\sigma\)-algebras, we obtain \(\sigma(\mathcal{P}) \subseteq \ell(\mathcal{P}) \subseteq \mathcal{L}\).

Step 3 (good sets).
For a set \(A \subseteq \Omega\), let \[ \mathcal{G}_A = \{ B \subseteq \Omega : A \cap B \in \ell(\mathcal{P}) \} . \]

We claim that \(\mathcal{G}_A\) is a \(\lambda\)-system whenever \(A \in \ell(\mathcal{P})\). First, \(A \cap \Omega = A \in \ell(\mathcal{P})\), so \(\Omega \in \mathcal{G}_A\). Next, let \(B, C \in \mathcal{G}_A\) with \(B \subseteq C\). The sets \(A \cap B\) and \(A \cap C\) lie in \(\ell(\mathcal{P})\) and satisfy \(A \cap B \subseteq A \cap C\), so condition (2) for \(\ell(\mathcal{P})\) gives \[ A \cap (C \setminus B) = (A \cap C) \setminus (A \cap B) \in \ell(\mathcal{P}) , \] and therefore \(C \setminus B \in \mathcal{G}_A\). Finally, if \(B_1 \subseteq B_2 \subseteq \cdots\) belong to \(\mathcal{G}_A\), the sets \(A \cap B_n\) lie in \(\ell(\mathcal{P})\) and increase, so condition (3) for \(\ell(\mathcal{P})\) puts their union \(A \cap \bigcup_n B_n\) in \(\ell(\mathcal{P})\). Hence \(\bigcup_n B_n \in \mathcal{G}_A\).

Step 4 (one factor in \(\mathcal{P}\)).
Let \(A \in \mathcal{P}\). For every \(B \in \mathcal{P}\), the intersection \(A \cap B\) lies in \(\mathcal{P}\), hence in \(\ell(\mathcal{P})\), so \(\mathcal{P} \subseteq \mathcal{G}_A\). Since \(A \in \ell(\mathcal{P})\), Step 3 shows that \(\mathcal{G}_A\) is a \(\lambda\)-system. It contains \(\mathcal{P}\), so the minimality of \(\ell(\mathcal{P})\) gives \(\ell(\mathcal{P}) \subseteq \mathcal{G}_A\). That is, \(A \cap B \in \ell(\mathcal{P})\) whenever \(A \in \mathcal{P}\) and \(B \in \ell(\mathcal{P})\).

Step 5 (both factors in \(\ell(\mathcal{P})\)).
Let \(B \in \ell(\mathcal{P})\). By Step 4, \(A \cap B \in \ell(\mathcal{P})\) for every \(A \in \mathcal{P}\), so \(\mathcal{P} \subseteq \mathcal{G}_B\). By Step 3, \(\mathcal{G}_B\) is a \(\lambda\)-system, and minimality again gives \(\ell(\mathcal{P}) \subseteq \mathcal{G}_B\). Thus \(A \cap B \in \ell(\mathcal{P})\) for all \(A, B \in \ell(\mathcal{P})\), and \(\ell(\mathcal{P})\) is a \(\pi\)-system. Step 2 completes the proof.

Since \(\sigma(\mathcal{P})\) is itself a \(\lambda\)-system containing \(\mathcal{P}\), the proof also shows that \(\ell(\mathcal{P}) = \sigma(\mathcal{P})\). The smallest \(\lambda\)-system containing a \(\pi\)-system is already the \(\sigma\)-algebra generated by that \(\pi\)-system.

Every later use of the theorem on this page follows one pattern. To show that every set in \(\sigma(\mathcal{P})\) has some property, we let \(\mathcal{L}\) be the class of sets with the property and check two things. First, \(\mathcal{L}\) contains the \(\pi\)-system \(\mathcal{P}\). Second, \(\mathcal{L}\) is a \(\lambda\)-system. The theorem then gives \(\sigma(\mathcal{P}) \subseteq \mathcal{L}\). The first check concerns only the sets of \(\mathcal{P}\), for which the property is given by a hypothesis or can be checked directly. For the second, additivity and continuity of a measure are usually enough, because apart from containing \(\Omega\), a \(\lambda\)-system asks only for differences of nested sets and for increasing unions, never for intersections.

Uniqueness of Measures

We now answer the first question of this page. Two measures that agree on a \(\pi\)-system agree on the \(\sigma\)-algebra it generates, provided the \(\pi\)-system also contains enough sets of finite measure. For probability measures, and more generally for finite measures, the extra condition reduces to agreement on \(\Omega\) itself.

Theorem: Uniqueness of Measures

Let \(\mathcal{P}\) be a \(\pi\)-system on \(\Omega\), and let \(\mu\) and \(\nu\) be measures on a \(\sigma\)-algebra \(\mathcal{F}\) with \(\sigma(\mathcal{P}) \subseteq \mathcal{F}\). Suppose that \(\mu(A) = \nu(A)\) for every \(A \in \mathcal{P}\).

(i) Sets of finite measure in \(\mathcal{P}\).
If there are sets \(A_1 \subseteq A_2 \subseteq \cdots\) in \(\mathcal{P}\) with \(\bigcup_n A_n = \Omega\) and \(\mu(A_n) \lt \infty\) for every \(n\), then \(\mu(B) = \nu(B)\) for every \(B \in \sigma(\mathcal{P})\).

(ii) The finite case.
If \(\mu(\Omega) = \nu(\Omega) \lt \infty\), then \(\mu(B) = \nu(B)\) for every \(B \in \sigma(\mathcal{P})\). In particular, two probability measures that agree on \(\mathcal{P}\) agree on \(\sigma(\mathcal{P})\).

Proof.

Step 1 (a fixed set of finite measure).
Fix \(A \in \mathcal{P}\) with \(\mu(A) \lt \infty\), so that also \(\nu(A) = \mu(A) \lt \infty\). Let \[ \mathcal{L}_A = \{ B \in \sigma(\mathcal{P}) : \mu(A \cap B) = \nu(A \cap B) \} . \] For \(B \in \mathcal{P}\), the set \(A \cap B\) lies in \(\mathcal{P}\), on which \(\mu\) and \(\nu\) agree, so \(\mathcal{P} \subseteq \mathcal{L}_A\).

We check that \(\mathcal{L}_A\) is a \(\lambda\)-system. It contains \(\Omega\), because \(A \cap \Omega = A\). If \(B, C \in \mathcal{L}_A\) and \(B \subseteq C\), then \(A \cap C\) is the disjoint union of \(A \cap B\) and \(A \cap (C \setminus B)\). All three sets lie in \(A\), so the values of \(\mu\) and \(\nu\) on them are at most the finite number \(\mu(A) = \nu(A)\). Additivity of each measure then gives \[ \begin{align*} \mu(A \cap (C \setminus B)) &= \mu(A \cap C) - \mu(A \cap B) \\\\ &= \nu(A \cap C) - \nu(A \cap B) \\\\ &= \nu(A \cap (C \setminus B)) . \end{align*} \] Since \(C \setminus B \in \sigma(\mathcal{P})\), it follows that \(C \setminus B \in \mathcal{L}_A\).

If \(B_1 \subseteq B_2 \subseteq \cdots\) lie in \(\mathcal{L}_A\), the sets \(A \cap B_n\) increase to \(A \cap \bigcup_n B_n\). Since continuity from below holds for every measure, \[ \begin{align*} \mu\Bigl(A \cap \bigcup_n B_n\Bigr) &= \lim_{n \to \infty} \mu(A \cap B_n) \\\\ &= \lim_{n \to \infty} \nu(A \cap B_n) \\\\ &= \nu\Bigl(A \cap \bigcup_n B_n\Bigr) . \end{align*} \] So \(\bigcup_n B_n\), which lies in \(\sigma(\mathcal{P})\), belongs to \(\mathcal{L}_A\). Hence \(\mathcal{L}_A\) is a \(\lambda\)-system containing \(\mathcal{P}\), and the \(\pi\)-\(\lambda\) theorem gives \(\sigma(\mathcal{P}) \subseteq \mathcal{L}_A\). The reverse inclusion holds by definition, so \(\mathcal{L}_A = \sigma(\mathcal{P})\). That is, \(\mu(A \cap B) = \nu(A \cap B)\) for every \(B \in \sigma(\mathcal{P})\).

Step 2 (case (i)).
Let \(B \in \sigma(\mathcal{P})\). Step 1 applies to each \(A_n\), so \(\mu(A_n \cap B) = \nu(A_n \cap B)\) for every \(n\). The sets \(A_n \cap B\) increase to \(B\), and continuity from below for \(\mu\) and for \(\nu\) gives \(\mu(B) = \nu(B)\).

Step 3 (case (ii)).
The collection \(\mathcal{P}' = \mathcal{P} \cup \{\Omega\}\) is again a \(\pi\)-system, because \(A \cap \Omega = A\). The measures agree on \(\mathcal{P}'\), and \(\sigma(\mathcal{P}') = \sigma(\mathcal{P})\), because every \(\sigma\)-algebra contains \(\Omega\). Case (i) applied to \(\mathcal{P}'\) with \(A_n = \Omega\) for every \(n\) completes the proof.

Each of the two cases needs its extra hypothesis. Agreement on \(\mathcal{P}\) does not by itself give agreement on \(\Omega\). With \(\mathcal{P} = \{\emptyset\}\), the zero measure and any probability measure agree on \(\mathcal{P}\) but differ on \(\Omega \in \sigma(\mathcal{P})\). The finiteness in case (i) cannot be dropped either, as the next example shows.

Example: Agreement on Intervals Without Finite Pieces

On \(\mathbb{R}\), let \(\mathcal{P}\) consist of the empty set and the intervals \((a, b]\) with \(a \lt b\). It is a \(\pi\)-system, since the intersection of two such intervals is again such an interval or is empty. For every subset \(B\) of \(\mathbb{R}\), let \(\mu(B)\) be the number of rational numbers in \(B\), and let \(\nu = 2\mu\). Every interval \((a, b]\) with \(a \lt b\) contains infinitely many rational numbers, so \(\mu\) and \(\nu\) both give it the value \(\infty\), and both vanish on \(\emptyset\).

Yet the singleton \(\{0\}\), which is the intersection of the intervals \((-1/n, 0]\) and so lies in \(\sigma(\mathcal{P})\), has \(\mu(\{0\}) = 1\) and \(\nu(\{0\}) = 2\). No set of \(\mathcal{P}\) other than \(\emptyset\) has finite measure, so the hypothesis of case (i) fails.

Both measures are \(\sigma\)-finite, since \(\mathbb{R}\) is the union of \(\mathbb{R} \setminus \mathbb{Q}\), which has measure \(0\), and the countably many rational singletons, each of finite measure. It is therefore not enough that the measures be \(\sigma\)-finite. The sets of finite measure must come from \(\mathcal{P}\).

Case (ii) gives the uniqueness half of Carathéodory's extension theorem. In that theorem a set function \(\mathbb{P}_0\) is given on an algebra \(\mathcal{F}_0\). Two probability measures that extend \(\mathbb{P}_0\) agree on \(\mathcal{F}_0\), which is a \(\pi\)-system, and therefore agree on \(\sigma(\mathcal{F}_0)\).

The same case applies to the Lebesgue measure on \((0, 1]\). Take \(\mathcal{P}\) to be the nonempty intervals \((a, b] \subseteq (0, 1]\) together with \(\emptyset\). It is a \(\pi\)-system by the argument in the interval example of this section, and it generates the Borel sets of \((0, 1]\) by their definition. Any measure that assigns \(b - a\) to every interval \((a, b]\) in \(\mathcal{P}\) gives \((0, 1]\) itself the value \(1\), so the total masses agree. Hence the Lebesgue measure on \((0, 1]\) is the only measure on the Borel sets of \((0, 1]\) with this property.

On \(\mathbb{R}\), take \(\mathcal{P}\) to be the intervals \((a, b]\) with \(a \lt b\) together with \(\emptyset\). This class generates the Borel sets of \(\mathbb{R}\). Case (i) applies with \(A_n = (-n, n]\). Hence the Lebesgue measure on \(\mathbb{R}\) is the only measure \(\mu\) on the Borel sets of \(\mathbb{R}\) with \(\mu((a, b]) = b - a\) whenever \(a \lt b\).

Each half-line \((-\infty, x] = \bigcup_n (x - n, x]\) is a Borel set of \(\mathbb{R}\), and every interval \((a, b] = (-\infty, b] \setminus (-\infty, a]\) lies in the \(\sigma\)-algebra the half-lines generate. Since the intervals \((a, b]\) generate the Borel \(\sigma\)-algebra of \(\mathbb{R}\), the half-lines generate it as well.

The half-lines also form a \(\pi\)-system, because \((-\infty, x] \cap (-\infty, y] = (-\infty, \min(x, y)]\). A probability measure \(\mu\) on the Borel sets of \(\mathbb{R}\) has the distribution function \(F(x) = \mu((-\infty, x])\). If two such measures have the same distribution function, they agree on this \(\pi\)-system. Case (ii) now shows that the two measures are equal.

For a random variable \(X\), the function \(F_X(x) = \mathbb{P}(X \leq x) = P_X((-\infty, x])\) is the distribution function of its distribution \(P_X\), so \(F_X\) determines \(P_X\).

Comparing Distributions Through Their Distribution Functions

Two models of real-valued data, such as a fitted generative model and the process that produced the training set, have the same law exactly when their distribution functions agree at every point.

The Glivenko-Cantelli theorem says that the empirical distribution function of an i.i.d. sample converges uniformly to the true one, almost surely. Suppose we draw an i.i.d. sample from each model. If the two true distribution functions are \(F\) and \(G\), the largest gap between the two empirical distribution functions therefore converges almost surely to \(\sup_x |F(x) - G(x)|\) as both sample sizes grow. This quantity vanishes only when the two laws coincide, unlike a summary such as a mean or a variance that many different laws share.

Independence from Generators

The second question of this page concerns a product formula. Let \((\Omega, \mathcal{F}, \mathbb{P})\) be a probability space. Independence of sub-\(\sigma\)-algebras \(\mathcal{G}_1, \ldots, \mathcal{G}_n\) asks that \(\mathbb{P}(A_1 \cap \cdots \cap A_n) = \mathbb{P}(A_1) \cdots \mathbb{P}(A_n)\) for every choice of \(A_i \in \mathcal{G}_i\). The next theorem lets us check this formula on generating \(\pi\)-systems that contain \(\Omega\).

Theorem: Independence from \(\pi\)-Systems

Let \((\Omega, \mathcal{F}, \mathbb{P})\) be a probability space, and let \(\mathcal{P}_1, \ldots, \mathcal{P}_n \subseteq \mathcal{F}\) be \(\pi\)-systems, each of which contains \(\Omega\). Suppose that \[ \mathbb{P}(A_1 \cap \cdots \cap A_n) = \mathbb{P}(A_1) \cdots \mathbb{P}(A_n) \] for every choice of \(A_i \in \mathcal{P}_i\), \(i = 1, \ldots, n\). Then \(\sigma(\mathcal{P}_1), \ldots, \sigma(\mathcal{P}_n)\) are independent.

More generally, let \(\{\mathcal{P}_\alpha\}_{\alpha \in I}\) be a family of \(\pi\)-systems contained in \(\mathcal{F}\), each of which contains \(\Omega\). Suppose that the product formula holds, with \(m\) factors, for every finite collection of distinct indices \(\alpha_1, \ldots, \alpha_m \in I\) and every choice of \(A_j \in \mathcal{P}_{\alpha_j}\). Then the family \(\{\sigma(\mathcal{P}_\alpha)\}_{\alpha \in I}\) is independent. Any of the \(\pi\)-systems may itself be a \(\sigma\)-algebra \(\mathcal{G}\), in which case \(\sigma(\mathcal{G}) = \mathcal{G}\).

Proof.

Step 1 (the first factor).
For \(n = 1\) there is nothing to prove, so let \(n \geq 2\). Fix \(A_2 \in \mathcal{P}_2, \ldots, A_n \in \mathcal{P}_n\), and write \(H = A_2 \cap \cdots \cap A_n\) and \(c = \mathbb{P}(A_2) \cdots \mathbb{P}(A_n)\). Let \[ \mathcal{L} = \{ A \in \sigma(\mathcal{P}_1) : \mathbb{P}(A \cap H) = c \, \mathbb{P}(A) \} . \] The hypothesis gives \(\mathcal{P}_1 \subseteq \mathcal{L}\).

We check that \(\mathcal{L}\) is a \(\lambda\)-system. Since \(\Omega \in \mathcal{P}_1\), the set \(\Omega\) lies in \(\mathcal{L}\). If \(B, C \in \mathcal{L}\) and \(B \subseteq C\), then \(C \cap H\) is the disjoint union of \(B \cap H\) and \((C \setminus B) \cap H\), so \[ \begin{align*} \mathbb{P}((C \setminus B) \cap H) &= \mathbb{P}(C \cap H) - \mathbb{P}(B \cap H) \\\\ &= c \, \bigl( \mathbb{P}(C) - \mathbb{P}(B) \bigr) \\\\ &= c \, \mathbb{P}(C \setminus B) , \end{align*} \] and, since \(C \setminus B \in \sigma(\mathcal{P}_1)\), we get \(C \setminus B \in \mathcal{L}\).

If \(B_1 \subseteq B_2 \subseteq \cdots\) lie in \(\mathcal{L}\) and \(B = \bigcup_k B_k\), the sets \(B_k \cap H\) increase to \(B \cap H\), and the sets \(B_k\) increase to \(B\). Continuity from below, applied to both sequences, gives \[ \begin{align*} \mathbb{P}(B \cap H) &= \lim_{k \to \infty} \mathbb{P}(B_k \cap H) \\\\ &= \lim_{k \to \infty} c \, \mathbb{P}(B_k) \\\\ &= c \, \mathbb{P}(B) . \end{align*} \] So \(B\), which lies in \(\sigma(\mathcal{P}_1)\), belongs to \(\mathcal{L}\), and \(\mathcal{L}\) is a \(\lambda\)-system containing \(\mathcal{P}_1\). The \(\pi\)-\(\lambda\) theorem gives \(\sigma(\mathcal{P}_1) \subseteq \mathcal{L}\). Since \(A_2, \ldots, A_n\) were arbitrary, the product formula holds for every choice of \(A_1 \in \sigma(\mathcal{P}_1)\) and \(A_i \in \mathcal{P}_i\) for \(i \geq 2\).

Step 2 (the remaining factors).
Step 1 shows that the product formula still holds after \(\mathcal{P}_1\) is replaced by \(\sigma(\mathcal{P}_1)\). The \(\sigma\)-algebra \(\sigma(\mathcal{P}_1)\) is again a \(\pi\)-system containing \(\Omega\), and it is contained in \(\mathcal{F}\) because \(\mathcal{F}\) is a \(\sigma\)-algebra containing \(\mathcal{P}_1\). The new collections therefore satisfy every hypothesis of the theorem.

The hypothesis does not depend on the order of the indices. Step 1 applied to the second index, with the roles of the first and second collections exchanged, replaces \(\mathcal{P}_2\) by \(\sigma(\mathcal{P}_2)\). After \(n\) such steps, every choice of \(A_i \in \sigma(\mathcal{P}_i)\) satisfies the product formula, so \(\sigma(\mathcal{P}_1), \ldots, \sigma(\mathcal{P}_n)\) are independent.

Step 3 (arbitrary families).
Independence of a family indexed by an arbitrary set \(I\) asks only that the product formula hold for each finite set of indices, and the finite case applies to each such set.

The assumption \(\Omega \in \mathcal{P}_i\) is needed. The definition of independence for \(\sigma\)-algebras asks for the product formula with all \(n\) factors present. For a subfamily of the factors, setting the events outside it equal to \(\Omega\) gives the formula for that subfamily. The product formula assumed for the \(\pi\)-systems covers this choice only when each \(\mathcal{P}_i\) contains \(\Omega\).

Take an event \(A\) with \(\mathbb{P}(A) = 1/2\), and let \(\mathcal{P}_1 = \mathcal{P}_2 = \{A\}\) and \(\mathcal{P}_3 = \{\emptyset\}\). Each is a \(\pi\)-system, and the product formula holds because both sides vanish for the only choice \(A_1 = A_2 = A\), \(A_3 = \emptyset\). Yet \[ \begin{align*} \mathbb{P}(A \cap A \cap \Omega) &= \tfrac{1}{2} , \\\\ \mathbb{P}(A) \, \mathbb{P}(A) \, \mathbb{P}(\Omega) &= \tfrac{1}{4} , \end{align*} \] so \(\sigma(\mathcal{P}_1)\), \(\sigma(\mathcal{P}_2)\) and \(\sigma(\mathcal{P}_3)\) are not independent.

In the proof of the independence of Brownian increments from the past, the theorem is applied to two \(\pi\)-systems, one given by generators and one that is already a \(\sigma\)-algebra. There the events that constrain the path at finitely many times up to \(u\), together with the sets of probability zero, form a \(\pi\)-system containing \(\Omega\) that generates \(\mathcal{F}_u\). The other \(\pi\)-system is the \(\sigma\)-algebra generated by one increment.

For random variables \(X_1, \ldots, X_n\) on \((\Omega, \mathcal{F}, \mathbb{P})\), the theorem reduces independence to a statement about joint distribution functions.

Example: Independence Through Distribution Functions

The random variables \(X_1, \ldots, X_n\) are independent if and only if \[ \mathbb{P}(X_1 \leq x_1, \ldots, X_n \leq x_n) = \prod_{i=1}^{n} \mathbb{P}(X_i \leq x_i) \] for all \(x_1, \ldots, x_n \in \mathbb{R}\). The condition is necessary, because half-lines are Borel sets.

For sufficiency, let \(\mathcal{P}_i\) consist of \(\Omega\) and the events \(\{X_i \leq x\}\) with \(x \in \mathbb{R}\). These events lie in \(\mathcal{F}\) because \(X_i\) is a random variable. The class is a \(\pi\)-system, since intersecting with \(\Omega\) changes nothing and \(\{X_i \leq x\} \cap \{X_i \leq y\} = \{X_i \leq \min(x, y)\}\).

The theorem also needs the formulas in which some of the events are replaced by \(\Omega\). They follow from the displayed formula by setting each of those \(x_i\) equal to \(m\) and letting \(m \to \infty\) through the integers. Since \(\{X_i \leq m\}\) increases to \(\Omega\), continuity from below applies to the left side and to each factor on the right. Hence \(\sigma(\mathcal{P}_1), \ldots, \sigma(\mathcal{P}_n)\) are independent.

It remains to see that \(\{X_i \in B\} \in \sigma(\mathcal{P}_i)\) for every Borel set \(B\). The event \(\{X_i \leq a\}\) lies in \(\sigma(\mathcal{P}_i)\) for every \(a \in \mathbb{R}\). We apply the criterion of measurability via half-lines with \(\sigma(\mathcal{P}_i)\) in place of \(\mathcal{F}\). The proof of that criterion uses only that \(\mathcal{F}\) is a \(\sigma\)-algebra on \(\Omega\), so the criterion shows that \(X_i\) is measurable with respect to \(\sigma(\mathcal{P}_i)\). That measurability is the required membership, and the product formula of the definition of independence follows.

Testing Independence on Thresholds

We model two real-valued features as random variables \(X\) and \(Y\), with the rows of a dataset drawn independently from their joint law. A check of independence cannot examine every pair of Borel sets, and the example shows that it does not need to. The features are independent exactly when \(\mathbb{P}(X \leq x, Y \leq y) = \mathbb{P}(X \leq x) \, \mathbb{P}(Y \leq y)\) for every pair of thresholds \(x, y\).

A procedure that uses the empirical joint distribution function and the product of the empirical marginal ones therefore compares sample versions of the two sides of an identity that holds exactly under independence. By contrast, for features with finite, nonzero variances, zero correlation is only a consequence of independence.

From Sets to Functions

Many arguments need more than a statement about sets. An identity for conditional expectations or for integrals is a statement about functions, and the natural generating class is then a set of indicator functions. The theorem below applies the \(\pi\)-\(\lambda\) pattern to bounded measurable functions.

Theorem: Monotone Class Theorem for Functions

Let \(\mathcal{P}\) be a \(\pi\)-system on \(\Omega\) with \(\Omega \in \mathcal{P}\), and let \(\mathcal{D}\) be a collection of real-valued functions on \(\Omega\) with the following three properties.

  1. The indicator \(1_A\) belongs to \(\mathcal{D}\) for every \(A \in \mathcal{P}\).
  2. If \(f, g \in \mathcal{D}\) and \(c \in \mathbb{R}\), then \(f + g \in \mathcal{D}\) and \(c f \in \mathcal{D}\).
  3. If \(f_1, f_2, \ldots \in \mathcal{D}\) are nonnegative and increase pointwise to a bounded function \(f\), then \(f \in \mathcal{D}\).

Then \(\mathcal{D}\) contains every bounded \(\sigma(\mathcal{P})\)-measurable function \(f : \Omega \to \mathbb{R}\).

Proof.

Step 1 (indicators).
Let \[ \mathcal{L} = \{ A \subseteq \Omega : 1_A \in \mathcal{D} \} . \] By property (1), \(\mathcal{P} \subseteq \mathcal{L}\), and in particular \(\Omega \in \mathcal{L}\). If \(A, B \in \mathcal{L}\) and \(A \subseteq B\), then \(1_{B \setminus A} = 1_B + (-1) \, 1_A\) lies in \(\mathcal{D}\) by property (2), so \(B \setminus A \in \mathcal{L}\). If \(A_1 \subseteq A_2 \subseteq \cdots\) lie in \(\mathcal{L}\), the nonnegative indicators \(1_{A_n}\) increase pointwise to the bounded function \(1_{\bigcup_n A_n}\), so property (3) gives \(\bigcup_n A_n \in \mathcal{L}\). Thus \(\mathcal{L}\) is a \(\lambda\)-system containing \(\mathcal{P}\), and the \(\pi\)-\(\lambda\) theorem gives \(1_A \in \mathcal{D}\) for every \(A \in \sigma(\mathcal{P})\).

Step 2 (simple functions).
A simple \(\sigma(\mathcal{P})\)-measurable function has the form \(\sum_{i=1}^{m} a_i 1_{A_i}\) with \(a_i \in \mathbb{R}\) and \(A_i \in \sigma(\mathcal{P})\). Step 1 and property (2) put every such function in \(\mathcal{D}\).

Step 3 (bounded nonnegative functions).
Let \(f\) be \(\sigma(\mathcal{P})\)-measurable with \(0 \leq f \leq M\) for a constant \(M\). For \(n \geq 1\), let \(f_n(\omega) = 2^{-n} \lfloor 2^n f(\omega) \rfloor\). For each integer \(k\) with \(0 \leq k \leq 2^n M\), the function \(f_n\) equals \(k 2^{-n}\) on the set \[ E_{n,k} = f^{-1}\bigl( [k 2^{-n}, (k+1) 2^{-n}) \bigr) , \] and these finitely many sets cover \(\Omega\), since \(f \leq M\). They lie in \(\sigma(\mathcal{P})\) because \(f\) is \(\sigma(\mathcal{P})\)-measurable and intervals are Borel sets. So \(f_n\) is a simple \(\sigma(\mathcal{P})\)-measurable function, and \(f_n \in \mathcal{D}\) by Step 2.

Since \(\lfloor 2t \rfloor \geq 2 \lfloor t \rfloor\) for every real \(t\), the sequence of nonnegative functions \(f_n\) increases. The bound \(0 \leq f(\omega) - f_n(\omega) \lt 2^{-n}\) shows that it converges to \(f\) pointwise. Property (3) gives \(f \in \mathcal{D}\).

Step 4 (bounded functions).
Let \(f\) be \(\sigma(\mathcal{P})\)-measurable with \(|f| \leq M\) for a constant \(M\). Then \(f + M\) is \(\sigma(\mathcal{P})\)-measurable, nonnegative and bounded, so it lies in \(\mathcal{D}\) by Step 3. The constant function \(M = M \, 1_\Omega\) lies in \(\mathcal{D}\) by properties (1) and (2), because \(\Omega \in \mathcal{P}\). Property (2) then puts \(f = (f + M) + (-1) \, M \, 1_\Omega\) in \(\mathcal{D}\).

Property (3) concerns only nonnegative increasing sequences. The class in the proof of the freezing lemma for conditional expectations contains the limit of every increasing sequence of its members whenever that limit is bounded, so it satisfies property (3) in particular.

Where the Theorems Enter

The pages on stochastic analysis extend identities from generating events in four recurring shapes, and each shape is an instance of one of the results above.

If two finite measures with the same total mass, such as two laws, agree on products of closed sets, then they agree on the \(\sigma\)-algebra those products generate. This is the finite case of the uniqueness of measures, since products of closed sets form a \(\pi\)-system containing the whole space. In the proof of the strong Markov property of Brownian motion, this case supplies the uniqueness needed to identify the law of the restarted motion.

A product formula between the events of a \(\pi\)-system containing \(\Omega\) and the events of a \(\sigma\)-algebra extends to the \(\sigma\)-algebra that the \(\pi\)-system generates. This is independence from \(\pi\)-systems with one of the \(\pi\)-systems already a \(\sigma\)-algebra, and it is the step that proves Brownian increments independent of the past. The same step shows that the shifted noise, from which an Itô diffusion is restarted, is independent of the past. The proof of the strong Markov property of Brownian motion uses the step once more, for the independence of the restarted Brownian motion from the information at the stopping time.

A class of sets that contains an algebra and is closed under differences of nested sets and under increasing unions contains the \(\sigma\)-algebra that the algebra generates. This is the \(\pi\)-\(\lambda\) theorem, since an algebra is a \(\pi\)-system containing \(\Omega\). Closure under complements does not by itself supply the differences. When the class consists of the sets whose indicators lie in a linear space, the differences come from the single identity \(1_{B \setminus A} = 1_B - 1_A\) for \(A \subseteq B\). The proof of the density of cylinder functions has this shape.

Consider a linear class of bounded functions that contains the constants, the indicators of measurable rectangles, and every bounded limit of an increasing sequence of its members. Such a class contains every bounded function measurable with respect to the product \(\sigma\)-algebra. This statement is the monotone class theorem for functions, and it reduces the freezing lemma to indicators of rectangles.