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 / V04. Order and lattices

Mathlib.Order.Interval.Set.OrdConnected

58 declarations and 7 deprecated aliases. Mathlib docs · Source

theorem Set.OrdConnected.out E1 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α}, s.OrdConnected → ∀ ⦃x : α⦄, x ∈ s → ∀ ⦃y : α⦄, y ∈ s → Set.Icc x y ⊆ s

theorem Set.ordConnected_def E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α}, s.OrdConnected ↔ ∀ ⦃x : α⦄, x ∈ s → ∀ ⦃y : α⦄, y ∈ s → Set.Icc x y ⊆ s

theorem Set.ordConnected_iff E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α}, s.OrdConnected ↔ ∀ x ∈ s, ∀ y ∈ s, x ≤ y → Set.Icc x y ⊆ s

It suffices to prove [[x, y]] ⊆ s for x y ∈ s, x ≤ y.

theorem Set.ordConnected_of_Ioo E1 #

∀ {α : Type u_3} [inst : PartialOrder α] {s : Set α}, (∀ x ∈ s, ∀ y ∈ s, x < y → Set.Ioo x y ⊆ s) → s.OrdConnected

theorem Set.OrdConnected.preimage_mono E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {s : Set α} {f : β → α},
  s.OrdConnected → Monotone f → (f ⁻¹' s).OrdConnected

theorem Set.OrdConnected.preimage_anti E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {s : Set α} {f : β → α},
  s.OrdConnected → Antitone f → (f ⁻¹' s).OrdConnected

theorem Set.Icc_subset E1 #

∀ {α : Type u_1} [inst : Preorder α] (s : Set α) [hs : s.OrdConnected] {x y : α}, x ∈ s → y ∈ s → Set.Icc x y ⊆ s

theorem OrderEmbedding.image_Icc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (e : α ↪o β),
  (Set.range ⇑e).OrdConnected → ∀ (x y : α), ⇑e '' Set.Icc x y = Set.Icc (e x) (e y)

theorem OrderEmbedding.image_Ico E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (e : α ↪o β),
  (Set.range ⇑e).OrdConnected → ∀ (x y : α), ⇑e '' Set.Ico x y = Set.Ico (e x) (e y)

theorem OrderEmbedding.image_Ioc E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (e : α ↪o β),
  (Set.range ⇑e).OrdConnected → ∀ (x y : α), ⇑e '' Set.Ioc x y = Set.Ioc (e x) (e y)

theorem OrderEmbedding.image_Ioo E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (e : α ↪o β),
  (Set.range ⇑e).OrdConnected → ∀ (x y : α), ⇑e '' Set.Ioo x y = Set.Ioo (e x) (e y)

theorem Set.image_subtypeVal_Icc E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α} [s.OrdConnected] (x y : ↑s), Subtype.val '' Set.Icc x y = Set.Icc ↑x ↑y

theorem Set.image_subtypeVal_Ico E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α} [s.OrdConnected] (x y : ↑s), Subtype.val '' Set.Ico x y = Set.Ico ↑x ↑y

theorem Set.image_subtypeVal_Ioc E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α} [s.OrdConnected] (x y : ↑s), Subtype.val '' Set.Ioc x y = Set.Ioc ↑x ↑y

theorem Set.image_subtypeVal_Ioo E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α} [s.OrdConnected] (x y : ↑s), Subtype.val '' Set.Ioo x y = Set.Ioo ↑x ↑y

theorem Set.OrdConnected.inter E1 #

∀ {α : Type u_1} [inst : Preorder α] {s t : Set α}, s.OrdConnected → t.OrdConnected → (s ∩ t).OrdConnected

instance Set.OrdConnected.inter' E0 #

∀ {α : Type u_1} [inst : Preorder α] {s t : Set α} [s.OrdConnected] [t.OrdConnected], (s ∩ t).OrdConnected

theorem Set.OrdConnected.dual E1 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α}, s.OrdConnected → (⇑OrderDual.ofDual ⁻¹' s).OrdConnected

instance Set.dual_ordConnected E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α} [s.OrdConnected], (⇑OrderDual.ofDual ⁻¹' s).OrdConnected

theorem Set.ordConnected_dual E0 #

∀ {α : Type u_1} [inst : Preorder α] {s : Set α}, (⇑OrderDual.ofDual ⁻¹' s).OrdConnected ↔ s.OrdConnected

theorem Set.ordConnected_sInter E1 #

∀ {α : Type u_1} [inst : Preorder α] {S : Set (Set α)}, (∀ s ∈ S, s.OrdConnected) → (⋂₀ S).OrdConnected

theorem Set.ordConnected_iInter E1 #

∀ {α : Type u_1} [inst : Preorder α] {ι : Sort u_3} {s : ι → Set α},
  (∀ (i : ι), (s i).OrdConnected) → (⋂ i, s i).OrdConnected

instance Set.ordConnected_iInter' E0 #

∀ {α : Type u_1} [inst : Preorder α] {ι : Sort u_3} {s : ι → Set α} [∀ (i : ι), (s i).OrdConnected],
  (⋂ i, s i).OrdConnected

theorem Set.ordConnected_biInter E1 #

∀ {α : Type u_1} [inst : Preorder α] {ι : Sort u_3} {p : ι → Prop} {s : (i : ι) → p i → Set α},
  (∀ (i : ι) (hi : p i), (s i hi).OrdConnected) → (⋂ i, ⋂ (hi : p i), s i hi).OrdConnected

theorem Set.ordConnected_pi E1 #

∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {s : Set ι} {t : (i : ι) → Set (α i)},
  (∀ i ∈ s, (t i).OrdConnected) → (s.pi t).OrdConnected

instance Set.ordConnected_pi' E0 #

∀ {ι : Type u_3} {α : ι → Type u_4} [inst : (i : ι) → Preorder (α i)] {s : Set ι} {t : (i : ι) → Set (α i)}
  [h : ∀ (i : ι), (t i).OrdConnected], (s.pi t).OrdConnected

instance Set.ordConnected_Iic E0 #

∀ {α : Type u_1} [inst : Preorder α] {a : α}, (Set.Iic a).OrdConnected

instance Set.ordConnected_Ici E0 #

∀ {α : Type u_1} [inst : Preorder α] {a : α}, (Set.Ici a).OrdConnected

instance Set.ordConnected_Ioi E0 #

∀ {α : Type u_1} [inst : Preorder α] {a : α}, (Set.Ioi a).OrdConnected

instance Set.ordConnected_Iio E0 #

∀ {α : Type u_1} [inst : Preorder α] {a : α}, (Set.Iio a).OrdConnected

instance Set.ordConnected_Icc E0 #

∀ {α : Type u_1} [inst : Preorder α] {a b : α}, (Set.Icc a b).OrdConnected

instance Set.ordConnected_Ico E0 #

∀ {α : Type u_1} [inst : Preorder α] {a b : α}, (Set.Ico a b).OrdConnected

instance Set.ordConnected_Ioc E0 #

∀ {α : Type u_1} [inst : Preorder α] {a b : α}, (Set.Ioc b a).OrdConnected

instance Set.ordConnected_Ioo E0 #

∀ {α : Type u_1} [inst : Preorder α] {a b : α}, (Set.Ioo a b).OrdConnected

instance Set.ordConnected_singleton E0 #

∀ {α : Type u_3} [inst : PartialOrder α] {a : α}, {a}.OrdConnected

instance Set.ordConnected_empty E0 #

∀ {α : Type u_1} [inst : Preorder α], ∅.OrdConnected

instance Set.ordConnected_univ E0 #

∀ {α : Type u_1} [inst : Preorder α], Set.univ.OrdConnected

instance Set.instDenselyOrdered E0 #

∀ {α : Type u_1} [inst : Preorder α] [DenselyOrdered α] {s : Set α} [hs : s.OrdConnected], DenselyOrdered ↑s

In a dense order α, the subtype from an OrdConnected set is also densely ordered.

instance Set.ordConnected_preimage E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {F : Type u_3} [inst_2 : FunLike F α β]
  [OrderHomClass F α β] (f : F) {s : Set β} [hs : s.OrdConnected], (⇑f ⁻¹' s).OrdConnected

instance Set.ordConnected_image E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {E : Type u_3} [inst_2 : EquivLike E α β]
  [OrderIsoClass E α β] (e : E) {s : Set α} [hs : s.OrdConnected], (⇑e '' s).OrdConnected

instance Set.ordConnected_range E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {E : Type u_3} [inst_2 : EquivLike E α β]
  [OrderIsoClass E α β] (e : E), (Set.range ⇑e).OrdConnected

theorem Set.OrdConnected.preimage_monotoneOn E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : β → α} {t : Set β} {s : Set α},
  s.OrdConnected → MonotoneOn f t → ∃ u, u.OrdConnected ∧ t ∩ f ⁻¹' s = t ∩ u

The preimage of an OrdConnected set under a map which is monotone on a set t, when intersected with t, is OrdConnected. More precisely, it is the intersection with t of an OrdConnected set.

theorem Set.OrdConnected.preimage_antitoneOn E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] {f : β → α} {t : Set β} {s : Set α},
  s.OrdConnected → AntitoneOn f t → ∃ u, u.OrdConnected ∧ t ∩ f ⁻¹' s = t ∩ u

The preimage of an OrdConnected set under a map which is antitone on a set t, when intersected with t, is OrdConnected. More precisely, it is the intersection with t of an OrdConnected set.

theorem IsAntichain.ordConnected E1 #

∀ {α : Type u_1} [inst : PartialOrder α] {s : Set α}, IsAntichain (fun x1 x2 ↦ x1 ≤ x2) s → s.OrdConnected

theorem Set.ordConnected_inter_Icc_of_subset E1 #

∀ {α : Type u_1} [inst : PartialOrder α] {s : Set α} {x y : α}, Set.Ioo x y ⊆ s → (s ∩ Set.Icc x y).OrdConnected

theorem Set.ordConnected_inter_Icc_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] {s : Set α} {x y : α},
  x ∈ s → y ∈ s → ((s ∩ Set.Icc x y).OrdConnected ↔ Set.Ioo x y ⊆ s)

theorem Set.not_ordConnected_inter_Icc_iff E0 #

∀ {α : Type u_1} [inst : PartialOrder α] {s : Set α} {x y : α},
  x ∈ s → y ∈ s → (¬(s ∩ Set.Icc x y).OrdConnected ↔ ∃ z ∉ s, z ∈ Set.Ioo x y)

instance Set.ordConnected_uIcc E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, (Set.uIcc a b).OrdConnected

instance Set.ordConnected_uIoc E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {a b : α}, (Set.uIoc a b).OrdConnected

theorem Set.OrdConnected.uIcc_subset E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α},
  s.OrdConnected → ∀ ⦃x : α⦄, x ∈ s → ∀ ⦃y : α⦄, y ∈ s → Set.uIcc x y ⊆ s

theorem Set.OrdConnected.uIoc_subset E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α},
  s.OrdConnected → ∀ ⦃x : α⦄, x ∈ s → ∀ ⦃y : α⦄, y ∈ s → Set.uIoc x y ⊆ s

theorem Set.ordConnected_iff_uIcc_subset E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α},
  s.OrdConnected ↔ ∀ ⦃x : α⦄, x ∈ s → ∀ ⦃y : α⦄, y ∈ s → Set.uIcc x y ⊆ s

theorem Set.ordConnected_of_uIcc_subset_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, (∀ y ∈ s, Set.uIcc x y ⊆ s) → s.OrdConnected

theorem Set.ordConnected_iff_uIcc_subset_left E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α},
  x ∈ s → (s.OrdConnected ↔ ∀ ⦃y : α⦄, y ∈ s → Set.uIcc x y ⊆ s)

theorem Set.ordConnected_iff_uIcc_subset_right E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α},
  x ∈ s → (s.OrdConnected ↔ ∀ ⦃y : α⦄, y ∈ s → Set.uIcc y x ⊆ s)

theorem Set.image_subtypeVal_uIcc E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} [s.OrdConnected] (a b : ↑s),
  Subtype.val '' Set.uIcc a b = Set.uIcc ↑a ↑b

theorem Set.image_subtypeVal_uIoc E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} [s.OrdConnected] (a b : ↑s),
  Subtype.val '' Set.uIoc a b = Set.uIoc ↑a ↑b

theorem Set.image_subtypeVal_uIoo E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} [s.OrdConnected] (a b : ↑s),
  Subtype.val '' Set.uIoo a b = Set.uIoo ↑a ↑b

Deprecated aliases

NameNew nameSince
Set.image_subtype_val_IccSet.image_subtypeVal_Icc2026-11-10
Set.image_subtype_val_IcoSet.image_subtypeVal_Ico2026-11-10
Set.image_subtype_val_IocSet.image_subtypeVal_Ioc2026-11-10
Set.image_subtype_val_IooSet.image_subtypeVal_Ioo2026-11-10
Set.image_subtype_val_uIccSet.image_subtypeVal_uIcc2026-11-10
Set.image_subtype_val_uIocSet.image_subtypeVal_uIoc2026-11-10
Set.image_subtype_val_uIooSet.image_subtypeVal_uIoo2026-11-10