Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.1.1, p. 15 — g^ℓ is unbiased for a subgradient of F^ℓ, G^ℓ for the level difference, and E v^{RT-MLMC} = E v^{SG}

Proved
SinkhornDRO.BSMD.unbiased_estimators

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

multilevel-monte-carlop2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1subgradientunbiased-estimation

Let Θ⊆Rdθ\Theta\subseteq\mathbb R^{d_\theta}Θ⊆Rdθ​ be closed and convex, λ,ϵ>0\lambda,\epsilon>0λ,ϵ>0, and let the loss fθ(z)f_\theta(z)fθ​(z) (measurable in zzz) satisfy Assumption 2 with a subgradient selector ∇θfθ(z)\nabla_\theta f_\theta(z)∇θ​fθ​(z) measurable in zzz. Let FℓF^\ellFℓ be the level-ℓ\ellℓ approximation (14), and gℓg^\ellgℓ, GℓG^\ellGℓ, vSGv^{SG}vSG, vRT-MLMCv^{RT\text{-}MLMC}vRT-MLMC the estimators of (15)–(17), each expectation taken over the corresponding sampling law. Then:

  1. for every level ℓ\ellℓ and θ∈Θ\theta\in\Thetaθ∈Θ, gℓ(θ,ζℓ)g^\ell(\theta,\zeta^\ell)gℓ(θ,ζℓ) is integrable and its mean is a subgradient of FℓF^\ellFℓ at θ\thetaθ relative to Θ\ThetaΘ:
Fℓ(θ)+⟨E[gℓ(θ,ζℓ)],θ′−θ⟩≤Fℓ(θ′)(θ′∈Θ);F^\ell(\theta)+\big\langle\mathbb E[g^\ell(\theta,\zeta^\ell)],\theta'-\theta\big\rangle\le F^\ell(\theta')\qquad(\theta'\in\Theta);Fℓ(θ)+⟨E[gℓ(θ,ζℓ)],θ′−θ⟩≤Fℓ(θ′)(θ′∈Θ);
  1. for θ∈Θ\theta\in\Thetaθ∈Θ, E[G0(θ,ζ0)]=E[g0(θ,ζ0)]\mathbb E[G^0(\theta,\zeta^0)]=\mathbb E[g^0(\theta,\zeta^0)]E[G0(θ,ζ0)]=E[g0(θ,ζ0)] and
E[Gℓ+1(θ,ζℓ+1)]=E[gℓ+1(θ,ζℓ+1)]−E[gℓ(θ,ζℓ)];\mathbb E[G^{\ell+1}(\theta,\zeta^{\ell+1})]=\mathbb E[g^{\ell+1}(\theta,\zeta^{\ell+1})]-\mathbb E[g^{\ell}(\theta,\zeta^{\ell})];E[Gℓ+1(θ,ζℓ+1)]=E[gℓ+1(θ,ζℓ+1)]−E[gℓ(θ,ζℓ)];
  1. for every L≥1L\ge1L≥1 and θ∈Θ\theta\in\Thetaθ∈Θ, vRT-MLMC(θ)v^{RT\text{-}MLMC}(\theta)vRT-MLMC(θ) is integrable and
E[vRT-MLMC(θ)]=E[gL(θ,ζL)]=E[vSG(θ)].\mathbb E[v^{RT\text{-}MLMC}(\theta)]=\mathbb E[g^L(\theta,\zeta^L)]=\mathbb E[v^{SG}(\theta)].E[vRT-MLMC(θ)]=E[gL(θ,ζL)]=E[vSG(θ)].

This is the paper's claim that gℓg^\ellgℓ is an unbiased estimator of ∇θFℓ(θ)\nabla_\theta F^\ell(\theta)∇θ​Fℓ(θ) and GℓG^\ellGℓ an unbiased estimator of ∇θFℓ(θ)−∇θFℓ−1(θ)\nabla_\theta F^\ell(\theta)-\nabla_\theta F^{\ell-1}(\theta)∇θ​Fℓ(θ)−∇θ​Fℓ−1(θ); it makes both estimators unbiased for a subgradient of FLF^LFL, which is the hypothesis of Lemma EC.7.

Formalization Note For a nonsmooth loss ∇θFℓ\nabla_\theta F^\ell∇θ​Fℓ is a subgradient, not a gradient, so "GℓG^\ellGℓ is unbiased for ∇Fℓ−∇Fℓ−1\nabla F^\ell-\nabla F^{\ell-1}∇Fℓ−∇Fℓ−1" is read as part 2: the mean of GℓG^\ellGℓ is the difference of the means of gℓg^\ellgℓ and gℓ−1g^{\ell-1}gℓ−1 (each of which is a subgradient by part 1), with F−1:=0F^{-1}:=0F−1:=0, G0=g0G^0=g^0G0=g0. Part 3 is the telescoping consequence that the paper uses.

Preamble
import Mathlib
import Definitions.Def_SinkhornDRO_BSMD_Objective
import Definitions.Def_SinkhornDRO_BSMD_Estimators

open MeasureTheory ProbabilityTheory
open scoped RealInnerProductSpace
Formal statement
namespace SinkhornDRO.BSMD

/-- §4.1.1, p. 15 (Wang–Gao–Xie, arXiv:2109.11926v5): "`g^ℓ(θ, ζ^ℓ)` is an unbiased estimator of
`∇_θF^ℓ(θ)`, while `G^ℓ(θ, ζ^ℓ)` is an unbiased estimator of `∇_θF^ℓ(θ) − ∇_θF^{ℓ−1}(θ)`",
in its nonsmooth reading, under Assumption 2:
1. for every level `ℓ` and `θ ∈ Θ`, `E[g^ℓ(θ, ζ^ℓ)]` is a subgradient of `F^ℓ` at `θ` relative to
   `Θ`;
2. `E[G^0] = E[g^0]` and `E[G^{ℓ+1}] = E[g^{ℓ+1}] − E[g^ℓ]` (each expectation under its own
   level's sampling law), so `G^ℓ` estimates the difference of the selected subgradients of `F^ℓ`
   and `F^{ℓ−1}`;
3. consequently the RT-MLMC estimator has the same mean as the SG estimator:
   `E[v^{RT-MLMC}(θ)] = E[g^L(θ, ζ^L)] = E[v^{SG}(θ)]`. -/
theorem unbiased_estimators {d : ℕ} {Z : Type*} [MeasurableSpace Z]
    (Θ : Set (Param d)) (hΘc : IsClosed Θ) (hΘv : Convex ℝ Θ)
    (P : Measure Z) [IsProbabilityMeasure P] (Q : Kernel Z Z) [IsMarkovKernel Q]
    (lam eps : ℝ) (hlam : 0 < lam) (heps : 0 < eps)
    (f : Param d → Z → ℝ) (hf_meas : ∀ θ, Measurable (f θ))
    (Lf B : ℝ) (hA2I : Asm2Convex f) (hA2II : Asm2Lipschitz f Lf) (hA2III : Asm2Bounded Θ f B)
    (sg : Param d → Z → Param d) (hsg : IsSubgradSel f sg) (hsg_meas : ∀ θ, Measurable (sg θ)) :
    (∀ (ℓ : ℕ), ∀ θ ∈ Θ,
      Integrable (fun ζ : Z × (Fin (2 ^ ℓ) → Z) => levelg lam eps f sg ℓ θ ζ.2)
          (levelLaw P Q (2 ^ ℓ)) ∧
        ∀ θ' ∈ Θ, objFℓ P Q lam eps f ℓ θ +
            ⟪∫ ζ, levelg lam eps f sg ℓ θ ζ.2 ∂(levelLaw P Q (2 ^ ℓ)), θ' - θ⟫
          ≤ objFℓ P Q lam eps f ℓ θ') ∧
    (∀ θ ∈ Θ,
      ∫ ζ, levelG lam eps f sg 0 θ ζ.2 ∂(levelLaw P Q (2 ^ 0))
        = ∫ ζ, levelg lam eps f sg 0 θ ζ.2 ∂(levelLaw P Q (2 ^ 0))) ∧
    (∀ (ℓ : ℕ), ∀ θ ∈ Θ,
      ∫ ζ, levelG lam eps f sg (ℓ + 1) θ ζ.2 ∂(levelLaw P Q (2 ^ (ℓ + 1)))
        = ∫ ζ, levelg lam eps f sg (ℓ + 1) θ ζ.2 ∂(levelLaw P Q (2 ^ (ℓ + 1)))
          - ∫ ζ, levelg lam eps f sg ℓ θ ζ.2 ∂(levelLaw P Q (2 ^ ℓ))) ∧
    (∀ (L : ℕ), 1 ≤ L → ∀ θ ∈ Θ,
      Integrable (vRT lam eps f sg L θ) (rtLaw P Q L) ∧
        ∫ ζ, vRT lam eps f sg L θ ζ ∂(rtLaw P Q L)
          = ∫ ζ, vSG lam eps f sg L θ ζ ∂(levelLaw P Q (2 ^ L))) := by sorry

end SinkhornDRO.BSMD
Source
Wang, Gao, Xie, Sinkhorn Distributionally Robust Optimization, arXiv:2109.11926v5, §4.1.1, p. 15 (prose claim after the definitions of g^ℓ, G^ℓ); (17), p. 16
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