The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

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