Convex independence #
This file defines convex independent families of points.
Convex independence is closely related to affine independence. In both cases, no point can be written as a combination of others. When the combination is affine (that is, any coefficients), this yields affine independence. When the combination is convex (that is, all coefficients are nonnegative), then this yields convex independence. In particular, affine independence implies convex independence.
Main declarations #
ConvexIndependent p
: Convex independence of the indexed familyp : ΞΉ β E
. Every point of the family only belongs to convex hulls of sets of the family containing it.convexIndependent_iff_finset
: CarathΓ©odory's theorem allows us to only check finsets to conclude convex independence.Convex.convexIndependent_extremePoints
: Extreme points of a convex set are convex independent.
References #
TODO #
Prove AffineIndependent.convexIndependent
. This requires some glue between affineCombination
and Finset.centerMass
.
Tags #
independence, convex position
An indexed family is said to be convex independent if every point only belongs to convex hulls of sets containing it.
Equations
- ConvexIndependent π p = β (s : Set ΞΉ) (x : ΞΉ), p x β (convexHull π) (p '' s) β x β s
Instances For
A family with at most one point is convex independent.
A convex independent family is injective.
If a family is convex independent, so is any subfamily given by composition of an embedding into index type with the original family.
If a family is convex independent, so is any subfamily indexed by a subtype of the index type.
If an indexed family of points is convex independent, so is the corresponding set of points.
A subset of a convex independent set of points is convex independent as well.
The range of an injective indexed family of points is convex independent iff that family is.
If a family is convex independent, a point in the family is in the convex hull of some of the points given by a subset of the index type if and only if the point's index is in this subset.
If a family is convex independent, a point in the family is not in the convex hull of the other
points. See convexIndependent_set_iff_not_mem_convexHull_diff
for the Set
version.
If a set is convex independent, a point in the set is not in the convex hull of the other
points. See convexIndependent_iff_not_mem_convexHull_diff
for the indexed family version.
To check convex independence, one only has to check finsets thanks to CarathΓ©odory's theorem.