Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 — dual Kantorovich problem

Proved
WassersteinDRO.Duality.dual_kantorovich_problem

by mikedeng1 · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

dualityoptimal-transportoptimizationprobability

For any p∈[1,∞)p \in [1,\infty)p∈[1,∞), the ppp-th power of the type-ppp Wasserstein distance between two Borel probability measures Q,Q′Q, Q'Q,Q′ on EEE admits the dual representation

Wpp(Q,Q′)=sup⁡{∫Eψ dQ′−∫Eφ dQ  :  φ,ψ bounded continuous on E, ψ(ξ)−φ(ξ′)≤∥ξ−ξ′∥p ∀ξ,ξ′}.W_p^p(Q,Q') = \sup\left\{\int_E \psi\,dQ' - \int_E \varphi\,dQ \;:\; \varphi,\psi \text{ bounded continuous on } E,\ \psi(\xi)-\varphi(\xi') \le \|\xi-\xi'\|^p\ \forall \xi,\xi' \right\}.Wpp​(Q,Q′)=sup{∫E​ψdQ′−∫E​φdQ:φ,ψ bounded continuous on E, ψ(ξ)−φ(ξ′)≤∥ξ−ξ′∥p ∀ξ,ξ′}.

Both sides are compared in the extended reals so that the equality holds as a genuine least upper bound even when no finite real bound attains it. The paper proves this by citing Villani, Optimal Transport: Old and New, [108, §5], not with its own argument.

Preamble
import Mathlib
import Definitions.Def_WassersteinDRO_Duality_wassersteinDistance

open MeasureTheory
Formal statement
namespace WassersteinDRO.Duality

/-- Theorem 1 (Dual Kantorovich problem), Kuhn et al. 2019, p. 4 (citing Villani,
*Optimal Transport: Old and New*, [108, § 5]): for any `p ∈ [1,∞)`, the `p`-th power of the
type-`p` Wasserstein distance between `Q` and `Q'` admits the dual representation
`Wp^p(Q,Q') = sup {∫ψ dQ' - ∫φ dQ : φ,ψ bounded continuous, ψ(ξ)-φ(ξ') ≤ ‖ξ-ξ'‖^p ∀ξ,ξ'}`.
Both sides are cast to `EReal` so the equality holds as a genuine supremum even when it is
not attained by a finite real bound, avoiding any junk value from Mathlib's real `sSup`. -/
theorem dual_kantorovich_problem {E : Type*} [MeasurableSpace E] [NormedAddCommGroup E]
    [NormedSpace ℝ E] [BorelSpace E] [SecondCountableTopology E]
    (p : ℝ) (hp : 1 ≤ p) (Q Q' : Measure E)
    [IsProbabilityMeasure Q] [IsProbabilityMeasure Q'] :
    ((wassersteinDistance p Q Q' ^ p : ENNReal) : EReal) =
      ⨆ (φ : BoundedContinuousFunction E ℝ) (ψ : BoundedContinuousFunction E ℝ)
          (_ : ∀ x y : E, ψ x - φ y ≤ ‖x - y‖ ^ p),
        ((∫ x, ψ x ∂Q' - ∫ x, φ x ∂Q : ℝ) : EReal) := by sorry

end WassersteinDRO.Duality
Source
Kuhn et al. 2019, Theorem 1, p. 4, citing Villani, Optimal Transport: Old and New, [108, § 5]
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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