Doob's Martingale Convergence

lean4-proofprobabilityvisualization
Mn submartingale, supnE[Mn+]<Mna.s.MM_n \text{ submartingale, } \sup_n \mathbb{E}[M_n^+] < \infty \Rightarrow M_n \xrightarrow{\text{a.s.}} M_\infty

Statement

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space with filtration (Fn)n0(\mathcal{F}_n)_{n \ge 0}. A sequence (Mn)(M_n) is a submartingale if each MnM_n is Fn\mathcal{F}_n-measurable, integrable, and E[Mn+1Fn]Mn\mathbb{E}[M_{n+1} \mid \mathcal{F}_n] \ge M_n a.s.

Doob's Almost Sure Convergence Theorem. If (Mn)(M_n) is an L1L^1-bounded submartingale — meaning

supn0E[Mn+]<\sup_{n \ge 0} \mathbb{E}[M_n^+] < \infty

where Mn+=max(Mn,0)M_n^+ = \max(M_n, 0) — then there exists an integrable random variable MM_\infty such that

Mna.s.Mas n.M_n \xrightarrow{\text{a.s.}} M_\infty \quad \text{as } n \to \infty.

In particular, every nonneg L1L^1-bounded martingale converges a.s.

Visualization

Fair game: MnM_n = cumulative winnings in a fair coin-flip game (±1\pm 1 per flip), stopped at Mn>5|M_n| > 5. The martingale property says no system beats a fair game.

Sample paths of M_n (3 trajectories):

 M
 6|               path B hits +5 barrier
 4|         ╱╲ ╱
 2|    ╱╲╱╲╱   ╲╱╲ ╱
 0|── ─╱────────────╲────────────────→  path A wanders
-2|                   ╲╱╲
-4|                      ╲
-6|                       path C hits -5 barrier

Each path converges once it stops (optional stopping).
The a.s. limit M_∞ = lim Mₙ exists for every path.

Upcrossings of [a,b] = [1,3]:
──2──1──3──1──3──1──3── …
   ↑     ↑     ↑
   Each [1→3] passage = one upcrossing.
   Doob's upcrossing inequality: E[U_n[a,b]] ≤ (E[Mₙ⁺] + |a|)/(b-a)
   Bounded E[Upcrossings] → convergence a.s.

Proof Sketch

  1. Upcrossing inequality. Let Un[a,b]U_n[a,b] count how many times M0,,MnM_0, \ldots, M_n crosses upward from below aa to above bb. Doob proves E[Un[a,b]](E[Mn+]+a)/(ba)\mathbb{E}[U_n[a,b]] \le (E[M_n^+] + |a|)/(b-a).
  2. Finiteness of upcrossings. The L1L^1 bound keeps E[U[a,b]]<\mathbb{E}[U_\infty[a,b]] < \infty, so U[a,b]<U_\infty[a,b] < \infty a.s. for each rational pair (a,b)(a,b).
  3. No oscillation. On the event {U[a,b]< for all rational a<b}\{U_\infty[a,b] < \infty \text{ for all rational } a < b\}, the sequence cannot oscillate, so lim infMn=lim supMn\liminf M_n = \limsup M_n a.s.
  4. Integrability of limit. Fatou's lemma: E[M]lim infnE[Mn]<\mathbb{E}[|M_\infty|] \le \liminf_n \mathbb{E}[|M_n|] < \infty.

Connections

Doob's theorem is the probabilistic analogue of the Monotone Convergence TheoremMonotone Convergence Theoremf monotone,  supnf(n)<    f(n)supnf(n)f \text{ monotone},\; \sup_n f(n) < \infty \implies f(n) \to \sup_n f(n)A bounded monotone sequence of reals always converges — the supremum is the limitRead more → for martingales. Combined with the Optional Stopping TheoremOptional Stopping TheoremE[Mτ]=E[M0]\mathbb{E}[M_\tau] = \mathbb{E}[M_0]The expected value of a stopped martingale equals its initial value under integrability conditionsRead more →, it characterizes when a martingale is uniformly integrable.

Lean4 Proof

import Mathlib.Probability.Martingale.Convergence

open MeasureTheory

/-- Doob's a.e. martingale convergence theorem: an L1-bounded submartingale
    converges almost everywhere to the `limitProcess`.
    Mathlib: `MeasureTheory.Submartingale.ae_tendsto_limitProcess`. -/
theorem doob_convergence
    {Ω : Type*} {m0 : MeasurableSpace Ω}
    {μ : Measure Ω} [IsFiniteMeasure μ]
    { : Filtration  m0}
    {f :   Ω  }
    {R : 0∞}
    (hf : Submartingale f  μ)
    (hbdd :  n, eLpNorm (f n) 1 μ  R) :
    ᵐ ω ∂μ, Filter.Tendsto (fun n => f n ω) Filter.atTop
      (nhds (.limitProcess f μ ω)) :=
  hf.ae_tendsto_limitProcess hbdd