Theorem 2.5 — if contains a ball of radius and , the method (2.4) terminates
ProvedShorNonsmooth.SubgradMethod.normalized_finite_termination_of_ballLet be a convex function on whose set of minimum points contains a ball of radius . Let the stepsizes satisfy
Then for every starting point and every choice of subgradients, the normalized subgradient method (2.4), , reaches after finitely many steps: there is an index with .
Stepsizes need not tend to zero here; it suffices that they are eventually shorter than the diameter of a ball of minimizers.
Formalization Note is encoded as "there is with for all large ", which is equivalent for real sequences and excludes unbounded sequences (whose Filter.limsup in ℝ is a junk value). The ball is Metric.closedBall c r. The book's sum starts at ; does not enter the iteration and does not affect divergence.
import Mathlib import Definitions.Def_ShorNonsmooth_SubgradMethod_SubgradientMethod open Filter Topology
namespace ShorNonsmooth.SubgradMethod
/-- Shor (1985), p. 27, Theorem 2.5. Suppose the set `M*` of minimum points of the convex
function `f` contains a ball (the book's "sphere") `S_r` of radius `r > 0`, and the normalized
subgradient method (2.4) uses stepsizes `h_k > 0` with `∑_{k≥0} h_k = +∞` and
`limsup_{k→∞} h_k < 2r` (encoded as: for some `q < 2r`, eventually `h_k ≤ q`). Then for any
`x₀ ∈ E_n` (and any subgradient selection) some iterate `x_{k(x₀)}` lies in `M*`. -/
theorem normalized_finite_termination_of_ball {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
(hf : ConvexOn ℝ Set.univ f) (c : EuclideanSpace ℝ (Fin n)) (r : ℝ) (hr : 0 < r)
(hball : Metric.closedBall c r ⊆ MinSet f) (h : ℕ → ℝ) (hpos : ∀ k, 0 < h k)
(hdiv : Tendsto (fun N => ∑ k ∈ Finset.range N, h k) atTop atTop)
(hlimsup : ∃ q < 2 * r, ∀ᶠ k in atTop, h k ≤ q)
(g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
(hg : ∀ x, ShorNonsmooth.AlmostDiff.IsSubgradient f x (g x)) (x₀ : EuclideanSpace ℝ (Fin n)) :
∃ k : ℕ, normalizedIter g h x₀ k ∈ MinSet f := by sorry
end ShorNonsmooth.SubgradMethod
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.