Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.4 — the subgradient method restarted at x0x_0x0​ when hk+1∥gf(xk)∥>ch_{k+1}\|g_f(x_k)\| > chk+1​∥gf​(xk​)∥>c converges

Proved
ShorNonsmooth.SubgradMethod.restarted_subgradient_method_converges

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

convergencep2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1subgradient-method

Let fff be a convex function on EnE_nEn​ whose set M∗M^*M∗ of minimum points is nonempty and bounded, f∗=min⁡ff^* = \min ff∗=minf, and let hk>0h_k > 0hk​>0, hk→0h_k \to 0hk​→0, ∑k=1∞hk=+∞\sum_{k=1}^\infty h_k = +\infty∑k=1∞​hk​=+∞. Let c>0c > 0c>0 be a constant. For any starting point x0x_0x0​ and any choice of subgradients, the sequence

xk+1={xk−hk+1 gf(xk)if hk+1∥gf(xk)∥≤c,x0otherwise,x_{k+1} = \begin{cases} x_k - h_{k+1}\, g_f(x_k) & \text{if } h_{k+1}\|g_f(x_k)\| \le c, \\ x_0 & \text{otherwise,} \end{cases}xk+1​={xk​−hk+1​gf​(xk​)x0​​if hk+1​∥gf​(xk​)∥≤c,otherwise,​

satisfies

lim⁡k→∞min⁡x∈M∗∥xk−x∥=0,lim⁡k→∞f(xk)=f∗.\lim_{k\to\infty} \min_{x \in M^*} \|x_k - x\| = 0, \qquad \lim_{k\to\infty} f(x_k) = f^* .k→∞lim​x∈M∗min​∥xk​−x∥=0,k→∞lim​f(xk​)=f∗.

Restarting from x0x_0x0​ whenever a step would be longer than ccc removes the boundedness requirement of Theorem 2.3 without normalizing the subgradients.

Formalization Note The restart goes back to the original starting point x0x_0x0​, not to xkx_kxk​. Nonemptiness of M∗M^*M∗ is explicit, as in Theorem 2.2.

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_SubgradMethod_SubgradientMethod

open Filter Topology
Formal statement
namespace ShorNonsmooth.SubgradMethod

/-- Shor (1985), p. 27, Theorem 2.4. Under the assumptions of Theorem 2.2 (`f` convex on `E_n`,
`M*` nonempty and bounded, `h_k > 0`, `h_k → 0`, `∑_{k≥1} h_k = +∞`), for any positive constant
`c`, any starting point `x₀` and any subgradient selection, the sequence
`x_{k+1} = x_k - h_{k+1} g_f(x_k)` if `h_{k+1} ‖g_f(x_k)‖ ≤ c`, `x_{k+1} = x₀` otherwise,
satisfies `min_{x ∈ M*} ‖x_k - x‖ → 0` and `f(x_k) → f*`. -/
theorem restarted_subgradient_method_converges {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ConvexOn ℝ Set.univ f) (hMne : (MinSet f).Nonempty)
    (hMbdd : Bornology.IsBounded (MinSet f)) (h : ℕ → ℝ) (hpos : ∀ k, 0 < h (k + 1))
    (hlim : Tendsto h atTop (𝓝 0))
    (hdiv : Tendsto (fun N => ∑ k ∈ Finset.range N, h (k + 1)) atTop atTop)
    (c : ℝ) (hc : 0 < c)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg : ∀ x, ShorNonsmooth.AlmostDiff.IsSubgradient f x (g x)) (x₀ : EuclideanSpace ℝ (Fin n)) :
    Tendsto (fun k => Metric.infDist (resetIter g h c x₀ k) (MinSet f)) atTop (𝓝 0) ∧
      Tendsto (fun k => f (resetIter g h c x₀ k)) atTop (𝓝 (⨅ y, f y)) := by sorry

end ShorNonsmooth.SubgradMethod
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 27, Theorem 2.4
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

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