Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 2.2: comparison for continuous functions

Open
QAlgorithms.Papers.Independent.Intake100.P89.continuous_process_agreement

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

prove2quantum

Let TTT be a compact metric space and WWW a Borel centered Gaussian random element of C(T,R)C(T,\mathbb R)C(T,R) with the uniform norm. Its Banach and coordinate-process RKHSs agree as functions and have the same inner product:

HWprocess={t↦h(t):h∈HWC(T)}.H_W^{\mathrm{process}}=\{t\mapsto h(t):h\in H_W^{C(T)}\}.HWprocess​={t↦h(t):h∈HWC(T)​}.

This applies in particular to C[0,1]C[0,1]C[0,1] and presupposes the stated Borel random element.

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

/-- Example 2.2: comparison for continuous functions, arXiv:0805.3252v1, PDF p.7.
No measurability is inferred merely from a set of continuous paths. Empty compact T is permitted. -/
theorem continuous_process_agreement
{T : Type v} [MetricSpace T] [CompactSpace T]
    (W : Omega → C(T, ℝ)) (hW : BorelCenteredGaussianElement P W) :
    (fun f : C(T, ℝ) => fun t => f t) '' banachRKHS P W =
      processRKHS P (fun t o => W o t) ∧
    ∀ f ∈ banachRKHS P W, ∀ g ∈ banachRKHS P W,
      banachInner P W f g = processInner P (fun t o => W o t)
        (fun t => f t) (fun t => g t) := by sorry

end MoreResults

end QAlgorithms.Papers.Independent.Intake100.P89

end
Source
Reproducing kernel Hilbert spaces of Gaussian priors, arXiv:0805.3252v1, PDF p. 7, Example 2.2: comparison for continuous functions
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 TTT be a compact metric space, and let W:Ω→C(T,R)W:\Omega\to C(T,\mathbb R)W:Ω→C(T,R). Assume that WWW is measurable into the Borel sets of C(T,R)C(T,\mathbb R)C(T,R) and that, for every continuous real-linear functional ℓ:C(T,R)→R\ell:C(T,\mathbb R)\to\mathbb Rℓ:C(T,R)→R, there exists a nonnegative real number vvv such that the distribution under PPP of ℓ(W)\ell(W)ℓ(W) is the Gaussian measure with mean 000 and variance vvv, allowing v=0v=0v=0. Write J(X)∈L2(P;R)J(X)\in L^2(P;\mathbb R)J(X)∈L2(P;R) for the equivalence class of XXX when XXX belongs to L2(P)L^2(P)L2(P), and for 000 otherwise. Let HBH_BHB​ be the closed real-linear span in L2(P)L^2(P)L2(P) of all J(ℓ(W))J(\ell(W))J(ℓ(W)), and let HTH_THT​ be the closed real-linear span of all J(ω↦W(ω)(t))J(\omega\mapsto W(\omega)(t))J(ω↦W(ω)(t)), t∈Tt\in Tt∈T. Define

SB(h)=∫Ωh(ω)W(ω) dP(ω),ST(h)(t)=∫ΩW(ω)(t)h(ω) dP(ω),KB=SB(HB),KT=ST(HT).S_B(h)=\int_\Omega h(\omega)W(\omega)\,dP(\omega),\qquad S_T(h)(t)=\int_\Omega W(\omega)(t)h(\omega)\,dP(\omega), \quad K_B=S_B(H_B),\quad K_T=S_T(H_T).SB​(h)=∫Ω​h(ω)W(ω)dP(ω),ST​(h)(t)=∫Ω​W(ω)(t)h(ω)dP(ω),KB​=SB​(HB​),KT​=ST​(HT​).

For each f∈KBf\in K_Bf∈KB​, let LB(f)L_B(f)LB​(f) be the L2(P)L^2(P)L2(P) element obtained by the definition’s choice of a preimage of fff in HBH_BHB​; define LT(u)L_T(u)LT​(u) by the corresponding choice in HTH_THT​ for u∈KTu\in K_Tu∈KT​, with either lift defined to be 000 outside its respective image. Then

{ t↦f(t):f∈KB }=KT,⟨LB(f),LB(g)⟩L2(P)=⟨LT(t↦f(t)),LT(t↦g(t))⟩L2(P)(f,g∈KB).\{\,t\mapsto f(t):f\in K_B\,\}=K_T, \qquad \langle L_B(f),L_B(g)\rangle_{L^2(P)} =\langle L_T(t\mapsto f(t)),L_T(t\mapsto g(t))\rangle_{L^2(P)} \quad(f,g\in K_B).{t↦f(t):f∈KB​}=KT​,⟨LB​(f),LB​(g)⟩L2(P)​=⟨LT​(t↦f(t)),LT​(t↦g(t))⟩L2(P)​(f,g∈KB​).

The space TTT may be empty; the spans, images, and assertions retain their stated meanings in that case. The integrals defining the synthesis maps use the total integral convention, which assigns 000 to a nonintegrable integrand.

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