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.Star

51 declarations. Mathlib docs Β· Source

Star-convex sets

This file defines star-convex sets (aka star domains, star-shaped set, radially convex set).

A set is star-convex at x if every segment from x to a point in the set is contained in the set.

This is the prototypical example of a contractible set in homotopy theory (by scaling every point towards x), but has wider uses.

Note that this has nothing to do with star rings, Star and co.

Main declarations

  • StarConvex π•œ x s: s is star-convex at x with scalars π•œ.

Implementation notes

Instead of saying that a set is star-convex, we say a set is star-convex at a point. This has the advantage of allowing us to talk about convexity as being "everywhere star-convexity" and of making the union of star-convex sets be star-convex.

Incidentally, this choice means we don't need to assume a set is nonempty for it to be star-convex. Concretely, the empty set is star-convex at every point.

TODO

The closure of a star-convex set is star-convex.

A nonempty open star-convex set in ℝ^n is diffeomorphic to the entire space.

Replace with Convexity.IsStarConvexSet.

Star-convex sets in an ordered space

Relates starConvex and Set.ordConnected.

def StarConvex E1 #

(π•œ : Type u_4) β†’ {E : Type u_5} β†’ [Semiring π•œ] β†’ [PartialOrder π•œ] β†’ [AddCommMonoid E] β†’ [SMul π•œ E] β†’ E β†’ Set E β†’ Prop

Star-convexity of sets. s is star-convex at x if every segment from x to a point in s is contained in s.

theorem starConvex_iff_segment_subset E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s ↔ βˆ€ ⦃y : E⦄, y ∈ s β†’ segment π•œ x y βŠ† s

theorem StarConvex.segment_subset E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s β†’ βˆ€ {y : E}, y ∈ s β†’ segment π•œ x y βŠ† s

theorem StarConvex.openSegment_subset E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s β†’ βˆ€ {y : E}, y ∈ s β†’ openSegment π•œ x y βŠ† s

theorem starConvex_iff_pointwise_add_subset E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s : Set E},
  StarConvex π•œ x s ↔ βˆ€ ⦃a b : π•œβ¦„, 0 ≀ a β†’ 0 ≀ b β†’ a + b = 1 β†’ a β€’ {x} + b β€’ s βŠ† s

Alternative definition of star-convexity, in terms of pointwise set operations.

theorem starConvex_empty E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] (x : E), StarConvex π•œ x βˆ…

theorem starConvex_univ E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] (x : E), StarConvex π•œ x Set.univ

theorem StarConvex.inter E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s t : Set E}, StarConvex π•œ x s β†’ StarConvex π•œ x t β†’ StarConvex π•œ x (s ∩ t)

theorem starConvex_sInter E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {S : Set (Set E)}, (βˆ€ s ∈ S, StarConvex π•œ x s) β†’ StarConvex π•œ x (β‹‚β‚€ S)

theorem starConvex_iInter E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {ΞΉ : Sort u_4} {s : ΞΉ β†’ Set E},
  (βˆ€ (i : ΞΉ), StarConvex π•œ x (s i)) β†’ StarConvex π•œ x (β‹‚ i, s i)

theorem starConvex_iInterβ‚‚ E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {ΞΉ : Sort u_4} {ΞΊ : ΞΉ β†’ Sort u_5} {s : (i : ΞΉ) β†’ ΞΊ i β†’ Set E},
  (βˆ€ (i : ΞΉ) (j : ΞΊ i), StarConvex π•œ x (s i j)) β†’ StarConvex π•œ x (β‹‚ i, β‹‚ j, s i j)

theorem StarConvex.union E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {s t : Set E}, StarConvex π•œ x s β†’ StarConvex π•œ x t β†’ StarConvex π•œ x (s βˆͺ t)

theorem starConvex_iUnion E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {ΞΉ : Sort u_4} {s : ΞΉ β†’ Set E},
  (βˆ€ (i : ΞΉ), StarConvex π•œ x (s i)) β†’ StarConvex π•œ x (⋃ i, s i)

theorem starConvex_iUnionβ‚‚ E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {ΞΉ : Sort u_4} {ΞΊ : ΞΉ β†’ Sort u_5} {s : (i : ΞΉ) β†’ ΞΊ i β†’ Set E},
  (βˆ€ (i : ΞΉ) (j : ΞΊ i), StarConvex π•œ x (s i j)) β†’ StarConvex π•œ x (⋃ i, ⋃ j, s i j)

theorem starConvex_sUnion E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : SMul π•œ E] {x : E} {S : Set (Set E)}, (βˆ€ s ∈ S, StarConvex π•œ x s) β†’ StarConvex π•œ x (⋃₀ S)

theorem StarConvex.prod 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 : SMul π•œ E] [inst_5 : SMul π•œ F] {x : E} {y : F} {s : Set E} {t : Set F},
  StarConvex π•œ x s β†’ StarConvex π•œ y t β†’ StarConvex π•œ (x, y) (s Γ—Λ’ t)

theorem starConvex_pi E1 #

βˆ€ {π•œ : Type u_1} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] {ΞΉ : Type u_4} {E : ΞΉ β†’ Type u_5}
  [inst_2 : (i : ΞΉ) β†’ AddCommMonoid (E i)] [inst_3 : (i : ΞΉ) β†’ SMul π•œ (E i)] {x : (i : ΞΉ) β†’ E i} {s : Set ΞΉ}
  {t : (i : ΞΉ) β†’ Set (E i)}, (βˆ€ ⦃i : ι⦄, i ∈ s β†’ StarConvex π•œ (x i) (t i)) β†’ StarConvex π•œ x (s.pi t)

theorem StarConvex.mem E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E} [ZeroLEOneClass π•œ], StarConvex π•œ x s β†’ s.Nonempty β†’ x ∈ s

theorem starConvex_iff_forall_pos E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E},
  x ∈ s β†’ (StarConvex π•œ x s ↔ βˆ€ ⦃y : E⦄, y ∈ s β†’ βˆ€ ⦃a b : π•œβ¦„, 0 < a β†’ 0 < b β†’ a + b = 1 β†’ a β€’ x + b β€’ y ∈ s)

theorem starConvex_iff_forall_ne_pos E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E},
  x ∈ s β†’ (StarConvex π•œ x s ↔ βˆ€ ⦃y : E⦄, y ∈ s β†’ x β‰  y β†’ βˆ€ ⦃a b : π•œβ¦„, 0 < a β†’ 0 < b β†’ a + b = 1 β†’ a β€’ x + b β€’ y ∈ s)

theorem starConvex_iff_openSegment_subset E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E} [ZeroLEOneClass π•œ],
  x ∈ s β†’ (StarConvex π•œ x s ↔ βˆ€ ⦃y : E⦄, y ∈ s β†’ openSegment π•œ x y βŠ† s)

theorem starConvex_singleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] (x : E), StarConvex π•œ x {x}

theorem StarConvex.linear_image 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] {x : E} {s : Set E},
  StarConvex π•œ x s β†’ βˆ€ (f : E β†’β‚—[π•œ] F), StarConvex π•œ (f x) (⇑f '' s)

theorem StarConvex.is_linear_image 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] {x : E} {s : Set E},
  StarConvex π•œ x s β†’ βˆ€ {f : E β†’ F}, IsLinearMap π•œ f β†’ StarConvex π•œ (f x) (f '' s)

theorem StarConvex.linear_preimage 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] {x : E} {s : Set F} (f : E β†’β‚—[π•œ] F),
  StarConvex π•œ (f x) s β†’ StarConvex π•œ x (⇑f ⁻¹' s)

theorem StarConvex.is_linear_preimage 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] {x : E} {s : Set F} {f : E β†’ F},
  StarConvex π•œ (f x) s β†’ IsLinearMap π•œ f β†’ StarConvex π•œ x (f ⁻¹' s)

theorem StarConvex.add E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x y : E} {s t : Set E}, StarConvex π•œ x s β†’ StarConvex π•œ y t β†’ StarConvex π•œ (x + y) (s + t)

theorem StarConvex.add_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s β†’ βˆ€ (z : E), StarConvex π•œ (z + x) ((fun x ↦ z + x) '' s)

theorem StarConvex.add_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s β†’ βˆ€ (z : E), StarConvex π•œ (x + z) ((fun x ↦ x + z) '' s)

theorem StarConvex.preimage_add_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x z : E} {s : Set E}, StarConvex π•œ (z + x) s β†’ StarConvex π•œ x ((fun x ↦ z + x) ⁻¹' s)

The translation of a star-convex set is also star-convex.

theorem StarConvex.preimage_add_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x z : E} {s : Set E}, StarConvex π•œ (x + z) s β†’ StarConvex π•œ x ((fun x ↦ x + z) ⁻¹' s)

The translation of a star-convex set is also star-convex.

theorem StarConvex.sub' E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommGroup E]
  [inst_3 : Module π•œ E] {x y : E} {s : Set (E Γ— E)},
  StarConvex π•œ (x, y) s β†’ StarConvex π•œ (x - y) ((fun x ↦ x.1 - x.2) '' s)

theorem StarConvex.smul E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : CommSemiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E}, StarConvex π•œ x s β†’ βˆ€ (c : π•œ), StarConvex π•œ (c β€’ x) (c β€’ s)

theorem StarConvex.zero_smul E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : CommSemiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {s : Set E}, StarConvex π•œ 0 s β†’ βˆ€ (c : π•œ), StarConvex π•œ 0 (c β€’ s)

theorem StarConvex.preimage_smul E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : CommSemiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E} {c : π•œ}, StarConvex π•œ (c β€’ x) s β†’ StarConvex π•œ x ((fun z ↦ c β€’ z) ⁻¹' s)

theorem StarConvex.affinity E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : CommSemiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : Module π•œ E] {x : E} {s : Set E},
  StarConvex π•œ x s β†’ βˆ€ (z : E) (c : π•œ), StarConvex π•œ (z + c β€’ x) ((fun x ↦ z + c β€’ x) '' s)

theorem starConvex_zero_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [AddRightMono π•œ] [inst_3 : AddCommMonoid E]
  [inst_4 : SMulWithZero π•œ E] {s : Set E}, StarConvex π•œ 0 s ↔ βˆ€ ⦃x : E⦄, x ∈ s β†’ βˆ€ ⦃a : π•œβ¦„, 0 ≀ a β†’ a ≀ 1 β†’ a β€’ x ∈ s

theorem StarConvex.add_smul_mem E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [AddRightMono π•œ] [inst_3 : AddCommGroup E]
  [inst_4 : Module π•œ E] {x y : E} {s : Set E}, StarConvex π•œ x s β†’ x + y ∈ s β†’ βˆ€ {t : π•œ}, 0 ≀ t β†’ t ≀ 1 β†’ x + t β€’ y ∈ s

theorem StarConvex.smul_mem E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [AddRightMono π•œ] [inst_3 : AddCommGroup E]
  [inst_4 : Module π•œ E] {x : E} {s : Set E}, StarConvex π•œ 0 s β†’ x ∈ s β†’ βˆ€ {t : π•œ}, 0 ≀ t β†’ t ≀ 1 β†’ t β€’ x ∈ s

theorem StarConvex.add_smul_sub_mem E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [AddRightMono π•œ] [inst_3 : AddCommGroup E]
  [inst_4 : Module π•œ E] {x y : E} {s : Set E}, StarConvex π•œ x s β†’ y ∈ s β†’ βˆ€ {t : π•œ}, 0 ≀ t β†’ t ≀ 1 β†’ x + t β€’ (y - x) ∈ s

theorem StarConvex.affine_preimage 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] {x : E} (f : E →ᡃ[π•œ] F) {s : Set F},
  StarConvex π•œ (f x) s β†’ StarConvex π•œ x (⇑f ⁻¹' s)

The preimage of a star-convex set under an affine map is star-convex.

theorem StarConvex.affine_image 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] {x : E} (f : E →ᡃ[π•œ] F) {s : Set E},
  StarConvex π•œ x s β†’ StarConvex π•œ (f x) (⇑f '' s)

The image of a star-convex set under an affine map is star-convex.

theorem StarConvex.neg 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}, StarConvex π•œ x s β†’ StarConvex π•œ (-x) (-s)

theorem StarConvex.sub E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommGroup E]
  [inst_3 : Module π•œ E] {x y : E} {s t : Set E}, StarConvex π•œ x s β†’ StarConvex π•œ y t β†’ StarConvex π•œ (x - y) (s - t)

theorem starConvex_compl_Iic E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommGroup E]
  [inst_3 : PartialOrder E] [IsOrderedAddMonoid E] [inst_5 : Module π•œ E] [IsStrictOrderedModule π•œ E]
  [PosSMulReflectLT π•œ E] {x y : E}, x < y β†’ StarConvex π•œ y (Set.Iic x)ᢜ

If x < y, then (Set.Iic x)ᢜ is star convex at y.

theorem starConvex_compl_Ici E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Ring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommGroup E]
  [inst_3 : PartialOrder E] [IsOrderedAddMonoid E] [inst_5 : Module π•œ E] [IsStrictOrderedModule π•œ E]
  [PosSMulReflectLT π•œ E] {x y : E}, x < y β†’ StarConvex π•œ x (Set.Ici y)ᢜ

If x < y, then (Set.Ici y)ᢜ is star convex at x.

theorem starConvex_iff_div E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Field π•œ] [inst_1 : LinearOrder π•œ] [IsStrictOrderedRing π•œ]
  [inst_3 : AddCommGroup E] [inst_4 : Module π•œ E] {x : E} {s : Set E},
  StarConvex π•œ x s ↔
    βˆ€ ⦃y : E⦄, y ∈ s β†’ βˆ€ ⦃a b : π•œβ¦„, 0 ≀ a β†’ 0 ≀ b β†’ 0 < a + b β†’ (a / (a + b)) β€’ x + (b / (a + b)) β€’ y ∈ s

Alternative definition of star-convexity, using division.

theorem StarConvex.mem_smul E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Field π•œ] [inst_1 : LinearOrder π•œ] [IsStrictOrderedRing π•œ]
  [inst_3 : AddCommGroup E] [inst_4 : Module π•œ E] {x : E} {s : Set E},
  StarConvex π•œ 0 s β†’ x ∈ s β†’ βˆ€ {t : π•œ}, 1 ≀ t β†’ x ∈ t β€’ s

theorem Set.OrdConnected.starConvex E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : Semiring π•œ] [inst_1 : PartialOrder π•œ] [inst_2 : AddCommMonoid E]
  [inst_3 : PartialOrder E] [IsOrderedAddMonoid E] [inst_5 : Module π•œ E] [PosSMulMono π•œ E] {x : E} {s : Set E},
  s.OrdConnected β†’ x ∈ s β†’ (βˆ€ y ∈ s, x ≀ y ∨ y ≀ x) β†’ StarConvex π•œ x s

If s is an order-connected set in an ordered module over an ordered semiring and all elements of s are comparable with x ∈ s, then s is StarConvex at x.

theorem starConvex_iff_ordConnected E1 #

βˆ€ {π•œ : Type u_1} [inst : Field π•œ] [inst_1 : LinearOrder π•œ] [IsStrictOrderedRing π•œ] {x : π•œ} {s : Set π•œ},
  x ∈ s β†’ (StarConvex π•œ x s ↔ s.OrdConnected)

theorem StarConvex.ordConnected E1 #

βˆ€ {π•œ : Type u_1} [inst : Field π•œ] [inst_1 : LinearOrder π•œ] [IsStrictOrderedRing π•œ] {x : π•œ} {s : Set π•œ},
  x ∈ s β†’ StarConvex π•œ x s β†’ s.OrdConnected

Alias of the forward direction of starConvex_iff_ordConnected.