Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 3.3 — the SDG iterates satisfy ∥Ak(xk−x∗)∥≤d\|A_k(x_k - x^*)\| \le d∥Ak​(xk​−x∗)∥≤d

Open
ShorNonsmooth.SpaceDilation.dilated_distance_invariant

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

p2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1space-dilationsubgradient-method

Let f:En→Rf : E_n \to \mathbb{R}f:En​→R, let x∗∈Enx^* \in E_nx∗∈En​ and d>0d > 0d>0, and let Sd={x:∥x−x∗∥≤d}S_d = \{x : \|x - x^*\| \le d\}Sd​={x:∥x−x∗∥≤d}. Let g:En→Eng : E_n \to E_ng:En​→En​ satisfy, for every x∈Sdx \in S_dx∈Sd​,

N [f(x)−f(x∗)]  ≤  (g(x), x−x∗)  ≤  M [f(x)−f(x∗)],(3.18)N\,[f(x) - f(x^*)] \;\le\; (g(x),\, x - x^*) \;\le\; M\,[f(x) - f(x^*)], \qquad (3.18)N[f(x)−f(x∗)]≤(g(x),x−x∗)≤M[f(x)−f(x∗)],(3.18)

where M>N>0M > N > 0M>N>0. Run the SDG method with B0=IB_0 = IB0​=I and

  1. x0∈Sdx_0 \in S_dx0​∈Sd​;
  2. hk+1=2MNM+N f(xk)−f(x∗)∥g~k∥h_{k+1} = \dfrac{2MN}{M+N}\,\dfrac{f(x_k) - f(x^*)}{\|\tilde g_k\|}hk+1​=M+N2MN​∥g~​k​∥f(xk​)−f(x∗)​, \quad (3.19)
  3. 1<αk+1=α≤M+NM−N1 < \alpha_{k+1} = \alpha \le \dfrac{M+N}{M-N}1<αk+1​=α≤M−NM+N​, k=0,1,2,…\quad k = 0, 1, 2, \dotsk=0,1,2,… \quad (3.20)

Then

∥Ak(xk−x∗)∥≤dfor k=0,1,2,… .\|A_k(x_k - x^*)\| \le d \qquad \text{for } k = 0, 1, 2, \dots .∥Ak​(xk​−x∗)∥≤dfor k=0,1,2,….

The distance from the iterate to x∗x^*x∗, measured in the transformed space, never exceeds its initial value; in particular all iterates stay in SdS_dSd​. This invariant is what lets Theorems 3.1 and 3.2 be applied to function values in Theorem 3.4.

Formalization Note The book takes fff almost differentiable on SdS_dSd​, ggg its almost-gradient and x∗x^*x∗ a local minimum point; the proof uses only (3.18), so the Lean statement holds for every fff on EnE_nEn​ and every ggg satisfying (3.18) on SdS_dSd​ (a generalization). Condition (3.18) with M>N>0M > N > 0M>N>0 already forces f(x)≥f(x∗)f(x) \ge f(x^*)f(x)≥f(x∗) on SdS_dSd​. The proof's A0=IA_0 = IA0​=I is assumed (B0=IB_0 = IB0​=I); for another B0B_0B0​ the claim fails at k=0k = 0k=0. The stepsize (3.19) is used only while g(xk)≠0g(x_k) \neq 0g(xk​)=0, when g~k≠0\tilde g_k \neq 0g~​k​=0; if g(xk)=0g(x_k) = 0g(xk​)=0 the method stops and the state is repeated.

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_SpaceDilation_SDGMethod
Formal statement
namespace ShorNonsmooth.SpaceDilation

/-- Shor (1985), pp. 56–57, Theorem 3.3. Let `x*` be a point, `d > 0`, `S_d = {x : ‖x - x*‖ ≤ d}`,
and let the selection `g` satisfy on `S_d`
`N [f(x) - f(x*)] ≤ (g(x), x - x*) ≤ M [f(x) - f(x*)]` (3.18) with `M > N > 0`.
Run the SDG method with `B₀ = I`, `x₀ ∈ S_d`, stepsizes
`h_{k+1} = (2MN/(M+N)) (f(x_k) - f(x*)) / ‖g̃_k‖` (3.19) and coefficients
`1 < α_{k+1} = α ≤ (M+N)/(M-N)` (3.20). Then `‖A_k (x_k - x*)‖ ≤ d` for `k = 0, 1, 2, …`.
(The book takes `f` almost differentiable, `g` its almost-gradient and `x*` a local minimum;
the proof uses only (3.18), which already forces `f ≥ f(x*)` on `S_d`.) -/
theorem dilated_distance_invariant {n : ℕ}
    (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (xstar x₀ : EuclideanSpace ℝ (Fin n)) (d M N α : ℝ)
    (hd : 0 < d) (hN : 0 < N) (hNM : N < M)
    (h318 : ∀ x ∈ Metric.closedBall xstar d,
      N * (f x - f xstar) ≤ inner ℝ (g x) (x - xstar) ∧
        inner ℝ (g x) (x - xstar) ≤ M * (f x - f xstar))
    (hx₀ : x₀ ∈ Metric.closedBall xstar d)
    (hα : 1 < α) (hαMN : α ≤ (M + N) / (M - N)) (k : ℕ) :
    ‖(sdg g (fun _ x gt => 2 * M * N / (M + N) * (f x - f xstar) / ‖gt‖) (fun _ => α) x₀
        (ContinuousLinearEquiv.refl ℝ _) k).A
      ((sdg g (fun _ x gt => 2 * M * N / (M + N) * (f x - f xstar) / ‖gt‖) (fun _ => α) x₀
        (ContinuousLinearEquiv.refl ℝ _) k).x - xstar)‖ ≤ d := by sorry

end ShorNonsmooth.SpaceDilation
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, pp. 56–57, Theorem 3.3, formulas (3.18)–(3.20)
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me