Proposition 1, p. 630 — gradient method with stepsize-proportional errors: f(x_t) → −∞, or f(x_t) converges and ∇f(x_t) → 0
ProvedGradErrors.Deterministic.proposition_1Let 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) , with
Then either , or else converges to a finite value and . Furthermore, every limit point of is a stationary point of : .
This is the main deterministic result of the paper. It needs no boundedness of the iterates and no lower bound on , and it allows a descent direction that is not the negative gradient together with an error whose size is proportional to the stepsize. It covers, for example, the incremental gradient method (Proposition 2 of the paper).
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). "Every limit point is stationary" is stated outside the disjunction, as on the page; a limit point is a cluster point of the sequence (MapClusterPt xbar atTop x). is divergence of the partial sums to , and is Summable of the nonnegative terms .
import Mathlib open Filter Topology NNReal InnerProductSpace
namespace GradErrors.Deterministic
theorem proposition_1 {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)) ∧
Tendsto (fun t => gradient f (x t)) atTop (𝓝 0))) ∧
∀ xbar, MapClusterPt xbar atTop x → gradient f xbar = 0 := by sorry
end GradErrors.Deterministic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.