# mathlibdocumentation

analysis.convex.independent

# 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 #

• convex_independent p: Convex independence of the indexed family p : ι → E. Every point of the family only belongs to convex hulls of sets of the family containing it.
• convex_independent_iff_finset: Carathéodory's theorem allows us to only check finsets to conclude convex independence.
• convex.extreme_points_convex_independent: Extreme points of a convex set are convex independent.

## TODO #

Prove affine_independent.convex_independent. This requires some glue between affine_combination and finset.center_mass.

## Tags #

independence, convex position

def convex_independent (𝕜 : Type u_1) {E : Type u_2} {ι : Type u_3} [ E] (p : ι → E) :
Prop

An indexed family is said to be convex independent if every point only belongs to convex hulls of sets containing it.

Equations
theorem subsingleton.convex_independent {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] [subsingleton ι] (p : ι → E) :

A family with at most one point is convex independent.

theorem convex_independent.injective {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} (hc : p) :

A convex independent family is injective.

theorem convex_independent.comp_embedding {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {ι' : Type u_4} (f : ι' ι) {p : ι → E} (hc : p) :
(p f)

If a family is convex independent, so is any subfamily given by composition of an embedding into index type with the original family.

theorem convex_independent.subtype {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} (hc : p) (s : set ι) :
(λ (i : s), p i)

If a family is convex independent, so is any subfamily indexed by a subtype of the index type.

theorem convex_independent.range {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} (hc : p) :
(λ (x : (set.range p)), x)

If an indexed family of points is convex independent, so is the corresponding set of points.

theorem convex_independent.mono {𝕜 : Type u_1} {E : Type u_2} [ E] {s t : set E} (hc : (λ (x : t), x)) (hs : s t) :
(λ (x : s), x)

A subset of a convex independent set of points is convex independent as well.

theorem function.injective.convex_independent_iff_set {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} (hi : function.injective p) :
(λ (x : (set.range p)), x)

The range of an injective indexed family of points is convex independent iff that family is.

@[simp]
theorem convex_independent.mem_convex_hull_iff {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} (hc : p) (s : set ι) (i : ι) :
p i (convex_hull 𝕜) (p '' s) i s

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.

theorem convex_independent_iff_not_mem_convex_hull_diff {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} :
∀ (i : ι) (s : set ι), p i (convex_hull 𝕜) (p '' (s \ {i}))

If a family is convex independent, a point in the family is not in the convex hull of the other points. See convex_independent_set_iff_not_mem_convex_hull_diff for the set version.

theorem convex_independent_set_iff_inter_convex_hull_subset {𝕜 : Type u_1} {E : Type u_2} [ E] {s : set E} :
(λ (x : s), x) ∀ (t : set E), t ss (convex_hull 𝕜) t t
theorem convex_independent_set_iff_not_mem_convex_hull_diff {𝕜 : Type u_1} {E : Type u_2} [ E] {s : set E} :
(λ (x : s), x) ∀ (x : E), x sx (convex_hull 𝕜) (s \ {x})

If a set is convex independent, a point in the set is not in the convex hull of the other points. See convex_independent_iff_not_mem_convex_hull_diff for the indexed family version.

theorem convex_independent_iff_finset {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [ E] {p : ι → E} :
∀ (s : finset ι) (x : ι), p x (convex_hull 𝕜) s)x s

To check convex independence, one only has to check finsets thanks to Carathéodory's theorem.

### Extreme points #

theorem convex.convex_independent_extreme_points {𝕜 : Type u_1} {E : Type u_2} [ E] {s : set E} (hs : s) :
(λ (p : s)), p)