Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.1 — a descent direction shorter than ω(x,ε/2)\omega(x,\varepsilon/2)ω(x,ε/2) decreases fff by (ε/2)∥d∥(\varepsilon/2)\|d\|(ε/2)∥d∥

Proved
LewisTorczon.BoundPS.proposition_4_1

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

derivative-free-optimizationdescent-directionmean-value-theoremp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R, g=∇fg=\nabla fg=∇f, x,d∈Rnx,d\in\mathbb R^nx,d∈Rn and ε>0\varepsilon>0ε>0. For the modulus of continuity

ω(x,ε)=sup⁡{δ>0:∥g(y)−g(x)∥<ε for all y with ∥y−x∥<δ},\omega(x,\varepsilon)=\sup\{\delta>0 : \|g(y)-g(x)\|<\varepsilon\ \text{for all } y \text{ with } \|y-x\|<\delta\},ω(x,ε)=sup{δ>0:∥g(y)−g(x)∥<ε for all y with ∥y−x∥<δ},

suppose that fff is continuously differentiable along the closed segment from xxx to x+dx+dx+d, that g(x)≠0g(x)\ne0g(x)=0, that g(x)Td≤−ε∥d∥g(x)^{T}d\le-\varepsilon\|d\|g(x)Td≤−ε∥d∥, and that ∥d∥<ω(x,ε/2)\|d\|<\omega(x,\varepsilon/2)∥d∥<ω(x,ε/2). Then

f(x+d)−f(x)≤−ε2 ∥d∥.f(x+d)-f(x)\le-\frac{\varepsilon}{2}\,\|d\| .f(x+d)−f(x)≤−2ε​∥d∥.

This is the elementary descent estimate that turns a sufficiently short, sufficiently steep trial step into a guaranteed decrease of the objective.

Formalization Note The supremum ω\omegaω is not formed. The hypothesis ∥d∥<ω(x,ε/2)\|d\|<\omega(x,\varepsilon/2)∥d∥<ω(x,ε/2) is stated in the equivalent form: there is δ\deltaδ with ∥d∥<δ\|d\|<\delta∥d∥<δ and ∥g(y)−g(x)∥<ε/2\|g(y)-g(x)\|<\varepsilon/2∥g(y)−g(x)∥<ε/2 whenever ∥y−x∥<δ\|y-x\|<\delta∥y−x∥<δ (the set in the definition of ω\omegaω is closed downward, so the two are equivalent; a real supremum of an unbounded set would evaluate to 000 in Lean). "Continuously differentiable on the segment" is encoded as: fff is differentiable at every point of the closed segment and ∇f\nabla f∇f is continuous on it. The gradient is Mathlib's gradient f.

Preamble
import Mathlib
import Definitions.Def_LewisTorczon_BoundPS_Box
import Definitions.Def_LewisTorczon_BoundPS_ProjQ
import Definitions.Def_LewisTorczon_BoundPS_GPS
Formal statement
namespace LewisTorczon.BoundPS

/-- **Proposition 4.1**, p. 8. Let `g = ∇f`. If `f` is differentiable at every point of the closed
segment `[x, x + d]` with `g` continuous on it, `g(x) ≠ 0`, `g(x)ᵀd ≤ -ε‖d‖`, and
`‖d‖ < ω(x, ε/2)` — encoded as: some `δ > ‖d‖` has `‖g(y) - g(x)‖ < ε/2` whenever `‖y - x‖ < δ` —
then `f(x + d) - f(x) ≤ -(ε/2)‖d‖`. -/
theorem proposition_4_1 {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (x d : EuclideanSpace ℝ (Fin n)) (ε δ : ℝ) (hε : 0 < ε)
    (hdiff : ∀ y ∈ segment ℝ x (x + d), DifferentiableAt ℝ f y)
    (hcont : ContinuousOn (gradient f) (segment ℝ x (x + d)))
    (hgx : gradient f x ≠ 0) (hdesc : inner ℝ (gradient f x) d ≤ -ε * ‖d‖)
    (hω : ∀ y, ‖y - x‖ < δ → ‖gradient f y - gradient f x‖ < ε / 2) (hd : ‖d‖ < δ) :
    f (x + d) - f x ≤ -(ε / 2) * ‖d‖ := by sorry

end LewisTorczon.BoundPS
Source
Lewis & Torczon, Pattern Search Algorithms for Bound Constrained Minimization, ICASE Report No. 96-20 (NASA CR-198306), March 1996, p. 8, Proposition 4.1; ω defined on p. 7, §4
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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