The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.Martingale.Convergence

16 declarations and 1 deprecated aliases. Mathlib docs · Source

Martingale convergence theorems

The martingale convergence theorems are a collection of theorems characterizing the convergence of a martingale provided it satisfies some boundedness conditions. This file contains the almost everywhere martingale convergence theorem which provides an almost everywhere limit to an L¹ bounded submartingale. It also contains the L¹ martingale convergence theorem which provides an L¹ limit to a uniformly integrable submartingale. Finally, it also contains the Lévy upwards theorems.

Main results

  • MeasureTheory.Submartingale.ae_tendsto_limitProcess: the almost everywhere martingale convergence theorem: an L¹-bounded submartingale strongly adapted to the filtration ℱ converges almost everywhere to its limit process.
  • MeasureTheory.Submartingale.memLp_limitProcess: the limit process of an Lᵖ-bounded submartingale is Lᵖ.
  • MeasureTheory.Submartingale.tendsto_eLpNorm_one_limitProcess: part a of the L¹ martingale convergence theorem: a uniformly integrable submartingale strongly adapted to the filtration ℱ converges almost everywhere and in L¹ to an integrable function which is measurable with respect to the σ-algebra ⨆ n, ℱ n.
  • MeasureTheory.Martingale.ae_eq_condExp_limitProcess: part b the L¹ martingale convergence theorem: if f is a uniformly integrable martingale strongly adapted to the filtration ℱ, then f n equals 𝔼[g | ℱ n] almost everywhere where g is the limiting process of f.
  • MeasureTheory.Integrable.tendsto_ae_condExp: part c the L¹ martingale convergence theorem: given a ⨆ n, ℱ n-measurable function g where ℱ is a filtration, 𝔼[g | ℱ n] converges almost everywhere to g.
  • MeasureTheory.Integrable.tendsto_eLpNorm_condExp: part c the L¹ martingale convergence theorem: given a ⨆ n, ℱ n-measurable function g where ℱ is a filtration, 𝔼[g | ℱ n] converges in L¹ to g.

Almost everywhere martingale convergence theorem

We will now prove the almost everywhere martingale convergence theorem.

The a.e. martingale convergence theorem states: if f is an L¹-bounded ℱ-submartingale, then it converges almost everywhere to an integrable function which is measurable with respect to the σ-algebra ℱ∞ := ⨆ n, ℱ n.

Mathematically, we proceed by first noting that a real sequence $(x_n)$ converges if (a) $\limsup_{n \to \infty} |x_n| < \infty$, (b) for all $a < b \in \mathbb{Q}$ we have the number of upcrossings of $(x_n)$ from below $a$ to above $b$ is finite. Thus, for all $\omega$ satisfying $\limsup_{n \to \infty} |f_n(\omega)| < \infty$ and the number of upcrossings of $(f_n(\omega))$ from below $a$ to above $b$ is finite for all $a < b \in \mathbb{Q}$, we have $(f_n(\omega))$ is convergent.

Hence, assuming $(f_n)$ is L¹-bounded, using Fatou's lemma, we have $$ \mathbb{E} \limsup_{n \to \infty} |f_n| \le \limsup_{n \to \infty} \mathbb{E}|f_n| < \infty $$ implying $\limsup_{n \to \infty} |f_n| < \infty$ a.e. Furthermore, by the upcrossing estimate, the number of upcrossings is finite almost everywhere implying $f$ converges pointwise almost everywhere.

Thus, denoting $g$ the a.e. limit of $(f_n)$, $g$ is $\mathcal{F}\infty$-measurable as for all $n$, $f_n$ is $\mathcal{F}n$-measurable and $\mathcal{F}n \le \mathcal{F}\infty$. Finally, $g$ is integrable as $|g| \le \liminf{n \to \infty} |f_n|$ so $$ \mathbb{E}|g| \le \mathbb{E} \limsup{n \to \infty} |f_n| \le \limsup_{n \to \infty} \mathbb{E}|f_n| < \infty $$ as required.

In terms of implementation, we have tendsto_of_no_upcrossings which shows that a bounded sequence converges if it does not visit below $a$ and above $b$ infinitely often for all $a, b ∈ s$ for some dense set $s$. So, we may skip the first step provided we can prove that the realizations are bounded almost everywhere. Indeed, suppose $|f_n(\omega)|$ is not bounded, then either $f_n(\omega) \to \pm \infty$ or one of $\limsup f_n(\omega)$ or $\liminf f_n(\omega)$ equals $\pm \infty$ while the other is finite. But the first case contradicts $\liminf |f_n(\omega)| < \infty$ while the second case contradicts finite upcrossings.

Furthermore, we introduce Filtration.limitProcess which chooses the limiting random variable of a stochastic process if it exists, otherwise returning 0. Hence, instead of showing an existence statement, we phrase the a.e. martingale convergence theorem by showing that a submartingale converges to its limitProcess almost everywhere.

L¹ martingale convergence theorem

We will now prove the L¹ martingale convergence theorems.

The L¹ martingale convergence theorem states that: (a) if f is a uniformly integrable (in the probability sense) submartingale strongly adapted to the filtration ℱ, it converges in L¹ to an integrable function g which is measurable with respect to ℱ∞ := ⨆ n, ℱ n and (b) if f is actually a martingale, f n = 𝔼[g | ℱ n] almost everywhere. (c) Finally, if h is integrable and measurable with respect to ℱ∞, (𝔼[h | ℱ n])ₙ is a uniformly integrable martingale which converges to h almost everywhere and in L¹.

The proof is quite simple. (a) follows directly from the a.e. martingale convergence theorem and the Vitali convergence theorem as our definition of uniform integrability (in the probability sense) directly implies L¹-uniform boundedness. We note that our definition of uniform integrability is slightly non-standard but is equivalent to the usual literary definition. This equivalence is provided by MeasureTheory.uniformIntegrable_iff.

(b) follows since given $n$, we have for all $m \ge n$, $$ |f_n - \mathbb{E}[g \mid \mathcal{F}_n]|_1 = |\mathbb{E}[f_m - g \mid \mathcal{F}_n]|_1 \le |f_m - g|_1. $$ Thus, taking $m \to \infty$ provides the almost everywhere equality.

Finally, to prove (c), we define $f_n := \mathbb{E}[h \mid \mathcal{F}_n]$. It is clear that $(f_n)_n$ is a martingale by the tower property for conditional expectations. Furthermore, $(f_n)n$ is uniformly integrable in the probability sense. Indeed, as a single function is uniformly integrable in the measure theory sense, for all $\epsilon > 0$, there exists some $\delta > 0$ such that for all measurable set $A$ with $\mu(A) < δ$, we have $\mathbb{E}|h|\mathbf{1}A < \epsilon$. So, since for sufficiently large $\lambda$, by the Markov inequality, we have for all $n$, $$ \mu(|f_n| \ge \lambda) \le \lambda^{-1}\mathbb{E}|f_n| \le \lambda^{-1}\mathbb{E}|h| < \delta, $$ we have for sufficiently large $\lambda$, for all $n$, $$ \mathbb{E}|f_n|\mathbf{1}{|f_n| \ge \lambda} \le \mathbb{E}|h|\mathbf{1}{|f_n| \ge \lambda} < \epsilon, $$ implying $(f_n)_n$ is uniformly integrable. Now, to prove $f_n \to h$ almost everywhere and in L¹, it suffices to show that $h = g$ almost everywhere where $g$ is the almost everywhere and L¹ limit of $(f_n)_n$ from part (b) of the theorem. By noting that, for all $s \in \mathcal{F}_n$, we have $$ \mathbb{E}g\mathbf{1}_s = \mathbb{E}[\mathbb{E}[g \mid \mathcal{F}_n]\mathbf{1}_s] = \mathbb{E}[\mathbb{E}[h \mid \mathcal{F}_n]\mathbf{1}_s] = \mathbb{E}h\mathbf{1}_s $$ where $\mathbb{E}[g \mid \mathcal{F}n] = \mathbb{E}[h \mid \mathcal{F}n]$ almost everywhere by part (b); the equality also holds for all $s \in \mathcal{F}\infty$ by Dynkin's theorem. Thus, as both $h$ and $g$ are $\mathcal{F}\infty$-measurable, $h = g$ almost everywhere as required.

Similar to the a.e. martingale convergence theorem, rather than showing the existence of the limiting process, we phrase the L¹-martingale convergence theorem by proving that a submartingale does converge in L¹ to its limitProcess. However, in contrast to the a.e. martingale convergence theorem, we do not need to introduce an L¹ version of Filtration.limitProcess as the L¹ limit and the a.e. limit of a submartingale coincide.

theorem MeasureTheory.not_frequently_of_upcrossings_lt_top E1 #

∀ {Ω : Type u_1} {a b : ℝ} {f : ℕ → Ω → ℝ} {ω : Ω},
  a < b →
    MeasureTheory.upcrossings a b f ω ≠ ⊤ →
      ¬((∃ᶠ (n : ℕ) in Filter.atTop, f n ω < a) ∧ ∃ᶠ (n : ℕ) in Filter.atTop, b < f n ω)

If a stochastic process has a finite number of upcrossings from below a to above b, then it does not frequently visit both below a and above b.

theorem MeasureTheory.upcrossings_eq_top_of_frequently_lt E1 #

∀ {Ω : Type u_1} {a b : ℝ} {f : ℕ → Ω → ℝ} {ω : Ω},
  a < b →
    (∃ᶠ (n : ℕ) in Filter.atTop, f n ω < a) →
      (∃ᶠ (n : ℕ) in Filter.atTop, b < f n ω) → MeasureTheory.upcrossings a b f ω = ⊤

A stochastic process that frequently visits below a and above b has infinite upcrossings.

theorem MeasureTheory.tendsto_of_upcrossings_lt_top E1 #

∀ {Ω : Type u_1} {f : ℕ → Ω → ℝ} {ω : Ω},
  Filter.liminf (fun n ↦ ↑‖f n ω‖₊) Filter.atTop < ⊤ →
    (∀ (a b : ℚ), a < b → MeasureTheory.upcrossings (↑a) (↑b) f ω < ⊤) →
      ∃ c, Filter.Tendsto (fun n ↦ f n ω) Filter.atTop (nhds c)

A realization of a stochastic process with bounded upcrossings and bounded limit inferiors is convergent.

We use the spelling < ∞ instead of the standard ≠ ∞ in the assumptions since it is not as easy to change < to ≠ under binders.

theorem MeasureTheory.Submartingale.upcrossings_ae_lt_top' E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0} {a b : ℝ}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) 1 μ < ⊤ → a < b → ∀ᵐ (ω : Ω) ∂μ, MeasureTheory.upcrossings a b f ω < ⊤

An L¹-bounded submartingale has bounded upcrossings almost everywhere.

theorem MeasureTheory.Submartingale.upcrossings_ae_lt_top E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) 1 μ < ⊤ →
      ∀ᵐ (ω : Ω) ∂μ, ∀ (a b : ℚ), a < b → MeasureTheory.upcrossings (↑a) (↑b) f ω < ⊤

theorem MeasureTheory.Submartingale.exists_ae_tendsto_of_bdd E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) 1 μ < ⊤ → ∀ᵐ (ω : Ω) ∂μ, ∃ c, Filter.Tendsto (fun n ↦ f n ω) Filter.atTop (nhds c)

An L¹-bounded submartingale converges almost everywhere.

theorem MeasureTheory.Submartingale.exists_ae_trim_tendsto_of_bdd E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) 1 μ < ⊤ →
      ∀ᵐ (ω : Ω) ∂μ.trim ⋯, ∃ c, Filter.Tendsto (fun n ↦ f n ω) Filter.atTop (nhds c)

theorem MeasureTheory.Submartingale.ae_tendsto_limitProcess E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) 1 μ < ⊤ →
      ∀ᵐ (ω : Ω) ∂μ, Filter.Tendsto (fun n ↦ f n ω) Filter.atTop (nhds (MeasureTheory.Filtration.limitProcess f ℱ μ ω))

Almost everywhere martingale convergence theorem: An L¹-bounded submartingale converges almost everywhere to a ⨆ n, ℱ n-measurable function.

theorem MeasureTheory.Submartingale.memLp_limitProcess E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} {p : ENNReal},
  MeasureTheory.Submartingale f ℱ μ →
    ⨆ n, MeasureTheory.eLpNorm (f n) p μ < ⊤ → MeasureTheory.MemLp (MeasureTheory.Filtration.limitProcess f ℱ μ) p μ

The limiting process of an Lᵖ-bounded submartingale is Lᵖ.

theorem MeasureTheory.Submartingale.tendsto_eLpNorm_one_limitProcess E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    MeasureTheory.UniformIntegrable f 1 μ →
      Filter.Tendsto (fun n ↦ MeasureTheory.eLpNorm (f n - MeasureTheory.Filtration.limitProcess f ℱ μ) 1 μ)
        Filter.atTop (nhds 0)

Part a of the L¹ martingale convergence theorem: a uniformly integrable submartingale strongly adapted to the filtration ℱ converges a.e. and in L¹ to an integrable function which is measurable with respect to the σ-algebra ⨆ n, ℱ n.

theorem MeasureTheory.Submartingale.ae_tendsto_limitProcess_of_uniformIntegrable E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Submartingale f ℱ μ →
    MeasureTheory.UniformIntegrable f 1 μ →
      ∀ᵐ (ω : Ω) ∂μ, Filter.Tendsto (fun n ↦ f n ω) Filter.atTop (nhds (MeasureTheory.Filtration.limitProcess f ℱ μ ω))

theorem MeasureTheory.Martingale.ae_eq_condExp_limitProcess E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  {f : ℕ → Ω → ℝ} [MeasureTheory.IsFiniteMeasure μ],
  MeasureTheory.Martingale f ℱ μ →
    MeasureTheory.UniformIntegrable f 1 μ → ∀ (n : ℕ), f n =ᵐ[μ] μ[MeasureTheory.Filtration.limitProcess f ℱ μ | ↑ℱ n]

Part b of the L¹ martingale convergence theorem: if f is a uniformly integrable martingale strongly adapted to the filtration ℱ, then for all n, f n is almost everywhere equal to the conditional expectation of its limiting process w.r.t. ℱ n.

theorem MeasureTheory.Integrable.tendsto_ae_condExp E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  [MeasureTheory.IsFiniteMeasure μ] {g : Ω → ℝ},
  MeasureTheory.Integrable g μ →
    MeasureTheory.StronglyMeasurable g → ∀ᵐ (x : Ω) ∂μ, Filter.Tendsto (fun n ↦ μ[g | ↑ℱ n] x) Filter.atTop (nhds (g x))

Part c of the L¹ martingale convergence theorem: Given an integrable function g which is measurable with respect to ⨆ n, ℱ n where ℱ is a filtration, the martingale defined by 𝔼[g | ℱ n] converges almost everywhere to g.

This martingale also converges to g in L¹ and this result is provided by MeasureTheory.Integrable.tendsto_eLpNorm_condExp

theorem MeasureTheory.Integrable.tendsto_eLpNorm_condExp E3 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  [MeasureTheory.IsFiniteMeasure μ] {g : Ω → ℝ},
  MeasureTheory.Integrable g μ →
    MeasureTheory.StronglyMeasurable g →
      Filter.Tendsto (fun n ↦ MeasureTheory.eLpNorm (μ[g | ↑ℱ n] - g) 1 μ) Filter.atTop (nhds 0)

Part c of the L¹ martingale convergence theorem: Given an integrable function g which is measurable with respect to ⨆ n, ℱ n where ℱ is a filtration, the martingale defined by 𝔼[g | ℱ n] converges in L¹ to g.

This martingale also converges to g almost everywhere and this result is provided by MeasureTheory.Integrable.tendsto_ae_condExp

theorem MeasureTheory.tendsto_ae_condExp E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  [MeasureTheory.IsFiniteMeasure μ] (g : Ω → ℝ),
  ∀ᵐ (x : Ω) ∂μ, Filter.Tendsto (fun n ↦ μ[g | ↑ℱ n] x) Filter.atTop (nhds (μ[g | ⨆ n, ↑ℱ n] x))

Lévy's upward theorem, almost everywhere version: given a function g and a filtration ℱ, the sequence defined by 𝔼[g | ℱ n] converges almost everywhere to 𝔼[g | ⨆ n, ℱ n].

theorem MeasureTheory.tendsto_eLpNorm_condExp E1 #

∀ {Ω : Type u_1} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration ℕ m0}
  [MeasureTheory.IsFiniteMeasure μ] (g : Ω → ℝ),
  Filter.Tendsto (fun n ↦ MeasureTheory.eLpNorm (μ[g | ↑ℱ n] - μ[g | ⨆ n, ↑ℱ n]) 1 μ) Filter.atTop (nhds 0)

Lévy's upward theorem, L¹ version: given a function g and a filtration ℱ, the sequence defined by 𝔼[g | ℱ n] converges in L¹ to 𝔼[g | ⨆ n, ℱ n].

Deprecated aliases

NameNew nameSince
MeasureTheory.tendsto_of_uncrossing_lt_topMeasureTheory.tendsto_of_upcrossings_lt_top2026-09-17