(2.6), p. 631 — either f(x_t) → −∞, or f(x_t) converges and Σ γ_t‖∇f(x_t)‖² < ∞
ProvedGradErrors.Deterministic.sum_gamma_grad_sq_finiteLet be continuously differentiable with -Lipschitz gradient, for all (standing assumption (2.1) of the paper). Let and () satisfy the recursion
where, for positive constants and every ,
- (descent direction, (2.2)) and ;
- (error bound, (2.3)) ;
- (stepsizes) , , and .
Then either , or else converges to a finite value and
This is the summability statement (2.6) of the proof of Proposition 1, from which the convergence of the gradients is derived.
Formalization Note is EuclideanSpace ℝ (Fin n), is the real inner product and is Mathlib's gradient f (the true gradient, since ContDiff ℝ 1 f is assumed). The Lipschitz constant is taken as L : ℝ≥0 with LipschitzWith L (gradient f); this is equivalent to (2.1) for some real constant . are arbitrary sequences: nothing about how they are produced is assumed beyond (2.2)–(2.3). The divergent stepsize sum is retained from Proposition 1's setting, although this estimate itself does not use it. The terms are nonnegative, so Summable is exactly finiteness of the series.
import Mathlib open Filter Topology NNReal InnerProductSpace
namespace GradErrors.Deterministic
theorem sum_gamma_grad_sq_finite {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ContDiff ℝ 1 f)
(L : ℝ≥0) (hL : LipschitzWith L (gradient f))
(x s w : ℕ → EuclideanSpace ℝ (Fin n)) (γ : ℕ → ℝ)
(c₁ c₂ p q : ℝ) (hc₁ : 0 < c₁) (hc₂ : 0 < c₂) (hp : 0 < p) (hq : 0 < q)
(hx : ∀ t, x (t + 1) = x t + γ t • (s t + w t))
(h22a : ∀ t, c₁ * ‖gradient f (x t)‖ ^ 2 ≤ -⟪gradient f (x t), s t⟫_ℝ)
(h22b : ∀ t, ‖s t‖ ≤ c₂ * (1 + ‖gradient f (x t)‖))
(h23 : ∀ t, ‖w t‖ ≤ γ t * (q + p * ‖gradient f (x t)‖))
(hγ : ∀ t, 0 < γ t)
(hsum : Tendsto (fun T => ∑ t ∈ Finset.range T, γ t) atTop atTop)
(hsq : Summable (fun t => γ t ^ 2)) :
Tendsto (fun t => f (x t)) atTop atBot ∨
((∃ l : ℝ, Tendsto (fun t => f (x t)) atTop (𝓝 l)) ∧
Summable (fun t => γ t * ‖gradient f (x t)‖ ^ 2)) := by sorry
end GradErrors.Deterministic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.