Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.3: almost sure expansion in any RKHS orthonormal basis

Open
QAlgorithms.Papers.Independent.Intake100.P89.rkhs_orthonormal_expansion

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let WWW be a Borel centered Gaussian element of a real separable Banach space. For every complete orthonormal system (hi)(h_i)(hi​) in its RKHS, the canonical coordinates (Uhi)(Uh_i)(Uhi​) are independent standard normals and

W=∑i(Uhi)hiin B,P-almost surely.W=\sum_i(Uh_i)h_i\quad\text{in }B,\quad P\text{-almost surely}.W=i∑​(Uhi​)hi​in B,P-almost surely.

The statement includes finite and empty complete systems, with finite or zero sums, as well as the countably infinite case with convergence of ordered partial sums.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P89
Formal statement
noncomputable section

open Set Filter MeasureTheory ProbabilityTheory

open scoped Topology BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P89

universe u v w

variable {Omega : Type u} [MeasurableSpace Omega]

section MoreResults

variable (P : Measure Omega) [hP : IsProbabilityMeasure P]

include hP

/-- Theorem 4.3: almost sure expansion in any RKHS orthonormal basis, arXiv:0805.3252v1, PDF p.13.
Finite/empty and infinite systems are separate clauses of one headline. L² coordinate representatives are only relevant a.s.; ordered convergence avoids an unintended unconditional sample-series claim. -/
theorem rkhs_orthonormal_expansion
{B : Type v} [NormedAddCommGroup B] [NormedSpace ℝ B]
    [CompleteSpace B] [TopologicalSpace.SeparableSpace B]
    (W : Omega → B) (hW : BorelCenteredGaussianElement P W) :
    (∀ (n : ℕ) (e : Fin n → banachChaos P W), Orthonormal ℝ e →
      (Submodule.span ℝ (Set.range e)).topologicalClosure = ⊤ →
      StandardNormals P (fun i o => (e i : L2 P) o) ∧
      ∀ᵐ o ∂P, W o = ∑ i, (e i : L2 P) o • synthesis P W (e i : L2 P)) ∧
    (∀ e : ℕ → banachChaos P W, Orthonormal ℝ e →
      (Submodule.span ℝ (Set.range e)).topologicalClosure = ⊤ →
      StandardNormals P (fun i o => (e i : L2 P) o) ∧
      ∀ᵐ o ∂P, Tendsto
        (fun n => ∑ i ∈ Finset.range n, (e i : L2 P) o • synthesis P W (e i : L2 P))
        atTop (𝓝 (W o))) := by sorry

end MoreResults

end QAlgorithms.Papers.Independent.Intake100.P89

end
Source
Reproducing kernel Hilbert spaces of Gaussian priors, arXiv:0805.3252v1, PDF p. 13, Theorem 4.3: almost sure expansion in any RKHS orthonormal basis
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let PPP be a measure on a measurable space Ω\OmegaΩ, let BBB be a complete separable real normed vector space, and let W:Ω→BW:\Omega\to BW:Ω→B be Borel measurable, with every continuous real-linear functional ℓ:B→R\ell:B\to\mathbb Rℓ:B→R giving ℓ(W)\ell(W)ℓ(W) a Gaussian distribution of mean 000 and some variance v≥0v\ge0v≥0 under PPP. Let HHH be the closed real-linear span in L2(P;R)L^2(P;\mathbb R)L2(P;R) of the classes of ℓ(W)\ell(W)ℓ(W), using 000 when ℓ(W)\ell(W)ℓ(W) does not belong to L2(P)L^2(P)L2(P), and for u∈Hu\in Hu∈H define

A(u)=∫Ωu(ω)W(ω) dP(ω),A(u)=\int_\Omega u(\omega)W(\omega)\,dP(\omega),A(u)=∫Ω​u(ω)W(ω)dP(ω),

where evaluations of uuu use the representative supplied by the L2(P)L^2(P)L2(P) construction and the integral is 000 if nonintegrable. Two conditional statements hold. First, for every natural number nnn and every orthonormal family e0,…,en−1e_0,\ldots,e_{n-1}e0​,…,en−1​ in HHH whose real-linear span has closure equal to all of HHH, the variables ei(ω)e_i(\omega)ei​(ω), 0≤i<n0\le i<n0≤i<n, form a jointly independent family, each is measurable and has distribution N(0,1)N(0,1)N(0,1), and

W(ω)=∑i=0n−1ei(ω)A(ei)for P-almost every ω.W(\omega)=\sum_{i=0}^{n-1}e_i(\omega)A(e_i) \quad\text{for }P\text{-almost every }\omega.W(ω)=i=0∑n−1​ei​(ω)A(ei​)for P-almost every ω.

Second, for every orthonormal sequence (ei)i∈N(e_i)_{i\in\mathbb N}(ei​)i∈N​ in HHH whose real-linear span is dense in HHH, the variables ei(ω)e_i(\omega)ei​(ω) are jointly independent, measurable, and each distributed as N(0,1)N(0,1)N(0,1), and

lim⁡n→∞∑i=0n−1ei(ω)A(ei)=W(ω)for P-almost every ω.\lim_{n\to\infty}\sum_{i=0}^{n-1}e_i(\omega)A(e_i)=W(\omega) \quad\text{for }P\text{-almost every }\omega.n→∞lim​i=0∑n−1​ei​(ω)A(ei​)=W(ω)for P-almost every ω.

These statements do not assert existence of either kind of orthonormal family; a clause is vacuous when its family assumptions cannot be met. The finite clause includes n=0n=0n=0: its density assumption then requires H={0}H=\{0\}H={0}, and its asserted expansion is W=0W=0W=0 almost everywhere, with the requirements on the empty family of variables vacuous.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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