Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 — strong duality for Sinkhorn DRO: feasibility iff ρˉ≥0\bar\rho\ge0ρˉ​≥0, V=VDV=V_DV=VD​, finiteness, and when λ∗=0\lambda^*=0λ∗=0

Disproved
SinkhornDRO.Duality.theorem_1

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

distributionally-robust-optimizationdualityentropic-regularizationoptimal-transportp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Z\mathcal ZZ be a measurable space, P^\widehat{\mathbb P}P a probability measure and ν≠0\nu\ne0ν=0 a σ-finite measure on Z\mathcal ZZ, c:Z×Z→[0,∞]c:\mathcal Z\times\mathcal Z\to[0,\infty]c:Z×Z→[0,∞] a transport cost, ϵ>0\epsilon>0ϵ>0, ρ∈R\rho\in\mathbb Rρ∈R, and f:Z→R∪{∞}f:\mathcal Z\to\mathbb R\cup\{\infty\}f:Z→R∪{∞} a loss. Assume Assumption 1 and that x↦log⁡Ez∼ν[e−c(x,z)/ϵ]x\mapsto\log\mathbb E_{z\sim\nu}[e^{-c(x,z)/\epsilon}]x↦logEz∼ν​[e−c(x,z)/ϵ] is P^\widehat{\mathbb P}P-integrable, so that

ρˉ=ρ+ϵ Ex∼P^[log⁡Ez∼ν[e−c(x,z)/ϵ]]∈R.\bar\rho=\rho+\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}\Big[\log\mathbb E_{z\sim\nu}\big[e^{-c(x,z)/\epsilon}\big]\Big]\in\mathbb R.ρˉ​=ρ+ϵEx∼P​[logEz∼ν​[e−c(x,z)/ϵ]]∈R.

Let V=sup⁡{EP[f]:Wϵ(P^,P)≤ρ}V=\sup\{\mathbb E_{\mathbb P}[f]:\mathcal W_\epsilon(\widehat{\mathbb P},\mathbb P)\le\rho\}V=sup{EP​[f]:Wϵ​(P,P)≤ρ} be the worst-case expected loss over the Sinkhorn ball and

VD=inf⁡λ≥0{λρˉ+λϵ Ex∼P^[log⁡Ez∼Qx,ϵ[ef(z)/(λϵ)]]}V_D=\inf_{\lambda\ge0}\Big\{\lambda\bar\rho+\lambda\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}\Big[\log\mathbb E_{z\sim\mathbb Q_{x,\epsilon}}\big[e^{f(z)/(\lambda\epsilon)}\big]\Big]\Big\}VD​=λ≥0inf​{λρˉ​+λϵEx∼P​[logEz∼Qx,ϵ​​[ef(z)/(λϵ)]]}

the dual value (objective ess sup⁡νf\operatorname{ess\,sup}_\nu fesssupν​f at λ=0\lambda=0λ=0). Then:

  1. (Primal) is feasible if and only if ρˉ≥0\bar\rho\ge0ρˉ​≥0.
  2. Whenever ρˉ≥0\bar\rho\ge0ρˉ​≥0, V=VDV=V_DV=VD​.
  3. Suppose ρˉ>0\bar\rho>0ρˉ​>0. If the dual objective is finite at some λ>0\lambda>0λ>0, then V=VD<∞V=V_D<\inftyV=VD​<∞; otherwise V=VD=∞V=V_D=\inftyV=VD​=∞.
  4. Suppose ρˉ>0\bar\rho>0ρˉ​>0 and Condition 1 holds, and let A={z:f(z)=ess sup⁡νf}A=\{z:f(z)=\operatorname{ess\,sup}_\nu f\}A={z:f(z)=esssupν​f}. The dual minimizer is λ∗=0\lambda^*=0λ∗=0 if and only if ess sup⁡νf<∞\operatorname{ess\,sup}_\nu f<\inftyesssupν​f<∞ and ρˉ≥ϵ Ex∼P^[log⁡(1/Qx,ϵ(A))]\bar\rho\ge\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}\big[\log\big(1/\mathbb Q_{x,\epsilon}(A)\big)\big]ρˉ​≥ϵEx∼P​[log(1/Qx,ϵ​(A))].

The theorem turns the infinite-dimensional worst-case problem over a Sinkhorn ball into a one-dimensional convex minimization over λ≥0\lambda\ge0λ≥0, and identifies when the ball constraint is binding.

Formalization Note Item 3 corrects the paper. The paper states it with Condition 1 (EQx,ϵ[ef/(λϵ)]<∞\mathbb E_{\mathbb Q_{x,\epsilon}}[e^{f/(\lambda\epsilon)}]<\inftyEQx,ϵ​​[ef/(λϵ)]<∞ for P^\widehat{\mathbb P}P-a.e. xxx), but that condition does not make VDV_DVD​ finite. Example: Z=N\mathcal Z=\mathbb NZ=N with counting ν\nuν, ϵ=1\epsilon=1ϵ=1, P^{x}∝x−2\widehat{\mathbb P}\{x\}\propto x^{-2}P{x}∝x−2 (x≥1x\ge1x≥1), f(z)=z2f(z)=z^2f(z)=z2, c(x,z)=∣z−x∣(1+ez2)c(x,z)=|z-x|(1+e^{z^2})c(x,z)=∣z−x∣(1+ez2). Every inner expectation is finite but Ex∼P^[log⁡EQx,1ef/λ]=∞\mathbb E_{x\sim\widehat{\mathbb P}}[\log\mathbb E_{\mathbb Q_{x,1}}e^{f/\lambda}]=\inftyEx∼P​[logEQx,1​​ef/λ]=∞ for all λ\lambdaλ, so V=VD=∞V=V_D=\inftyV=VD​=∞. Item 3 is therefore stated with the integrated form of Condition 1 (a finite dual objective at some λ>0\lambda>0λ>0); its "otherwise" branch contains the paper's case where Condition 1 fails. In item 4, "λ∗=0\lambda^*=0λ∗=0" means that 000 is the unique minimizer of the dual objective over [0,∞)[0,\infty)[0,∞), and log⁡(1/Qx,ϵ(A))=+∞\log(1/\mathbb Q_{x,\epsilon}(A))=+\inftylog(1/Qx,ϵ​(A))=+∞ when Qx,ϵ(A)=0\mathbb Q_{x,\epsilon}(A)=0Qx,ϵ​(A)=0. Added hypotheses: ν\nuν σ-finite and nonzero, ϵ>0\epsilon>0ϵ>0, and the integrability that makes ρˉ\bar\rhoρˉ​ real. All values are extended reals, and expectations are the published extended expectation DupacovaWets.Consistency.expect (∞−∞=+∞\infty-\infty=+\infty∞−∞=+∞).

Preamble
import Mathlib
import Definitions.Def_DupacovaWets_Consistency_expect
import Definitions.Def_SinkhornDRO_Duality_SinkhornDistance
import Definitions.Def_SinkhornDRO_Duality_Dual

open MeasureTheory ProbabilityTheory
open scoped ENNReal
open DupacovaWets.Consistency (expect)
Formal statement
namespace SinkhornDRO.Duality

/-- Theorem 1 (strong duality), Wang, Gao, Xie, *Sinkhorn Distributionally Robust Optimization*,
arXiv:2109.11926v5, p. 7. Let `P̂` be a probability measure and assume Assumption 1. Then
(I) (Primal) is feasible if and only if `ρ̄ ≥ 0`;
(II) whenever `ρ̄ ≥ 0`, `V = V_D`;
(III) if `ρ̄ > 0`: when the dual objective is finite at some `λ > 0` (integrated Condition 1),
`V = V_D < ∞`; otherwise `V = V_D = ∞`;
(IV) if `ρ̄ > 0` and Condition 1 holds, with `A = {z : f(z) = ess sup_ν f}`, the dual minimizer is
`λ* = 0` (`0` is the unique minimizer of the dual objective over `λ ≥ 0`) if and only if
`ess sup_ν f < ∞` and `ρ̄ ≥ ε E_{x∼P̂}[log(1/Q_{x,ε}(A))]`.

Correction of (III): the paper's "If Condition 1 holds and ρ̄ > 0, V = V_D < ∞" fails when the
inner expectations are finite `P̂`-a.e. but `x ↦ log E_{Q_{x,ε}}[e^{f/(λε)}]` has infinite
`P̂`-expectation for every `λ > 0`; there `V = V_D = ∞`. The dichotomy is stated with the integrated
form of Condition 1, which covers the paper's "otherwise" case (Condition 1 fails). -/
theorem theorem_1 {Z : Type*} [MeasurableSpace Z]
    (Phat ν : Measure Z) [IsProbabilityMeasure Phat] [SigmaFinite ν] (hν : ν ≠ 0)
    (c : Z → Z → ℝ≥0∞) (ε ρ : ℝ) (hε : 0 < ε) (f : Z → EReal)
    (hA : Assumption1 Phat ν c ε f)
    (hlog : Integrable (fun x => Real.log (normalizer ν c ε x).toReal) Phat) :
    -- (I)
    ((∃ P : Measure Z, IsProbabilityMeasure P ∧ sinkhornDist Phat ν c ε Phat P ≤ (ρ : EReal)) ↔
        0 ≤ rhoBar Phat ν c ε ρ) ∧
    -- (II)
    (0 ≤ rhoBar Phat ν c ε ρ → primalValue Phat ν c ε ρ f = dualValue Phat ν c ε ρ f) ∧
    -- (III)
    (0 < rhoBar Phat ν c ε ρ →
      (Condition1Integrated Phat ν c ε f →
          primalValue Phat ν c ε ρ f = dualValue Phat ν c ε ρ f ∧ dualValue Phat ν c ε ρ f < ⊤) ∧
        (¬ Condition1Integrated Phat ν c ε f →
          primalValue Phat ν c ε ρ f = ⊤ ∧ dualValue Phat ν c ε ρ f = ⊤)) ∧
    -- (IV)
    (0 < rhoBar Phat ν c ε ρ → Condition1 Phat ν c ε f →
      ((IsMinOn (dualObj Phat ν c ε ρ f) (Set.Ici 0) 0 ∧
          ∀ μ ∈ Set.Ici (0 : ℝ), IsMinOn (dualObj Phat ν c ε ρ f) (Set.Ici 0) μ → μ = 0) ↔
        (essSup f ν < ⊤ ∧
          (ε : EReal) * expect Phat (fun x => -ENNReal.log (Qker ν c ε x {z | f z = essSup f ν})) ≤
            (rhoBar Phat ν c ε ρ : EReal)))) := by sorry

end SinkhornDRO.Duality
Source
Wang, Gao, Xie, Sinkhorn Distributionally Robust Optimization, arXiv:2109.11926v5, p. 7, Theorem 1 (proof pp. 11–13, ec13–ec18)
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 10, 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