Theorem 3.1 — R-linear convergence of the nonmonotone line search for strongly convex
ProvedNonmonotoneLS.RLinear.r_linear_convergenceLet be continuously differentiable and strongly convex: there is with
and let be its minimizer. Consider a run of the Nonmonotone Line Search Algorithm (Wolfe or Armijo rule, parameters , , ) with iterates , directions and steps , and write . Assume
- the direction assumption holds at every iteration: there are with and for every ;
- for all ;
- ;
- is Lipschitz continuous on bounded sets.
Then there exists such that
This is the paper's second main result: with averaged reference values the nonmonotone line search keeps the linear rate of monotone descent methods on strongly convex functions.
Formalization Note. (i) Repair of the printed statement. The paper's direction assumption holds only "for all sufficiently large ", but the conclusion is claimed for each , and the proof applies (2.4)–(2.5) at every . As printed the theorem is false: with the step satisfies the Wolfe conditions with equality, , and (3.5) at fails whenever . The direction assumption is therefore required for every ; descent at every follows from (2.4). (ii) The step bound. "There exists such that for all " is stated as with the algorithm's parameter. This loses nothing: an Armijo run satisfies by its rule, and a Wolfe run does not use , so a Wolfe run with is a run for the parameters with . The proof's region and constant use the same . (iii) is any global minimizer; uniqueness follows from (3.1). (iv) "Lipschitz continuous on bounded sets" is: for every bounded there is with -Lipschitz on . (v) may depend on , the parameters and the run, as in the proof.
import Mathlib import Definitions.Def_NonmonotoneLS_Shared_Params import Definitions.Def_NonmonotoneLS_Shared_Cost import Definitions.Def_NonmonotoneLS_Shared_Steps import Definitions.Def_NonmonotoneLS_RLinear_Run import Definitions.Def_NonmonotoneLS_RLinear_Regions import Definitions.Def_NonmonotoneLS_RLinear_Constants open scoped InnerProductSpace NNReal open Filter
namespace NonmonotoneLS.RLinear
/-- Theorem 3.1 (p. 1049), with the direction assumption required at every `k` (repair (b)):
if `f` is strongly convex in the sense of (3.1), `x*` minimizes `f`, the directions of the run
satisfy (2.4)–(2.5) for every `k`, the steps satisfy `α_k ≤ μ` for all `k`, `η_max < 1`, and `∇f`
is Lipschitz continuous on bounded sets, then there is `θ ∈ (0, 1)` with
`f(x_k) - f(x*) ≤ θ^k (f(x_0) - f(x*))` for each `k`. -/
theorem r_linear_convergence {n : ℕ} (p : Shared.Params) (r : Rule) (f : EuclideanSpace ℝ (Fin n) → ℝ)
(hf : ContDiff ℝ 1 f) (γ : ℝ) (hsc : IsStronglyConvexWith f γ)
(xstar : EuclideanSpace ℝ (Fin n)) (hmin : ∀ y, f xstar ≤ f y)
(hηmax : p.ηmax < 1)
(x d : ℕ → EuclideanSpace ℝ (Fin n)) (α η : ℕ → ℝ)
(hrun : IsNLSARun p r f x d α η)
(hdir : ∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ DirectionBounds f x d c₁ c₂)
(hαμ : ∀ k, α k ≤ p.μ)
(hLip : ∀ S : Set (EuclideanSpace ℝ (Fin n)), Bornology.IsBounded S →
∃ L : ℝ≥0, LipschitzOnWith L (gradient f) S) :
∃ θ : ℝ, 0 < θ ∧ θ < 1 ∧ ∀ k, f (x k) - f xstar ≤ θ ^ k * (f (x 0) - f xstar) := by sorry
end NonmonotoneLS.RLinear
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix dimension . Work in the Euclidean space with its standard inner product. The statement takes these data:
- : a parameter record of type
Shared.Params. The statement uses two of its fields: a real number and a real number . - : a value of type
Rule. No hypothesis restricts it directly. - : a function that is continuously differentiable (class ).
- : any real number. Nothing requires .
- : a point.
- and : four sequences indexed by .
Assume all of the following:
- Strong convexity. satisfies the predicate
IsStronglyConvexWithwith the constant . The definition comes from the imported bundle, and its body was not given to me. So I cannot say what inequality it asserts, whether it forces , or whether it still means anything when . - Global minimizer. for every .
- Bound on . . There is no lower bound.
- The sequences form a run. The predicate
IsNLSARunholds for . Its body was not given to me either. Whatever it says about how the iterates, directions, step sizes and the sequence are produced is contained only in that definition. - Direction bounds. There are constants and such that the predicate
DirectionBoundsholds for . Its body was not given to me. So I cannot say what inequalities it imposes, or for which indices . - Upper bound on step sizes. for every . There is no lower bound on in this statement.
- Local Lipschitz gradient. For every bounded set there is a constant , which may depend on , such that is -Lipschitz on :
Here is the gradient, the vector that represents the derivative of through the inner product.
Conclusion. There is a real number with such that, for every ,
The order of the quantifiers matters. is chosen only after all the data and hypotheses are fixed: , , , , , , the four sequences, and the witnesses . So may depend on the particular run.
The statement does not say that converges to . It does not claim any bound on . It does not give a formula for .
The documentation comment above the theorem describes the intended result, but it is not part of what is asserted. The formal content is only the hypotheses and conclusion above.
Degenerate cases.
- . Then , and the inequality reads . It holds trivially.
- . Then has exactly one point, so every equals . Both sides of the inequality are , and the conclusion holds for any , whatever the other hypotheses say.
- . Then the conclusion requires for every . By minimality this means for all .
- . This value is allowed by the statement's own binders. What hypothesis 1 then requires depends entirely on the unseen definition of
IsStronglyConvexWith. - Sign conditions on , and . The statement itself imposes none. Only hypothesis 6 constrains the step sizes, and only from above. Any other restriction must come from
IsNLSARun. - Vacuous hypotheses. I cannot tell whether hypotheses 1, 4 and 5 can all hold at once, because their definitions were not given to me. If they cannot, the theorem is vacuously true.
- Lean's default value for the gradient. Lean's gradient returns at points where is not differentiable. That case does not arise here, because is assumed everywhere.
- Other default values. The statement contains no division, no subtraction of natural numbers, no integrals and no suprema. All subtractions are between real numbers.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.