Documentation

Tdaf.Analysis.Convex.Optimization.Prox

Proximal mappings, and maximal monotonicity of the subdifferential #

For f closed proper convex and w x = ½ B x x, the infimum defining the Moreau envelope (f □ w) z is attained at exactly one point, the proximal point prox (z | f), and the minimiser is characterised by z - x ∈ ∂f x. That is the attainment and uniqueness half of Moreau's decomposition; Optimization/Moreau.lean has the identity (f □ w) + (f* □ w) = w, and Optimization/MoreauGradient.lean the gradient formulas.

Two corollaries follow from the same monotonicity argument. Proximation is nonexpansive, so (x, x*) ↦ x + x* is a homeomorphism of the graph of ∂f onto the space, and ∂f is a maximal monotone mapping — maximal among monotone relations, which is a different statement from the maximal cyclic monotonicity of a subdifferential.

Main definitions #

Main results #

Implementation notes #

Everything runs through the pairing B, never through the ambient norm, so prox is available on product spaces carrying no InnerProductSpace instance; the norm enters only in continuous_prox. prox is a Classical choice from the minimum set, with value 0 where that set is empty; the standing hypothesis ClosedProperConvexFn f makes the set a singleton. Finite-dimensionality is used only for attainment of the minimum.

References #

[^1]: R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §31.

The Moreau objective and the subdifferential of the quadratic #

noncomputable def Tdaf.ConvexAnalysis.moreauObj {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] (B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ) (f : E → EReal) (z : E) :
E → EReal

The objective x ↦ f x + w (z - x), whose infimum over x is the envelope (f □ w) z.

Equations
Instances For
    theorem Tdaf.ConvexAnalysis.moreauObj_def {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ} (f : E → EReal) (z : E) :
    moreauObj B f z = f + fun (x : E) => quadFn B (z - x)
    @[simp]
    theorem Tdaf.ConvexAnalysis.moreauObj_apply {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ} (f : E → EReal) (z x : E) :
    moreauObj B f z x = f x + quadFn B (z - x)

    x - z is a subgradient of u ↦ w (z - u) at x; the defect in the inequality is ½ B (u - x) (u - x).

    The subdifferential of the translated quadratic is a singleton: ∂(w (z - ·)) x = {x - z}. Testing at the point y + z forces ½ B ((z - x) + y) ((z - x) + y) ≤ 0.

    The subdifferential of the quadratic is the identity: ∂w x = {x}.

    u ↦ w (z - u) is closed proper convex: it is finite, convex and continuous.

    theorem Tdaf.ConvexAnalysis.recessionFn_quadFn_sub {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ} [IsContinuousInnerPairing B] (z : E) {y : E} (hy : y ≠ 0) :
    recessionFn (fun (x : E) => quadFn B (z - x)) y = ⊤

    The translated quadratic recedes in no direction: (w (z - ·))0⁺ y = +∞ for y ≠ 0. Testing q (x + a • y) ≤ q x + a ν at x = z gives ½ a² B y y ≤ a ν for every a ≥ 0, which fails for large a since B y y > 0.

    theorem Tdaf.ConvexAnalysis.eq_of_sub_mem_subgradient {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ} [IsContinuousInnerPairing B] {f : E → EReal} (hp : Proper f) {z x₁ x₂ : E} (h₁ : z - x₁ ∈ subgradient B f x₁) (h₂ : z - x₂ ∈ subgradient B f x₂) :
    x₁ = x₂

    Uniqueness of the proximal point: at most one x satisfies z - x ∈ ∂f x. Monotonicity of ∂f gives 0 ≤ B (x₁ - x₂) (-(x₁ - x₂)), and definiteness finishes.

    noncomputable def Tdaf.ConvexAnalysis.prox {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] (B : E →ₗ[ℝ] E →ₗ[ℝ] ℝ) (f : E → EReal) (z : E) :
    E

    The proximal mapping prox (z | f): the point at which x ↦ f x + w (z - x) attains its minimum, and 0 where no minimum exists — which for closed proper convex f never happens.

    Equations
    Instances For

      Attainment, uniqueness, and prox #

      The constraint qualification: w (z - ·) is finite and continuous, so the conjugate of f + w (z - ·) splits and the subgradient sum rule applies.

      The same at the origin: the conjugate of f + w splits.

      The Moreau objective of a closed proper convex function is closed proper convex.

      The Moreau objective has no direction of recession. Its recession function splits as f0⁺ + (w (z - ·))0⁺, where the second term is +∞ off the origin.

      Attainment: the infimum defining (f □ w) z is attained, because f + w (z - ·) is closed proper convex with recession cone {0}.

      The characterisation of the minimiser: x minimises f + w (z - ·) exactly when z - x ∈ ∂f x. Fermat's rule, the sum rule and subgradient_quadFn_sub.

      There is exactly one x with z = x + x* and x* ∈ ∂f x.

      prox B f z minimises the Moreau objective.

      The splitting z = x + x* with x* ∈ ∂f x exists, at x = prox (z | f).

      Attainment and uniqueness in one statement: prox (z | f) = x exactly when z - x ∈ ∂f x.

      The minimum set of the Moreau objective is {prox (z | f)}.

      The envelope is the value of the objective at the proximal point.

      The conjugate of a closed proper convex function is closed proper convex.

      Moreau's decomposition of a point: z splits as prox (z | f) + prox (z | f*). Conjugate inversion turns ∂f into ∂f*, so the second half of z = x + x* is prox (z | f*).

      The graph of ∂f is homeomorphic to the space #

      Proximation is nonexpansive in the norm the pairing induces. Monotonicity of ∂f gives B (x₁ - x₂) (x₁ - x₂) ≤ B (x₁ - x₂) (z₁ - z₂), and Cauchy–Schwarz finishes.

      prox is Lipschitz, hence continuous. The constant is 1 only for the pairing norm; in the ambient norm it is the ratio of the two equivalence constants between the norms.

      (x, x*) ↦ x + x* is a homeomorphism of the graph of ∂f onto E. It is bijective because every z splits uniquely, continuous because addition is, and its inverse z ↦ (prox (z | f), z - prox (z | f)) is continuous because prox is nonexpansive.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        ∂f is maximal monotone #

        The subdifferential of a closed proper convex function is maximal monotone. Given (y, y*) monotonically related to the whole graph, the unique splitting of y + y* produces (x, x*) in the graph with x + x* = y + y*; then y - x = -(y* - x*), so the monotonicity inequality reads 0 ≤ -|y - x|².

        The inner-product case #

        For innerₗ E the pairing norm is the norm itself, so proximation is nonexpansive on the nose.

        theorem Tdaf.ConvexAnalysis.dist_prox_prox_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] {f : E → EReal} (hf : ClosedProperConvexFn f) (z₁ z₂ : E) :
        dist (prox (innerₗ E) f z₁) (prox (innerₗ E) f z₂) ≤ dist z₁ z₂

        The distance between two proximal points is at most the distance between the two points.

        prox is nonexpansive in an inner-product space.