Documentation

Mathlib.Analysis.Normed.Module.Convex

Metric properties of convex sets in normed spaces #

We prove the following facts:

theorem convexOn_norm {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {s : Set E} (hs : Convex ℝ s) :

The norm on a real normed space is convex on any convex set. See also Seminorm.convexOn and convexOn_univ_norm.

The norm on a real normed space is convex on the whole space. See also Seminorm.convexOn and convexOn_norm.

theorem convexOn_dist {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {s : Set E} (z : E) (hs : Convex ℝ s) :
ConvexOn ℝ s fun (z' : E) => dist z' z
theorem convexOn_univ_dist {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] (z : E) :
ConvexOn ℝ Set.univ fun (z' : E) => dist z' z
theorem convex_ball {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] (a : E) (r : ℝ) :
theorem convexHull_exists_dist_ge {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {s : Set E} {x : E} (hx : x ∈ (convexHull ℝ) s) (y : E) :
∃ x' ∈ s, dist x y ≤ dist x' y

Given a point x in the convex hull of s and a point y, there exists a point of s at distance at least dist x y from y.

theorem convexHull_exists_dist_ge2 {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {s t : Set E} {x y : E} (hx : x ∈ (convexHull ℝ) s) (hy : y ∈ (convexHull ℝ) t) :
∃ x' ∈ s, ∃ y' ∈ t, dist x y ≤ dist x' y'

Given a point x in the convex hull of s and a point y in the convex hull of t, there exist points x' ∈ s and y' ∈ t at distance at least dist x y.

@[simp]

Emetric diameter of the convex hull of a set s equals the emetric diameter of s.

@[simp]

Diameter of the convex hull of a set s equals the emetric diameter of s.

@[simp]

Convex hull of s is bounded if and only if s is bounded.

The set of vectors in the same ray as x is connected.

The set of nonzero vectors in the same ray as the nonzero vector x is connected.

theorem norm_sub_le_of_mem_segment {E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {x y z : E} (hy : y ∈ segment ℝ x z) :