Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1.1 (existence) — a nonmonotone Wolfe step and an Armijo exponent exist

Proved
NonmonotoneLS.Global.step_exists

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

armijoline-searchnonmonotonep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1wolfe

Let f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R be continuously differentiable and bounded from below, and let the NLSA parameters be fixed. Let x,d∈Rnx, d \in \mathbb{R}^nx,d∈Rn with ∇f(x)d<0\nabla f(x) d < 0∇f(x)d<0, and let CCC be a reference value with f(x)≤Cf(x) \le Cf(x)≤C. Then

  1. there is a step α>0\alpha > 0α>0 satisfying the nonmonotone Wolfe conditions (1.4)–(1.5) at xxx with direction ddd and reference value CCC; and
  2. for every trial step αˉ>0\bar\alpha > 0αˉ>0 there is a largest integer hhh such that
f(x+αˉρhd)≤C+δαˉρh∇f(x)dandαˉρh≤μ,f(x + \bar\alpha\rho^h d) \le C + \delta \bar\alpha\rho^h \nabla f(x) d \quad\text{and}\quad \bar\alpha \rho^h \le \mu,f(x+αˉρhd)≤C+δαˉρh∇f(x)dandαˉρh≤μ,

so that α=αˉρh\alpha = \bar\alpha\rho^hα=αˉρh satisfies the nonmonotone Armijo conditions.

Along a run, the hypothesis f(xk)≤Ckf(x_k) \le C_kf(xk​)≤Ck​ is the first part of Lemma 1.1; together the two parts show that the line search update of the algorithm can always be carried out.

Formalization Note. The statement is pointwise in (x,d,C)(x, d, C)(x,d,C). The paper's "there exists αk\alpha_kαk​ satisfying either the Wolfe or Armijo conditions" is read, as in its proof ("αk\alpha_kαk​ can be chosen to satisfy either the Wolfe or the Armijo line search conditions"), as: each rule can be satisfied; so both conclusions are stated, the Armijo one for every trial step.

Preamble
import Mathlib
import Definitions.Def_NonmonotoneLS_Shared_Params
import Definitions.Def_NonmonotoneLS_Shared_Cost
import Definitions.Def_NonmonotoneLS_Shared_Steps
import Definitions.Def_NonmonotoneLS_Global_Run
import Definitions.Def_NonmonotoneLS_Global_Regions

open scoped InnerProductSpace NNReal Topology
open Filter
Formal statement
namespace NonmonotoneLS.Global

/-- Lemma 1.1, second sentence (p. 1045): if `∇f(x) d < 0`, `f` is bounded from below and the
reference value satisfies `f(x) ≤ C`, then a nonmonotone Wolfe step exists, and for every trial
step `ᾱ > 0` there is a largest integer `h` with `ᾱ ρ^h` satisfying (1.4) and `ᾱ ρ^h ≤ μ`. -/
theorem step_exists {n : ℕ} (p : Shared.Params) (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ContDiff ℝ 1 f) (hbdd : BddBelow (Set.range f))
    (x d : EuclideanSpace ℝ (Fin n)) (C : ℝ) (hC : f x ≤ C)
    (hdesc : ⟪gradient f x, d⟫_ℝ < 0) :
    (∃ α : ℝ, Shared.IsWolfeStep p f x d C α) ∧
      ∀ αbar : ℝ, 0 < αbar → ∃ h : ℤ, IsGreatest (Shared.armijoAdmissible p f x d C αbar) h := by sorry

end NonmonotoneLS.Global
Source
Zhang, Hager, A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization, SIAM J. Optim. 14 (2004), p. 1045, Lemma 1.1 (second sentence)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setup:

  • Let n∈Nn\in\mathbb{N}n∈N and parameters ppp. The record's definition is not shown.
  • Let f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R be continuously differentiable and bounded below, meaning some real mmm satisfies f(y)≥mf(y)\ge mf(y)≥m for all yyy.
  • Let x,d∈Rnx, d\in\mathbb{R}^nx,d∈Rn, and let CCC be a real number with f(x)≤Cf(x) \le Cf(x)≤C.

Assume ⟨∇f(x),d⟩<0\langle \nabla f(x), d\rangle < 0⟨∇f(x),d⟩<0 (strict). Then both of the following hold:

  1. There is a real α\alphaα with IsWolfeStep(p,f,x,d,C,α)\mathrm{IsWolfeStep}(p,f,x,d,C,\alpha)IsWolfeStep(p,f,x,d,C,α). This predicate is defined elsewhere and is not shown. The statement puts no sign or size requirement on α\alphaα beyond that predicate.
  2. For every real αˉ>0\bar\alpha > 0αˉ>0, the set of integers armijoAdmissible(p,f,x,d,C,αˉ)\mathrm{armijoAdmissible}(p,f,x,d,C,\bar\alpha)armijoAdmissible(p,f,x,d,C,αˉ) has a greatest element. That is, there is an integer hhh in the set with h′≤hh' \le hh′≤h for every h′h'h′ in the set. The set is defined elsewhere and is not shown. In particular, it is non-empty and bounded above.

Degenerate cases:

  • Implied non-zero vectors. The strict inequality forces d≠0d \ne 0d=0 and ∇f(x)≠0\nabla f(x)\ne 0∇f(x)=0.
  • n=0n = 0n=0. The inner product is always 000, so the hypothesis cannot hold and the statement is vacuous.
  • Any CCC allowed. CCC may be any real that is at least f(x)f(x)f(x).
  • Whole-space boundedness. The lower bound on fff is required on all of Rn\mathbb{R}^nRn.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

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