Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Feature-preserving linear isometry between two RKHSs of the same PSD kernel

Proved
HighDimStat.Rkhs.rkhs_feature_isometry_of_dense

by kmehltretter82 · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-analysishigh-dimensional-statisticsstatistics

Given two reproducing kernel Hilbert spaces (H1,toFun1,Φ1)(H_1, \mathrm{toFun}_1, \Phi_1)(H1​,toFun1​,Φ1​) and (H2,toFun2,Φ2)(H_2, \mathrm{toFun}_2, \Phi_2)(H2​,toFun2​,Φ2​) for the same positive semidefinite kernel KKK whose feature spans have trivial orthogonal complements and whose feature vectors have identical Gram inner products ⟨Φ1(x),Φ1(y)⟩H1=⟨Φ2(x),Φ2(y)⟩H2\langle \Phi_1(x), \Phi_1(y) \rangle_{H_1} = \langle \Phi_2(x), \Phi_2(y) \rangle_{H_2}⟨Φ1​(x),Φ1​(y)⟩H1​​=⟨Φ2​(x),Φ2​(y)⟩H2​​, there exists a linear isometry equivalence e:H1≃ℓiH2e : H_1 \simeq_{\ell i} H_2e:H1​≃ℓi​H2​ sending Φ1(x)\Phi_1(x)Φ1​(x) to Φ2(x)\Phi_2(x)Φ2​(x) for all x∈Xx \in Xx∈X.

Formal statement
import Mathlib
import Definitions.Def_HighDimStat_Rkhs_Core

namespace HighDimStat.Rkhs

open scoped RealInnerProductSpace

/-- **Feature-preserving linear isometry between two RKHSs of the same PSD kernel (Wainwright Theorem 12.11, p. 389).**
Given two RKHSs `(H₁, toFun₁, feature₁)` and `(H₂, toFun₂, feature₂)` for the same positive
semidefinite kernel `K` whose feature spans have trivial orthogonal complements and whose feature
inner products satisfy `⟪feature₁ x, feature₁ y⟫ = ⟪feature₂ x, feature₂ y⟫`, there exists
a linear isometry equivalence `e : H₁ ≃ₗᵢ[ℝ] H₂` sending `feature₁ x` to `feature₂ x` for all `x`. -/
theorem rkhs_feature_isometry_of_dense {X : Type*} (K : X → X → ℝ) (hK : IsPSDKernel K)
    (H₁ : Type) [NormedAddCommGroup H₁] [InnerProductSpace ℝ H₁] [CompleteSpace H₁]
    (toFun₁ : H₁ →ₗ[ℝ] (X → ℝ)) (feature₁ : X → H₁) (h₁ : IsRKHS K toFun₁ feature₁)
    (h_orth₁ : (Submodule.span ℝ (Set.range feature₁))ᗮ = ⊥)
    (H₂ : Type) [NormedAddCommGroup H₂] [InnerProductSpace ℝ H₂] [CompleteSpace H₂]
    (toFun₂ : H₂ →ₗ[ℝ] (X → ℝ)) (feature₂ : X → H₂) (h₂ : IsRKHS K toFun₂ feature₂)
    (h_orth₂ : (Submodule.span ℝ (Set.range feature₂))ᗮ = ⊥)
    (h_gram : ∀ x y : X, ⟪feature₁ x, feature₁ y⟫ = ⟪feature₂ x, feature₂ y⟫) :
    ∃ e : H₁ ≃ₗᵢ[ℝ] H₂, ∀ x : X, e (feature₁ x) = feature₂ x := by sorry

end HighDimStat.Rkhs

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