Documentation

ConvexAnalysis.ProxCalculus

Calculus of proximal points and Moreau envelopes #

The scaled forms of the Moreau decomposition and of Moreau's identity, the rules for the proximal point of a translated, tilted, rescaled or isometrically transformed function as equalities of ConvexAnalysis.prox, and the convergence e_γ f x → f x of the Moreau envelope as γ ↓ 0.

Throughout, prox_{γf} is prox (fun y ↦ (γ : EReal) * f y) and e_γ f is ConvexAnalysis.moreauEnvelope γ f.

Main statements #

Implementation notes #

prox f x is a choice of a proximal point, and x if there is none. For the rules whose two sides correspond under a bijection e of the base points with e x the new base point (translation, isometries, rescaling), both sides fall back to x together when no proximal point exists, so uniqueness (convexity and properness) suffices. The tilt rule moves the base point to x - u without moving x, so it also needs existence: lower semicontinuity and completeness.

The convergence of the envelope is proved directly from the definition: near x, f > c by lower semicontinuity; away from x, the quadratic term ‖y - x‖² / (2γ) exceeds the lower bound m - ‖y - x‖² / (2γ₀) of f y by an amount that grows like 1 / γ.

References #

Tags #

proximal operator, Moreau decomposition, Moreau envelope, Moreau's identity, prox calculus

theorem ConvexAnalysis.HasSubgradientAt.prox_inv_mul_fenchelConjugate_eq {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {γ : ℝ} {x p : H} (hγ : 0 < γ) (h : HasSubgradientAt f (γ⁻¹ • (x - p)) p) :
prox (fun (u : H) => ↑γ⁻¹ * fenchelConjugate f u) (γ⁻¹ • x) = γ⁻¹ • (x - p)

If γ⁻¹ (x - p) ∈ ∂f p with γ > 0, then prox_{γ⁻¹ f*} (γ⁻¹ x) = γ⁻¹ (x - p), for every f.

theorem ConvexAnalysis.HasSubgradientAt.prox_const_mul_add_smul_prox_fenchelConjugate {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {γ : ℝ} {x p : H} (hγ : 0 < γ) (h : HasSubgradientAt f (γ⁻¹ • (x - p)) p) :
prox (fun (y : H) => ↑γ * f y) x + γ • prox (fun (u : H) => ↑γ⁻¹ * fenchelConjugate f u) (γ⁻¹ • x) = x

Scaled Moreau decomposition, pointwise, for every f: if γ⁻¹ (x - p) ∈ ∂f p with γ > 0, then prox_{γf} x + γ prox_{γ⁻¹ f*} (γ⁻¹ x) = x.

Scaled Moreau identity, pointwise, for every f: if γ⁻¹ (x - p) ∈ ∂f p with γ > 0, then e_γ f x + e_{γ⁻¹} f* (γ⁻¹ x) = ‖x‖² / (2γ).

theorem ConvexAnalysis.ConvexFun.prox_inv_mul_fenchelConjugate {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {γ : ℝ} [CompleteSpace H] (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hp : IsProper f) (hγ : 0 < γ) (x : H) :
prox (fun (u : H) => ↑γ⁻¹ * fenchelConjugate f u) (γ⁻¹ • x) = γ⁻¹ • (x - prox (fun (y : H) => ↑γ * f y) x)

prox_{γ⁻¹ f*} (γ⁻¹ x) = γ⁻¹ (x - prox_{γf} x) for proper lower semicontinuous convex f and γ > 0: BC, Proposition 24.8 (ix) with γ⁻¹ for γ, at γ⁻¹ x. The form of [BC17] is ConvexAnalysis.ConvexFun.prox_const_mul_fenchelConjugate.

theorem ConvexAnalysis.ConvexFun.prox_const_mul_fenchelConjugate {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {γ : ℝ} [CompleteSpace H] (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hp : IsProper f) (hγ : 0 < γ) (x : H) :
prox (fun (u : H) => ↑γ * fenchelConjugate f u) x = x - γ • prox (fun (y : H) => ↑γ⁻¹ * f y) (γ⁻¹ • x)

The proximal operator of γ f* BC, Proposition 24.8 (ix): prox_{γ f*} x = x - γ prox_{γ⁻¹ f} (γ⁻¹ x), for proper lower semicontinuous convex f and γ > 0.

theorem ConvexAnalysis.ConvexFun.prox_const_mul_add_smul_prox_fenchelConjugate {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {γ : ℝ} [CompleteSpace H] (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hp : IsProper f) (hγ : 0 < γ) (x : H) :
prox (fun (y : H) => ↑γ * f y) x + γ • prox (fun (u : H) => ↑γ⁻¹ * fenchelConjugate f u) (γ⁻¹ • x) = x

Scaled Moreau decomposition BC, Theorem 14.3 (ii): for proper lower semicontinuous convex f and γ > 0, prox_{γf} x + γ prox_{γ⁻¹ f*} (γ⁻¹ x) = x. The case γ = 1 is ConvexAnalysis.ConvexFun.prox_add_prox_fenchelConjugate.

Scaled Moreau identity BC, Theorem 14.3 (i): for proper lower semicontinuous convex f and γ > 0, e_γ f x + e_{γ⁻¹} f* (γ⁻¹ x) = ‖x‖² / (2γ). The case γ = 1 is ConvexAnalysis.ConvexFun.moreauEnvelope_add_moreauEnvelope_fenchelConjugate.

theorem ConvexAnalysis.isProxAt_comp_sub_right_iff {H : Type u_1} [NormedAddCommGroup H] {f : H → EReal} {x p : H} (z : H) :
IsProxAt (fun (y : H) => f (y - z)) p x ↔ IsProxAt f (p - z) (x - z)

Translation: p is a proximal point of f (· - z) at x iff p - z is one of f at x - z.

theorem ConvexAnalysis.ConvexFun.prox_comp_sub_right {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} (hf : ConvexFun f) (hp : IsProper f) (z x : H) :
prox (fun (y : H) => f (y - z)) x = z + prox f (x - z)

Translation BC, Proposition 24.8 (ii): prox_{f(· - z)} x = z + prox_f (x - z), for proper convex f; [BC17] states it for γ f with f proper, lower semicontinuous and convex, which is the case of fun y ↦ (γ : EReal) * f y here.

theorem ConvexAnalysis.isProxAt_add_const_iff {H : Type u_1} [NormedAddCommGroup H] {f : H → EReal} {x p : H} (c : ℝ) :
IsProxAt (fun (y : H) => f y + ↑c) p x ↔ IsProxAt f p x

Adding a constant does not change the proximal points.

theorem ConvexAnalysis.prox_add_const {H : Type u_1} [NormedAddCommGroup H] (f : H → EReal) (c : ℝ) :
(prox fun (y : H) => f y + ↑c) = prox f

Adding a constant does not change the proximal operator, for every f (BC, Proposition 24.8 (i) with α = 0 and u = 0).

theorem ConvexAnalysis.ConvexFun.prox_add_inner {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} [CompleteSpace H] (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hp : IsProper f) (u x : H) :
prox (fun (y : H) => f y + ↑(inner ℝ u y)) x = prox f (x - u)

Tilt BC, Proposition 24.8 (i) (with α = 0 and γ = 1): prox_{f + ⟪u, ·⟫} x = prox_f (x - u) for proper lower semicontinuous convex f. The form with proximal points, ConvexAnalysis.isProxAt_add_inner_iff, holds for every f.

theorem ConvexAnalysis.isProxAt_comp_linearIsometryEquiv_iff {H : Type u_1} {K : Type u_2} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [NormedAddCommGroup K] [InnerProductSpace ℝ K] {x p : H} {f : K → EReal} (U : H ≃ₗᵢ[ℝ] K) :
IsProxAt (f ∘ ⇑U) p x ↔ IsProxAt f (U p) (U x)

Composition with a linear isometry equivalence U: p is a proximal point of f ∘ U at x iff U p is one of f at U x.

theorem ConvexAnalysis.ConvexFun.prox_comp_linearIsometryEquiv {H : Type u_1} {K : Type u_2} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : K → EReal} (hf : ConvexFun f) (hp : IsProper f) (U : H ≃ₗᵢ[ℝ] K) (x : H) :
prox (f ∘ ⇑U) x = U.symm (prox f (U x))

Composition with a linear isometry BC, Proposition 24.8 (iv): for a linear isometry equivalence U : H ≃ K (a unitary map, U⁻¹ = U*) and proper convex f, prox_{f ∘ U} x = U⁻¹ (prox_f (U x)). [BC17] states it for H = K and f proper, lower semicontinuous and convex.

theorem ConvexAnalysis.isProxAt_comp_smul_sub_iff {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} {x p : H} {μ : ℝ} (hμ : μ ≠ 0) (z : H) :
IsProxAt (fun (y : H) => f (μ • y - z)) p x ↔ IsProxAt (fun (y : H) => ↑(μ ^ 2) * f y) (μ • p - z) (μ • x - z)

Rescaling the argument: for μ ≠ 0, p is a proximal point of f (μ · - z) at x iff μ p - z is one of μ² f at μ x - z.

theorem ConvexAnalysis.ConvexFun.prox_comp_smul_sub {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} (hf : ConvexFun f) (hp : IsProper f) {μ : ℝ} (hμ : μ ≠ 0) (z x : H) :
prox (fun (y : H) => f (μ • y - z)) x = μ⁻¹ • (z + prox (fun (y : H) => ↑(μ ^ 2) * f y) (μ • x - z))

Rescaling the argument BC, Proposition 24.8 (v): for μ ≠ 0 and proper convex f, prox_{f(μ · - z)} x = μ⁻¹ (z + prox_{μ² f} (μ x - z)). [BC17] states it for γ f with f proper, lower semicontinuous and convex, which is the case of fun y ↦ (γ : EReal) * f y here.

theorem ConvexAnalysis.ConvexFun.prox_comp_smul {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} (hf : ConvexFun f) (hp : IsProper f) {μ : ℝ} (hμ : μ ≠ 0) (x : H) :
prox (fun (y : H) => f (μ • y)) x = μ⁻¹ • prox (fun (y : H) => ↑(μ ^ 2) * f y) (μ • x)

Rescaling the argument BC, Proposition 24.8 (v) with z = 0: for μ ≠ 0 and proper convex f, prox_{f(μ ·)} x = μ⁻¹ prox_{μ² f} (μ x).

theorem ConvexAnalysis.ConvexFun.prox_comp_neg {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} (hf : ConvexFun f) (hp : IsProper f) (x : H) :
prox (fun (y : H) => f (-y)) x = -prox f (-x)

Reflection BC, Proposition 24.8 (vi): prox_{f(-·)} x = -prox_f (-x), for proper convex f; [BC17] states it for f proper, lower semicontinuous and convex.

theorem ConvexAnalysis.tendsto_moreauEnvelope_nhdsGT_zero {H : Type u_1} [NormedAddCommGroup H] {f : H → EReal} {x : H} {γ₀ : ℝ} (hγ₀ : 0 < γ₀) (hb : ⊥ < moreauEnvelope γ₀ f x) (hlsc : LowerSemicontinuousAt f x) :
Filter.Tendsto (fun (γ : ℝ) => moreauEnvelope γ f x) (nhdsWithin 0 (Set.Ioi 0)) (nhds (f x))

Convergence of the Moreau envelope as γ ↓ 0: e_γ f x → f x, for every f that is lower semicontinuous at x and has e_{γ₀} f x > ⊥ for some γ₀ > 0 (that is, f is bounded below by m - ‖· - x‖² / (2γ₀) for some real m). No convexity is needed; BC, Proposition 12.33 (ii) states it for proper lower semicontinuous convex f (see ConvexAnalysis.ConvexFun.tendsto_moreauEnvelope_nhdsGT_zero).

theorem ConvexAnalysis.ConvexFun.tendsto_moreauEnvelope_nhdsGT_zero {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f : H → EReal} [CompleteSpace H] (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hbot : ∀ (y : H), f y ≠ ⊥) (x : H) :
Filter.Tendsto (fun (γ : ℝ) => moreauEnvelope γ f x) (nhdsWithin 0 (Set.Ioi 0)) (nhds (f x))

Convergence of the Moreau envelope BC, Proposition 12.33 (ii): for a lower semicontinuous convex f that never takes the value ⊥, e_γ f x → f x as γ ↓ 0, increasing (ConvexAnalysis.antitoneOn_moreauEnvelope), at every x, also where f x = ⊤. [BC17] states it for proper f; here f ≡ ⊤ is allowed.