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

31 declarations. Mathlib docs · Source

Order connected components of a set

In this file we define Set.ordConnectedComponent s x to be the set of y such that Set.uIcc x y ⊆ s and prove some basic facts about this definition. At the moment of writing, this construction is used only to prove that any linear order with order topology is a T₅ space, so we only add API needed for this lemma.

theorem Set.Nonempty.some.congr_simp E1 #

∀ {α : Type u} {s s_1 : Set α} (e_s : s = s_1) (h : s.Nonempty), h.some = ⋯.some

def Set.ordConnectedComponent E1 #

{α : Type u_1} → [LinearOrder α] → Set α → α → Set α

Order-connected component of a point x in a set s. It is defined as the set of y such that Set.uIcc x y ⊆ s. Note that it is empty if and only if x ∉ s.

theorem Set.mem_ordConnectedComponent E0 #

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

theorem Set.dual_ordConnectedComponent E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α},
  (⇑OrderDual.ofDual ⁻¹' s).ordConnectedComponent (OrderDual.toDual x) = ⇑OrderDual.ofDual ⁻¹' s.ordConnectedComponent x

theorem Set.ordConnectedComponent_subset E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, s.ordConnectedComponent x ⊆ s

theorem Set.subset_ordConnectedComponent E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α} {t : Set α} [h : s.OrdConnected],
  x ∈ s → s ⊆ t → s ⊆ t.ordConnectedComponent x

theorem Set.self_mem_ordConnectedComponent E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, x ∈ s.ordConnectedComponent x ↔ x ∈ s

theorem Set.nonempty_ordConnectedComponent E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, (s.ordConnectedComponent x).Nonempty ↔ x ∈ s

theorem Set.ordConnectedComponent_eq_empty E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, s.ordConnectedComponent x = ∅ ↔ x ∉ s

theorem Set.ordConnectedComponent_empty E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {x : α}, ∅.ordConnectedComponent x = ∅

theorem Set.ordConnectedComponent_univ E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {x : α}, Set.univ.ordConnectedComponent x = Set.univ

theorem Set.ordConnectedComponent_inter E1 #

∀ {α : Type u_1} [inst : LinearOrder α] (s t : Set α) (x : α),
  (s ∩ t).ordConnectedComponent x = s.ordConnectedComponent x ∩ t.ordConnectedComponent x

theorem Set.mem_ordConnectedComponent_comm E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x y : α},
  y ∈ s.ordConnectedComponent x ↔ x ∈ s.ordConnectedComponent y

theorem Set.mem_ordConnectedComponent_trans E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x y z : α},
  y ∈ s.ordConnectedComponent x → z ∈ s.ordConnectedComponent y → z ∈ s.ordConnectedComponent x

theorem Set.ordConnectedComponent_eq E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x y : α},
  Set.uIcc x y ⊆ s → s.ordConnectedComponent x = s.ordConnectedComponent y

instance Set.instOrdConnectedOrdConnectedComponent E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x : α}, (s.ordConnectedComponent x).OrdConnected

def Set.ordConnectedProj E1 #

{α : Type u_1} → [LinearOrder α] → (s : Set α) → ↑s → α

Projection from s : Set α to α sending each order connected component of s to a single point of this component.

theorem Set.ordConnectedProj_mem_ordConnectedComponent E1 #

∀ {α : Type u_1} [inst : LinearOrder α] (s : Set α) (x : ↑s), s.ordConnectedProj x ∈ s.ordConnectedComponent ↑x

theorem Set.mem_ordConnectedComponent_ordConnectedProj E0 #

∀ {α : Type u_1} [inst : LinearOrder α] (s : Set α) (x : ↑s), ↑x ∈ s.ordConnectedComponent (s.ordConnectedProj x)

theorem Set.ordConnectedComponent_ordConnectedProj E0 #

∀ {α : Type u_1} [inst : LinearOrder α] (s : Set α) (x : ↑s),
  s.ordConnectedComponent (s.ordConnectedProj x) = s.ordConnectedComponent ↑x

theorem Set.ordConnectedProj_eq E0 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α} {x y : ↑s},
  s.ordConnectedProj x = s.ordConnectedProj y ↔ Set.uIcc ↑x ↑y ⊆ s

def Set.ordConnectedSection E1 #

{α : Type u_1} → [LinearOrder α] → Set α → Set α

A set that intersects each order connected component of a set by a single point. Defined as the range of Set.ordConnectedProj s.

theorem Set.dual_ordConnectedSection E1 #

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

theorem Set.ordConnectedSection_subset E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s : Set α}, s.ordConnectedSection ⊆ s

def Set.ordSeparatingSet E1 #

{α : Type u_1} → [LinearOrder α] → Set α → Set α → Set α

Given two sets s t : Set α, the set Set.orderSeparatingSet s t is the set of points that belong both to some Set.ordConnectedComponent tᶜ x, x ∈ s, and to some Set.ordConnectedComponent sᶜ x, x ∈ t. In the case of two disjoint closed sets, this is the union of all open intervals $(a, b)$ such that their endpoints belong to different sets.

theorem Set.ordSeparatingSet_comm E1 #

∀ {α : Type u_1} [inst : LinearOrder α] (s t : Set α), s.ordSeparatingSet t = t.ordSeparatingSet s

theorem Set.disjoint_left_ordSeparatingSet E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s t : Set α}, Disjoint s (s.ordSeparatingSet t)

theorem Set.disjoint_right_ordSeparatingSet E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s t : Set α}, Disjoint t (s.ordSeparatingSet t)

theorem Set.dual_ordSeparatingSet E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s t : Set α},
  (⇑OrderDual.ofDual ⁻¹' s).ordSeparatingSet (⇑OrderDual.ofDual ⁻¹' t) = ⇑OrderDual.ofDual ⁻¹' s.ordSeparatingSet t

def Set.ordT5Nhd E1 #

{α : Type u_1} → [LinearOrder α] → Set α → Set α → Set α

An auxiliary neighborhood that will be used in the proof of OrderTopology.CompletelyNormalSpace.

theorem Set.disjoint_ordT5Nhd E1 #

∀ {α : Type u_1} [inst : LinearOrder α] {s t : Set α}, Disjoint (s.ordT5Nhd t) (t.ordT5Nhd s)