Topological and metric properties of convex sets #
We prove the following facts:
convex.interior
: interior of a convex set is convex;convex.closure
: closure of a convex set is convex;set.finite.compact_convex_hull
: convex hull of a finite set is compact;set.finite.is_closed_convex_hull
: convex hull of a finite set is closed;convex_on_dist
: distance to a fixed point is convex on any convex set;convex_hull_ediam
,convex_hull_diam
: convex hull of a set has the same (e)metric diameter as the original set;bounded_convex_hull
: convex hull of a set is bounded if and only if the original set is bounded.bounded_std_simplex
,is_closed_std_simplex
,compact_std_simplex
: topological properties of the standard simplex;
Alias of real.convex_iff_is_preconnected
.
Alias of real.convex_iff_is_preconnected
.
Standard simplex #
Every vector in std_simplex 𝕜 ι
has max
-norm at most 1
.
std_simplex ℝ ι
is bounded.
std_simplex ℝ ι
is closed.
std_simplex ℝ ι
is compact.
Topological vector space #
If x ∈ s
and y ∈ interior s
, then the segment (x, y]
is included in interior s
.
If x ∈ s
and x + y ∈ interior s
, then x + t y ∈ interior s
for t ∈ (0, 1]
.
In a topological vector space, the interior of a convex set is convex.
In a topological vector space, the closure of a convex set is convex.
Convex hull of a finite set is compact.
Convex hull of a finite set is closed.
If we dilate a convex set about a point in its interior by a scale t > 1
, the interior of
the result contains the original set.
TODO Generalise this from convex sets to sets that are balanced / star-shaped about x
.
Normed vector space #
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
.
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
.
Emetric diameter of the convex hull of a set s
equals the emetric diameter of `s.
Diameter of the convex hull of a set s
equals the emetric diameter of `s.
Convex hull of s
is bounded if and only if s
is bounded.