# 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 {E : Type u} [ E] [decidable_eq E] {t : finset E} (h : ¬) {x : E} (m : x t) :
∃ (y : t), x (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.

def caratheodory.min_card_finset_of_mem_convex_hull {E : Type u} [ E] {s : set E} {x : E} (hx : x 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 {E : Type u} [ E] {s : set E} {x : E} (hx : x s) :
theorem caratheodory.mem_min_card_finset_of_mem_convex_hull {E : Type u} [ E] {s : set E} {x : E} (hx : x s) :
theorem caratheodory.min_card_finset_of_mem_convex_hull_nonempty {E : Type u} [ E] {s : set E} {x : E} (hx : x s) :
theorem caratheodory.min_card_finset_of_mem_convex_hull_card_le_card {E : Type u} [ E] {s : set E} {x : E} (hx : x s) {t : finset E} (ht₁ : t s) (ht₂ : x t) :
theorem caratheodory.affine_independent_min_card_finset_of_mem_convex_hull {E : Type u} [ E] {s : set E} {x : E} (hx : x s) :
theorem convex_hull_eq_union {E : Type u} [ E] {s : set E} :
s = ⋃ (t : finset E) (hss : t s) (hai : , t

Carathéodory's convexity theorem

theorem eq_pos_convex_span_of_mem_convex_hull {E : Type u} [ E] {s : set E} {x : E} (hx : x s) :
∃ (ι : Type u) (_x : fintype ι) (z : ι → E) (w : ι → ) (hss : s) (hai : (hw : ∀ (i : ι), 0 < w i), ∑ (i : ι), w i = 1 ∑ (i : ι), w i z i = x

A more explicit version of convex_hull_eq_union.