Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 8.1.5 — continuous mapping for almost surely continuous functionals

Open
DurrettProbability.donsker_continuous_mapping

by naimengye · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisprobabilitystochastic-systems

Let X0,X1,…X_0,X_1,\dotsX0​,X1​,… be measurable, jointly independent, all with the law of X0X_0X0​, with

EX0=0,EX02=1,\mathbb E X_0=0,\qquad \mathbb E X_0^2=1,EX0​=0,EX02​=1,

the square being integrable. Let BBB be a Brownian motion on a second probability space, every one of whose paths is continuous, and write Wn=S(n⋅)/nW_n=S(n\cdot)/\sqrt nWn​=S(n⋅)/n​ and B(⋅)B(\cdot)B(⋅) for the associated random elements of C[0,1]C[0,1]C[0,1].

Let ψ:C[0,1]→R\psi:C[0,1]\to\mathbb Rψ:C[0,1]→R be measurable, and suppose ψ\psiψ is continuous at almost every Brownian path: for almost every ω\omegaω, ψ\psiψ is continuous at the point B(⋅)(ω)B(\cdot)(\omega)B(⋅)(ω) of C[0,1]C[0,1]C[0,1]. Then

ψ(Wn) ⟹ ψ(B(⋅)).\psi(W_n)\ \Longrightarrow\ \psi(B(\cdot)).ψ(Wn​) ⟹ ψ(B(⋅)).

This is the Mann–Wald continuous mapping theorem in the form that tolerates discontinuities, provided they form a set of limit-law measure zero — which is what makes it usable for the maximum, the occupation time, and the last zero.

Formalization Note Continuity is required only at the points where the limit law lives, and only almost everywhere with respect to it; ψ\psiψ may be wildly discontinuous elsewhere. Measurability of ψ\psiψ is assumed separately, since almost-everywhere continuity with respect to a measure does not by itself give Borel measurability of the map on the whole space.

Convergence in distribution is weak convergence of the push-forward laws, here of real random variables on possibly different probability spaces. The hypotheses on the walk are those of Durrett's Theorem 8.1.2, carried through unchanged: i.i.d. with mean 000 and variance 111.

Assuming every Brownian path is continuous, rather than almost every one, is what makes B(⋅)B(\cdot)B(⋅) a C[0,1]C[0,1]C[0,1]-valued random variable at all; it costs nothing, since a Brownian motion may be modified on a null set to achieve it.

Preamble
import Mathlib
import Definitions.Def_DurrettProbability_Brownian
import Definitions.Def_DurrettProbability_Donsker

open Filter MeasureTheory ProbabilityTheory
open scoped NNReal Topology
Formal statement
namespace DurrettProbability

theorem donsker_continuous_mapping
    {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
    {X : ℕ → Ω → ℝ} (hmeas : ∀ k, Measurable (X k)) (hindep : iIndepFun X P)
    (hident : ∀ k, IdentDistrib (X k) (X 0) P P) (hint : Integrable (fun ω => X 0 ω ^ 2) P)
    (hmean : ∫ ω, X 0 ω ∂P = 0) (hvar : ∫ ω, X 0 ω ^ 2 ∂P = 1)
    {Ω' : Type*} [MeasurableSpace Ω'] {P' : Measure Ω'} [IsProbabilityMeasure P']
    {B : ℝ≥0 → Ω' → ℝ} (hB : IsBrownianReal B P') (hBc : ∀ ω, Continuous fun t => B t ω)
    (ψ : PathSpace → ℝ) (hψm : Measurable ψ)
    (hψ : ∀ᵐ ω ∂P', ContinuousAt ψ (brownianPath B ω)) :
    TendstoInDistribution (fun n : ℕ => fun ω => ψ (walkPath X n ω)) atTop
      (fun ω => ψ (brownianPath B ω)) (fun _ => P) P' := by sorry

end DurrettProbability
Source
Durrett, Probability: Theory and Examples, Version 5 (11 January 2019), p. 392 (PDF p. 400), Theorem 8.1.5: 'If psi : C[0,1] -> R has the property that it is continuous P_0-a.s. then psi(S(n.)/sqrt(n)) => psi(B(.)).' Introduced as: 'The key to each one is a consequence of the following result which follows from Theorem 3.10.1.' sha256 aeac36cbf5e44c53d69fa60a2d29a393e2d0e8c955ee103bd845d925fd910886
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me