Documentation

ConvexAnalysis.IterateConvergence

Convergence of the iterates of first-order methods #

The rates in Algorithms.lean and Cocoercive.lean bound function values. Here the iterates themselves converge: weakly to a minimizer in a Hilbert space, in norm in finite dimension. Each method is the Picard iteration x (k + 1) = T (x k) of an α-averaged map (ConvexAnalysis.IsAveraged), whose fixed points are the minimizers: the proximal point method with α = 1 / 2 (prox is firmly nonexpansive), the forward–backward method with α = 2 / (4 - γ L), and gradient descent, the forward–backward method with g = 0. So all proofs go through one abstract result, ConvexAnalysis.IsAveraged.picard_exists_tendsto_toWeakSpace in Fejer.lean, which combines Fejér monotonicity, asymptotic regularity, Opial's lemma and the demiclosedness principle; in finite dimension weak convergence is convergence in norm (ConvexAnalysis.tendsto_of_tendsto_toWeakSpace).

Main statements #

Weak convergence x ⇀ z is written with Mathlib's weak topology, as Tendsto (fun k ↦ toWeakSpace ℝ H (x k)) atTop (𝓝 (toWeakSpace ℝ H z)).

The iterates of FISTA are not Fejér monotone; their convergence, proved only in 2025 for the Beck–Teboulle momentum (Jang–Ryu; Boţ–Fadili–Nguyen), is in FistaConvergence.lean.

References #

Tags #

proximal point method, proximal gradient method, forward–backward splitting, ISTA, gradient descent, weak convergence, Fejér monotonicity, averaged operator

theorem ConvexAnalysis.fixedPoints_prox_const_mul {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {g : H → EReal} {γ : ℝ} [CompleteSpace H] (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) :
Function.fixedPoints (prox fun (w : H) => ↑γ * g w) = {z : H | IsMinOn g Set.univ z}

The fixed points of prox_{γ g} are the minimizers of g, for a proper lower semicontinuous convex g and γ > 0 BC, Proposition 12.29 (applied to γ g).

theorem ConvexAnalysis.proximalPoint_fejerMonotone {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {g : H → EReal} {γ : ℝ} {x : ℕ → H} [CompleteSpace H] (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hx : ∀ (k : ℕ), x (k + 1) = prox (fun (w : H) => ↑γ * g w) (x k)) :

Fejér monotonicity of the proximal point method (from the proof of BC, Theorem 28.1): the iterates x (k + 1) = prox_{γ g} (x k) of a proper lower semicontinuous convex g, γ > 0, are Fejér monotone with respect to the set of minimizers of g.

theorem ConvexAnalysis.proximalPoint_exists_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {g : H → EReal} {γ : ℝ} {x : ℕ → H} [CompleteSpace H] (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hx : ∀ (k : ℕ), x (k + 1) = prox (fun (w : H) => ↑γ * g w) (x k)) {xs : H} (hxs : IsMinOn g Set.univ xs) :
∃ (z : H), IsMinOn g Set.univ z ∧ Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))

Convergence of the proximal point method (Martinet, Rockafellar) BC, Theorem 28.1: for a proper lower semicontinuous convex g with a minimizer and a step γ > 0, the iterates x (k + 1) = prox_{γ g} (x k) converge weakly to a minimizer of g. This is the special case of constant steps; [BC17] allows steps γ_n with ∑ γ_n = ∞.

theorem ConvexAnalysis.proximalPoint_exists_tendsto {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {g : H → EReal} {γ : ℝ} {x : ℕ → H} [FiniteDimensional ℝ H] (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hx : ∀ (k : ℕ), x (k + 1) = prox (fun (w : H) => ↑γ * g w) (x k)) {xs : H} (hxs : IsMinOn g Set.univ xs) :

Convergence of the proximal point method in finite dimension (from BC, Theorem 28.1; Beck, Theorem 10.28 (b)): the iterates x (k + 1) = prox_{γ g} (x k) converge in norm to a minimizer of g.

theorem ConvexAnalysis.forwardBackward_exists_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L : ℝ} {g : H → EReal} {γ : ℝ} {x : ℕ → H} [CompleteSpace H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hγL : γ * L < 2) (hx : ∀ (k : ℕ), x (k + 1) = proxGradStep f' g γ (x k)) {xs : H} (hxs : IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ xs) :
∃ (z : H), IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ z ∧ Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))

Convergence of the proximal gradient method (forward–backward splitting) BC, Corollary 28.9 (i) (the case ρ k = 1 of ConvexAnalysis.forwardBackward_relaxed_exists_tendsto_toWeakSpace; [BC17] has f and g exchanged and L > 0): for convex f with an L-Lipschitz gradient f', L ≥ 0, a proper lower semicontinuous convex g, a step γ ∈ (0, 2 / L) and a minimizer of f + g, the iterates x (k + 1) = prox_{γ g} (x k - γ f' (x k)) converge weakly to a minimizer of f + g.

theorem ConvexAnalysis.forwardBackward_exists_tendsto {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L : ℝ} {g : H → EReal} {γ : ℝ} {x : ℕ → H} [FiniteDimensional ℝ H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hγL : γ * L < 2) (hx : ∀ (k : ℕ), x (k + 1) = proxGradStep f' g γ (x k)) {xs : H} (hxs : IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ xs) :
∃ (z : H), IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ z ∧ Filter.Tendsto x Filter.atTop (nhds z)

Convergence of the proximal gradient method in finite dimension (from BC, Corollary 28.9 (i); Beck, Theorem 10.24 for the step 1 / L of ISTA): with a step γ ∈ (0, 2 / L) the iterates converge in norm to a minimizer of f + g.

theorem ConvexAnalysis.forwardBackward_relaxed_exists_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L : ℝ} {g : H → EReal} {γ : ℝ} {x : ℕ → H} [CompleteSpace H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hγL : γ * L < 2) {ρ : ℕ → ℝ} (hρ : ∀ (k : ℕ), ρ k ∈ Set.Icc 0 (2 - γ * L / 2)) (hsum : Filter.Tendsto (fun (N : ℕ) => ∑ k ∈ Finset.range N, ρ k * (2 - γ * L / 2 - ρ k)) Filter.atTop Filter.atTop) (hx : ∀ (k : ℕ), x (k + 1) = x k + ρ k • (proxGradStep f' g γ (x k) - x k)) {xs : H} (hxs : IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ xs) :
∃ (z : H), IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ z ∧ Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))

Convergence of the relaxed proximal gradient method BC, Corollary 28.9 (i) (there with f and g exchanged and L > 0): for a convex f with an L-Lipschitz gradient f', L ≥ 0, a proper lower semicontinuous convex g, a step 0 < γ < 2 / L, relaxation parameters ρ k ∈ [0, δ], δ = 2 - γ L / 2, with ∑ ρ k (δ - ρ k) = ∞, and a minimizer of f + g, the iterates x (k + 1) = x k + ρ k (prox_{γ g} (x k - γ f' (x k)) - x k) converge weakly to a minimizer of f + g. The forward–backward step is 2 / (4 - γ L)-averaged (ConvexAnalysis.ConvexOn.isAveraged_proxGradStep) and δ = (4 - γ L) / 2, so this is the relaxed Krasnosel'skiĭ–Mann theorem ConvexAnalysis.IsAveraged.krasnoselskiiMann_exists_tendsto_toWeakSpace.

theorem ConvexAnalysis.forwardBackward_relaxed_exists_tendsto {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L : ℝ} {g : H → EReal} {γ : ℝ} {x : ℕ → H} [FiniteDimensional ℝ H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hg : ConvexFun g) (hglsc : LowerSemicontinuous g) (hgp : IsProper g) (hγ : 0 < γ) (hγL : γ * L < 2) {ρ : ℕ → ℝ} (hρ : ∀ (k : ℕ), ρ k ∈ Set.Icc 0 (2 - γ * L / 2)) (hsum : Filter.Tendsto (fun (N : ℕ) => ∑ k ∈ Finset.range N, ρ k * (2 - γ * L / 2 - ρ k)) Filter.atTop Filter.atTop) (hx : ∀ (k : ℕ), x (k + 1) = x k + ρ k • (proxGradStep f' g γ (x k) - x k)) {xs : H} (hxs : IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ xs) :
∃ (z : H), IsMinOn (fun (w : H) => ↑(f w) + g w) Set.univ z ∧ Filter.Tendsto x Filter.atTop (nhds z)

Convergence of the relaxed proximal gradient method in finite dimension (from BC, Corollary 28.9 (i)): the iterates converge in norm to a minimizer of f + g.

theorem ConvexAnalysis.isFixedPt_sub_smul_iff {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {γ : ℝ} [CompleteSpace H] (hf : ConvexOn ℝ Set.univ f) {z : H} (hf' : HasGradientAt f (f' z) z) (hγ : γ ≠ 0) :
Function.IsFixedPt (fun (y : H) => y - γ • f' y) z ↔ IsMinOn f Set.univ z

The fixed points of the gradient step y ↦ y - γ f' y, γ ≠ 0, of a convex f with gradient f' z at z are the minimizers of f.

theorem ConvexAnalysis.gradientDescent_exists_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L γ : ℝ} {x : ℕ → H} [CompleteSpace H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hγ : 0 < γ) (hγL : γ * L < 2) (hx : ∀ (k : ℕ), x (k + 1) = x k - γ • f' (x k)) {xs : H} (hxs : IsMinOn f Set.univ xs) :
∃ (z : H), IsMinOn f Set.univ z ∧ Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))

Convergence of gradient descent BC, Corollary 28.10 (the projected gradient method, here with C = H and no relaxation): for convex f with an L-Lipschitz gradient f', L ≥ 0, and a minimizer, the iterates x (k + 1) = x k - γ f' (x k) with a step γ ∈ (0, 2 / L) converge weakly to a minimizer of f. This is the forward–backward method with g = 0.

theorem ConvexAnalysis.gradientDescent_exists_tendsto {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → ℝ} {f' : H → H} {L γ : ℝ} {x : ℕ → H} [FiniteDimensional ℝ H] (hf : ConvexOn ℝ Set.univ f) (hf' : ∀ (x : H), HasGradientAt f (f' x) x) (hL0 : 0 ≤ L) (hL : ∀ (x y : H), ‖f' x - f' y‖ ≤ L * ‖x - y‖) (hγ : 0 < γ) (hγL : γ * L < 2) (hx : ∀ (k : ℕ), x (k + 1) = x k - γ • f' (x k)) {xs : H} (hxs : IsMinOn f Set.univ xs) :

Convergence of gradient descent in finite dimension (from BC, Corollary 28.10): with a step γ ∈ (0, 2 / L) the iterates converge in norm to a minimizer of f.

theorem ConvexAnalysis.IsMaximalMonotone.mem_of_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {T : H → Set H} {x u : ℕ → H} {z v : H} (hT : IsMaximalMonotone T) (hx : Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))) (hu : Filter.Tendsto u Filter.atTop (nhds v)) (h : ∀ (k : ℕ), u k ∈ T (x k)) :
v ∈ T z

The graph of a maximal monotone operator is sequentially closed in the weak–strong topology BC, Proposition 20.38: if x ⇀ z, u → v in norm and u k ∈ T (x k), then v ∈ T z. No completeness is needed.

theorem ConvexAnalysis.ConvexFun.mem_subdifferential_of_tendsto_toWeakSpace {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {x u : ℕ → H} {z v : H} {f : H → EReal} (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hx : Filter.Tendsto (fun (k : ℕ) => (toWeakSpace ℝ H) (x k)) Filter.atTop (nhds ((toWeakSpace ℝ H) z))) (hu : Filter.Tendsto u Filter.atTop (nhds v)) (h : ∀ (k : ℕ), u k ∈ subdifferential f (x k)) :

The graph of the subdifferential of a lower semicontinuous convex function is sequentially closed in the weak–strong topology BC, Proposition 16.36: if x ⇀ z, u → v in norm and u k ∈ ∂f (x k), then v ∈ ∂f z. No completeness is needed: the subgradient inequalities f (x k) + ⟪y - x k, u k⟫ ≤ f y pass to the limit by the weak lower semicontinuity of f (ConvexFun.le_liminf_of_tendsto_toWeakSpace) and the weak–strong convergence of the inner products.