Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3 — nρ/2Rn(θ∗;ρ)≲DRˉ(ρ)n^{\rho/2}R_n(\theta_*;\rho) \lesssim_D \bar R(\rho)nρ/2Rn​(θ∗​;ρ)≲D​Rˉ(ρ): asymptotic stochastic upper bound for the RWP function

Proved
RWPI.Limit.theorem_3

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

distributionally-robust-optimizationoptimal-transportp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitystatistics

Let W,W1,W2,…W, W_1, W_2, \dotsW,W1​,W2​,… be i.i.d. random vectors in Rm\mathbb R^mRm, 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. For n≥1n \ge 1n≥1 let Rn(θ∗)=inf⁡{Dc(P,Pn):EP[h(W,θ∗)]=0}R_n(\theta_*) = \inf\{D_c(P, \mathbb P_n) : \mathbb E_P[h(W, \theta_*)] = \mathbf 0\}Rn​(θ∗​)=inf{Dc​(P,Pn​):EP​[h(W,θ∗​)]=0} be the RWP function of the empirical distribution Pn\mathbb P_nPn​ of W1,…,WnW_1, \dots, W_nW1​,…,Wn​. Assume:

  1. (A1) c(u,w)=∥u−w∥qρc(u, w) = \|u - w\|_q^\rhoc(u,w)=∥u−w∥qρ​ with ρ≥1\rho \ge 1ρ≥1 and q∈(1,∞]q \in (1, \infty]q∈(1,∞], and ppp satisfies 1/p+1/q=11/p + 1/q = 11/p+1/q=1;
  2. (A2) E[h(W,θ∗)]=0\mathbb E[h(W, \theta_*)] = \mathbf 0E[h(W,θ∗​)]=0 and E∥h(W,θ∗)∥22<∞\mathbb E\|h(W, \theta_*)\|_2^2 < \inftyE∥h(W,θ∗​)∥22​<∞;
  3. (A3) h(⋅,θ∗)h(\cdot, \theta_*)h(⋅,θ∗​) is continuously differentiable with derivative Dwh(⋅,θ∗)D_w h(\cdot, \theta_*)Dw​h(⋅,θ∗​);
  4. (A4) for each ζ∈Rr\zeta \in \mathbb R^rζ∈Rr with ζ≠0\zeta \ne 0ζ=0, P(∥ζTDwh(W,θ∗)∥p>0)>0\mathbb P\big(\|\zeta^T D_w h(W, \theta_*)\|_p > 0\big) > 0P(∥ζTDw​h(W,θ∗​)∥p​>0)>0.

Let H∼N(0,Cov[h(W,θ∗)])H \sim \mathcal N\big(\mathbf 0, \mathrm{Cov}[h(W, \theta_*)]\big)H∼N(0,Cov[h(W,θ∗​)]) with Cov[h(W,θ∗)]=E[h(W,θ∗)h(W,θ∗)T]\mathrm{Cov}[h(W,\theta_*)] = \mathbb E[h(W, \theta_*) h(W, \theta_*)^T]Cov[h(W,θ∗​)]=E[h(W,θ∗​)h(W,θ∗​)T], and define, for ρ>1\rho > 1ρ>1,

Rˉ(ρ)=max⁡ζ∈Rr{ρζTH−(ρ−1) E∥ζTDwh(W,θ∗)∥pρ/(ρ−1)},\bar R(\rho) = \max_{\zeta \in \mathbb R^r} \Big\{ \rho \zeta^T H - (\rho - 1)\, \mathbb E\big\|\zeta^T D_w h(W, \theta_*)\big\|_p^{\rho/(\rho-1)} \Big\},Rˉ(ρ)=ζ∈Rrmax​{ρζTH−(ρ−1)E​ζTDw​h(W,θ∗​)​pρ/(ρ−1)​},

and for ρ=1\rho = 1ρ=1,

Rˉ(1)=max⁡ζ: P(∥ζTDwh(W,θ∗)∥p>1)=0ζTH.\bar R(1) = \max_{\zeta :\ \mathbb P(\|\zeta^T D_w h(W, \theta_*)\|_p > 1) = 0} \zeta^T H .Rˉ(1)=ζ: P(∥ζTDw​h(W,θ∗​)∥p​>1)=0max​ζTH.

Then nρ/2Rn(θ∗;ρ)≲DRˉ(ρ)n^{\rho/2} R_n(\theta_*; \rho) \lesssim_D \bar R(\rho)nρ/2Rn​(θ∗​;ρ)≲D​Rˉ(ρ) as n→∞n \to \inftyn→∞; that is, for every continuous, bounded and non-decreasing f:R→Rf : \mathbb R \to \mathbb Rf:R→R,

lim sup⁡n→∞E[f(nρ/2Rn(θ∗;ρ))]≤E[f(Rˉ(ρ))].\limsup_{n \to \infty} \mathbb E\Big[ f\big(n^{\rho/2} R_n(\theta_*; \rho)\big) \Big] \le \mathbb E\big[ f(\bar R(\rho)) \big] .n→∞limsup​E[f(nρ/2Rn​(θ∗​;ρ))]≤E[f(Rˉ(ρ))].

In addition, Rn(θ∗)R_n(\theta_*)Rn​(θ∗​) is finite for every n≥1n \ge 1n≥1 and every sample, it is a measurable function of the sample (up to null sets), and the maxima defining Rˉ(ρ)\bar R(\rho)Rˉ(ρ) are attained for every value of HHH.

This is the paper's main theorem. It gives the rate n−ρ/2n^{-\rho/2}n−ρ/2 at which the RWP function at the true parameter goes to zero, and an explicit stochastic bound for its rescaled limit; its quantiles calibrate the radius of Wasserstein distributionally robust estimators and RWP confidence regions.

Formalization Note. The samples are W0,W1,…W_0, W_1, \dotsW0​,W1​,…, independent and identically distributed with the law of W0W_0W0​ (which plays the role of WWW), and RnR_nRn​ uses W0,…,Wn−1W_0, \dots, W_{n-1}W0​,…,Wn−1​. RnR_nRn​ takes values in [0,∞][0, \infty][0,∞]; the finiteness clause guarantees that converting it to a real number loses nothing, and the measurability clause guarantees that E[f(nρ/2Rn)]\mathbb E[f(n^{\rho/2}R_n)]E[f(nρ/2Rn​)] is a genuine expectation (both are facts the paper uses implicitly). Rˉ(ρ)\bar R(\rho)Rˉ(ρ) is computed in the extended reals with the moment E∥⋅∥pρ/(ρ−1)\mathbb E\|\cdot\|_p^{\rho/(\rho-1)}E∥⋅∥pρ/(ρ−1)​ in [0,∞][0, \infty][0,∞]; the attainment clause makes it a finite maximum before fff is applied. HHH's law is Mathlib's multivariateGaussian 0 Cov on Euclidean Rr\mathbb R^rRr; Cov\mathrm{Cov}Cov is positive semidefinite under A2). The paper's A1) says q≥1q \ge 1q≥1, while (17) and the proof (p. 33) use q∈(1,∞]q \in (1, \infty]q∈(1,∞]; the latter is used. Distinct samples are not assumed.

Preamble
import Mathlib
import Definitions.Def_RWPI_Limit_rwp
import Definitions.Def_RWPI_Limit_rowNorm
import Definitions.Def_RWPI_Limit_Rbar
import Definitions.Def_WassersteinDRO_Regularization_empiricalDistribution

open MeasureTheory ProbabilityTheory Filter
Formal statement
namespace RWPI.Limit

/-- Theorem 3 (Blanchet, Kang & Murthy, arXiv:1610.05627v4, p. 15): the asymptotic stochastic
upper bound `n^{ρ/2} R_n(θ*; ρ) ≲_D R̄(ρ)`. `W_0, W_1, …` are i.i.d. random vectors in `ℝ^m`
(`W_0` plays the role of `W`), `R_n(θ*)` is the RWP function (16) of the empirical distribution of
`W_0, …, W_{n−1}` with the cost `c(u, w) = ‖w − u‖_q^ρ`. Under A1) (`ρ ≥ 1`, `q ∈ (1, ∞]`,
`1/p + 1/q = 1`), A2), A3) and A4), the conclusion has four parts:
1. `R_n(θ*) < ∞` for every `n ≥ 1` and every outcome;
2. `R_n(θ*)` is a.e.-measurable for every `n`;
3. the supremum defining `R̄(ρ)` at `H = x` is attained for every `x ∈ ℝ^r`;
4. for every continuous, bounded, non-decreasing `f : ℝ → ℝ`,
   `limsup_n E[f(n^{ρ/2} R_n(θ*))] ≤ E[f(R̄(ρ))]`, where `H ∼ 𝒩(0, E[h(W, θ*) h(W, θ*)^T])`. -/
theorem theorem_3 {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ]
    {m l r : ℕ} (W : ℕ → Ω → (Fin m → ℝ)) (hWmeas : ∀ i, Measurable (W i))
    (hindep : iIndepFun W μ) (hident : ∀ i, IdentDistrib (W i) (W 0) μ μ)
    (h : (Fin m → ℝ) → (Fin l → ℝ) → (Fin r → ℝ)) (θs : Fin l → ℝ)
    -- A1)
    (ρ : ℝ) (hρ : 1 ≤ ρ) (q p : ENNReal) (hq : 1 < q) (hpq : p.HolderConjugate q)
    -- A2)
    (hint : Integrable (fun ω => h (W 0 ω) θs) μ) (hmean : ∫ ω, h (W 0 ω) θs ∂μ = 0)
    (hL2 : MemLp (fun ω => h (W 0 ω) θs) 2 μ)
    -- A3)
    (hC1 : ContDiff ℝ 1 fun x => h x θs)
    -- A4)
    (hA4 : ∀ ζ : Fin r → ℝ, ζ ≠ 0 → 0 < μ {ω | 0 < rowNorm p h θs ζ (W 0 ω)}) :
    (∀ n : ℕ, 1 ≤ n → ∀ ω, rwp (costQ q ρ) h θs
        (WassersteinDRO.Regularization.empiricalDistribution (fun i : Fin n => W i ω)) < ⊤) ∧
    (∀ n : ℕ, AEMeasurable (fun ω => rwp (costQ q ρ) h θs
        (WassersteinDRO.Regularization.empiricalDistribution (fun i : Fin n => W i ω))) μ) ∧
    (∀ x : EuclideanSpace ℝ (Fin r), ∃ ζ₀ ∈ RbarFeasible μ (W 0) p h θs ρ,
        RbarObjective μ (W 0) p h θs ρ x ζ₀ = Rbar μ (W 0) p h θs ρ x) ∧
    (∀ f : ℝ → ℝ, Continuous f → Monotone f → (∃ C : ℝ, ∀ t, |f t| ≤ C) →
      limsup (fun n : ℕ => ∫ ω, f ((n : ℝ) ^ (ρ / 2) * (rwp (costQ q ρ) h θs
          (WassersteinDRO.Regularization.empiricalDistribution (fun i : Fin n => W i ω))).toReal) ∂μ)
        atTop
      ≤ ∫ x, f (Rbar μ (W 0) p h θs ρ x).toReal ∂(multivariateGaussian 0 (covMatrix μ (W 0) h θs))) := by sorry

end RWPI.Limit
Source
Blanchet, Kang & Murthy, Robust Wasserstein Profile Inference and Applications to Machine Learning, arXiv:1610.05627v4, p. 15, Assumptions A1)–A4), definition of ≲_D and Theorem 3 (proof App. A.3, pp. 32–37)
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