Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.11 — on spaces of strong negative type, dcov(θ) = 0 implies θ is a product measure

Proved
DistCov.Indep.theorem_3_11

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

distance-covarianceindependencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1strong-negative-type

Let X\mathcal XX and Y\mathcal YY be separable metric spaces with their Borel σ\sigmaσ-fields, both of strong negative type, and let θ\thetaθ be a probability measure on X×Y\mathcal X\times\mathcal YX×Y whose marginals μ\muμ on X\mathcal XX and ν\nuν on Y\mathcal YY have finite first moments. If

dcov⁡(θ)=0,\operatorname{dcov}(\theta)=0,dcov(θ)=0,

then θ\thetaθ is a product measure: θ=μ×ν\theta=\mu\times\nuθ=μ×ν.

This is the key result of the theory: on spaces of strong negative type, distance covariance vanishes only under independence, which makes the distance-covariance test of independence consistent against all alternatives.

Formalization Note Strong negative type is defined from (3.1) and the condition "D(μ1−μ2)=0D(\mu_1-\mu_2)=0D(μ1​−μ2​)=0 only when μ1=μ2\mu_1=\mu_2μ1​=μ2​" (p. 11), not through an embedding. dcov⁡(θ)\operatorname{dcov}(\theta)dcov(θ) is the integral of dμ(x,x′)dν(y,y′)d_\mu(x,x')d_\nu(y,y')dμ​(x,x′)dν​(y,y′) against θ×θ\theta\times\thetaθ×θ; the finite-first-moment hypotheses on the marginals make it a genuine integral. "Product measure" means equality with the product of the two marginals of θ\thetaθ. Separability (SecondCountableTopology) and the Borel σ\sigmaσ-fields are the standing assumption added by the author in Errata (i), p. 24.

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

open MeasureTheory

theorem theorem_3_11 {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] {Y : Type*} [MetricSpace Y] [MeasurableSpace Y] [BorelSpace Y] [SecondCountableTopology Y]
    (hX : StrongNegType X) (hY : StrongNegType Y)
    (θ : Measure (X × Y)) [IsProbabilityMeasure θ]
    (hμ : FiniteFirstMoment (θ.map Prod.fst)) (hν : FiniteFirstMoment (θ.map Prod.snd))
    (h : dcov θ = 0) : IsProduct θ := by sorry

end DistCov.Indep
Source
Lyons, Distance covariance in metric spaces, arXiv:1106.5758 (version of 19 Dec. 2020), p. 16, Theorem 3.11; 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