The areas / V22. Affine, Euclidean and convex geometry
Mathlib.Geometry.Convex.Hull
23 declarations. Mathlib docs · Source
def Convexity.convexHull E1 #
(R : Type u_1) →
{X : Type u_2} →
[inst : Semiring R] →
[inst_1 : PartialOrder R] →
[inst_2 : IsStrictOrderedRing R] → [Convexity.ConvexSpace R X] → ClosureOperator (Set X)
The convex hull of a set s is the minimal convex set that includes s.
theorem Convexity.subset_convexHull_iff E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s t : Set X},
t ⊆ (Convexity.convexHull R) s ↔ ∀ (C : Set X), s ⊆ C → Convexity.IsConvexSet R C → t ⊆ C
theorem Convexity.subset_convexHull_self E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X}, s ⊆ (Convexity.convexHull R) s
theorem Convexity.IsConvexSet.convexHull E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X}, Convexity.IsConvexSet R ((Convexity.convexHull R) s)
theorem Convexity.convexHull_eq_iInter E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X},
(Convexity.convexHull R) s = ⋂ t, ⋂ (_ : s ⊆ t), ⋂ (_ : Convexity.IsConvexSet R t), t
theorem Convexity.mem_convexHull_iff E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X} {x : X},
x ∈ (Convexity.convexHull R) s ↔ ∀ (t : Set X), s ⊆ t → Convexity.IsConvexSet R t → x ∈ t
theorem Convexity.convexHull_min E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {C s : Set X}, s ⊆ C → Convexity.IsConvexSet R C → (Convexity.convexHull R) s ⊆ C
theorem Convexity.IsConvexSet.convexHull_subset_iff E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {C s : Set X},
Convexity.IsConvexSet R C → ((Convexity.convexHull R) s ⊆ C ↔ s ⊆ C)
theorem Convexity.convexHull_mono E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s t : Set X}, s ⊆ t → (Convexity.convexHull R) s ⊆ (Convexity.convexHull R) t
theorem Convexity.convexHull_eq_self E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {C : Set X}, (Convexity.convexHull R) C = C ↔ Convexity.IsConvexSet R C
theorem Convexity.convexHull_subset_self E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {C : Set X}, (Convexity.convexHull R) C ⊆ C ↔ Convexity.IsConvexSet R C
theorem Convexity.IsConvexSet.convexHull_eq_self E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {C : Set X}, Convexity.IsConvexSet R C → (Convexity.convexHull R) C = C
Alias of the reverse direction of Convexity.convexHull_eq_self.
theorem Convexity.convexHull_empty E0 #
∀ (R : Type u_1) {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X], (Convexity.convexHull R) ∅ = ∅
theorem Convexity.convexHull_eq_empty E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X}, (Convexity.convexHull R) s = ∅ ↔ s = ∅
theorem Convexity.convexHull_nonempty E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X}, ((Convexity.convexHull R) s).Nonempty ↔ s.Nonempty
theorem Convexity.Set.Nonempty.convexHull' E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X}, s.Nonempty → ((Convexity.convexHull R) s).Nonempty
Alias of the reverse direction of Convexity.convexHull_nonempty.
theorem Convexity.convexHull_singleton E0 #
∀ (R : Type u_1) {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] (x : X), (Convexity.convexHull R) {x} = {x}
theorem Convexity.convexHull_univ E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X], (Convexity.convexHull R) Set.univ = Set.univ
theorem Convexity.convexHull_eq_singleton E0 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X} {x : X}, (Convexity.convexHull R) s = {x} ↔ s = {x}
theorem Convexity.convexHull_convexHull_union E0 #
∀ (R : Type u_1) {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] (s t : Set X),
(Convexity.convexHull R) ((Convexity.convexHull R) s ∪ t) = (Convexity.convexHull R) (s ∪ t)
theorem Convexity.convexHull_union_convexHull E0 #
∀ (R : Type u_1) {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] (s t : Set X),
(Convexity.convexHull R) (s ∪ (Convexity.convexHull R) t) = (Convexity.convexHull R) (s ∪ t)
theorem Convexity.IsConvexSet.sdiff_singleton_iff_notMem_convexHull E1 #
∀ {R : Type u_1} {X : Type u_2} [inst : Semiring R] [inst_1 : PartialOrder R] [inst_2 : IsStrictOrderedRing R]
[inst_3 : Convexity.ConvexSpace R X] {s : Set X} {x : X},
Convexity.IsConvexSet R s → (Convexity.IsConvexSet R (s \ {x}) ↔ x ∉ (Convexity.convexHull R) (s \ {x}))
theorem Convexity.IsAffineMap.image_convexHull E1 #
∀ {R : Type u_1} {X : Type u_2} {Y : Type u_3} [inst : Semiring R] [inst_1 : PartialOrder R]
[inst_2 : IsStrictOrderedRing R] [inst_3 : Convexity.ConvexSpace R X] [inst_4 : Convexity.ConvexSpace R Y]
{f : X → Y},
Convexity.IsAffineMap R f → ∀ (s : Set X), f '' (Convexity.convexHull R) s = (Convexity.convexHull R) (f '' s)