Documentation

ConvexAnalysis.FenchelMoreau

The Fenchel–Moreau theorem #

A lower semicontinuous convex function f : H → EReal on a real Hilbert space that never takes the value ⊥ is the supremum of its continuous affine minorants, and so equals its biconjugate f**. Consequences: ∂f* = (∂f)⁻¹, properness of f*, f** as the lower semicontinuous convex hull, and closed convex sets through their support functions.

Main statements #

Implementation notes #

The epigraph of f is closed and convex in H × ℝ, so Hahn–Banach separates a point (x, t) below it by a functional (y, s) ↦ ⟪y, v⟫ + s α with α ≤ 0. If α < 0, the separating hyperplane is the graph of an affine minorant (ConvexAnalysis.affine_le_of_forall_mem_epigraph_le). If α = 0 the hyperplane is vertical: then ⟪·, v⟫ < σ on dom f and ⟪x, v⟫ > σ, and adding a large multiple of ⟪·, v⟫ - σ to some affine minorant (which exists by the first case, at a point of the domain) gives one above t at x.

Completeness of H is needed for the results of this file (the facts on conjugates in ConvexAnalysis.Conjugate hold without it). Let H be the finitely supported sequences with the ℓ² inner product and a = (1 / n) ∈ ℓ² \ H. Then f = ⟪·, a⟫ is continuous and linear, but no u ∈ H gives an affine minorant, so f* ≡ ⊤ and f** ≡ ⊥ ≠ f. Mathlib's ConvexOn.exists_affine_le_of_lt and ConvexOn.sSup_affine_eq work with StrongDual functionals instead, in locally convex spaces, for real valued f on a closed convex set and points of that set; ours give vectors of H, allow the value ⊤, and points outside the domain.

References #

Tags #

Fenchel–Moreau theorem, biconjugate, affine minorant, lower semicontinuous convex hull, support function, closed convex hull

theorem ConvexAnalysis.ConvexFun.exists_affine_minorant {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → EReal} (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hbot : ∀ (x : H), f x ≠ ⊥) :
∃ (u : H) (c : ℝ), ∀ (y : H), ↑(inner ℝ y u - c) ≤ f y

A lower semicontinuous convex function that never takes the value ⊥ has a continuous affine minorant BC, Theorem 9.20 (there for proper f); compare R, Corollary 12.1.2.

theorem ConvexAnalysis.ConvexFun.exists_affine_minorant_of_lt {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → EReal} (hf : ConvexFun f) (hlsc : LowerSemicontinuous f) (hbot : ∀ (x : H), f x ≠ ⊥) {x : H} {t : ℝ} (ht : ↑t < f x) :
∃ (u : H) (c : ℝ), (∀ (y : H), ↑(inner ℝ y u - c) ≤ f y) ∧ t < inner ℝ x u - c

A lower semicontinuous convex function that never takes the value ⊥ is the supremum of its continuous affine minorants: if t < f x, there is an affine minorant ⟪·, u⟫ - c of f with t < ⟪x, u⟫ - c BC, Corollary 13.42, R, Theorem 12.1 (there for closed convex functions on ℝⁿ).

Fenchel–Moreau theorem BC, Theorem 13.37, R, Theorem 12.2: a lower semicontinuous convex function that never takes the value ⊥ (a proper one, or ⊤) equals its biconjugate. [BC17] states it for proper f, as an equivalence (the converse is ConvexAnalysis.fenchelConjugate_fenchelConjugate_eq_iff).

f** = f iff f is convex, lower semicontinuous, and proper or identically ⊤ or ⊥.

theorem ConvexAnalysis.le_fenchelConjugate_fenchelConjugate {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f g : H → EReal} (hg : ConvexFun g) (hlsc : LowerSemicontinuous g) (hbot : ∀ (x : H), g x ≠ ⊥) (hgf : ∀ (x : H), g x ≤ f x) (x : H) :

f** lies above every lower semicontinuous convex minorant g of f that never takes the value ⊥ (a proper one, or g ≡ ⊤). Since f** ≤ f is itself lower semicontinuous and convex, it follows that f** is the lower semicontinuous convex hull of f whenever f has a continuous affine minorant, and for f ≡ ⊥. The hypothesis on g cannot be dropped, and without an affine minorant f** need not be the hull: for g 0 = ⊥ and g x = ⊤ elsewhere, g is lower semicontinuous and convex, but g* ≡ ⊤ and g** ≡ ⊥ ≠ g.

∂f* = (∂f)⁻¹ for a lower semicontinuous convex f that never takes the value ⊥ BC, Corollary 16.30, R, Corollary 23.5.1: x ∈ ∂f* u ↔ u ∈ ∂f x.

The conjugate of a proper lower semicontinuous convex function is proper BC, Theorem 13.37, R, Theorem 12.2.

theorem ConvexAnalysis.fenchelConjugate_fenchelConjugate_coe {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} (hf : ConvexOn ℝ Set.univ f) (hlsc : LowerSemicontinuous f) :
fenchelConjugate (fenchelConjugate fun (x : H) => ↑(f x)) = fun (x : H) => ↑(f x)

Fenchel–Moreau for real valued functions: a lower semicontinuous convex f : H → ℝ equals its biconjugate.

theorem ConvexAnalysis.fenchelConjugate_fenchelConjugate_coe_add_convexIndicator {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f : H → ℝ} {s : Set H} (hs : IsClosed s) (hf : ConvexOn ℝ s f) (hlsc : LowerSemicontinuousOn f s) :
fenchelConjugate (fenchelConjugate ((fun (x : H) => ↑(f x)) + convexIndicator s)) = (fun (x : H) => ↑(f x)) + convexIndicator s

Fenchel–Moreau for f : H → ℝ convex and lower semicontinuous on a closed convex set s (Mathlib's ConvexOn.sSup_affine_eq in this setting); also for s = ∅.

In finite dimension a convex f : H → ℝ is continuous, so it equals its biconjugate.

theorem ConvexAnalysis.mem_iff_forall_inner_le_supportFunction {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {C : Set H} (hC : Convex ℝ C) (hcl : IsClosed C) {x : H} :
x ∈ C ↔ ∀ (u : H), ↑(inner ℝ x u) ≤ supportFunction C u

A closed convex set is the intersection of the half-spaces {x | ⟪x, u⟫ ≤ σ_C u} BC, Corollary 7.12; Mathlib's RCLike.iInter_halfSpaces_eq' is the form with dual functionals.

The closed convex hull of any set C is the intersection of the half-spaces {x | ⟪x, u⟫ ≤ σ_C u}; R, Theorem 13.1 states this for convex C.

The conjugate of the support function of a closed convex set is its indicator, σ_C* = ι_C R, Theorem 13.2; also for C = ∅.