The Fenchel conjugate #
The Fenchel conjugate f* u = ⨆ x, ⟪x, u⟫ - f x of an extended valued function f : H → EReal on a
real inner product space, with the Fenchel–Young inequality, subgradients as the case of equality,
weak Fenchel–Rockafellar duality, a calculus of conjugates, and support functions.
Main definitions #
ConvexAnalysis.fenchelConjugate f: the Fenchel conjugatef* u = ⨆ x, ⟪x, u⟫ - f xoff : H → EReal, also called the Legendre–Fenchel transform.ConvexAnalysis.supportFunction C: the support functionσ_C u = ⨆ x ∈ C, ⟪x, u⟫.
Main statements #
ConvexAnalysis.inner_sub_le_fenchelConjugate: the Fenchel–Young inequality⟪x, u⟫ - f x ≤ f* u, for everyf.ConvexAnalysis.convexFun_fenchelConjugateandConvexAnalysis.lowerSemicontinuous_fenchelConjugate:f*is convex and lower semicontinuous, for everyf.ConvexAnalysis.fenchelConjugate_fenchelConjugate_le:f** ≤ f.ConvexAnalysis.hasSubgradientAt_iff_fenchelConjugate_eq:u ∈ ∂f xiff equality holds in Fenchel–Young, and thenx ∈ ∂f* u(ConvexAnalysis.HasSubgradientAt.hasSubgradientAt_fenchelConjugate); the additive formsConvexAnalysis.inner_le_add_fenchelConjugateandConvexAnalysis.hasSubgradientAt_iff_add_fenchelConjugate_eq(for everyf, since both sides fail unlessfis proper).ConvexAnalysis.isProper_fenchelConjugate_iff:f*is proper iffdom f ≠ ∅andfhas an affine minorant; in particular iffhas a subgradient somewhere.ConvexAnalysis.iSup_neg_fenchelConjugate_sub_le_iInf_add_comp: weak Fenchel–Rockafellar duality,sup_w -f* (A† w) - g* (-w) ≤ inf_x f x + g (A x), for everyf,gandA.- Calculus:
ConvexAnalysis.fenchelConjugate_add_const,ConvexAnalysis.fenchelConjugate_add_inner,ConvexAnalysis.fenchelConjugate_comp_add_right,ConvexAnalysis.fenchelConjugate_const_mul,ConvexAnalysis.fenchelConjugate_iInf, composition with isometries and invertible linear maps;f*** = f*,f* 0 = -inf f. - Examples:
ι_C* = σ_C(ConvexAnalysis.fenchelConjugate_convexIndicator),0* = ι_{0},⟪a, ·⟫* = ι_{a},(½‖·‖²)* = ½‖·‖²(ConvexAnalysis.fenchelConjugate_half_norm_sq),‖·‖* = ι_Bfor the closed unit ball (ConvexAnalysis.fenchelConjugate_norm).
Implementation notes #
The difference ⟪x, u⟫ - f x is taken in EReal, so a point with f x = ⊤ contributes ⊥ and a
point with f x = ⊥ makes f* ≡ ⊤. Fenchel–Young is stated with the difference, which holds for
every f; the form ⟪x, u⟫ ≤ f x + f* u fails exactly when f x = ⊥ or f ≡ ⊤, because
⊥ + ⊤ = ⊥ (DESIGN.md, section 3). The biconjugate is fenchelConjugate (fenchelConjugate f);
the pairing is symmetric, so no separate definition is needed. There is no notation: f* would
clash with multiplication and f⋆ with star.
References #
- H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2nd ed., Springer, 2017, Chapters 13, 15 and 16.
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, Sections 12 and 13, Theorem 23.5, Corollary 30.2.2 and Theorem 31.1.
Tags #
Fenchel conjugate, Legendre–Fenchel transform, Fenchel–Young inequality, support function, biconjugate, weak duality
Helper lemmas on EReal subtraction. Mathlib's sub_le_comm and sub_add_eq_add_sub need
an ordered group or a SubtractionCommMonoid, which EReal is not.
The Fenchel conjugate f* u = ⨆ x, ⟪x, u⟫ - f x BC, Definition 13.1,
R, Section 12.
Equations
- ConvexAnalysis.fenchelConjugate f u = ⨆ (x : H), ↑(inner ℝ x u) - f x
Instances For
The Fenchel–Young inequality ⟪x, u⟫ - f x ≤ f* u, for every f.
f* u ≤ c iff ⟪x, u⟫ - f x ≤ c for every x.
The linear function ⟪x, ·⟫ minus an EReal constant is convex; for c = ⊥ it is ⊤, for
c = ⊤ it is ⊥.
The linear function ⟪x, ·⟫ minus an EReal constant is continuous.
The conjugate of any function is convex BC, Proposition 13.13.
The conjugate of any function is lower semicontinuous BC, Proposition 13.13.
The biconjugate lies below the function: f** ≤ f.
Conjugation reverses the order.
If f takes the value ⊥ somewhere, then f* ≡ ⊤.
The conjugate of the constant function ⊤ is the constant ⊥.
The conjugate of the constant function ⊥ is the constant ⊤.
If the domain of f is nonempty, then f* > ⊥ everywhere.
Subgradients through the conjugate: if f x = r, then u ∈ ∂f x iff f* u ≤ ⟪x, u⟫ - r.
Equality in Fenchel–Young BC, Proposition 16.10 (there for proper f): if f x = r,
then u ∈ ∂f x iff f* u = ⟪x, u⟫ - r.
At a subgradient, f* u = ⟪x, u⟫ - f x.
If u ∈ ∂f x, then x ∈ ∂f* u, for every f. The converse holds wherever f** x = f x
(HasSubgradientAt.of_hasSubgradientAt_fenchelConjugate).
If f has a subgradient somewhere, then f* is proper.
The converse of HasSubgradientAt.hasSubgradientAt_fenchelConjugate at points where
f** x = f x: then x ∈ ∂f* u implies u ∈ ∂f x.
At a point with a subgradient, f** x = f x; no convexity, lower semicontinuity or
completeness is needed.
f* u ≤ c iff ⟪·, u⟫ - c is an affine minorant of f, for every c : EReal.
f* is proper iff the domain of f is nonempty and f has an affine minorant.
If f* is proper, so is f.
f* u = ⊥ iff f ≡ ⊤.
Fenchel–Young inequality, additive form ⟪x, u⟫ ≤ f x + f* u, if f x > ⊥ and the domain
of f is nonempty; this is Fenchel's inequality of R, Section 12. Without these hypotheses
it fails, since ⊥ + ⊤ = ⊥.
Equality in Fenchel–Young BC, Proposition 16.10 (there for proper f),
R, Theorem 23.5 ((a) ⇔ (d), there for convex f): u ∈ ∂f x iff f x + f* u = ⟪x, u⟫, for
every f. If f is not proper, both sides fail: then f x = ⊥, f* u = ⊥ (for f ≡ ⊤) or
f* u = ⊤ (if f takes the value ⊥), and ⊥ + ⊤ = ⊥ in EReal.
f*** = f*.
f* 0 = -inf f.
The conjugate of a pointwise infimum is the supremum of the conjugates, for every family.
Conjugate of f + c: (f + c)* = f* - c.
Conjugate of f + ⟪a, ·⟫: (f + ⟪a, ·⟫)* u = f* (u - a).
Conjugate of a translate: (f (· + a))* u = f* u - ⟪a, u⟫.
Conjugate of a positive multiple: (c f)* u = c f* (u / c) for c > 0.
Composition with a linear isometry equivalence U : H ≃ K: (f ∘ U)* = f* ∘ U.
-f* u ≤ f x - ⟪x, u⟫, for every f: Fenchel–Young in the form used for weak duality.
(g ∘ A)* (A† w) ≤ g* w, for every g and every bounded linear map A.
Composition with an invertible bounded linear map: (f ∘ A)* = f* ∘ (A⁻¹)†.
Weak Fenchel–Rockafellar duality BC, Propositions 15.18 and 15.21 (there for proper
f and g; compare R, Corollary 30.2.2 and the proof of R, Theorem 31.1), for every
f, g and A: -f* (A† w) - g* (-w) ≤ f x + g (A x).
Weak Fenchel–Rockafellar duality as sup ≤ inf.
The support function σ_C u = ⨆ x ∈ C, ⟪x, u⟫ of a set C R, Section 13;
σ_∅ = ⊥.
Equations
- ConvexAnalysis.supportFunction C u = ⨆ x ∈ C, ↑(inner ℝ x u)
Instances For
⟪x, u⟫ ≤ σ_C u for every x ∈ C.
The support function of the empty set is the constant ⊥.
The support function of a nonempty set vanishes at 0.
The support function is monotone in the set.
The support function is positively homogeneous.
The support function does not distinguish a set from its closed convex hull.
The conjugate of the indicator of C is the support function of C BC, Example 13.3.
Support functions are convex.
Support functions are lower semicontinuous.
The normal cone through the support function: for x ∈ C, u ∈ N_C x iff
σ_C u = ⟪x, u⟫.
The conjugate of the zero function is the indicator of {0}.
The conjugate of the linear function ⟪a, ·⟫ is the indicator of {a}.
½‖·‖² is its own conjugate BC, Example 13.6.
The conjugate of the norm is the indicator of the closed unit ball BC, Example 13.3.