Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.7 — biased stochastic mirror descent: E[F(θ̂) − F(θ*)] ≤ 2Δ_F + M_*√(2D_ω(θ0, θ̄*)/(κT))

Proved
SinkhornDRO.BSMD.lemma_EC_7

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

biased-gradientconvex-optimizationmirror-descentp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization

Let Θ⊆Rdθ\Theta\subseteq\mathbb R^{d_\theta}Θ⊆Rdθ​ be closed and convex, let ∥⋅∥\|\cdot\|∥⋅∥ satisfy Assumption EC.1 with dual norm ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​, let ω\omegaω be a distance generating function on Θ\ThetaΘ, κ\kappaκ-strongly convex with respect to ∥⋅∥\|\cdot\|∥⋅∥, with Bregman divergence DωD_\omegaDω​ and prox-mapping Prox\mathrm{Prox}Prox (measurable in both arguments).

Consider min⁡θ∈ΘF(θ)\min_{\theta\in\Theta}F(\theta)minθ∈Θ​F(θ) for a measurable FFF, and an approximation Fˉ\bar FFˉ with

∣Fˉ(θ)−F(θ)∣≤ΔF∀θ∈Θ.|\bar F(\theta)-F(\theta)|\le\Delta_F\qquad\forall\theta\in\Theta .∣Fˉ(θ)−F(θ)∣≤ΔF​∀θ∈Θ.

Let ∇Fˉ(θ)\nabla\bar F(\theta)∇Fˉ(θ) be a subgradient of Fˉ\bar FFˉ at θ\thetaθ relative to Θ\ThetaΘ for every θ∈Θ\theta\in\Thetaθ∈Θ. Let v(θ,ξ)v(\theta,\xi)v(θ,ξ) be a jointly measurable estimator, ξ∼μ\xi\sim\muξ∼μ a sample from a probability measure μ\muμ, such that for every θ∈Θ\theta\in\Thetaθ∈Θ

E[v(θ,ξ)]=∇Fˉ(θ),E[∥v(θ,ξ)∥∗2]≤M∗2\mathbb E[v(\theta,\xi)]=\nabla\bar F(\theta),\qquad\mathbb E\big[\|v(\theta,\xi)\|_*^2\big]\le M_*^2E[v(θ,ξ)]=∇Fˉ(θ),E[∥v(θ,ξ)∥∗2​]≤M∗2​

(both integrands integrable), with M∗>0M_*>0M∗​>0. Let θˉ∗∈arg⁡min⁡ΘFˉ\bar\theta^*\in\arg\min_\Theta\bar Fθˉ∗∈argminΘ​Fˉ, θ∗∈arg⁡min⁡ΘF\theta^*\in\arg\min_\Theta Fθ∗∈argminΘ​F, θ0∈Θ\theta_0\in\Thetaθ0​∈Θ and T≥1T\ge1T≥1. Run

θt+1=Proxθt(h v(θt,ξt)),t=0,…,T−1,h=2κDω(θ0,θˉ∗)TM∗2,\theta_{t+1}=\mathrm{Prox}_{\theta_t}\big(h\,v(\theta_t,\xi_t)\big),\quad t=0,\dots,T-1,\qquad h=\sqrt{\frac{2\kappa D_\omega(\theta_0,\bar\theta^*)}{TM_*^2}},θt+1​=Proxθt​​(hv(θt​,ξt​)),t=0,…,T−1,h=TM∗2​2κDω​(θ0​,θˉ∗)​​,

with ξ0,…,ξT−1\xi_0,\dots,\xi_{T-1}ξ0​,…,ξT−1​ i.i.d. ∼μ\sim\mu∼μ, and let θ^=1T∑t=0T−1θt\hat\theta=\frac1T\sum_{t=0}^{T-1}\theta_tθ^=T1​∑t=0T−1​θt​. Then F(θ^)F(\hat\theta)F(θ^) is integrable and

E[F(θ^)−F(θ∗)]≤2ΔF+M∗2Dω(θ0,θˉ∗)κT.\mathbb E\big[F(\hat\theta)-F(\theta^*)\big]\le2\Delta_F+M_*\sqrt{\frac{2D_\omega(\theta_0,\bar\theta^*)}{\kappa T}} .E[F(θ^)−F(θ∗)]≤2ΔF​+M∗​κT2Dω​(θ0​,θˉ∗)​​.

This is the convergence guarantee of BSMD on which both parts of Theorem 2 rest: the bias of the subgradients enters only additively, through 2ΔF2\Delta_F2ΔF​.

Formalization Note The paper defines θ^=1T∑t=1Tθt\hat\theta=\frac1T\sum_{t=1}^{T}\theta_tθ^=T1​∑t=1T​θt​. With that average the lemma is false. Take R2\mathbb R^2R2 with the Euclidean norm, ω=12∥⋅∥2\omega=\frac12\|\cdot\|^2ω=21​∥⋅∥2 (κ=1\kappa=1κ=1, Proxθ(y)=θ−y\mathrm{Prox}_\theta(y)=\theta-yProxθ​(y)=θ−y), Fˉ=F\bar F=FFˉ=F, ΔF=0\Delta_F=0ΔF​=0, and F(x)=max⁡(cx1,  cx1+sx2,  cx1−sx2,  −x1)F(x)=\max\big(cx_1,\;cx_1+sx_2,\;cx_1-sx_2,\;-x_1\big)F(x)=max(cx1​,cx1​+sx2​,cx1​−sx2​,−x1​) with c=14c=\tfrac14c=41​, s=1−c2s=\sqrt{1-c^2}s=1−c2​. This FFF is convex and 1-Lipschitz, with unique minimizer 000. At θ0=(1,0)\theta_0=(1,0)θ0​=(1,0) let v=(c,±s)v=(c,\pm s)v=(c,±s), each with probability 12\tfrac1221​, and elsewhere a deterministic subgradient; then M∗=1M_*=1M∗​=1. For T=1T=1T=1 we get h=1h=1h=1 and θ1=(1−c,∓s)\theta_1=(1-c,\mp s)θ1​=(1−c,∓s), so F(θ1)=c(1−c)+s2=98F(\theta_1)=c(1-c)+s^2=\tfrac98F(θ1​)=c(1−c)+s2=89​, which exceeds the bound M∗2D/κ=1M_*\sqrt{2D/\kappa}=1M∗​2D/κ​=1. The standard analysis the paper invokes (its reference [77], §2.3, which indexes from x1x_1x1​) bounds the average of the TTT query points, here θ0,…,θT−1\theta_0,\dots,\theta_{T-1}θ0​,…,θT−1​. That is the average used here. Measurability of FFF, vvv and Prox\mathrm{Prox}Prox is the standing convention that makes the expectation meaningful, and the integrability of F(θ^)F(\hat\theta)F(θ^) is part of the conclusion.

Preamble
import Mathlib
import Definitions.Def_SinkhornDRO_BSMD_MirrorSetup

open MeasureTheory
open scoped RealInnerProductSpace
Formal statement
namespace SinkhornDRO.BSMD

/-- Lemma EC.7 (Wang–Gao–Xie, arXiv:2109.11926v5, p. ec19): BSMD for a nonsmooth convex problem
`min_{θ∈Θ} F(θ)` run on subgradient estimates of an approximation `F̄` with bias `Δ_F`, with the
step `h = √(2κ D_ω(θ0, θ̄*) / (T M_*²))`, satisfies
`E[F(θ̂) − F(θ*)] ≤ 2Δ_F + M_* √(2 D_ω(θ0, θ̄*) / (κT))`.
Here `θ̂` is the average of the query points `θ_0, …, θ_{T−1}` (the paper prints `θ_1, …, θ_T`,
for which the inequality fails; see the natural-language statement). The `T` samples are i.i.d.
with law `μ`. -/
theorem lemma_EC_7 {d : ℕ} {Ω : Type*} [MeasurableSpace Ω]
    (Θ : Set (Param d)) (hΘc : IsClosed Θ) (hΘv : Convex ℝ Θ)
    (𝒩 : MirrorNorm d) (κ : ℝ) (ω : Param d → ℝ) (ω' : Param d → Param d)
    (hω : IsDistGen Θ 𝒩 κ ω ω')
    (prox : Param d → Param d → Param d) (hprox : IsProxMap Θ ω ω' prox)
    (hprox_meas : Measurable (Function.uncurry prox))
    (F Fbar : Param d → ℝ) (hF_meas : Measurable F) (ΔF : ℝ)
    (hbias : ∀ θ ∈ Θ, |Fbar θ - F θ| ≤ ΔF)
    (sgbar : Param d → Param d)
    (hsgbar : ∀ θ ∈ Θ, ∀ θ' ∈ Θ, Fbar θ + ⟪sgbar θ, θ' - θ⟫ ≤ Fbar θ')
    (μ : Measure Ω) [IsProbabilityMeasure μ]
    (v : Param d → Ω → Param d) (hv_meas : Measurable (Function.uncurry v))
    (M : ℝ) (hM : 0 < M)
    (hv_int : ∀ θ ∈ Θ, Integrable (v θ) μ)
    (hv_mean : ∀ θ ∈ Θ, ∫ s, v θ s ∂μ = sgbar θ)
    (hv_sq : ∀ θ ∈ Θ, Integrable (fun s => dualNorm 𝒩 (v θ s) ^ 2) μ ∧
      ∫ s, dualNorm 𝒩 (v θ s) ^ 2 ∂μ ≤ M ^ 2)
    (θbar : Param d) (hθbar : θbar ∈ Θ ∧ ∀ θ ∈ Θ, Fbar θbar ≤ Fbar θ)
    (θstar : Param d) (hθstar : θstar ∈ Θ ∧ ∀ θ ∈ Θ, F θstar ≤ F θ)
    (θ0 : Param d) (hθ0 : θ0 ∈ Θ)
    (T : ℕ) (hT : 0 < T) :
    let h := Real.sqrt (2 * κ * bregman ω ω' θ0 θbar / (T * M ^ 2))
    Integrable (fun ξ : Fin T → Ω => F (bsmdAvg prox v h θ0 ξ)) (Measure.pi fun _ => μ) ∧
      ∫ ξ, (F (bsmdAvg prox v h θ0 ξ) - F θstar) ∂(Measure.pi fun _ : Fin T => μ)
        ≤ 2 * ΔF + M * Real.sqrt (2 * bregman ω ω' θ0 θbar / (κ * T)) := by sorry

end SinkhornDRO.BSMD
Source
Wang, Gao, Xie, Sinkhorn Distributionally Robust Optimization, arXiv:2109.11926v5, p. ec19, App. EC.6.1, setup paragraph and Lemma EC.7 (averaging index corrected, see Formalization Note)
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