Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 2 — the AG method drives the gradient mapping to zero on nonconvex composite problems, at the optimal rate when L_f = 0

Proved
NonconvexAG.Composite.theorem_2

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

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

Consider the composite problem (1.3),

min⁡x∈Rn Φ(x):=Ψ(x)+X(x),Ψ=f+h,\min_{x\in\mathbb R^n}\ \Phi(x):=\Psi(x)+\mathcal X(x),\qquad\Psi=f+h,x∈Rnmin​ Φ(x):=Ψ(x)+X(x),Ψ=f+h,

where fff is differentiable with LfL_fLf​-Lipschitz gradient and possibly nonconvex, hhh is convex and differentiable with LhL_hLh​-Lipschitz gradient, LΨ=Lf+LhL_\Psi=L_f+L_hLΨ​=Lf​+Lh​, and X\mathcal XX is convex with domain KKK. Let P\mathcal PP be the prox map (2.37) and G\mathcal GG the gradient mapping (2.38), and suppose Assumption 2 holds: ∥P(x,y,c)∥≤M\|\mathcal P(x,y,c)\|\le M∥P(x,y,c)∥≤M for all x,yx,yx,y and c>0c>0c>0. Run Algorithm 2 from x0x_0x0​ with ∥x0∥≤M\|x_0\|\le M∥x0​∥≤M and step sizes α1=1\alpha_1=1α1​=1, αk∈(0,1)\alpha_k\in(0,1)αk​∈(0,1) (k≥2k\ge2k≥2), βk,λk>0\beta_k,\lambda_k>0βk​,λk​>0, and let Γk\Gamma_kΓk​ be given by (2.6). Fix N≥1N\ge1N≥1 and suppose that for k=1,…,Nk=1,\dots,Nk=1,…,N

αkλk≤βk<1LΨ(2.9),α1λ1Γ1≥α2λ2Γ2≥⋯≥αNλNΓN(2.10).\alpha_k\lambda_k\le\beta_k<\frac1{L_\Psi}\quad(2.9),\qquad\frac{\alpha_1}{\lambda_1\Gamma_1}\ge\frac{\alpha_2}{\lambda_2\Gamma_2}\ge\dots\ge\frac{\alpha_N}{\lambda_N\Gamma_N}\quad(2.10).αk​λk​≤βk​<LΨ​1​(2.9),λ1​Γ1​α1​​≥λ2​Γ2​α2​​≥⋯≥λN​ΓN​αN​​(2.10).

Let x∗∈Kx^*\in Kx∗∈K be an optimal solution of (1.3). Then

min⁡k=1,…,N∥G(xkmd,∇Ψ(xkmd),βk)∥2≤2[∑k=1NΓk−1βk(1−LΨβk)]−1[∥x0−x∗∥22λ1+LfΓN(∥x∗∥2+2M2)],(2.44)\min_{k=1,\dots,N}\big\|\mathcal G\big(x^{md}_k,\nabla\Psi(x^{md}_k),\beta_k\big)\big\|^2\le2\Big[\sum_{k=1}^N\Gamma_k^{-1}\beta_k(1-L_\Psi\beta_k)\Big]^{-1}\Big[\frac{\|x_0-x^*\|^2}{2\lambda_1}+\frac{L_f}{\Gamma_N}\big(\|x^*\|^2+2M^2\big)\Big],\qquad(2.44)k=1,…,Nmin​​G(xkmd​,∇Ψ(xkmd​),βk​)​2≤2[k=1∑N​Γk−1​βk​(1−LΨ​βk​)]−1[2λ1​∥x0​−x∗∥2​+ΓN​Lf​​(∥x∗∥2+2M2)],(2.44)

and if, in addition, Lf=0L_f=0Lf​=0, then

Φ(xNag)−Φ(x∗)≤ΓN∥x0−x∗∥22λ1.(2.45)\Phi(x^{ag}_N)-\Phi(x^*)\le\frac{\Gamma_N\|x_0-x^*\|^2}{2\lambda_1}.\qquad(2.45)Φ(xNag​)−Φ(x∗)≤2λ1​ΓN​∥x0​−x∗∥2​.(2.45)

The same aggressive step-size policy that is optimal for convex problems thus yields a convergence guarantee for the gradient mapping when fff is nonconvex, and recovers the optimal convex rate for the optimality gap when fff is affine.

Formalization Note X\mathcal XX is the pair (K, X): its domain K and its finite values on K; Φ\PhiΦ is compared only on K, and the optimality of x∗x^*x∗ is Φ(x∗)≤Φ(u)\Phi(x^*)\le\Phi(u)Φ(x∗)≤Φ(u) for all u∈Ku\in Ku∈K. The prox map is an explicit function P with the minimizer property IsProxMap K X P. The second half of (2.9) is written LΨβk<1L_\Psi\beta_k<1LΨ​βk​<1, which equals βk<1/LΨ\beta_k<1/L_\Psiβk​<1/LΨ​ when LΨ>0L_\Psi>0LΨ​>0 and reads 1/0=+∞1/0=+\infty1/0=+∞ when LΨ=0L_\Psi=0LΨ​=0. The minimum is Finset.inf' over {1,…,N}\{1,\dots,N\}{1,…,N}. Added hypothesis ∥x0∥≤M\|x_0\|\le M∥x0​∥≤M: the proof uses ∥x0∥=∥x0ag∥≤M\|x_0\|=\|x^{ag}_0\|\le M∥x0​∥=∥x0ag​∥≤M in (2.52) at k=1k=1k=1, which Assumption 2 does not provide because x0x_0x0​ is the input rather than a prox output; it holds whenever x0∈dom⁡Xx_0\in\operatorname{dom}\mathcal Xx0​∈domX.

Preamble
import Mathlib
import Definitions.Def_ConvexOptAlg_SmoothGD_Defs
import Definitions.Def_NonconvexAG_Composite_ProxMap
import Definitions.Def_NonconvexAG_Composite_AGRun
Formal statement
namespace NonconvexAG.Composite

open ConvexOptAlg.SmoothGD

/-- Theorem 2 (p. 11): (2.44), and (2.45) when `L_f = 0`. The problem is (1.3): `Ψ = f + h` with
`f ∈ C^{1,1}_{L_f}`, `h ∈ C^{1,1}_{L_h}` convex, `L_Ψ = L_f + L_h`, and `𝒳` convex with domain `K`;
`Φ = Ψ + 𝒳`. Algorithm 2 runs with the prox map `P` of (2.37), under Assumption 2 and `‖x₀‖ ≤ M`,
with (2.9) (`αₖλₖ ≤ βₖ` and `L_Ψ βₖ < 1`, i.e. `βₖ < 1/L_Ψ`) and (2.10) for `k = 1, …, N`, and `x*` an
optimal solution of (1.3). -/
theorem theorem_2 {n : ℕ} (f h : NonconvexAG.Smooth.E n → ℝ) (gf gh : NonconvexAG.Smooth.E n → NonconvexAG.Smooth.E n) (Lf Lh : ℝ)
    (hf : IsBetaSmooth f gf Lf) (hh : IsBetaSmooth h gh Lh) (hhc : ConvexOn ℝ Set.univ h)
    (K : Set (NonconvexAG.Smooth.E n)) (X : NonconvexAG.Smooth.E n → ℝ) (hX : ConvexOn ℝ K X)
    (P : NonconvexAG.Smooth.E n → NonconvexAG.Smooth.E n → ℝ → NonconvexAG.Smooth.E n) (hP : IsProxMap K X P)
    (α β lam : ℕ → ℝ) (hstep : NonconvexAG.Smooth.AGStepsizes α β lam) (x0 : NonconvexAG.Smooth.E n)
    (M : ℝ) (hA2 : Assumption2 P M) (hx0 : ‖x0‖ ≤ M)
    (N : ℕ) (hN : 1 ≤ N)
    (h29 : ∀ k ∈ Finset.Icc 1 N, α k * lam k ≤ β k ∧ (Lf + Lh) * β 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 : NonconvexAG.Smooth.E n) (hxstar : xstar ∈ K)
    (hopt : ∀ u ∈ K, f xstar + h xstar + X xstar ≤ f u + h u + X u) :
    let Φ : NonconvexAG.Smooth.E n → ℝ := fun x => f x + h x + X x
    let gΨ : NonconvexAG.Smooth.E n → NonconvexAG.Smooth.E n := fun x => gf x + gh x
    let xk : ℕ → NonconvexAG.Smooth.E n := xSeq gΨ P α β lam x0
    let xag : ℕ → NonconvexAG.Smooth.E n := xagSeq gΨ P α β lam x0
    let xmd : ℕ → NonconvexAG.Smooth.E n := xmdSeq gΨ P α β lam x0
    -- (2.44)
    (Finset.Icc 1 N).inf' (Finset.nonempty_Icc.mpr hN)
        (fun k => ‖gradMap P (xmd k) (gΨ (xmd k)) (β k)‖ ^ 2) ≤
      2 * (∑ k ∈ Finset.Icc 1 N, (NonconvexAG.Smooth.Gamma α k)⁻¹ * β k * (1 - (Lf + Lh) * β k))⁻¹ *
        (‖x0 - xstar‖ ^ 2 / (2 * lam 1) + Lf / NonconvexAG.Smooth.Gamma α N * (‖xstar‖ ^ 2 + 2 * M ^ 2)) ∧
    -- (2.45)
    (Lf = 0 → Φ (xag N) - Φ xstar ≤ NonconvexAG.Smooth.Gamma α N * ‖x0 - xstar‖ ^ 2 / (2 * lam 1)) := by sorry
end NonconvexAG.Composite
Source
Ghadimi & Lan, Accelerated Gradient Methods for Nonconvex Nonlinear and Stochastic Programming, arXiv:1310.3787v1, p. 11, Theorem 2 (2.44)–(2.45); conditions (2.9)–(2.10), p. 5; problem (1.3), p. 2
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