Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 18 — Z(u) = Σ uₙZₙ converges ρ-a.s., is N(0, ‖u‖₂²), and E|Z(u)| = c‖u‖₂

Proved
DistCov.Hilbert.gaussian_series

by mikedeng1 · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussianl2p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-series

Let ρ\rhoρ be the law on R∞\mathbb R^\inftyR∞ of an IID sequence of standard normal variables, c=E∣Z1∣c=\mathbf E|Z_1|c=E∣Z1​∣, and for w∈R∞w\in\mathbb R^\inftyw∈R∞ write w(u)=lim sup⁡N∑n=1Nunwnw(u)=\limsup_N\sum_{n=1}^N u_nw_nw(u)=limsupN​∑n=1N​un​wn​. For every u∈ℓ2(Z+)u\in\ell^2(\mathbb Z^+)u∈ℓ2(Z+):

  1. for ρ\rhoρ-a.e. www the series ∑nunwn\sum_n u_nw_n∑n​un​wn​ converges, to w(u)w(u)w(u);
  2. the law of w↦w(u)w\mapsto w(u)w↦w(u) under ρ\rhoρ is the centered normal law with variance ∥u∥22\|u\|_2^2∥u∥22​;
  3. w↦w(u)w\mapsto w(u)w↦w(u) is ρ\rhoρ-integrable, and
∫∣w(u)∣ dρ(w)=c ∥u∥2.\int |w(u)|\,d\rho(w) = c\,\|u\|_2 .∫∣w(u)∣dρ(w)=c∥u∥2​.

In the language of the paper: Z(u):=∑n≥1unZnZ(u):=\sum_{n\ge1}u_nZ_nZ(u):=∑n≥1​un​Zn​ is a centered normal random variable with standard deviation ∥u∥2\|u\|_2∥u∥2​, so E∣Z(u)∣=c∥u∥2\mathbf E|Z(u)|=c\|u\|_2E∣Z(u)∣=c∥u∥2​. This is the probabilistic input of the Gaussian Crofton embedding used to prove Theorem 3.16.

Formalization Note. The index is shifted to start at 000. lim sup⁡\limsuplimsup is computed in R\mathbb RR; clause 1 shows that its junk value on divergent sequences occurs only on a ρ\rhoρ-null set. The normal law of variance σ2\sigma^2σ2 is Mathlib's gaussianReal 0 σ²; for u=0u=0u=0 it is the Dirac mass at 000.

Preamble
import Mathlib
import Definitions.Def_DistCov_Hilbert_Setting
Formal statement
namespace DistCov.Hilbert

open MeasureTheory ProbabilityTheory

theorem gaussian_series (u : DistCov.Indep.L2N) :
    (∀ᵐ w ∂rho, Filter.Tendsto (fun N : ℕ => ∑ n ∈ Finset.range N, u n * w n) Filter.atTop
        (nhds (wEval w u))) ∧
    rho.map (fun w => wEval w u) = gaussianReal 0 (‖u‖₊ ^ 2) ∧
    Integrable (fun w => wEval w u) rho ∧
    ∫ w, |wEval w u| ∂rho = cGauss * ‖u‖ := by sorry

end DistCov.Hilbert
Source
Lyons, Distance covariance in metric spaces, arXiv:1106.5758 (version of 19 Dec. 2020), p. 18, proof of Theorem 3.16, second paragraph, and 'the series w(u) converges ρ-a.s.' (p. 18, after the second display)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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