Samplinglib
Lean gate not recorded for this source state main · 0e31a3cda412
1.3 · Book p. 19 · PDF p. 31

The Geometry of Optimal Transport

Develops couplings and Wasserstein distance as geometry on probability laws, preparing metric contraction arguments for diffusions.

Open this section in the canonical August 9 source ↗
Formal topologyOpen this section in the underlying Lean graph
Definition 1.3.16
book 26 / PDF 38 · faithful paraphrase

Statement

\[|\dot\mu_t|:=\lim_{h\to0}\frac{W_2(\mu_{t+h},\mu_t)}{|h|}\quad\text{for a.e. }t\]

Informally, a curve is absolutely continuous when its finite metric derivative exists almost everywhere.

Lean statement · IsAbsolutelyContinuousMetricCurve

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAbsolutelyContinuousMetricCurve
    {M : Type*} [PseudoMetricSpace M]
    (curve : ℝ → M) : Prop

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • a curve in Wasserstein P2ac
  • the informal metric derivative criterion

Conditions made explicit by ASTIS

  • a PseudoMetricSpace
  • a real-time curve
  • a.e. existence of HasMetricDerivativeAt

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[|\dot\mu_t|:=\lim_{h\to0}\frac{W_2(\mu_{t+h},\mu_t)}{|h|}\quad\text{for a.e. }t\]
Lean construction · IsAbsolutelyContinuousMetricCurve

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAbsolutelyContinuousMetricCurve
    {M : Type*} [PseudoMetricSpace M]
    (curve : ℝ → M) : Prop :=
  ∀ᵐ t ∂(by volume_tac : Measure ℝ),
    ∃ speed : ℝ, HasMetricDerivativeAt curve speed t

end MetricCurve
end Geometry
end TechnicalLemmas
end AutoSamplingTheory

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • IsAbsolutelyContinuousMetricCurve
Chewi source ↗
Why is this valid?

The a.e. time quantifier, punctured neighborhood, nonnegative finite speed, and real Lebesgue measure are explicit.

Source assumptions

  • a curve in Wasserstein P2ac
  • the informal metric derivative criterion

Formal assumptions

  • a PseudoMetricSpace
  • a real-time curve
  • a.e. existence of HasMetricDerivativeAt
View Lean formalization
compiled · faithful paraphrase

ASTIS formalizes exactly the source's informal criterion on a generic pseudometric space without introducing a tangent vector.

AutoSamplingTheory.TechnicalLemmas.Geometry.MetricCurve.IsAbsolutelyContinuousMetricCurve

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Geometry/MetricCurve.lean:34
def IsAbsolutelyContinuousMetricCurve
    {M : Type*} [PseudoMetricSpace M]
    (curve : ℝ → M) : Prop :=
  ∀ᵐ t ∂(by volume_tac : Measure ℝ),
    ∃ speed : ℝ, HasMetricDerivativeAt curve speed t

end MetricCurve
end Geometry
end TechnicalLemmas
end AutoSamplingTheory
Imports
  • Mathlib.MeasureTheory.Measure.Lebesgue.Basic
  • Mathlib.Topology.MetricSpace.Basic
Local dependencies

Downstream consumers

  • continuity equation
  • kinetic action
  • Wasserstein geodesics
Definition 1.3.26
book 31 / PDF 43 · faithful paraphrase

Statement

\[\mathcal F(\mu_t)\le(1-t)\mathcal F(\mu_0)+t\mathcal F(\mu_1)-\frac{\alpha}{2}t(1-t)W_2^2(\mu_0,\mu_1)\]

A functional is alpha-geodesically convex when its value along each geodesic lies below endpoint interpolation minus the alpha quadratic distance correction.

Lean statement · IsAlphaGeodesicallyConvex

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAlphaGeodesicallyConvex
    {M : Type*} [MetricSpace M]
    (isGeodesic : (ℝ → M) → Prop) (F : M → ℝ) (alpha : ℝ) : Prop

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • a Riemannian manifold
  • smooth functional
  • all geodesics

Conditions made explicit by ASTIS

  • a MetricSpace
  • an explicit geodesic predicate
  • real-valued functional

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal F(\mu_t)\le(1-t)\mathcal F(\mu_0)+t\mathcal F(\mu_1)-\frac{\alpha}{2}t(1-t)W_2^2(\mu_0,\mu_1)\]
Lean construction · IsAlphaGeodesicallyConvex

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAlphaGeodesicallyConvex
    {M : Type*} [MetricSpace M]
    (isGeodesic : (ℝ → M) → Prop) (F : M → ℝ) (alpha : ℝ) : Prop :=
  ∀ path : ℝ → M, isGeodesic path →
    ∀ t : ℝ, t ∈ Icc (0 : ℝ) 1 →
      F (path t) ≤
        (1 - t) * F (path 0) + t * F (path 1) -
          (alpha * t * (1 - t) / 2) * dist (path 0) (path 1) ^ 2

/-- The chord formulation of geodesic alpha-convexity implies its first-order
form along a differentiable selected geodesic.  The scalar
`gradientPairing` is the derivative of `F` along the path at its initial
point; identifying it with the Riemannian or Wasserstein gradient pairing is
a separate geometric theorem.

This is the one-dimensional limiting argument behind Chewi display
(1.4.7). -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • IsAlphaGeodesicallyConvex
Chewi source ↗
Why is this valid?

The ambient metric, complete path, geodesic selection, interval membership, coefficient normalization, and endpoint distance are explicit.

Source assumptions

  • a Riemannian manifold
  • smooth functional
  • all geodesics

Formal assumptions

  • a MetricSpace
  • an explicit geodesic predicate
  • real-valued functional
View Lean formalization
compiled · faithful paraphrase

ASTIS chooses the first of the source's equivalent conditions and parameterizes the predicate selecting geodesics.

AutoSamplingTheory.TechnicalLemmas.Geometry.GeodesicConvexity.IsAlphaGeodesicallyConvex

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Geometry/GeodesicConvexity.lean:23
def IsAlphaGeodesicallyConvex
    {M : Type*} [MetricSpace M]
    (isGeodesic : (ℝ → M) → Prop) (F : M → ℝ) (alpha : ℝ) : Prop :=
  ∀ path : ℝ → M, isGeodesic path →
    ∀ t : ℝ, t ∈ Icc (0 : ℝ) 1 →
      F (path t) ≤
        (1 - t) * F (path 0) + t * F (path 1) -
          (alpha * t * (1 - t) / 2) * dist (path 0) (path 1) ^ 2

/-- The chord formulation of geodesic alpha-convexity implies its first-order
form along a differentiable selected geodesic.  The scalar
`gradientPairing` is the derivative of `F` along the path at its initial
point; identifying it with the Riemannian or Wasserstein gradient pairing is
a separate geometric theorem.

This is the one-dimensional limiting argument behind Chewi display
(1.4.7). -/
Imports
  • Mathlib.Analysis.Calculus.Deriv.Slope
  • Mathlib.Topology.MetricSpace.Basic
Local dependencies

Downstream consumers

  • Wasserstein KL convexity
  • gradient-flow convergence
Definition 1.3.6
book 21 / PDF 33 · faithful paraphrase

Statement

\[\mathcal D_c(\mu,\nu):=\sup_{f(x)+g(y)\le c(x,y)}\left\{\int f\,d\mu+\int g\,d\nu\right\}\]

The dual optimal transport value is the supremum of the two potential integrals over feasible integrable potential pairs.

Lean statement · dualTransportValue

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def dualTransportValue
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) : ℝ

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • finite-second-moment probability marginals
  • quadratic cost

Conditions made explicit by ASTIS

  • measurable spaces and measures
  • integrable real potentials
  • product-a.e. dual constraint

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal D_c(\mu,\nu):=\sup_{f(x)+g(y)\le c(x,y)}\left\{\int f\,d\mu+\int g\,d\nu\right\}\]
Lean construction · dualTransportValue

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def dualTransportValue
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) : ℝ :=
  sSup {r : ℝ | ∃ (f : E → ℝ) (g : F → ℝ),
    DualFeasible cost mu nu f g ∧
      r = (∫ x, f x ∂mu) + ∫ y, g y ∂nu}

/-- Chewi display (1.3.7): source-facing expansion of the dual value. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • dualTransportValue
Chewi source ↗
Why is this valid?

The generic real-cost definition does not silently assume strong duality, boundedness, or attainment.

Source assumptions

  • finite-second-moment probability marginals
  • quadratic cost

Formal assumptions

  • measurable spaces and measures
  • integrable real potentials
  • product-a.e. dual constraint
View Lean formalization
compiled · faithful paraphrase

ASTIS keeps both integrability requirements and the product-measure a.e. constraint in the feasible predicate.

AutoSamplingTheory.TechnicalLemmas.Measure.KantorovichDual.dualTransportValue

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/KantorovichDual.lean:32
noncomputable def dualTransportValue
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) : ℝ :=
  sSup {r : ℝ | ∃ (f : E → ℝ) (g : F → ℝ),
    DualFeasible cost mu nu f g ∧
      r = (∫ x, f x ∂mu) + ∫ y, g y ∂nu}

/-- Chewi display (1.3.7): source-facing expansion of the dual value. -/
Imports
  • Mathlib.MeasureTheory.Integral.Bochner.Basic
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

Downstream consumers

  • Kantorovich strong duality
  • optimal maps
Displayed identity (1.3.7)
book 21 / PDF 33 · faithful paraphrase

Statement

\[\mathcal D_c(\mu,\nu)=\sup\left\{\int f\,d\mu+\int g\,d\nu:\ f\oplus g\le c\right\}\]

The dual value is the supremum of integral f dmu plus integral g dnu over dual-feasible potentials.

Lean statement · dualTransportValue_eq_sSup

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem dualTransportValue_eq_sSup
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) :
    dualTransportValue cost mu nu =
      sSup {r : ℝ | ∃ (f : E → ℝ) (g : F → ℝ),
        DualFeasible cost mu nu f g ∧
          r = (∫ x, f x ∂mu) + ∫ y, g y ∂nu}

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • Definition 1.3.6

Conditions made explicit by ASTIS

  • dualTransportValue and DualFeasible

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal D_c(\mu,\nu)=\sup\left\{\int f\,d\mu+\int g\,d\nu:\ f\oplus g\le c\right\}\]
Lean proof · dualTransportValue_eq_sSup

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem dualTransportValue_eq_sSup
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) :
    dualTransportValue cost mu nu =
      sSup {r : ℝ | ∃ (f : E → ℝ) (g : F → ℝ),
        DualFeasible cost mu nu f g ∧
          r = (∫ x, f x ∂mu) + ∫ y, g y ∂nu} :=
  rfl

end KantorovichDual
end Measure
end TechnicalLemmas
end AutoSamplingTheory

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • dualTransportValue_eq_sSup
Chewi source ↗
Why is this valid?

Only the dual value is expanded; equality to one half W2 squared is not claimed here.

Source assumptions

  • Definition 1.3.6

Formal assumptions

  • dualTransportValue and DualFeasible
View Lean formalization
compiled · faithful paraphrase

The source display is a proved definitional expansion rather than an assumed primal-dual theorem.

AutoSamplingTheory.TechnicalLemmas.Measure.KantorovichDual.dualTransportValue_eq_sSup

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/KantorovichDual.lean:40
theorem dualTransportValue_eq_sSup
    {E F : Type*} [MeasurableSpace E] [MeasurableSpace F]
    (cost : E × F → ℝ) (mu : Measure E) (nu : Measure F) :
    dualTransportValue cost mu nu =
      sSup {r : ℝ | ∃ (f : E → ℝ) (g : F → ℝ),
        DualFeasible cost mu nu f g ∧
          r = (∫ x, f x ∂mu) + ∫ y, g y ∂nu} :=
  rfl

end KantorovichDual
end Measure
end TechnicalLemmas
end AutoSamplingTheory
Imports
  • Mathlib.MeasureTheory.Integral.Bochner.Basic
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

Downstream consumers

  • weak duality
  • strong duality
Definition 1.3.4
book 20 / PDF 32 · faithful paraphrase

Statement

\[W_2(\mu,\nu):=\left(\inf_{\gamma\in\Pi(\mu,\nu)}\int\|x-y\|^2\,d\gamma(x,y)\right)^{1/2}\]

The 2-Wasserstein distance is the positive square root of the optimal quadratic coupling cost.

Lean statement · wassersteinDistance

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def wassersteinDistance
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) : ℝ≥0∞

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • probability measures on Euclidean space
  • quadratic transport cost

Conditions made explicit by ASTIS

  • measurable normed additive state space
  • compiled Kantorovich transportCost

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[W_2(\mu,\nu):=\left(\inf_{\gamma\in\Pi(\mu,\nu)}\int\|x-y\|^2\,d\gamma(x,y)\right)^{1/2}\]
Lean construction · wassersteinDistance

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def wassersteinDistance
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) : ℝ≥0∞ :=
  (Transport.transportCost (quadraticCost (E := E)) μ ν) ^ (1 / 2 : ℝ)

/-- Chewi display (1.3.5): the square of `W₂` is the infimum of the
quadratic costs over all couplings. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • wassersteinDistance
Chewi source ↗
Why is this valid?

The state space is a measurable real normed additive group, the cost is ENNReal.ofReal of squared norm, and infinite values remain representable.

Source assumptions

  • probability measures on Euclidean space
  • quadratic transport cost

Formal assumptions

  • measurable normed additive state space
  • compiled Kantorovich transportCost
View Lean formalization
compiled · faithful paraphrase

ASTIS specializes the compiled Kantorovich value to an ENNReal squared-norm cost and takes its positive ENNReal rpow one half.

AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinSpace.wassersteinDistance

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/WassersteinSpace.lean:29
noncomputable def wassersteinDistance
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) : ℝ≥0∞ :=
  (Transport.transportCost (quadraticCost (E := E)) μ ν) ^ (1 / 2 : ℝ)

/-- Chewi display (1.3.5): the square of `W₂` is the infimum of the
quadratic costs over all couplings. -/
Imports
  • AutoSamplingTheory.TechnicalLemmas.Measure.Transport
  • Mathlib.Analysis.SpecialFunctions.Pow.NNReal
  • Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace
  • Mathlib.MeasureTheory.Integral.Bochner.Basic
Local dependencies

Downstream consumers

  • Wasserstein metric
  • geodesics
  • Langevin coupling
Displayed identity (1.3.5)
book 20 / PDF 32 · faithful paraphrase

Statement

\[W_2^2(\mu,\nu)=\inf_{\gamma\in\Pi(\mu,\nu)}\int\|x-y\|^2\,d\gamma(x,y)\]

The square of W2 equals the infimum of integrated squared distance over all couplings.

Lean statement · wassersteinDistance_sq

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem wassersteinDistance_sq
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) :
    wassersteinDistance μ ν ^ 2 =
      Transport.transportCost (quadraticCost (E := E)) μ ν

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • the W2 and quadratic cost of Definition 1.3.4

Conditions made explicit by ASTIS

  • ENNReal rpow algebra

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[W_2^2(\mu,\nu)=\inf_{\gamma\in\Pi(\mu,\nu)}\int\|x-y\|^2\,d\gamma(x,y)\]
Lean proof · wassersteinDistance_sq

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem wassersteinDistance_sq
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) :
    wassersteinDistance μ ν ^ 2 =
      Transport.transportCost (quadraticCost (E := E)) μ ν := by
  rw [wassersteinDistance, ← ENNReal.rpow_two, ← ENNReal.rpow_mul]
  norm_num

/-- Every concrete coupling bounds the squared Wasserstein distance from
above by its quadratic transport cost.

This is the source-facing bridge used before proving optimal-plan existence or
constant-speed displacement geodesics. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • wassersteinDistance_sq
Chewi source ↗
Why is this valid?

The theorem remains valid at infinite transport cost and does not require an optimal coupling witness.

Source assumptions

  • the W2 and quadratic cost of Definition 1.3.4

Formal assumptions

  • ENNReal rpow algebra
View Lean formalization
compiled · faithful paraphrase

The equality is proved by ENNReal rpow multiplication, not stored as an axiom.

AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinSpace.wassersteinDistance_sq

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/WassersteinSpace.lean:36
theorem wassersteinDistance_sq
    {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E]
    (μ ν : Measure E) :
    wassersteinDistance μ ν ^ 2 =
      Transport.transportCost (quadraticCost (E := E)) μ ν := by
  rw [wassersteinDistance, ← ENNReal.rpow_two, ← ENNReal.rpow_mul]
  norm_num

/-- Every concrete coupling bounds the squared Wasserstein distance from
above by its quadratic transport cost.

This is the source-facing bridge used before proving optimal-plan existence or
constant-speed displacement geodesics. -/
Imports
  • AutoSamplingTheory.TechnicalLemmas.Measure.Transport
  • Mathlib.Analysis.SpecialFunctions.Pow.NNReal
  • Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace
  • Mathlib.MeasureTheory.Integral.Bochner.Basic
Local dependencies

Downstream consumers

  • Wasserstein estimates
  • metric-space route
Definition 1.3.12
book 25 / PDF 37 · faithful paraphrase

Statement

\[\mathcal P_{2,\mathrm{ac}}(\mathbb R^d):=\left\{\mu\ll dx:\int_{\mathbb R^d}\|x\|^2\,d\mu(x)<\infty\right\}\]

P2,ac consists of Euclidean probability laws with finite second moment that are absolutely continuous with respect to Lebesgue measure.

Lean statement · IsAbsolutelyContinuousFiniteSecondMoment

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAbsolutelyContinuousFiniteSecondMoment
    {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    (μ : Measure E) : Prop

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • a probability measure on Euclidean space
  • finite second moment
  • absolute continuity with respect to Lebesgue measure

Conditions made explicit by ASTIS

  • finite-dimensional real inner-product space
  • Borel measurable structure
  • IsProbabilityMeasure, absolute continuity, and Integrable squared norm

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal P_{2,\mathrm{ac}}(\mathbb R^d):=\left\{\mu\ll dx:\int_{\mathbb R^d}\|x\|^2\,d\mu(x)<\infty\right\}\]
Lean construction · IsAbsolutelyContinuousFiniteSecondMoment

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsAbsolutelyContinuousFiniteSecondMoment
    {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    (μ : Measure E) : Prop :=
  IsProbabilityMeasure μ ∧
    μ ≪ (volume : Measure E) ∧
    Integrable (fun x : E => ‖x‖ ^ 2) μ

/-- Expansion of the three conditions in the `P₂,ac` definition. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • IsAbsolutelyContinuousFiniteSecondMoment
Chewi source ↗
Why is this valid?

The ambient space is a finite-dimensional real inner-product Borel space, so Mathlib volume represents Lebesgue measure and the real squared norm defines the second moment.

Source assumptions

  • a probability measure on Euclidean space
  • finite second moment
  • absolute continuity with respect to Lebesgue measure

Formal assumptions

  • finite-dimensional real inner-product space
  • Borel measurable structure
  • IsProbabilityMeasure, absolute continuity, and Integrable squared norm
View Lean formalization
compiled · faithful paraphrase

ASTIS packages the three measure-theoretic conditions without importing any optimal-map or Wasserstein metric conclusion.

AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinSpace.IsAbsolutelyContinuousFiniteSecondMoment

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/WassersteinSpace.lean:113
def IsAbsolutelyContinuousFiniteSecondMoment
    {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
    (μ : Measure E) : Prop :=
  IsProbabilityMeasure μ ∧
    μ ≪ (volume : Measure E) ∧
    Integrable (fun x : E => ‖x‖ ^ 2) μ

/-- Expansion of the three conditions in the `P₂,ac` definition. -/
Imports
  • AutoSamplingTheory.TechnicalLemmas.Measure.Transport
  • Mathlib.Analysis.SpecialFunctions.Pow.NNReal
  • Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace
  • Mathlib.MeasureTheory.Integral.Bochner.Basic
Local dependencies

Downstream consumers

  • Brenier optimal maps
  • Wasserstein tangent-space calculus
  • Langevin gradient-flow route
Definition 1.3.25
book 30 / PDF 42 · faithful paraphrase

Statement

\[\mu_t:=((1-t)x+ty)_\#\gamma^*,\qquad \gamma^*\in\operatorname*{argmin}_{\gamma\in\Pi(\mu_0,\mu_1)}\int\|x-y\|^2\,d\gamma\]

The Wasserstein geodesic between two P2,ac laws is the law of the affine interpolation of an optimally coupled endpoint pair; it is also called displacement or McCann interpolation.

Lean statement · IsWassersteinGeodesic

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsWassersteinGeodesic
    (μ₀ μ₁ : Measure E) (curve : ℝ → Measure E) : Prop

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • two P2,ac probability laws
  • an optimally coupled endpoint pair

Conditions made explicit by ASTIS

  • a finite-dimensional real inner-product Borel space
  • P2,ac endpoint predicates
  • a coupling attaining the quadratic transport cost
  • the affine pushforward identity on [0,1]

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mu_t:=((1-t)x+ty)_\#\gamma^*,\qquad \gamma^*\in\operatorname*{argmin}_{\gamma\in\Pi(\mu_0,\mu_1)}\int\|x-y\|^2\,d\gamma\]
Lean construction · IsWassersteinGeodesic

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

def IsWassersteinGeodesic
    (μ₀ μ₁ : Measure E) (curve : ℝ → Measure E) : Prop :=
  WassersteinSpace.IsAbsolutelyContinuousFiniteSecondMoment μ₀ ∧
    WassersteinSpace.IsAbsolutelyContinuousFiniteSecondMoment μ₁ ∧
    ∃ γ : Measure (E × E),
      IsQuadraticOptimalCoupling γ μ₀ μ₁ ∧
      ∀ t ∈ Icc (0 : ℝ) 1,
        curve t = displacementInterpolation γ t

/-- An optimal coupling and two `P₂,ac` endpoints generate the source
displacement-interpolation predicate. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • IsWassersteinGeodesic
Chewi source ↗
Why is this valid?

Both endpoints satisfy the compiled P2,ac predicate. The coupling has the requested marginals and attains the quadratic Kantorovich infimum. The curve agrees with its measurable affine pushforward throughout [0,1].

Source assumptions

  • two P2,ac probability laws
  • an optimally coupled endpoint pair

Formal assumptions

  • a finite-dimensional real inner-product Borel space
  • P2,ac endpoint predicates
  • a coupling attaining the quadratic transport cost
  • the affine pushforward identity on [0,1]
View Lean formalization
compiled · faithful paraphrase

ASTIS represents the joint endpoint law directly as a coupling measure, avoiding an unnecessary auxiliary probability space while preserving the exact law construction.

AutoSamplingTheory.TechnicalLemmas.Measure.DisplacementInterpolation.IsWassersteinGeodesic

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/DisplacementInterpolation.lean:57
def IsWassersteinGeodesic
    (μ₀ μ₁ : Measure E) (curve : ℝ → Measure E) : Prop :=
  WassersteinSpace.IsAbsolutelyContinuousFiniteSecondMoment μ₀ ∧
    WassersteinSpace.IsAbsolutelyContinuousFiniteSecondMoment μ₁ ∧
    ∃ γ : Measure (E × E),
      IsQuadraticOptimalCoupling γ μ₀ μ₁ ∧
      ∀ t ∈ Icc (0 : ℝ) 1,
        curve t = displacementInterpolation γ t

/-- An optimal coupling and two `P₂,ac` endpoints generate the source
displacement-interpolation predicate. -/
Imports
  • AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinSpace
Local dependencies

Downstream consumers

  • geodesic convexity
  • Wasserstein gradient flows
  • McCann interpolation arguments
Definition 1.3.1
book 20 / PDF 32 · faithful paraphrase

Statement

\[\mathcal T_c(\mu,\nu):=\inf_{\gamma\in\Pi(\mu,\nu)}\int c(x,y)\,d\gamma(x,y)\]

The Kantorovich transport cost is the infimum of expected cost over all joint probability laws with the prescribed marginals.

Lean statement · transportCost

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def transportCost {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) : ℝ≥0∞

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • probability measures on complete separable metric spaces
  • an extended nonnegative transport cost

Conditions made explicit by ASTIS

  • measurable state spaces
  • an ENNReal-valued cost
  • the exact coupling marginal predicate

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal T_c(\mu,\nu):=\inf_{\gamma\in\Pi(\mu,\nu)}\int c(x,y)\,d\gamma(x,y)\]
Lean construction · transportCost

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

noncomputable def transportCost {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) : ℝ≥0∞ :=
  sInf {r : ℝ≥0∞ | ∃ γ ∈ couplingSet μ ν, r = ∫⁻ z, c z ∂γ}

/-- Source-facing expansion of the Kantorovich value in display (1.3.2). -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • transportCost
Chewi source ↗
Why is this valid?

The two state spaces are measurable, the cost is ENNReal-valued, and the feasible measures have exactly the requested marginals. Probability normalization follows from probability marginals.

Source assumptions

  • probability measures on complete separable metric spaces
  • an extended nonnegative transport cost

Formal assumptions

  • measurable state spaces
  • an ENNReal-valued cost
  • the exact coupling marginal predicate
View Lean formalization
compiled · faithful paraphrase

ASTIS defines the coupling feasible set and its ENNReal infimum directly; lower semicontinuity is reserved for the later minimizer-existence theorem.

AutoSamplingTheory.TechnicalLemmas.Measure.Transport.transportCost

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/Transport.lean:36
noncomputable def transportCost {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) : ℝ≥0∞ :=
  sInf {r : ℝ≥0∞ | ∃ γ ∈ couplingSet μ ν, r = ∫⁻ z, c z ∂γ}

/-- Source-facing expansion of the Kantorovich value in display (1.3.2). -/
Imports
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

Downstream consumers

  • optimal-plan existence
  • 2-Wasserstein distance
  • Kantorovich duality
Displayed identity (1.3.2)
book 20 / PDF 32 · faithful paraphrase

Statement

\[\mathcal T_c(\mu,\nu)=\inf_{\gamma\in\Pi(\mu,\nu)}\int_{X\times Y}c(x,y)\,d\gamma(x,y)\]

The transport value expands as the infimum of the coupling lintegrals of the cost.

Lean statement · transportCost_eq_sInf

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem transportCost_eq_sInf
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) :
    transportCost c μ ν =
      sInf {r : ℝ≥0∞ | ∃ γ ∈ couplingSet μ ν, r = ∫⁻ z, c z ∂γ}

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • the Kantorovich feasible set and cost of Definition 1.3.1

Conditions made explicit by ASTIS

  • the compiled transportCost and couplingSet definitions

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\mathcal T_c(\mu,\nu)=\inf_{\gamma\in\Pi(\mu,\nu)}\int_{X\times Y}c(x,y)\,d\gamma(x,y)\]
Lean proof · transportCost_eq_sInf

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem transportCost_eq_sInf
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) :
    transportCost c μ ν =
      sInf {r : ℝ≥0∞ | ∃ γ ∈ couplingSet μ ν, r = ∫⁻ z, c z ∂γ} :=
  rfl

/-- Every feasible coupling gives an upper bound on the Kantorovich optimum.

This is the basic `sInf <= candidate` edge used repeatedly when a concrete
coupling is constructed (for example from a displacement interpolation or a
Markovian coupling).  It does not require existence of an optimizer. -/

Exact module and namespace context

Source mapping and supporting declarations

Final declaration

Underlying proof leaves

  • transportCost_eq_sInf
Chewi source ↗
Why is this valid?

The equality uses an ENNReal sInf and an ENNReal lintegral over the exact coupling set.

Source assumptions

  • the Kantorovich feasible set and cost of Definition 1.3.1

Formal assumptions

  • the compiled transportCost and couplingSet definitions
View Lean formalization
compiled · faithful paraphrase

The source-facing theorem unfolds the ASTIS definition without claiming that the infimum is attained.

AutoSamplingTheory.TechnicalLemmas.Measure.Transport.transportCost_eq_sInf

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/Transport.lean:41
theorem transportCost_eq_sInf
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (c : α × β → ℝ≥0∞) (μ : Measure α) (ν : Measure β) :
    transportCost c μ ν =
      sInf {r : ℝ≥0∞ | ∃ γ ∈ couplingSet μ ν, r = ∫⁻ z, c z ∂γ} :=
  rfl

/-- Every feasible coupling gives an upper bound on the Kantorovich optimum.

This is the basic `sInf <= candidate` edge used repeatedly when a concrete
coupling is constructed (for example from a displacement interpolation or a
Markovian coupling).  It does not require existence of an optimizer. -/
Imports
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

Downstream consumers

  • optimal transport comparison arguments
  • Wasserstein cost specialization
Supporting coupling interface
book 20 / PDF 32 · faithful paraphrase

Statement

\[\Gamma(\mu,\nu)=\{\gamma\in\mathcal P(X\times Y):(\mathrm{proj}_X)_\#\gamma=\mu,\ (\mathrm{proj}_Y)_\#\gamma=\nu\},\qquad \mu\otimes\nu\in\Gamma(\mu,\nu).\]

A coupling is a joint probability law with two prescribed marginals.

Lean statement · isProbabilityMeasure_of_isCoupling_left

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem isProbabilityMeasure_of_isCoupling_left
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    {γ : Measure (α × β)} {μ : Measure α} {ν : Measure β}
    [IsProbabilityMeasure μ] (hγ : IsCoupling γ μ ν) :
    IsProbabilityMeasure γ

Exact module and namespace context

Lean statement · isCoupling_prod

Compare this exact declaration with the source statement and explicit hypotheses on this card. A formal premise is not proved merely because Lean accepts a conditional theorem.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem isCoupling_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (μ : Measure α) (ν : Measure β) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :
    IsCoupling (μ.prod ν) μ ν

Exact module and namespace context

Assumptions and implicit prerequisites

Source-level assumptions

  • probability measures on the two state spaces

Conditions made explicit by ASTIS

  • measurable spaces
  • probability-measure instances for both marginals

ASTIS rigorous LaTeX formalization

This packet records the strict ASTIS statement. No additional proof is attributed to the source.

\[\Gamma(\mu,\nu)=\{\gamma\in\mathcal P(X\times Y):(\mathrm{proj}_X)_\#\gamma=\mu,\ (\mathrm{proj}_Y)_\#\gamma=\nu\},\qquad \mu\otimes\nu\in\Gamma(\mu,\nu).\]
Lean proof · isProbabilityMeasure_of_isCoupling_left

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem isProbabilityMeasure_of_isCoupling_left
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    {γ : Measure (α × β)} {μ : Measure α} {ν : Measure β}
    [IsProbabilityMeasure μ] (hγ : IsCoupling γ μ ν) :
    IsProbabilityMeasure γ := by
  constructor
  rw [← Measure.fst_univ, hγ.1, measure_univ]

/-- The independent product measure is a coupling of two probability measures.
This supplies the canonical nonemptiness witness for the Kantorovich feasible
set in Chewi, Definition 1.3.1. -/

Exact module and namespace context

Lean proof · isCoupling_prod

This is the complete declaration source underlying this mathematical step. Follow the named parent results, distinguishing the hypotheses supplied to the theorem from conclusions actually derived. Source correspondence and compilation are separate statuses.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem isCoupling_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (μ : Measure α) (ν : Measure β) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :
    IsCoupling (μ.prod ν) μ ν := by
  constructor <;> simp

/-- The feasible set in the Kantorovich problem is nonempty for probability
marginals. -/

Exact module and namespace context

Source mapping and supporting declarations
Chewi source ↗
Why is this valid?

The source works with probability measures on complete separable metric spaces. The coupling contract itself is measure-theoretic; topology and cost measurability enter only when defining and minimizing the transport objective.

Source assumptions

  • probability measures on the two state spaces

Formal assumptions

  • measurable spaces
  • probability-measure instances for both marginals
View Lean formalization
partial · faithful paraphrase

Samplinglib isolates the marginal contract from transport costs and proves the independent-product witness using Mathlib's product-measure marginal identities.

AutoSamplingTheory.TechnicalLemmas.Measure.Transport.isProbabilityMeasure_of_isCoupling_left

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/Transport.lean:81
theorem isProbabilityMeasure_of_isCoupling_left
    {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    {γ : Measure (α × β)} {μ : Measure α} {ν : Measure β}
    [IsProbabilityMeasure μ] (hγ : IsCoupling γ μ ν) :
    IsProbabilityMeasure γ := by
  constructor
  rw [← Measure.fst_univ, hγ.1, measure_univ]

/-- The independent product measure is a coupling of two probability measures.
This supplies the canonical nonemptiness witness for the Kantorovich feasible
set in Chewi, Definition 1.3.1. -/
Imports
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

AutoSamplingTheory.TechnicalLemmas.Measure.Transport.isCoupling_prod

compiled Samplinglib leaf · AutoSamplingTheory/TechnicalLemmas/Measure/Transport.lean:92
theorem isCoupling_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
    (μ : Measure α) (ν : Measure β) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :
    IsCoupling (μ.prod ν) μ ν := by
  constructor <;> simp

/-- The feasible set in the Kantorovich problem is nonempty for probability
marginals. -/
Imports
  • Mathlib.MeasureTheory.Measure.Prod
Local dependencies

Downstream consumers

  • optimal transport cost
  • Wasserstein distance
  • synchronous Langevin coupling
  • LMC coupling analysis