Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (3.62) — a vector field for minimizing a convex function on a ball

Proved
ShorNonsmooth.Ellipsoid.ball_field_monotone

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

convex-analysisellipsoid-methodp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let f:En→Rf : E_n \to \mathbb{R}f:En​→R be convex, let gf(x)g_f(x)gf​(x) be a subgradient of fff at xxx for every xxx, and let x∗x^*x∗ be a minimum point of fff on the ball S(x0,R)={x:∥x−x0∥≤R}S(x_0, R) = \{x : \|x - x_0\| \le R\}S(x0​,R)={x:∥x−x0​∥≤R}. Define the vector field

g(x)={gf(x)if x∈S(x0,R),x−x0∥x−x0∥if x∉S(x0,R).g(x) = \begin{cases} g_f(x) & \text{if } x \in S(x_0, R), \\[2pt] \dfrac{x - x_0}{\|x - x_0\|} & \text{if } x \notin S(x_0, R). \end{cases}g(x)=⎩⎨⎧​gf​(x)∥x−x0​∥x−x0​​​if x∈S(x0​,R),if x∈/S(x0​,R).​

Then

(g(x),x−x∗)≥0for all x∈En.(g(x), x - x^*) \ge 0 \qquad \text{for all } x \in E_n .(g(x),x−x∗)≥0for all x∈En​.

The field makes the algorithm (3.57)–(3.60) applicable to constrained minimization on a ball: by Theorem 3.14, x∗x^*x∗ remains in ellipsoids whose volume decreases with ratio qnq_nqn​.

Formalization Note The subgradient property is f(y)−f(x)≥(gf(x),y−x)f(y) - f(x) \ge (g_f(x), y - x)f(y)−f(x)≥(gf​(x),y−x) for all x,yx, yx,y. The book's intermediate estimate for x∉S(x0,R)x \notin S(x_0,R)x∈/S(x0​,R) prints ∥x−x0∥(∥x−x0∥+∥x∗−x0∥)\|x - x_0\|(\|x - x_0\| + \|x^* - x_0\|)∥x−x0​∥(∥x−x0​∥+∥x∗−x0​∥) where ∥x−x0∥(∥x−x0∥−∥x∗−x0∥)\|x - x_0\|(\|x - x_0\| - \|x^* - x_0\|)∥x−x0​∥(∥x−x0​∥−∥x∗−x0​∥) is meant; only the conclusion is stated.

Preamble
import Mathlib
Formal statement
namespace ShorNonsmooth.Ellipsoid

/-- Shor (1985), p. 88, (3.62). Let `f` be convex on `E_n`, `g_f` a subgradient selection of `f`,
and `x*` a minimum point of `f` on the ball `S(x₀, R) = {x : ‖x - x₀‖ ≤ R}`. The field
`g(x) = g_f(x)` for `x ∈ S(x₀, R)`, `g(x) = (x - x₀)/‖x - x₀‖` for `x ∉ S(x₀, R)`, satisfies
`(g(x), x - x*) ≥ 0` for all `x`. (The book's intermediate bound
`‖x - x₀‖(‖x - x₀‖ + ‖x* - x₀‖)` is a misprint for `‖x - x₀‖(‖x - x₀‖ - ‖x* - x₀‖)`; only the
conclusion is stated.) -/
theorem ball_field_monotone {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ConvexOn ℝ Set.univ f)
    (gf : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hgf : ∀ x y : EuclideanSpace ℝ (Fin n), f y - f x ≥ inner ℝ (gf x) (y - x))
    (x₀ xstar : EuclideanSpace ℝ (Fin n)) (R : ℝ)
    (hxstar : xstar ∈ Metric.closedBall x₀ R)
    (hmin : ∀ x ∈ Metric.closedBall x₀ R, f xstar ≤ f x)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg_in : ∀ x ∈ Metric.closedBall x₀ R, g x = gf x)
    (hg_out : ∀ x ∉ Metric.closedBall x₀ R, g x = ‖x - x₀‖⁻¹ • (x - x₀)) :
    ∀ x : EuclideanSpace ℝ (Fin n), 0 ≤ inner ℝ (g x) (x - xstar) := by sorry

end ShorNonsmooth.Ellipsoid
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 88, §3.8.1, Eq. (3.62)
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