Star-convex sets #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This files defines star-convex sets (aka star domains, star-shaped set, radially convex set).
A set is star-convex at x
if every segment from x
to a point in the set is contained in the set.
This is the prototypical example of a contractible set in homotopy theory (by scaling every point
towards x
), but has wider uses.
Note that this has nothing to do with star rings, has_star
and co.
Main declarations #
star_convex 𝕜 x s
:s
is star-convex atx
with scalars𝕜
.
Implementation notes #
Instead of saying that a set is star-convex, we say a set is star-convex at a point. This has the advantage of allowing us to talk about convexity as being "everywhere star-convexity" and of making the union of star-convex sets be star-convex.
Incidentally, this choice means we don't need to assume a set is nonempty for it to be star-convex. Concretely, the empty set is star-convex at every point.
TODO #
Balanced sets are star-convex.
The closure of a star-convex set is star-convex.
Star-convex sets are contractible.
A nonempty open star-convex set in ℝ^n
is diffeomorphic to the entire space.
Star-convexity of sets. s
is star-convex at x
if every segment from x
to a point in s
is
contained in s
.
Alternative definition of star-convexity, in terms of pointwise set operations.
The translation of a star-convex set is also star-convex.
The translation of a star-convex set is also star-convex.
The preimage of a star-convex set under an affine map is star-convex.
The image of a star-convex set under an affine map is star-convex.
Alternative definition of star-convexity, using division.
Star-convex sets in an ordered space #
Relates star_convex
and set.ord_connected
.
Alias of the forward direction of star_convex_iff_ord_connected
.