Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.11 — Polyak's method with 0<γ<20 < \gamma < 20<γ<2 reaches or converges to the level set M(c)M(c)M(c)

Proved
ShorNonsmooth.Fejer.polyak_method_converges

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

fejer-mapp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1polyak-stepsubgradient-method

Let fff be a convex function on EnE_nEn​, f∗=inf⁡f(x)f^* = \inf f(x)f∗=inff(x), and c≥f∗c \ge f^*c≥f∗ a level whose set M(c)={x∈En:f(x)≤c}M(c) = \{x \in E_n : f(x) \le c\}M(c)={x∈En​:f(x)≤c} is nonempty. For a subgradient selection gfg_fgf​ consider Polyak's method

xk+1=xk−γ [f(xk)−c]∥gf(xk)∥2 gf(xk),k=0,1,…,(2.32)x_{k+1} = x_k - \frac{\gamma\,[f(x_k) - c]}{\|g_f(x_k)\|^2}\, g_f(x_k), \qquad k = 0, 1, \dots, \qquad (2.32)xk+1​=xk​−∥gf​(xk​)∥2γ[f(xk​)−c]​gf​(xk​),k=0,1,…,(2.32)

which stops once xk∈M(c)x_k \in M(c)xk​∈M(c). If 0<γ<20 < \gamma < 20<γ<2, then for any x0∈Enx_0 \in E_nx0​∈En​ either xk∗∈M(c)x_{k^*} \in M(c)xk∗​∈M(c) for some k∗k^*k∗, or the limit lim⁡k→∞xk\lim_{k \to \infty} x_klimk→∞​xk​ exists and belongs to M(c)M(c)M(c).

The method needs only the level ccc, not the minimum point; with c=f∗c = f^*c=f∗ (when attained) it converges to a minimum point of fff, and with c>f∗c > f^*c>f∗ it solves the convex inequality f(x)≤cf(x) \le cf(x)≤c.

Formalization Note The page prints the label as "Theorem 9.11"; the text on p. 40 ("Theorems 2.11 and 2.14") shows it is Theorem 2.11. The book presupposes a point y∈M(c)y \in M(c)y∈M(c), so M(c)≠∅M(c) \neq \emptysetM(c)=∅ is assumed (for c=f∗c = f^*c=f∗ this means the infimum is attained). The subgradient selection is arbitrary and need not be continuous. The step map sets φc(x)=x\varphi_c(x) = xφc​(x)=x on M(c)M(c)M(c), as the book does; it also stops when gf(x)=0g_f(x) = 0gf​(x)=0, which under these hypotheses already implies x∈M(c)x \in M(c)x∈M(c). The conclusion "lim⁡xk∈M(c)\lim x_k \in M(c)limxk​∈M(c)" is stated as existence of a limit lying in M(c)M(c)M(c).

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_Fejer_PolyakMethod

open Filter Topology
Formal statement
namespace ShorNonsmooth.Fejer

/-- Shor (1985), p. 37, Theorem 2.11 (printed "Theorem 9.11", a misprint for 2.11). Let `f` be
convex on `E_n`, `c ≥ f* = inf f` with nonempty level set `M(c) = {x : f(x) ≤ c}`, and let
`{x_k}` be generated by Polyak's method (2.32),
`x_{k+1} = x_k - γ [f(x_k) - c] / ‖g_f(x_k)‖² · g_f(x_k)`, stopped once `x_k ∈ M(c)`, for an
arbitrary subgradient selection `g_f`. If `0 < γ < 2`, then for any `x₀ ∈ E_n` either
`x_{k*} ∈ M(c)` for some `k*`, or `lim_{k→∞} x_k` exists and belongs to `M(c)`. -/
theorem polyak_method_converges {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ConvexOn ℝ Set.univ f) (c : ℝ) (hM : (levelSet f c).Nonempty)
    (γ : ℝ) (hγ0 : 0 < γ) (hγ2 : γ < 2)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg : ∀ x, ShorNonsmooth.AlmostDiff.IsSubgradient f x (g x))
    (x : ℕ → EuclideanSpace ℝ (Fin n)) (hx : ∀ k, x (k + 1) = polyakStep f g c γ (x k)) :
    (∃ kstar : ℕ, x kstar ∈ levelSet f c) ∨
      ∃ xbar ∈ levelSet f c, Tendsto x atTop (𝓝 xbar) := by sorry

end ShorNonsmooth.Fejer
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 37, Theorem 2.11 (printed "Theorem 9.11") with formula (2.32)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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