# mathlibdocumentation

analysis.convex.caratheodory

# Carathéodory's convexity theorem #

Convex hull can be regarded as a refinement of affine span. Both are closure operators but whereas convex hull takes values in the lattice of convex subsets, affine span takes values in the much coarser sublattice of affine subspaces.

The cost of this refinement is that one no longer has bases. However Carathéodory's convexity theorem offers some compensation. Given a set s together with a point x in its convex hull, Carathéodory says that one may find an affine-independent family of elements s whose convex hull contains x. Thus the difference from the case of affine span is that the affine-independent family depends on x.

In particular, in finite dimensions Carathéodory's theorem implies that the convex hull of a set s in 𝕜ᵈ is the union of the convex hulls of the (d + 1)-tuples in s.

## Main results #

• convex_hull_eq_union: Carathéodory's convexity theorem

## Implementation details #

This theorem was formalized as part of the Sphere Eversion project.

## Tags #

convex hull, caratheodory

theorem caratheodory.mem_convex_hull_erase {𝕜 : Type u_1} {E : Type u} [ E] [decidable_eq E] {t : finset E} (h : ¬) {x : E} (m : x (convex_hull 𝕜) t) :
∃ (y : t), x (convex_hull 𝕜) (t.erase y)

If x is in the convex hull of some finset t whose elements are not affine-independent, then it is in the convex hull of a strict subset of t.

noncomputable def caratheodory.min_card_finset_of_mem_convex_hull {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :

Given a point x in the convex hull of a set s, this is a finite subset of s of minimum cardinality, whose convex hull contains x.

Equations
theorem caratheodory.min_card_finset_of_mem_convex_hull_subseteq {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :
theorem caratheodory.mem_min_card_finset_of_mem_convex_hull {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :
theorem caratheodory.min_card_finset_of_mem_convex_hull_nonempty {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :
theorem caratheodory.min_card_finset_of_mem_convex_hull_card_le_card {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) {t : finset E} (ht₁ : t s) (ht₂ : x (convex_hull 𝕜) t) :
theorem caratheodory.affine_independent_min_card_finset_of_mem_convex_hull {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :
theorem convex_hull_eq_union {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} :
(convex_hull 𝕜) s = ⋃ (t : finset E) (hss : t s) (hai : , (convex_hull 𝕜) t

Carathéodory's convexity theorem

theorem eq_pos_convex_span_of_mem_convex_hull {𝕜 : Type u_1} {E : Type u} [ E] {s : set E} {x : E} (hx : x (convex_hull 𝕜) s) :
∃ (ι : Type u) (_x : fintype ι) (z : ι → E) (w : ι → 𝕜) (hss : s) (hai : (hw : ∀ (i : ι), 0 < w i), finset.univ.sum (λ (i : ι), w i) = 1 finset.univ.sum (λ (i : ι), w i z i) = x

A more explicit version of convex_hull_eq_union.