Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.2, p. 5 — Σ_{t<T} G_i(x^t, ξ_t) ≤ λ_i^T/σ + Σ_{t<T} ‖v_i(x^t, ξ_t)‖‖x^{t+1} − x^t‖, (2.3)

Proved
SAPMM.Regret.lemma_2_2

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

constraint-violationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-approximation

Let (xt,λt)t≥0(x^t,\lambda^t)_{t\ge0}(xt,λt)t≥0​ be a run of PMMSopt (1.5) with parameters σ>0\sigma>0σ>0, α>0\alpha>0α>0, started at x0∈X0x^0\in X_0x0∈X0​ with λ0=0\lambda^0=0λ0=0, for a problem satisfying the standing assumptions of §1 and (A2)–(A4) (see the definition file). The run is driven by an arbitrary sample path ξ0,ξ1,…\xi_0,\xi_1,\dotsξ0​,ξ1​,…; no probabilistic assumption is needed. Let vi(x,ξ)v_i(x,\xi)vi​(x,ξ) be the oracle's stochastic subgradient of Gi(⋅,ξ)G_i(\cdot,\xi)Gi​(⋅,ξ).

Then for every horizon T≥0T\ge0T≥0 and every i∈{1,…,p}i\in\{1,\dots,p\}i∈{1,…,p},

∑t=0T−1Gi(xt,ξt)≤1σλiT+∑t=0T−1∥vi(xt,ξt)∥ ∥xt+1−xt∥.\sum_{t=0}^{T-1}G_i(x^t,\xi_t)\le\frac1\sigma\lambda_i^T+\sum_{t=0}^{T-1}\|v_i(x^t,\xi_t)\|\,\|x^{t+1}-x^t\|.t=0∑T−1​Gi​(xt,ξt​)≤σ1​λiT​+t=0∑T−1​∥vi​(xt,ξt​)∥∥xt+1−xt∥.

The cumulative constraint values along the run are bounded by the final multiplier plus a term controlled by the primal step lengths; this is the first half of the constraint-violation bound.

Formalization Note The statement is pathwise: it holds for every ω\omegaω, and (A1) is not assumed (more general than the page, whose proof does not use it). The hypothesis x0∈X0x^0\in X_0x0∈X0​ corrects Step 0, which prints x0∈Rnx^0\in\mathbb R^nx0∈Rn; it is needed so that x0x^0x0 lies in O0O_0O0​, where the subgradient and boundedness assumptions apply. Norms are Euclidean on Rn\mathbb R^nRn and Rp\mathbb R^pRp.

Preamble
import Mathlib
import Definitions.Def_SAPMM_Regret_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace SAPMM.Regret

/-- Lemma 2.2, p. 5, (2.3): the constraint sum is controlled by the last multiplier. -/
theorem lemma_2_2 {n p : ℕ} {Ω Ξ : Type*} [MeasurableSpace Ω] [MeasurableSpace Ξ]
    (P : Problem n p Ξ) (hP : P.Standing) {σ α : ℝ} (hσ : 0 < σ) (hα : 0 < α)
    {x0 : EuclideanSpace ℝ (Fin n)} (hx0 : x0 ∈ P.X0) (ξ : ℕ → Ω → Ξ)
    (x : ℕ → Ω → EuclideanSpace ℝ (Fin n)) (lam : ℕ → Ω → EuclideanSpace ℝ (Fin p))
    (hrun : IsRun P σ α x0 ξ x lam) :
    ∀ (T : ℕ) (i : Fin p) ω,
      ∑ t ∈ Finset.range T, P.G (x t ω) (ξ t ω) i ≤
        1 / σ * lam T ω i
          + ∑ t ∈ Finset.range T, ‖P.v i (x t ω) (ξ t ω)‖ * ‖x (t + 1) ω - x t ω‖ := by sorry

end SAPMM.Regret
Source
Zhang, Zhang and Wu, Stochastic Approximation Proximal Method of Multipliers for Convex Stochastic Programming, arXiv:1907.12226v3, p. 5, Lemma 2.2, (2.3)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

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