Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2.33) — a Polyak step strictly decreases the distance to every point of M(c)M(c)M(c)

Proved
ShorNonsmooth.Fejer.polyak_step_dist_sq_le

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 convex on EnE_nEn​, c∈Rc \in \mathbb{R}c∈R, M(c)={x:f(x)≤c}M(c) = \{x : f(x) \le c\}M(c)={x:f(x)≤c}, and 0<γ<20 < \gamma < 20<γ<2. Let xk∉M(c)x_k \notin M(c)xk​∈/M(c), let gkg_kgk​ be a subgradient of fff at xkx_kxk​, and set

xk+1=xk−γ [f(xk)−c]∥gk∥2 gk.x_{k+1} = x_k - \frac{\gamma\,[f(x_k) - c]}{\|g_k\|^2}\, g_k .xk+1​=xk​−∥gk​∥2γ[f(xk​)−c]​gk​.

Then for every y∈M(c)y \in M(c)y∈M(c)

∥xk+1−y∥2≤∥xk−y∥2−γ(2−γ) [f(xk)−c]2∥gk∥2<∥xk−y∥2.\|x_{k+1} - y\|^2 \le \|x_k - y\|^2 - \gamma(2-\gamma)\,\frac{[f(x_k) - c]^2}{\|g_k\|^2} < \|x_k - y\|^2 .∥xk+1​−y∥2≤∥xk​−y∥2−γ(2−γ)∥gk​∥2[f(xk​)−c]2​<∥xk​−y∥2.

This is the Fejér inequality behind every result of the section: it says that Polyak's step is an M(c)M(c)M(c)-Fejér map, and it quantifies the decrease.

Formalization Note The step is written out with the single subgradient gkg_kgk​; the hypotheses force gk≠0g_k \neq 0gk​=0 (a zero subgradient would make xkx_kxk​ a minimum point, hence xk∈M(c)x_k \in M(c)xk​∈M(c)), so the division is genuine.

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_Fejer_PolyakMethod

open Filter Topology
Formal statement
namespace ShorNonsmooth.Fejer

/-- Shor (1985), p. 37, inequality (2.33) (proof of Theorem 2.11). Let `f` be convex on `E_n`,
`M(c) = {x : f(x) ≤ c}`, `0 < γ < 2`, and let `g_k` be a subgradient of `f` at `x_k ∉ M(c)`.
Then for every `y ∈ M(c)` the Polyak step `x_{k+1} = x_k - γ [f(x_k) - c] / ‖g_k‖² · g_k`
satisfies
`‖x_{k+1} - y‖² ≤ ‖x_k - y‖² - γ(2 - γ) [f(x_k) - c]² / ‖g_k‖² < ‖x_k - y‖²`. -/
theorem polyak_step_dist_sq_le {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ConvexOn ℝ Set.univ f) (c γ : ℝ) (hγ0 : 0 < γ) (hγ2 : γ < 2)
    (xk gk y : EuclideanSpace ℝ (Fin n)) (hgk : ShorNonsmooth.AlmostDiff.IsSubgradient f xk gk)
    (hxk : xk ∉ levelSet f c) (hy : y ∈ levelSet f c) :
    ‖xk - (γ * (f xk - c) / ‖gk‖ ^ 2) • gk - y‖ ^ 2 ≤
        ‖xk - y‖ ^ 2 - γ * (2 - γ) * (f xk - c) ^ 2 / ‖gk‖ ^ 2 ∧
      ‖xk - y‖ ^ 2 - γ * (2 - γ) * (f xk - c) ^ 2 / ‖gk‖ ^ 2 < ‖xk - y‖ ^ 2 := by sorry

end ShorNonsmooth.Fejer
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 37, inequality (2.33) (proof of Theorem 2.11)
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