Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.2 — the normalized subgradient method with hk→0h_k \to 0hk​→0, ∑hk=∞\sum h_k = \infty∑hk​=∞ converges to M∗M^*M∗

Proved
ShorNonsmooth.SubgradMethod.normalized_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, and let f∗=min⁡x∈Enf(x)f^* = \min_{x \in E_n} f(x)f∗=minx∈En​​f(x). Let h1,h2,…h_1, h_2, \dotsh1​,h2​,… be positive numbers with

lim⁡k→∞hk=0,∑k=1∞hk=+∞.\lim_{k \to \infty} h_k = 0, \qquad \sum_{k=1}^{\infty} h_k = +\infty .k→∞lim​hk​=0,k=1∑∞​hk​=+∞.

For any starting point x0∈Enx_0 \in E_nx0​∈En​ and any choice of subgradients gf(xk)g_f(x_k)gf​(xk​), consider the sequence

xk+1=xk−hk+1 gf(xk)∥gf(xk)∥,k=0,1,…(2.4)x_{k+1} = x_k - h_{k+1}\,\frac{g_f(x_k)}{\|g_f(x_k)\|}, \qquad k = 0, 1, \dots \tag{2.4}xk+1​=xk​−hk+1​∥gf​(xk​)∥gf​(xk​)​,k=0,1,…(2.4)

Then either some xkˉx_{\bar k}xkˉ​ belongs to M∗M^*M∗, or

lim⁡k→∞min⁡y∈M∗∥xk−y∥=0andlim⁡k→∞f(xk)=f∗.\lim_{k\to\infty} \min_{y \in M^*} \|x_k - y\| = 0 \quad\text{and}\quad \lim_{k \to \infty} f(x_k) = f^* .k→∞lim​y∈M∗min​∥xk​−y∥=0andk→∞lim​f(xk​)=f∗.

This is the basic convergence theorem for the subgradient method on a general convex function: no smoothness, no Lipschitz constant and no bound on the subgradients are assumed.

Formalization Note The book writes "bounded set of minimum points" and uses min⁡y∈M∗\min_{y\in M^*}miny∈M∗​ and f∗=min⁡ff^* = \min ff∗=minf, which presuppose M∗≠∅M^* \neq \emptysetM∗=∅; nonemptiness is an explicit hypothesis. min⁡y∈M∗∥xk−y∥\min_{y\in M^*}\|x_k - y\|miny∈M∗​∥xk​−y∥ is Metric.infDist, and f∗f^*f∗ is inf⁡f\inf finff (attained). The stepsizes are h : ℕ → ℝ with h (k+1) used at step kkk; positivity is required for k≥1k \ge 1k≥1 only and divergence is of ∑k≥1hk\sum_{k \ge 1} h_k∑k≥1​hk​. The subgradient selection and the starting point are arbitrary. If gf(xk)=0g_f(x_k) = 0gf​(xk​)=0 the sequence stays at xk∈M∗x_k \in M^*xk​∈M∗.

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_SubgradMethod_SubgradientMethod

open Filter Topology
Formal statement
namespace ShorNonsmooth.SubgradMethod

/-- Shor (1985), p. 25, Theorem 2.2. Let `f` be convex on `E_n` with a bounded (and, as the
book presupposes, nonempty) set `M*` of minimum points, and let `h_k > 0`, `k = 1, 2, …`, with
`h_k → 0` and `∑_{k≥1} h_k = +∞`. Then for any `x₀ ∈ E_n` and any subgradient selection, the
sequence `x_{k+1} = x_k - h_{k+1} g_f(x_k)/‖g_f(x_k)‖` (2.4) either hits `M*` at some index `k̄`,
or satisfies `min_{y ∈ M*} ‖x_k - y‖ → 0` and `f(x_k) → min f = f*`. -/
theorem normalized_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)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg : ∀ x, ShorNonsmooth.AlmostDiff.IsSubgradient f x (g x)) (x₀ : EuclideanSpace ℝ (Fin n)) :
    (∃ kbar : ℕ, normalizedIter g h x₀ kbar ∈ MinSet f) ∨
      (Tendsto (fun k => Metric.infDist (normalizedIter g h x₀ k) (MinSet f)) atTop (𝓝 0) ∧
        Tendsto (fun k => f (normalizedIter g h x₀ k)) atTop (𝓝 (⨅ y, f y))) := by sorry

end ShorNonsmooth.SubgradMethod
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 25, Theorem 2.2
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