Limits and continuous extensions of convex functions #
A pointwise limit, on a set s, of functions that are eventually convex on s is convex on s.
This is the closedness of the set of convex functions (isClosed_setOfPred_convexOn) applied to
functions that are only known to converge on s.
A function convex on s and continuous on closure s remains convex on that closure
(ConvexOn.closure_of_continuousOn).
A convex function on (0, ∞) bounded above by L stays convex when extended by the value L at
0 (ConvexOn.apply_mul_le_of_forall_le), as the limit of convex combinations approaching 0.
On a set with compact closure, a convex function v continuous on the closure can be rescaled and
shifted to (1 + ε) v + b so that it passes from above to below an arbitrary function u
(TauCeti.exists_convexOn_lt_frontier_of_lt).
A pointwise limit of convex functions is convex. If the functions F i are eventually
convex on s and converge to f at every point of s, then f is convex on s.
If v ≤ u on the frontier of a set Ω with compact closure and u x₀ < v x₀ at some
x₀ ∈ Ω, with v convex on Ω and continuous on its closure (nothing is assumed of u), then
for a small ε > 0 and a constant b the function (1 + ε) v + b is convex on Ω and continuous
on its closure, lies below u on the frontier, and lies above u at x₀.
A convex function φ on (0, ∞) bounded above by L satisfies φ (b x) ≤ b φ x + (1 - b) L
for x > 0 and 0 < b ≤ 1: extending φ by the value L at 0 keeps it convex on [0, ∞).
For φ(s) = sⁿ U(s⁻ⁿ) nonincreasing, the best such bound is the recession constant of U, since
U(r) / r = φ(r^{-1/n}).
A convex function that is continuous on the closure remains convex on that closure.