Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3.4), p. 11, and p. 18 — D(µ₁ − µ₂) = −2‖β_ϕ(µ₁ − µ₂)‖², with β_ϕ(µ)(w, s) = µ{u ; w(u) ≤ cs}

Proved
DistCov.Hilbert.Ddiff_eq_baryDiff

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

barycenterdistance-covariancegaussiannegative-typep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ1,μ2\mu_1,\mu_2μ1​,μ2​ be Borel probability measures on ℓ2(Z+)\ell^2(\mathbb Z^+)ℓ2(Z+) with finite first moments, let ρ\rhoρ, λ\lambdaλ, ccc and w(u)w(u)w(u) be as in the Gaussian Crofton embedding, and let

F(w,s):=μ1{u ; w(u)≤cs}−μ2{u ; w(u)≤cs}(w∈R∞, s∈R),F(w,s):=\mu_1\{u\,;\,w(u)\le cs\}-\mu_2\{u\,;\,w(u)\le cs\}\qquad (w\in\mathbb R^\infty,\ s\in\mathbb R),F(w,s):=μ1​{u;w(u)≤cs}−μ2​{u;w(u)≤cs}(w∈R∞, s∈R),

which is the barycenter βϕ(μ1−μ2)\beta_\phi(\mu_1-\mu_2)βϕ​(μ1​−μ2​) of the signed measure μ1−μ2\mu_1-\mu_2μ1​−μ2​ under the embedding ϕ\phiϕ. Then F2F^2F2 is integrable with respect to ρ×λ\rho\times\lambdaρ×λ and

D(μ1−μ2)=−2∫F2 d(ρ×λ).D(\mu_1-\mu_2) = -2\int F^2\,d(\rho\times\lambda) .D(μ1​−μ2​)=−2∫F2d(ρ×λ).

This is identity (3.4), D(μ)=−2∥β(μ)∥2D(\mu)=-2\|\beta(\mu)\|^2D(μ)=−2∥β(μ)∥2 for μ(X)=0\mu(\mathscr X)=0μ(X)=0, applied to the Gaussian embedding of ℓ2(Z+)\ell^2(\mathbb Z^+)ℓ2(Z+). It reduces strong negative type of ℓ2\ell^2ℓ2 to showing that F=0F=0F=0 almost everywhere forces μ1=μ2\mu_1=\mu_2μ1​=μ2​.

Formalization Note. D(μ1−μ2)D(\mu_1-\mu_2)D(μ1​−μ2​) is the energy expansion of the Setting file, and ∥βϕ(μ1−μ2)∥L2(ρ×λ)2\|\beta_\phi(\mu_1-\mu_2)\|^2_{L^2(\rho\times\lambda)}∥βϕ​(μ1​−μ2​)∥L2(ρ×λ)2​ is written as the integral of F2F^2F2. Finite first moment means ∫∥u−o∥ dμi(u)<∞\int\|u-o\|\,d\mu_i(u)<\infty∫∥u−o∥dμi​(u)<∞ for some ooo. Indices start at 000.

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

open MeasureTheory ProbabilityTheory

theorem Ddiff_eq_baryDiff (μ₁ μ₂ : Measure DistCov.Indep.L2N) [IsProbabilityMeasure μ₁]
    [IsProbabilityMeasure μ₂] (h₁ : DistCov.Indep.FiniteFirstMoment μ₁) (h₂ : DistCov.Indep.FiniteFirstMoment μ₂) :
    Integrable (fun p => baryDiff μ₁ μ₂ p ^ 2) (rho.prod volume) ∧
    DistCov.Indep.Ddiff μ₁ μ₂ = -2 * ∫ p, baryDiff μ₁ μ₂ p ^ 2 ∂(rho.prod volume) := by sorry

end DistCov.Hilbert
Source
Lyons, Distance covariance in metric spaces, arXiv:1106.5758 (version of 19 Dec. 2020), p. 11, (3.4); p. 18, proof of Theorem 3.16, display β_ϕ(µ) : (w, s) ↦ µ{u ; w(u) ≤ cs}
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