Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

(3.35) — the expected gap and the expected gradient mappings of Algorithm 4 over N iterations

Proved
NonconvexAG.StochComposite.eq_3_35

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

accelerated-gradientcomposite-optimizationnonconvex-optimizationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-approximation

Consider the stochastic composite problem (Ψ=f+h\Psi=f+hΨ=f+h as in Lemma 5, X\mathcal XX convex with domain KKK, Φ=Ψ+X\Phi=\Psi+\mathcal XΦ=Ψ+X) under Assumption 2 with constant MMM, ∥x0∥≤M\|x_0\|\le M∥x0​∥≤M, and Assumption 1 in conditional form along the oracle's query points, with a jointly measurable oracle. Run Algorithm 4 with batch sizes mk≥1m_k\ge1mk​≥1, fix N≥1N\ge1N≥1, and assume (2.9) and (2.10) for k=1,…,Nk=1,\dots,Nk=1,…,N. Then for every x∗∈Kx^*\in Kx∗∈K the quantities Φ(xNag)−Φ(x∗)\Phi(x^{ag}_N)-\Phi(x^*)Φ(xNag​)−Φ(x∗) and ∥G(xkmd,∇Ψ(xkmd),βk)∥2\|\mathcal G(x^{md}_k,\nabla\Psi(x^{md}_k),\beta_k)\|^2∥G(xkmd​,∇Ψ(xkmd​),βk​)∥2 (k=1,…,Nk=1,\dots,Nk=1,…,N) are integrable and

E[Φ(xNag)−Φ(x∗)]ΓN+∑k=1Nβk(1−LΨβk)8ΓkE[∥G(xkmd,∇Ψ(xkmd),βk)∥2]≤∥x0−x∗∥22λ1+LfΓN(∥x∗∥2+2M2)+σ2∑k=1Nβk(4+(1−LΨβk)2)4Γk(1−LΨβk)mk,\frac{\mathbb E\big[\Phi(x^{ag}_N)-\Phi(x^*)\big]}{\Gamma_N}+\sum_{k=1}^N\frac{\beta_k(1-L_\Psi\beta_k)}{8\Gamma_k}\mathbb E\Big[\big\|\mathcal G(x^{md}_k,\nabla\Psi(x^{md}_k),\beta_k)\big\|^2\Big]\le\frac{\|x_0-x^*\|^2}{2\lambda_1}+\frac{L_f}{\Gamma_N}\big(\|x^*\|^2+2M^2\big)+\sigma^2\sum_{k=1}^N\frac{\beta_k\big(4+(1-L_\Psi\beta_k)^2\big)}{4\Gamma_k(1-L_\Psi\beta_k)m_k},ΓN​E[Φ(xNag​)−Φ(x∗)]​+k=1∑N​8Γk​βk​(1−LΨ​βk​)​E[​G(xkmd​,∇Ψ(xkmd​),βk​)​2]≤2λ1​∥x0​−x∗∥2​+ΓN​Lf​​(∥x∗∥2+2M2)+σ2k=1∑N​4Γk​(1−LΨ​βk​)mk​βk​(4+(1−LΨ​βk​)2)​,

the expectations being over all oracle samples ξk,i\xi_{k,i}ξk,i​, k≤Nk\le Nk≤N, i≤mki\le m_ki≤mk​.

This is the stochastic analogue of (2.53); Theorem 4 follows from it by averaging over the random output index.

Formalization Note The page prints Φ(x)\Phi(x)Φ(x) on the left of (3.35); after the substitution x=x∗x=x^*x=x∗ it means Φ(x∗)\Phi(x^*)Φ(x∗), which is stated. The final form of the printed chain is stated. Only x∗∈Kx^*\in Kx∗∈K is assumed (not its optimality). Integrability is part of the conclusion.

Preamble
import Mathlib
import Definitions.Def_ConvexOptAlg_SmoothGD_Defs
import Definitions.Def_GhadimiLan_RSG_Model
import Definitions.Def_NonconvexAG_StochComposite_ProxMap
import Definitions.Def_NonconvexAG_StochComposite_RSAG
open MeasureTheory ProbabilityTheory
open scoped InnerProductSpace
Formal statement
namespace NonconvexAG.StochComposite

open GhadimiLan.RSG (E)
open ConvexOptAlg.SmoothGD

/-- (3.35), p. 23 (outer ends of the chain, with `Φ(x*)` for the printed `Φ(x)` on the left), for
Algorithm 4: under Assumptions 1 (conditional form, along the query points) and 2, `‖x₀‖ ≤ M`,
and (2.9), (2.10) for `k = 1, …, N` (`N ≥ 1`), for every point `x*` of the domain `K` of `𝒳`
the quantities `Φ(x^ag_N) − Φ(x*)` and `‖𝒢(x^md_k, ∇Ψ(x^md_k), βₖ)‖²` (`k = 1, …, N`) are
integrable and
`E[Φ(x^ag_N) − Φ(x*)]/Γ_N + Σ_{k=1}^N (βₖ(1 − L_Ψβₖ)/(8Γₖ)) E‖𝒢(x^md_k, ∇Ψ(x^md_k), βₖ)‖²
  ≤ ‖x₀ − x*‖²/(2λ₁) + (L_f/Γ_N)(‖x*‖² + 2M²) + σ² Σ_{k=1}^N βₖ(4 + (1 − L_Ψβₖ)²)/(4Γₖ(1 − L_Ψβₖ)mₖ)`. -/
theorem eq_3_35 {n : ℕ} (f h : E n → ℝ) (gf gh : E n → E n) (Lf Lh : ℝ)
    (hf : IsBetaSmooth f gf Lf) (hh : IsBetaSmooth h gh Lh) (hhc : ConvexOn ℝ Set.univ h)
    (Ψ : E n → ℝ) (gΨ : E n → E n) (LΨ : ℝ) (hΨ : Ψ = fun x => f x + h x)
    (hgΨ : gΨ = fun x => gf x + gh x) (hLΨ : LΨ = Lf + Lh)
    (K : Set (E n)) (X : E n → ℝ) (hX : ConvexOn ℝ K X)
    (P : E n → E n → ℝ → E n) (hP : IsProxMap K X P)
    {Ξ : Type*} [MeasurableSpace Ξ] (G : E n → Ξ → E n) (hG : Measurable (Function.uncurry G))
    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (ℱ : Filtration ℕ ‹MeasurableSpace Ω›) (ξ : ℕ → Ω → Ξ) (σ : ℝ)
    (α β lam : ℕ → ℝ) (m : ℕ → ℕ) (hstep : RSAGStepsizes α β lam m) (x0 : E n)
    (hA1 : GhadimiLan.RSG.AssumptionA1 μ ℱ gΨ G ξ (querySeq G P α β lam m x0 ξ) σ)
    (M : ℝ) (hA2 : Assumption2 P M) (hx0 : ‖x0‖ ≤ M)
    (N : ℕ) (hN : 1 ≤ N) (h29 : ∀ k ∈ Finset.Icc 1 N, α k * lam k ≤ β k ∧ LΨ * β k < 1)
    (h210 : ∀ k ∈ Finset.Icc 1 N, 2 ≤ k →
      α k / (lam k * NonconvexAG.Smooth.Gamma α k) ≤ α (k - 1) / (lam (k - 1) * NonconvexAG.Smooth.Gamma α (k - 1)))
    (xstar : E n) (hxstar : xstar ∈ K) :
    let Φ : E n → ℝ := fun x => Ψ x + X x
    let xag : ℕ → Ω → E n := xagSeq G P α β lam m x0 ξ
    let xmd : ℕ → Ω → E n := xmdSeq G P α β lam m x0 ξ
    Integrable (fun ω => Φ (xag N ω) - Φ xstar) μ ∧
    (∀ k ∈ Finset.Icc 1 N,
      Integrable (fun ω => ‖gradMap P (xmd k ω) (gΨ (xmd k ω)) (β k)‖ ^ 2) μ) ∧
    (∫ ω, (Φ (xag N ω) - Φ xstar) ∂μ) / NonconvexAG.Smooth.Gamma α N +
        ∑ k ∈ Finset.Icc 1 N, β k * (1 - LΨ * β k) / (8 * NonconvexAG.Smooth.Gamma α k) *
          ∫ ω, ‖gradMap P (xmd k ω) (gΨ (xmd k ω)) (β k)‖ ^ 2 ∂μ ≤
      ‖x0 - xstar‖ ^ 2 / (2 * lam 1) + Lf / NonconvexAG.Smooth.Gamma α N * (‖xstar‖ ^ 2 + 2 * M ^ 2) +
        σ ^ 2 * ∑ k ∈ Finset.Icc 1 N,
          β k * (4 + (1 - LΨ * β k) ^ 2) / (4 * NonconvexAG.Smooth.Gamma α k * (1 - LΨ * β k) * (m k : ℝ)) := by sorry

end NonconvexAG.StochComposite
Source
Ghadimi & Lan, Accelerated Gradient Methods for Nonconvex Nonlinear and Stochastic Programming, arXiv:1310.3787v1, p. 23, (3.35)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me