Documentation

ConvexAnalysis.Continuity

Continuity of extended valued convex functions #

A convex function f : E → EReal on a real normed space that is bounded above near x is continuous at x; in finite dimension this holds at every interior point of the domain. No properness is needed: a convex function that takes the value ⊥ is ⊥ on the interior of its domain, and so continuous there.

Main statements #

Implementation notes #

On a ball where f is finite, f is the coercion of a real valued convex function, and Mathlib's ConvexOn.continuousOn_tfae (bounded above near one point iff continuous on the open set) applies. In finite dimension Mathlib's ConvexOn.continuousOn gives continuity on the interior of the domain directly.

References #

Tags #

convex function, continuity, extended real valued function, effective domain

theorem ConvexAnalysis.ConvexFun.convexOn_toReal {E : Type u_1} [AddCommGroup E] [Module ℝ E] {f : E → EReal} (hf : ConvexFun f) {s : Set E} (hs : Convex ℝ s) (hsd : s ⊆ effectiveDomain f) (hsb : ∀ y ∈ s, ⊥ < f y) :
ConvexOn ℝ s fun (y : E) => (f y).toReal

On a convex set s inside the domain where f > ⊥, the real part of a convex f is convex in the sense of Mathlib's ConvexOn.

theorem ConvexAnalysis.ConvexFun.eq_bot_of_mem_interior {E : Type u_1} [AddCommGroup E] [Module ℝ E] {f : E → EReal} [TopologicalSpace E] [ContinuousAdd E] [ContinuousSMul ℝ E] (hf : ConvexFun f) {z y : E} (hz : f z = ⊥) (hy : y ∈ interior (effectiveDomain f)) :
f y = ⊥

A convex function that takes the value ⊥ somewhere is ⊥ on the interior of its domain. R, Theorem 7.2 states this for the relative interior of the domain in ℝⁿ; here the space is any real topological vector space and the interior is taken.

theorem ConvexAnalysis.ConvexFun.bot_lt_of_mem_interior {E : Type u_1} [AddCommGroup E] [Module ℝ E] {f : E → EReal} {x : E} [TopologicalSpace E] [ContinuousAdd E] [ContinuousSMul ℝ E] (hf : ConvexFun f) (hx : x ∈ interior (effectiveDomain f)) (hbot : ⊥ < f x) (y : E) :
⊥ < f y

If a convex function is greater than ⊥ at an interior point of its domain, it is greater than ⊥ everywhere.

theorem ConvexAnalysis.ConvexFun.continuousAt_of_eventually_le {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {f : E → EReal} {x : E} (hf : ConvexFun f) {M : ℝ} (hM : ∀ᶠ (y : E) in nhds x, f y ≤ ↑M) :

A convex function that is bounded above near x is continuous at x BC, Theorem 8.38 (there for proper f on a Hilbert space). If f x = ⊥, then f is ⊥ near x (ConvexAnalysis.ConvexFun.eq_bot_of_mem_interior).

In finite dimension, a convex function is continuous at every interior point of its domain. R, Theorem 10.1 states this for the relative interior; like it, no properness is needed (a convex function that takes the value ⊥ is ⊥ on the interior of its domain).

theorem ConvexAnalysis.ConvexFun.exists_eventually_le_of_mem_interior {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {f : E → EReal} {x : E} [FiniteDimensional ℝ E] (hf : ConvexFun f) (hx : x ∈ interior (effectiveDomain f)) :
∃ (M : ℝ), ∀ᶠ (y : E) in nhds x, f y ≤ ↑M

In finite dimension, a convex function is bounded above near every interior point of its domain, by the continuity of R, Theorem 10.1 (ConvexAnalysis.ConvexFun.continuousAt_of_mem_interior). No properness is needed.

In finite dimension a convex function is upper semicontinuous at every interior point of its domain.