Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 4 — δ_θ is θ²-integrable, so dcov(θ) is defined

Proved
DistCov.Indep.dcov_integrable

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

distance-covarianceintegrabilityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let X\mathcal XX and Y\mathcal YY be separable metric spaces with their Borel σ\sigmaσ-fields, 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. Then the function

δθ((x,y),(x′,y′))=dμ(x,x′) dν(y,y′)\delta_\theta\big((x,y),(x',y')\big)=d_\mu(x,x')\,d_\nu(y,y')δθ​((x,y),(x′,y′))=dμ​(x,x′)dν​(y,y′)

is integrable with respect to θ2=θ×θ\theta^2=\theta\times\thetaθ2=θ×θ, so that

dcov⁡(θ)=∫δθ dθ2\operatorname{dcov}(\theta)=\int\delta_\theta\,d\theta^2dcov(θ)=∫δθ​dθ2

is a well-defined real number.

This is the sentence of p. 4 that defines distance covariance ("By Lemma 2.1 and the Cauchy–Schwarz inequality, we may define…"); it is stated as a theorem so that every later statement about dcov⁡(θ)\operatorname{dcov}(\theta)dcov(θ) is about a genuine integral.

Formalization Note Separability and the Borel σ\sigmaσ-fields are the standing assumption of Errata (i), p. 24. The marginals are the push-forwards of θ\thetaθ under the two projections.

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

open MeasureTheory

theorem dcov_integrable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] {Y : Type*} [MetricSpace Y] [MeasurableSpace Y] [BorelSpace Y] [SecondCountableTopology Y]
    (θ : Measure (X × Y)) [IsProbabilityMeasure θ]
    (hμ : FiniteFirstMoment (θ.map Prod.fst)) (hν : FiniteFirstMoment (θ.map Prod.snd)) :
    Integrable (fun pq : (X × Y) × (X × Y) =>
      dcent (θ.map Prod.fst) pq.1.1 pq.2.1 * dcent (θ.map Prod.snd) pq.1.2 pq.2.2) (θ.prod θ) := by sorry

end DistCov.Indep
Source
Lyons, Distance covariance in metric spaces, arXiv:1106.5758 (version of 19 Dec. 2020), p. 4, definition of dcov(θ) (the sentence 'By Lemma 2.1 and the Cauchy–Schwarz inequality, we may define'); 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