Theorem 2.2 — global convergence of the nonmonotone line search algorithm
ProvedNonmonotoneLS.Global.global_convergenceLet be continuously differentiable and bounded from below, fix NLSA parameters , , , and let be a run of the nonmonotone line search algorithm with the Wolfe rule or with the Armijo rule. Suppose
- for every ;
- the direction assumption (2.4)–(2.5) holds: for some , and for all sufficiently large ;
- for some , is -Lipschitz on the level set if the Wolfe conditions are used, and on , the set of points at distance at most from with , if the Armijo conditions are used.
Then
Moreover, if , then
and hence every limit point of a convergent subsequence of the iterates satisfies .
This is the global convergence theorem for the averaged nonmonotone line search: it holds for nonconvex and for every choice of the weights , the case being the classical monotone line search.
Formalization Note. (a) Hypothesis 1 is not in the printed theorem. The proof needs at every , both to keep every iterate in (where the Wolfe case assumes the Lipschitz condition) and to bound below by ; that is the hypothesis of Lemma 1.1, which the algorithm's line search presupposes. Without it an early ascent step could leave . The direction assumption itself stays "for all sufficiently large ", as printed. (b) (2.6) is stated as "for every , for infinitely many ", equivalent for a nonnegative sequence; Lean's real would return for a divergent sequence. (c) The final "Hence" sentence is derived from (2.7), so it is stated under . (d) and distances are taken in , so an unbounded direction sequence gives . (e) The Lipschitz condition is assumed only on the set the theorem names, never globally.
Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.
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
namespace NonmonotoneLS.Global
/-- Theorem 2.2 (p. 1047). Let `f` be continuously differentiable and bounded from below, and let
`(x_k, d_k, α_k, η_k)` be a run of the NLSA with `∇f(x_k) d_k ≤ 0` for every `k`, satisfying the
direction assumption (2.4)–(2.5), where `∇f` is Lipschitz on `𝓛` if the Wolfe conditions are used
and on `𝓛̄` if the Armijo conditions are used. Then
(2.6) `liminf_k ‖∇f(x_k)‖ = 0` (stated as: for every `ε > 0`, `‖∇f(x_k)‖ < ε` for infinitely
many `k`); and if `η_max < 1`, (2.7) `∇f(x_k) → 0` and every limit of a convergent subsequence
of `(x_k)` is a stationary point. -/
theorem global_convergence {n : ℕ} (p : Shared.Params) (r : Rule)
(f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ContDiff ℝ 1 f) (hbdd : BddBelow (Set.range f))
(x d : ℕ → EuclideanSpace ℝ (Fin n)) (α η : ℕ → ℝ)
(hrun : IsNLSARun p r f x d α η)
(hdesc : ∀ k, ⟪gradient f (x k), d k⟫_ℝ ≤ 0)
(hdir : DirectionAssumption f x d)
(hLip : ∃ L : ℝ≥0, LipschitzHyp p r f x d L) :
(∀ ε : ℝ, 0 < ε → ∃ᶠ k in atTop, ‖gradient f (x k)‖ < ε) ∧
(p.ηmax < 1 → Tendsto (fun k => gradient f (x k)) atTop (𝓝 0)) ∧
(p.ηmax < 1 → ∀ xstar : EuclideanSpace ℝ (Fin n),
(∃ φ : ℕ → ℕ, StrictMono φ ∧ Tendsto (x ∘ φ) atTop (𝓝 xstar)) →
gradient f xstar = 0) := by sorry
end NonmonotoneLS.Global
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, is a natural number and is -dimensional Euclidean space, with its standard inner product and Euclidean norm . The statement relies on five names from imported definition files that are not reproduced here: Params (in the Shared namespace), Rule, IsNLSARun, DirectionAssumption and LipschitzHyp. Their contents are not visible, so they cannot be unfolded. Below they are treated as named conditions whose meaning is fixed only by those definitions. The one thing visible about is that it has a real-comparable field, written here. The docstring above the theorem is a comment and does not form part of what is asserted.
Data. The theorem takes:
- a parameter record of the type
Params, with a field ; - a value of the type
Rule; - a function ;
- two sequences and in ;
- two real sequences and .
Here denotes the gradient of at : the vector in that represents the Fréchet derivative of at through the inner product. By the convention used here, is the zero vector at any point where is not differentiable. Under hypothesis 1 below, is differentiable everywhere, so is always the genuine gradient.
Hypotheses. Assume all of the following:
- is continuously differentiable () on all of .
- is bounded below on all of : some real satisfies for every .
- The condition
IsNLSARunholds for . This is the only hypothesis that mentions and at all, and together with hypothesis 6 it is the only place appears. - For every :
This is a non-strict inequality, so or is allowed.
5. The condition DirectionAssumption holds for .
6. There is a nonnegative real for which the condition LipschitzHyp holds for . The value is not excluded by the statement itself.
Conclusions. Under these hypotheses, all three of the following hold:
- (i) For every real , there are infinitely many indices with
Since norms are nonnegative, this is the same as .
- (ii) If , then in as .
- (iii) If , then every cluster point of the sequence is stationary. Precisely: take any point and any strictly increasing map with . Then .
The condition in (ii) and (iii) is the strict inequality . Conclusion (i) is asserted with no condition on .
Degenerate cases.
- : has exactly one point, the zero vector. Then every gradient is the zero vector, and (i), (ii) and (iii) all hold outright, whatever the hypotheses say.
- : Conclusions (ii) and (iii) hold vacuously, and only (i) says anything.
- No subsequence converges to : Conclusion (iii) says nothing about that .
- Hypotheses that cannot be satisfied: If
IsNLSARun,DirectionAssumptionorLipschitzHypcan never hold together with the other hypotheses (for some or all choices of and ), the theorem is vacuous in those cases. Whether that happens cannot be read off from this code, because those definitions are not shown. - Constant : Such an is permitted, since it is and bounded below. Then and all three conclusions hold trivially.
- Division and default values: The statement itself uses no division, no natural-number subtraction, no integrals and no suprema. Any such operations inside the imported definitions are not visible here.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.