Positively homogeneous convex functions #
A function f : E → EReal is positively homogeneous when f (a • x) = a * f x for every
a > 0, which is to say that its epigraph is a cone. For such functions convexity collapses to
subadditivity, and the theory of support functions and gauges rests on that equivalence.
Only positive multipliers are constrained, so the definition says nothing about f 0 beyond
f 0 ∈ {0, ⊤, ⊥} (PosHomogeneous.map_zero_trichotomy), and the value f 0 = ⊤ really does
occur: δ(· | C) for a convex cone C not containing the origin is positively homogeneous and
proper. This is why the finite-combination form of subadditivity carries a nonemptiness hypothesis
on the index set — the empty sum would assert f 0 ≤ 0 — and why the spanning-set form of the
linearity criterion carries one too.
Main definitions #
PosHomogeneous f—f (a • x) = a * f xfor everya > 0.
Main results #
posHomogeneous_iff_isCone_epi— positive homogeneity is exactly the epigraph being a cone.convex_iff_add_mem_of_isCone— a cone is convex iff it is closed under addition. This is Mathlib'sConvexConecontent, repackaged as a statement about bare sets.span_eq_sub_of_isCone— the subspace generated by a convex cone containing the origin iss - s; withvectorSpan_eq_span_of_zero_mem, so is its affine hull.smul_closure_eq_of_isCone— the closure of a cone is a cone. The one topological statement in the file; it needs only that each individual scaling is continuous.PosHomogeneous.convexFn_iff_subadditive— for a positively homogeneousf, convexity is subadditivity.PosHomogeneous.sum_le,PosHomogeneous.neg_le— subadditivity over a finite positive combination, and-(f x) ≤ f (-x).PosHomogeneous.isLinearOn_iff,PosHomogeneous.exists_linearMap_iff— linearity on a subspaceLis equivalent tof (-x) = -(f x)onL, andPosHomogeneous.neg_eq_of_mem_spanreduces the check to a spanning set, in particular a basis.
Implementation notes #
Convexity is equivalent to subadditivity for f with values in (-∞, +∞]; that hypothesis is
kept inline as ∀ x, f x ≠ ⊥. Positive homogeneity is not stated with a scalar action on EReal
— there is no SMul ℝ EReal instance — so (a : EReal) * z is used throughout.
References #
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §2 and §4.
Cones #
A cone, in Rockafellar's sense, is a set closed under multiplication by positive scalars; it need
not contain the origin. The condition is written ∀ a : ℝ, 0 < a → a • s = s, matching
posHomogeneous_iff_isCone_epi verbatim.
A cone is convex if and only if it is closed under addition. The "only if" direction is
the observation that x + y = 2 * ((x + y) / 2).
The subspace generated by a convex cone containing the origin is the set of its
differences. Closure under addition and positive scaling collects the positive terms of a linear
combination into one element of s and the negative terms into another. With
vectorSpan_eq_span_of_zero_mem, span, affine hull and s - s all coincide.
The closure of a cone is a cone. Multiplication by a non-zero scalar is a
homeomorphism, so it commutes with closure. Convexity plays no part, and only continuity of the
individual scalings is used — not a topological vector space structure.
Positively homogeneous functions #
A function f : E → EReal is positively homogeneous (of degree one) when
f (a • x) = a * f x for every a > 0. Only positive scalars are constrained;
in particular f 0 is not determined, see PosHomogeneous.map_zero_trichotomy.
Instances For
Positive homogeneity leaves only three possible values at the origin. Rockafellar notes the
same: f 0 may be 0 or -∞ for a positively homogeneous function, and +∞ as well once
improper functions are admitted.
A positively homogeneous function that never takes the value ⊥ is nonnegative at the
origin.
Positive homogeneity of f is exactly the statement that epi f is a cone.
The indicator function of a set is positively homogeneous exactly when the set is a cone.
Convexity is subadditivity #
A positively homogeneous function f with values in (-∞, +∞] is convex if and only if it
is subadditive. Subadditivity of f is precisely closure of the cone epi f under addition.
Finite combinations, and the value at -x #
Subadditivity of a positively homogeneous convex function extends to positive linear
combinations. The index set must be nonempty: the empty sum would
assert f 0 ≤ 0, and f 0 = ⊤ is possible.
A positively homogeneous convex function with values in (-∞, +∞] satisfies
-(f x) ≤ f (-x).
Linearity on a subspace #
If a positively homogeneous convex function is odd anywhere, then it vanishes at the origin.
Since -(f x) ≤ f (-x) always holds, oddness at x is a single inequality.
At a point where a positively homogeneous convex function is odd, it is homogeneous for all real scalars, not merely the positive ones.
At two points where a positively homogeneous convex function is odd, it is additive.
Oddness of a positively homogeneous convex function is preserved by addition.
Oddness of a positively homogeneous convex function is preserved by scalar multiplication.
If a positively homogeneous convex function is odd on a nonempty set s, it is odd on the
whole subspace spanned by s. The nonemptiness hypothesis is not decoration: it is what supplies
f 0 = 0, needed when a coefficient λᵢ vanishes.
A positively homogeneous convex function with values in (-∞, +∞] is linear on a subspace
L — additive and homogeneous there — if and only if f (-x) = -(f x) for every x ∈ L.
The same criterion in packaged form: f agrees on L with a genuine linear
functional L →ₗ[ℝ] ℝ exactly when f (-x) = -(f x) for every x ∈ L. Such an f is
automatically finite on L, which is why a real-valued linear map can be extracted.
To know that f is linear on the subspace spanned by a nonempty set s, it is enough to
check f (-b) = -(f b) for b ∈ s — in particular on a basis of that subspace.
The epigraph of a positively homogeneous convex function, bundled as a Mathlib ConvexCone,
which makes Mathlib's ConvexCone API available to support functions and polarity. No hypothesis
on the values of f is needed: closure under addition comes from convexity of the cone, not from
subadditivity.
Equations
- hf.epiCone hconv = { carrier := Tdaf.ConvexAnalysis.epi f, smul_mem' := ⋯, add_mem' := ⋯ }
Instances For
The carrier of PosHomogeneous.epiCone is the epigraph.