The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Convex.Hull
34 declarations. Mathlib docs ยท Source
def convexHull E3 #
(๐ : Type u_1) โ
{E : Type u_2} โ
[inst : Semiring ๐] โ [PartialOrder ๐] โ [inst_2 : AddCommMonoid E] โ [Module ๐ E] โ ClosureOperator (Set E)
The convex hull of a set s is the minimal convex set that includes s.
theorem convexHull_isClosed E0 #
โ (๐ : Type u_1) {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s : Set E), (convexHull ๐).IsClosed s = Convex ๐ s
theorem subset_convexHull E1 #
โ (๐ : Type u_1) {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s : Set E), s โ (convexHull ๐) s
theorem convex_convexHull E1 #
โ (๐ : Type u_1) {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s : Set E), Convex ๐ ((convexHull ๐) s)
theorem convexHull_eq_iInter E1 #
โ (๐ : Type u_1) {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s : Set E), (convexHull ๐) s = โ t, โ (_ : s โ t), โ (_ : Convex ๐ t), t
theorem mem_convexHull_iff E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E} {x : E}, x โ (convexHull ๐) s โ โ (t : Set E), s โ t โ Convex ๐ t โ x โ t
theorem convexHull_min E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s t : Set E}, s โ t โ Convex ๐ t โ (convexHull ๐) s โ t
theorem Convex.convexHull_subset_iff E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s t : Set E}, Convex ๐ t โ ((convexHull ๐) s โ t โ s โ t)
theorem convexHull_mono E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s t : Set E}, s โ t โ (convexHull ๐) s โ (convexHull ๐) t
theorem convexHull_eq_self E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, (convexHull ๐) s = s โ Convex ๐ s
theorem Convex.convexHull_eq E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, Convex ๐ s โ (convexHull ๐) s = s
Alias of the reverse direction of convexHull_eq_self.
theorem convexHull_univ E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E], (convexHull ๐) Set.univ = Set.univ
theorem convexHull_empty E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E], (convexHull ๐) โ
= โ
theorem convexHull_eq_empty E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, (convexHull ๐) s = โ
โ s = โ
theorem convexHull_nonempty_iff E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, ((convexHull ๐) s).Nonempty โ s.Nonempty
theorem Set.Nonempty.convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, s.Nonempty โ ((convexHull ๐) s).Nonempty
Alias of the reverse direction of convexHull_nonempty_iff.
theorem segment_subset_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E} {x y : E}, x โ s โ y โ s โ segment ๐ x y โ (convexHull ๐) s
theorem convexHull_singleton E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (x : E), (convexHull ๐) {x} = {x}
theorem convexHull_eq_singleton E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E} {x : E}, (convexHull ๐) s = {x} โ s = {x}
theorem convexHull_zero E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E], (convexHull ๐) 0 = 0
theorem convexHull_eq_zero E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, (convexHull ๐) s = 0 โ s = 0
theorem convexHull_pair E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] [IsOrderedRing ๐] (x y : E), (convexHull ๐) {x, y} = segment ๐ x y
theorem convexHull_convexHull_union_left E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s t : Set E), (convexHull ๐) ((convexHull ๐) s โช t) = (convexHull ๐) (s โช t)
theorem convexHull_convexHull_union_right E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (s t : Set E), (convexHull ๐) (s โช (convexHull ๐) t) = (convexHull ๐) (s โช t)
theorem Convex.convex_remove_iff_notMem_convexHull_remove E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s : Set E}, Convex ๐ s โ โ (x : E), Convex ๐ (s \ {x}) โ x โ (convexHull ๐) (s \ {x})
theorem IsLinearMap.image_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : AddCommMonoid F] [inst_4 : Module ๐ E] [inst_5 : Module ๐ F] {f : E โ F},
IsLinearMap ๐ f โ โ (s : Set E), f '' (convexHull ๐) s = (convexHull ๐) (f '' s)
theorem LinearMap.image_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : AddCommMonoid F] [inst_4 : Module ๐ E] [inst_5 : Module ๐ F] (f : E โโ[๐] F) (s : Set E),
โf '' (convexHull ๐) s = (convexHull ๐) (โf '' s)
theorem convexHull_add_subset E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Semiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] {s t : Set E}, (convexHull ๐) (s + t) โ (convexHull ๐) s + (convexHull ๐) t
theorem convexHull_smul E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : CommSemiring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommMonoid E]
[inst_3 : Module ๐ E] (a : ๐) (s : Set E), (convexHull ๐) (a โข s) = a โข (convexHull ๐) s
theorem AffineMap.image_convexHull E1 #
โ {๐ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : Ring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommGroup E]
[inst_3 : AddCommGroup F] [inst_4 : Module ๐ E] [inst_5 : Module ๐ F] (f : E โแต[๐] F) (s : Set E),
โf '' (convexHull ๐) s = (convexHull ๐) (โf '' s)
theorem convexHull_subset_affineSpan E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Ring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommGroup E]
[inst_3 : Module ๐ E] (s : Set E), (convexHull ๐) s โ โ(affineSpan ๐ s)
theorem affineSpan_convexHull E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Ring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommGroup E]
[inst_3 : Module ๐ E] (s : Set E), affineSpan ๐ ((convexHull ๐) s) = affineSpan ๐ s
theorem convexHull_neg E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Ring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommGroup E]
[inst_3 : Module ๐ E] (s : Set E), (convexHull ๐) (-s) = -(convexHull ๐) s
theorem convexHull_vadd E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : Ring ๐] [inst_1 : PartialOrder ๐] [inst_2 : AddCommGroup E]
[inst_3 : Module ๐ E] (x : E) (s : Set E), (convexHull ๐) (x +แตฅ s) = x +แตฅ (convexHull ๐) s