Documentation

ConvexAnalysis.Averaged

Averaged and firmly nonexpansive maps #

An α-averaged map is a convex combination (1 - α) id + α R of the identity and a nonexpansive map R, and a firmly nonexpansive map is a 1 / 2-averaged one. Proximal maps and resolvents of maximal monotone operators are firmly nonexpansive, and gradient and forward–backward steps with small step sizes are averaged. This file defines both notions by inequalities and proves the characterizations of BC, Section 4.1 and BC, Section 4.5 that later files use. The iterations of these maps are in Fejer.lean.

Main definitions #

Main statements #

Implementation notes #

Mathlib has no averaged or firmly nonexpansive maps, and no open pull request defines them (searched on 2026-12-01). Both are predicates whose definitions are inequalities, so results stated with the bare inequality apply to them by ConvexAnalysis.isAveraged_iff and ConvexAnalysis.isFirmlyNonexpansive_iff. ConvexAnalysis.IsAveraged is parameterized by α as in [BC17], and since its inequality makes sense in every normed group, it is stated there; the equivalence with the form (1 - α) id + α R of BC, Definition 4.33 needs an inner product.

References #

Tags #

averaged map, firmly nonexpansive map, nonexpansive map, reflection

theorem ConvexAnalysis.lipschitzWith_of_norm_sub_sq_le_sub {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {κ : ℝ} (hκ : 0 ≤ κ) (hT : ∀ (u v : E), ‖T u - T v‖ ^ 2 ≤ ‖u - v‖ ^ 2 - κ * ‖u - T u - (v - T v)‖ ^ 2) :

A map with ‖T u - T v‖² ≤ ‖u - v‖² - κ ‖(u - T u) - (v - T v)‖² for some κ ≥ 0 is nonexpansive.

def ConvexAnalysis.IsAveraged {E : Type u_1} [NormedAddCommGroup E] (α : ℝ) (T : E → E) :

A map T is α-averaged if α ∈ (0, 1) and ‖T u - T v‖² ≤ ‖u - v‖² - (1 - α) / α ‖(u - T u) - (v - T v)‖² for all u and v. This is BC, Proposition 4.35 (iii), which is equivalent to BC, Definition 4.33: in an inner product space, the α-averaged maps are exactly the maps (1 - α) id + α R with a nonexpansive R (ConvexAnalysis.isAveraged_iff_lipschitzWith_add_smul_sub). Here the inequality is the definition, which makes sense in every normed group.

Equations
Instances For
    theorem ConvexAnalysis.isAveraged_iff {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {α : ℝ} :
    IsAveraged α T ↔ α ∈ Set.Ioo 0 1 ∧ ∀ (u v : E), ‖T u - T v‖ ^ 2 ≤ ‖u - v‖ ^ 2 - (1 - α) / α * ‖u - T u - (v - T v)‖ ^ 2

    The unfolding of ConvexAnalysis.IsAveraged.

    theorem ConvexAnalysis.IsAveraged.norm_sub_sq_le {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {α : ℝ} (hT : IsAveraged α T) (u v : E) :
    ‖T u - T v‖ ^ 2 ≤ ‖u - v‖ ^ 2 - (1 - α) / α * ‖u - T u - (v - T v)‖ ^ 2

    The inequality of an α-averaged map.

    theorem ConvexAnalysis.IsAveraged.one_sub_div_pos {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {α : ℝ} (hT : IsAveraged α T) :
    0 < (1 - α) / α

    The constant (1 - α) / α of an α-averaged map is positive.

    theorem ConvexAnalysis.IsAveraged.of_norm_sub_sq_le_sub {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {κ : ℝ} (hκ : 0 < κ) (hT : ∀ (u v : E), ‖T u - T v‖ ^ 2 ≤ ‖u - v‖ ^ 2 - κ * ‖u - T u - (v - T v)‖ ^ 2) :

    A map with ‖T u - T v‖² ≤ ‖u - v‖² - κ ‖(u - T u) - (v - T v)‖², κ > 0, is 1 / (1 + κ)-averaged.

    theorem ConvexAnalysis.IsAveraged.mono {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {α β : ℝ} (hT : IsAveraged α T) (hαβ : α ≤ β) (hβ : β < 1) :

    An α-averaged map is β-averaged for α ≤ β < 1.

    theorem ConvexAnalysis.IsAveraged.lipschitzWith {E : Type u_1} [NormedAddCommGroup E] {T : E → E} {α : ℝ} (hT : IsAveraged α T) :

    An averaged map is nonexpansive BC, Remark 4.34 (i).

    theorem ConvexAnalysis.norm_one_sub_smul_add_smul_sq {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] (t : ℝ) (u v : H) :
    ‖(1 - t) • u + t • v‖ ^ 2 = (1 - t) * ‖u‖ ^ 2 + t * ‖v‖ ^ 2 - t * (1 - t) * ‖u - v‖ ^ 2

    ‖(1 - t) u + t v‖² = (1 - t) ‖u‖² + t ‖v‖² - t (1 - t) ‖u - v‖² BC, Corollary 2.15.

    If ‖u‖² ≤ L ⟪u, v⟫ with L ≥ 0, then ‖u‖ ≤ L ‖v‖ (Cauchy–Schwarz). Applied to u = B x - B y and v = x - y: a 1 / L-cocoercive operator B is L-Lipschitz. For L = 1 this is ConvexAnalysis.norm_le_norm_of_norm_sq_le_inner.

    If ‖a‖² ≤ ⟪a, b⟫, then ‖a‖ ≤ ‖b‖: the inequality of a firmly nonexpansive map implies nonexpansiveness. The case L = 1 of ConvexAnalysis.norm_le_mul_norm_of_norm_sq_le_mul_inner.

    ‖a‖² ≤ ⟪a, b⟫ iff ‖b - a‖² ≤ ⟪b - a, b⟫: with a = T u - T v and b = u - v, the inequality of a firmly nonexpansive map holds for T iff it holds for id - T.

    theorem ConvexAnalysis.IsAveraged.lipschitzWith_add_smul_sub {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {T : H → H} {α : ℝ} (hT : IsAveraged α T) :
    LipschitzWith 1 fun (u : H) => u + α⁻¹ • (T u - u)

    An α-averaged map is a relaxation of a nonexpansive map: R = id + α⁻¹ (T - id) is nonexpansive, so T = (1 - α) id + α R BC, Proposition 4.35.

    theorem ConvexAnalysis.isAveraged_one_sub_smul_add_smul {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {R : H → H} {α : ℝ} (hR : LipschitzWith 1 R) (hα : α ∈ Set.Ioo 0 1) :
    IsAveraged α fun (u : H) => (1 - α) • u + α • R u

    A convex combination (1 - α) id + α R of the identity and a nonexpansive map R, with α ∈ (0, 1), is α-averaged BC, Definition 4.33.

    theorem ConvexAnalysis.isAveraged_iff_lipschitzWith_add_smul_sub {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {T : H → H} {α : ℝ} :
    IsAveraged α T ↔ α ∈ Set.Ioo 0 1 ∧ LipschitzWith 1 fun (u : H) => u + α⁻¹ • (T u - u)

    Averaged maps BC, Proposition 4.35: in an inner product space, T is α-averaged iff α ∈ (0, 1) and id + α⁻¹ (T - id) is nonexpansive, that is iff T = (1 - α) id + α R with a nonexpansive R (ConvexAnalysis.isAveraged_one_sub_smul_add_smul).

    A map T is firmly nonexpansive BC, Definition 4.1 if ‖T u - T v‖² ≤ ⟪T u - T v, u - v⟫ for all u and v. The definition here is this equivalent form BC, Proposition 4.4 (iv) of the inequality ‖T u - T v‖² + ‖(u - T u) - (v - T v)‖² ≤ ‖u - v‖² of [BC17]. Examples are prox f (ConvexAnalysis.ConvexFun.isFirmlyNonexpansive_prox) and the resolvent of a maximal monotone operator (ConvexAnalysis.IsMaximalMonotone.isFirmlyNonexpansive_resolventMap).

    Equations
    Instances For
      theorem ConvexAnalysis.isFirmlyNonexpansive_iff {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {T : H → H} :
      IsFirmlyNonexpansive T ↔ ∀ (u v : H), ‖T u - T v‖ ^ 2 ≤ inner ℝ (T u - T v) (u - v)

      The unfolding of ConvexAnalysis.IsFirmlyNonexpansive.

      A firmly nonexpansive map is 1 / 2-averaged: ‖T u - T v‖² ≤ ‖u - v‖² - ‖(u - T u) - (v - T v)‖² BC, Remark 4.34 (iii).

      The firmly nonexpansive maps are the 1 / 2-averaged maps BC, Remark 4.34 (iii).

      theorem ConvexAnalysis.IsAveraged.isFirmlyNonexpansive {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {T : H → H} {α : ℝ} (hT : IsAveraged α T) (hα : α ≤ 1 / 2) :

      An α-averaged map with α ≤ 1 / 2 is firmly nonexpansive BC, Remark 4.37.

      A firmly nonexpansive map is nonexpansive.

      T is firmly nonexpansive iff id - T is BC, Proposition 4.4.

      If T is firmly nonexpansive, so is id - T BC, Proposition 4.4.

      For a firmly nonexpansive T, the reflection 2 T - id is nonexpansive BC, Proposition 4.4: the case α = 1 / 2 of ConvexAnalysis.IsAveraged.lipschitzWith_add_smul_sub.