Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 9 — Schoenberg: a separable metric space has negative type iff it embeds in ℓ² with d = ‖ϕ − ϕ′‖²

Proved
DistCov.Indep.schoenberg_embedding

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

embeddinghilbert-spacenegative-typep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1schoenberg

Let (X,d)(\mathcal X,d)(X,d) be a separable metric space. Recall that X\mathcal XX has negative type if for all nnn, all x1,…,xn∈Xx_1,\dots,x_n\in\mathcal Xx1​,…,xn​∈X and all real α1,…,αn\alpha_1,\dots,\alpha_nα1​,…,αn​ with ∑iαi=0\sum_i\alpha_i=0∑i​αi​=0, ∑i,jαiαjd(xi,xj)≤0\sum_{i,j}\alpha_i\alpha_j d(x_i,x_j)\le0∑i,j​αi​αj​d(xi​,xj​)≤0. Then X\mathcal XX has negative type if and only if there is a map ϕ:X→ℓ2(N)\phi:\mathcal X\to\ell^2(\mathbb N)ϕ:X→ℓ2(N) such that

d(x,x′)=∥ϕ(x)−ϕ(x′)∥2for all x,x′∈X.d(x,x')=\|\phi(x)-\phi(x')\|^2\qquad\text{for all }x,x'\in\mathcal X.d(x,x′)=∥ϕ(x)−ϕ(x′)∥2for all x,x′∈X.

This is Schoenberg's theorem (1937, 1938) as quoted in the paper: negative type of ddd is exactly the existence of an isometric embedding of (X,d1/2)(\mathcal X,d^{1/2})(X,d1/2) into a Hilbert space. Such embeddings are the bridge between distance covariance and Hilbert-space geometry used throughout §3.

Formalization Note The paper's Hilbert space HHH is separable when X\mathcal XX is (p. 10, "Note that HHH is separable when X\mathcal XX is"), and every separable real Hilbert space embeds linearly and isometrically into ℓ2(N)\ell^2(\mathbb N)ℓ2(N), so the target is fixed to ℓ2(N)\ell^2(\mathbb N)ℓ2(N) (lp (fun _ : ℕ => ℝ) 2), indexed from 000. Separability is the standing assumption of Errata (i), p. 24; the direction from an embedding to (3.1) holds for any Hilbert space, so fixing the target loses nothing there.

Preamble
import Mathlib
import Definitions.Def_DistCov_Indep_Setting
Formal statement
namespace DistCov.Indep

open MeasureTheory

theorem schoenberg_embedding {X : Type*} [MetricSpace X] [SecondCountableTopology X] :
    NegType X ↔ ∃ ϕ : X → L2N, IsNegTypeEmbedding ϕ := by sorry

end DistCov.Indep
Source
Lyons, Distance covariance in metric spaces, arXiv:1106.5758 (version of 19 Dec. 2020), p. 9, last paragraph (Schoenberg's theorem) and p. 10 ('Note that H is separable when X is'); Errata (i), p. 24
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