Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(31)–(32) — rescaled dual representation nρ/2Rn(θ∗)=sup⁡ζ{−ζTHn−Mn(ζ)}n^{\rho/2}R_n(\theta_*) = \sup_\zeta\{-\zeta^T H_n - M_n(\zeta)\}nρ/2Rn​(θ∗​)=supζ​{−ζTHn​−Mn​(ζ)}

Proved
RWPI.Limit.eq_31_32

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

dualityoptimal-transportp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1statistics

Let W1,…,Wn∈RmW_1, \dots, W_n \in \mathbb R^mW1​,…,Wn​∈Rm (n≥1n \ge 1n≥1) be distinct sample points, let ρ≥1\rho \ge 1ρ≥1 and q∈(1,∞]q \in (1, \infty]q∈(1,∞], and let RnR_nRn​ be the RWP function with cost c(u,w)=∥w−u∥qρc(u, w) = \|w - u\|_q^\rhoc(u,w)=∥w−u∥qρ​. Let h:Rm×Rl→Rrh : \mathbb R^m \times \mathbb R^l \to \mathbb R^rh:Rm×Rl→Rr and θ∗∈Rl\theta_* \in \mathbb R^lθ∗​∈Rl be such that h(⋅,θ∗)h(\cdot, \theta_*)h(⋅,θ∗​) is continuously differentiable and 0\mathbf 00 lies in the interior of the convex hull of {h(u,θ∗):u∈Rm}\{h(u, \theta_*) : u \in \mathbb R^m\}{h(u,θ∗​):u∈Rm}. With Hn=n−1/2∑i=1nh(Wi,θ∗)H_n = n^{-1/2}\sum_{i=1}^n h(W_i, \theta_*)Hn​=n−1/2∑i=1n​h(Wi​,θ∗​) and

Mn(ζ)=1n∑i=1nsup⁡Δ{ζT∫01Dh(Wi+n−1/2Δu)Δ du−∥Δ∥qρ},M_n(\zeta) = \frac1n \sum_{i=1}^n \sup_{\Delta} \Big\{ \zeta^T \int_0^1 Dh\big(W_i + n^{-1/2}\Delta u\big) \Delta\, du - \|\Delta\|_q^\rho \Big\},Mn​(ζ)=n1​i=1∑n​Δsup​{ζT∫01​Dh(Wi​+n−1/2Δu)Δdu−∥Δ∥qρ​},

where Dh=Dwh(⋅,θ∗)Dh = D_w h(\cdot, \theta_*)Dh=Dw​h(⋅,θ∗​), we have

nρ/2Rn(θ∗)=sup⁡ζ∈Rr{−ζTHn−Mn(ζ)}.n^{\rho/2} R_n(\theta_*) = \sup_{\zeta \in \mathbb R^r} \big\{ -\zeta^T H_n - M_n(\zeta) \big\} .nρ/2Rn​(θ∗​)=ζ∈Rrsup​{−ζTHn​−Mn​(ζ)}.

The representation isolates the two sources of randomness of the RWP function, the normalized sum HnH_nHn​ and the penalty MnM_nMn​, and is the starting point of the proof of Theorem 3.

Formalization Note. Both sides are compared in the extended reals (Mn(ζ)M_n(\zeta)Mn​(ζ) may be +∞+\infty+∞, making the term −∞-\infty−∞); nρ/2Rn(θ∗)n^{\rho/2} R_n(\theta_*)nρ/2Rn​(θ∗​) is computed in [0,∞][0, \infty][0,∞]. The integral is kept as printed.

Preamble
import Mathlib
import Definitions.Def_RWPI_Limit_rwp
import Definitions.Def_RWPI_Limit_dualRep
import Definitions.Def_WassersteinDRO_Regularization_empiricalDistribution

open MeasureTheory
Formal statement
namespace RWPI.Limit

/-- (31)–(32) (Blanchet, Kang & Murthy, arXiv:1610.05627v4, App. A.3, p. 32): the rescaled dual
representation `n^{ρ/2} R_n(θ*) = sup_ζ { −ζ^T H_n − M_n(ζ) }` of the RWP function with the cost
`c(u, w) = ‖w − u‖_q^ρ`, for distinct sample points, `h(·, θ*)` continuously differentiable and
`0 ∈ int conv {h(u, θ*) : u ∈ ℝ^m}`. Identity in `EReal`. -/
theorem eq_31_32 {m l r n : ℕ} (hn : 0 < n) (w : Fin n → (Fin m → ℝ))
    (hw : Function.Injective w)
    (h : (Fin m → ℝ) → (Fin l → ℝ) → (Fin r → ℝ)) (θs : Fin l → ℝ)
    (ρ : ℝ) (hρ : 1 ≤ ρ) (q : ENNReal) (hq : 1 < q)
    (hC1 : ContDiff ℝ 1 fun x => h x θs)
    (hint : (0 : Fin r → ℝ) ∈ interior (convexHull ℝ (Set.range fun u => h u θs))) :
    ((ENNReal.ofReal ((n : ℝ) ^ (ρ / 2)) *
        rwp (costQ q ρ) h θs (WassersteinDRO.Regularization.empiricalDistribution w) : ENNReal)
        : EReal) =
      ⨆ ζ : Fin r → ℝ, (((-(ζ ⬝ᵥ Hn h θs w)) : ℝ) : EReal) - Mn q ρ h θs w ζ := by sorry

end RWPI.Limit
Source
Blanchet, Kang & Murthy, Robust Wasserstein Profile Inference and Applications to Machine Learning, arXiv:1610.05627v4, p. 32, App. A.3, Eqs. (31)–(32)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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