Lean library · module TopologyByExample.Theorems.OrderIntervals
Closed intervals of conditionally complete orders that look like [0, 1]
Let X be a conditionally complete linear order. If a closed interval [a, b] of X, with
a < b, has a countable subset D that is order-dense in it (between any two points of [a, b]
lies a point of D), then [a, b] is order-isomorphic to [0, 1], hence, with the order
topologies, homeomorphic to it. This is the classical fact behind the long line: every closed
initial segment of the long ray is an arc.
The proof: the points of D strictly between a and b form a countable dense linear order
without endpoints, hence (Cantor) one order-isomorphic to the rationals of (0, 1); call the
isomorphism g. The map ψ s = sup ({a} ∪ {d : g d < s}) is then a strictly monotone map of
[0, 1] onto [a, b]: strictly monotone because the rationals are dense in the reals, and onto
because p = ψ (sup {g d : d < p}), the points of D being dense below p.
We also record what such countable dense sets give for every interval at once: path connectedness and first countability; a constructor of conditionally complete linear orders from the existence of least upper bounds; and some further facts about order topologies.
Main statements
TopologyByExample.nonempty_orderIso_Icc_of_countable_dense:[a, b] ≃o [0, 1].TopologyByExample.nonempty_homeomorph_Icc_of_countable_dense:[a, b] ≃ₜ [0, 1].TopologyByExample.isPathConnected_Icc_of_countable_dense,TopologyByExample.pathPreconnectedSpace_of_countable_dense: path connectedness.TopologyByExample.firstCountableTopology_of_countable_dense: first countability (for any linear order with its order topology).TopologyByExample.conditionallyCompleteLinearOrderBotOfExistsIsLUB,TopologyByExample.conditionallyCompleteLinearOrderOfExistsIsLUB: constructors.TopologyByExample.isInducing_of_strictMono_of_continuous,TopologyByExample.weaklyLocallyCompactSpace_of_compactIccSpace,TopologyByExample.seqCompactSpace_of_countable_bddAbove_bddBelow,TopologyByExample.not_compactSpace_of_noMaxOrder: further facts about order topologies.TopologyByExample.not_countableChainCondition_of_pairwise_disjoint,TopologyByExample.countablyParacompactSpace_of_locallyFinite,TopologyByExample.Joined.mem_of_isOpen_of_isSeqClosed: tools for covers and paths.
Tags
order topology, arc, unit interval, countable dense set, path connected, long line
This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
Imports
- Mathlib.Order.CountableDenseLinearOrder
- Mathlib.Order.Hom.Set
- Mathlib.Topology.Order.MonotoneContinuity
- Mathlib.Topology.Order.Compact
- Mathlib.Topology.UnitInterval
- TopologyByExample.Spaces.UnitInterval
- TopologyByExample.Theorems.Connectedness
- TopologyByExample.Theorems.OrderTopology
- TopologyByExample.Theorems.Paracompactness
Intervals with a countable dense subset are arcs
variable {X : Type*} [ConditionallyCompleteLinearOrder X]
theorem nonempty_orderIso_Icc_of_countable_dense
TopologyByExample.nonempty_orderIso_Icc_of_countable_dense
A closed interval with a countable order-dense subset is order-isomorphic to [0, 1]. In
a conditionally complete linear order X, if a < b and the countable set D meets every open
interval (x, y) with a ≤ x < y ≤ b, then [a, b] is order-isomorphic to [0, 1].
theorem nonempty_orderIso_Icc_of_countable_dense {a b : X} (hab : a < b) {D : Set X}
(hD : D.Countable) (hdense : ∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ D, x < d ∧ d < y) :
Nonempty (Icc a b ≃o Icc (0 : ℝ) 1)
Proof
:= by
set E : Set X := D ∩ Ioo a b
have hdE : ∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ E, x < d ∧ d < y := by
intro x y hx hxy hy
obtain ⟨d, hd, hxd, hdy⟩ := hdense x y hx hxy hy
exact ⟨d, ⟨hd, hx.trans_lt hxd, hdy.trans_le hy⟩, hxd, hdy⟩
have : Countable E := (hD.mono inter_subset_left).to_subtype
have : Nonempty E := by
obtain ⟨d, hd, -⟩ := hdE a b le_rfl hab le_rfl
exact ⟨⟨d, hd⟩⟩
have : DenselyOrdered E := ⟨fun x y hxy ↦ by
obtain ⟨d, hd, h₁, h₂⟩ := hdE x y x.property.2.1.le hxy y.property.2.2.le
exact ⟨⟨d, hd⟩, h₁, h₂⟩⟩
have : NoMinOrder E := ⟨fun x ↦ by
obtain ⟨d, hd, -, h₂⟩ := hdE a x le_rfl x.property.2.1 x.property.2.2.le
exact ⟨⟨d, hd⟩, h₂⟩⟩
have : NoMaxOrder E := ⟨fun x ↦ by
obtain ⟨d, hd, h₁, -⟩ := hdE x b x.property.2.1.le x.property.2.2 le_rfl
exact ⟨⟨d, hd⟩, h₁⟩⟩
have : Nonempty (Ioo (0 : ℚ) 1) := ⟨⟨1 / 2, by norm_num, by norm_num⟩⟩
obtain ⟨e⟩ := Order.iso_of_countable_dense (α := E) (β := Ioo (0 : ℚ) 1)
let g : E → ℝ := fun d ↦ ((e d : ℚ) : ℝ)
have hg : StrictMono g := fun x y h ↦ Rat.cast_lt.2 (e.strictMono h)
have hg0 (d : E) : 0 < g d := Rat.cast_pos.2 (e d).property.1
have hg1 (d : E) : g d < 1 := by
simpa [g] using (Rat.cast_lt (K := ℝ)).2 (e d).property.2
have hgdense : ∀ s t : ℝ, 0 ≤ s → s < t → t ≤ 1 → ∃ d, s < g d ∧ g d < t := by
intro s t hs hst ht
obtain ⟨q, hsq, hqt⟩ := exists_rat_btwn hst
have hq0 : (0 : ℚ) < q := by exact_mod_cast hs.trans_lt hsq
have hq1 : q < 1 := by exact_mod_cast hqt.trans_le ht
exact ⟨e.symm ⟨q, hq0, hq1⟩, by simpa [g] using hsq, by simpa [g] using hqt⟩
-- the map `ψ`
let S : ℝ → Set X := fun s ↦ insert a (Subtype.val '' {d : E | g d < s})
have hSne (s : ℝ) : (S s).Nonempty := insert_nonempty _ _
have hSle (s : ℝ) : ∀ x ∈ S s, x ≤ b := by
rintro _ (rfl | ⟨d, -, rfl⟩)
exacts [hab.le, d.property.2.2.le]
have hSbdd (s : ℝ) : BddAbove (S s) := ⟨b, hSle s⟩
let ψ : ℝ → X := fun s ↦ sSup (S s)
have hψa (s : ℝ) : a ≤ ψ s := le_csSup (hSbdd s) (mem_insert _ _)
have hψb (s : ℝ) : ψ s ≤ b := csSup_le (hSne s) (hSle s)
have hψ : ∀ s t, 0 ≤ s → s < t → t ≤ 1 → ψ s < ψ t := by
intro s t hs hst ht
obtain ⟨u, hsu, hut⟩ := exists_between hst
obtain ⟨d₁, h₁, h₁'⟩ := hgdense s u hs hsu (hut.le.trans ht)
obtain ⟨d₂, h₂, h₂'⟩ := hgdense (g d₁) t (hg0 _).le (h₁'.trans hut) ht
calc ψ s ≤ d₁ := csSup_le (hSne s) <| by
rintro _ (rfl | ⟨d, hd, rfl⟩)
· exact d₁.property.2.1.le
· exact (hg.lt_iff_lt.1 ((show g d < s from hd).trans h₁)).le
_ < d₂ := hg.lt_iff_lt.1 h₂
_ ≤ ψ t := le_csSup (hSbdd t) (mem_insert_of_mem _ ⟨d₂, h₂', rfl⟩)
have hψsurj : ∀ p, a ≤ p → p ≤ b → ∃ s, 0 ≤ s ∧ s ≤ 1 ∧ ψ s = p := by
intro p hap hpb
rcases hap.eq_or_lt with rfl | hap
· refine ⟨0, le_rfl, zero_le_one, le_antisymm (csSup_le (hSne 0) ?_) (hψa 0)⟩
rintro _ (rfl | ⟨d, hd, rfl⟩)
exacts [le_rfl, absurd (show g d < 0 from hd) (not_lt.2 (hg0 d).le)]
· let T : Set ℝ := g '' {d : E | (d : X) < p}
obtain ⟨d₀, hd₀, -, hd₀p⟩ := hdE a p le_rfl hap hpb
have hTne : T.Nonempty := ⟨_, ⟨⟨d₀, hd₀⟩, hd₀p, rfl⟩⟩
have hTbdd : BddAbove T := ⟨1, by rintro _ ⟨d, -, rfl⟩; exact (hg1 d).le⟩
refine ⟨sSup T, (hg0 ⟨d₀, hd₀⟩).le.trans (le_csSup hTbdd ⟨⟨d₀, hd₀⟩, hd₀p, rfl⟩),
csSup_le hTne (by rintro _ ⟨d, -, rfl⟩; exact (hg1 d).le), le_antisymm ?_ ?_⟩
· refine csSup_le (hSne _) ?_
rintro _ (rfl | ⟨d, hd, rfl⟩)
· exact hap.le
· obtain ⟨_, ⟨d', hd', rfl⟩, hdd'⟩ := exists_lt_of_lt_csSup hTne hd
exact ((show (d : X) < d' from hg.lt_iff_lt.1 hdd').trans hd').le
· refine le_of_forall_lt fun q hq ↦ ?_
obtain ⟨d, hd, hqd, hdp⟩ := hdE (max q a) p (le_max_right _ _) (max_lt hq hap) hpb
obtain ⟨d', hd', hdd', hd'p⟩ := hdE d p hd.2.1.le hdp hpb
have hlt : g ⟨d, hd⟩ < sSup T :=
(hg (show (⟨d, hd⟩ : E) < ⟨d', hd'⟩ from hdd')).trans_le
(le_csSup hTbdd ⟨⟨d', hd'⟩, hd'p, rfl⟩)
exact ((le_max_left q a).trans_lt hqd).trans_le
(le_csSup (hSbdd _) (mem_insert_of_mem _ ⟨⟨d, hd⟩, hlt, rfl⟩))
let f : Icc (0 : ℝ) 1 → Icc a b := fun s ↦ ⟨ψ s, hψa s, hψb s⟩
have hf : StrictMono f := fun s t h ↦ hψ s t s.property.1 h t.property.2
have hfs : Function.Surjective f := fun p ↦ by
obtain ⟨s, h₀, h₁, h⟩ := hψsurj p p.property.1 p.property.2
exact ⟨⟨s, h₀, h₁⟩, Subtype.ext h⟩
exact ⟨(StrictMono.orderIsoOfSurjective f hf hfs).symm⟩
variable [TopologicalSpace X] [OrderTopology X]
theorem nonempty_homeomorph_Icc_of_countable_dense
TopologyByExample.nonempty_homeomorph_Icc_of_countable_dense
A closed interval with a countable order-dense subset is an arc. In a conditionally
complete linear order X with its order topology, if a < b and the countable set D meets every
open interval (x, y) with a ≤ x < y ≤ b, then [a, b] is homeomorphic to [0, 1].
theorem nonempty_homeomorph_Icc_of_countable_dense {a b : X} (hab : a < b) {D : Set X}
(hD : D.Countable) (hdense : ∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ D, x < d ∧ d < y) :
Nonempty (Icc a b ≃ₜ unitInterval)
Proof
:=
let ⟨e⟩ := nonempty_orderIso_Icc_of_countable_dense hab hD hdense
⟨e.toHomeomorph⟩
On this site: Theorem: A closed interval with a countable order-dense subset is an arc
theorem isPathConnected_Icc_of_countable_dense
TopologyByExample.isPathConnected_Icc_of_countable_dense
In a conditionally complete linear order with its order topology, a closed interval [a, b]
with a countable order-dense subset is path connected.
theorem isPathConnected_Icc_of_countable_dense {a b : X} (hab : a ≤ b) {D : Set X}
(hD : D.Countable) (hdense : ∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ D, x < d ∧ d < y) :
IsPathConnected (Icc a b)
Proof
:= by
rcases hab.eq_or_lt with rfl | hab
· rw [Icc_self]
exact isPathConnected_singleton a
· obtain ⟨e⟩ := nonempty_homeomorph_Icc_of_countable_dense hab hD hdense
have := UnitInterval.pathConnectedSpace
exact isPathConnected_iff_pathConnectedSpace.2 (e.symm.pathConnectedSpace)
theorem pathPreconnectedSpace_of_countable_dense
TopologyByExample.pathPreconnectedSpace_of_countable_dense
A conditionally complete linear order with its order topology, in which every closed interval
[a, b] has a countable order-dense subset, is path connected.
theorem pathPreconnectedSpace_of_countable_dense
(h : ∀ a b : X, ∃ D : Set X, D.Countable ∧
∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ D, x < d ∧ d < y) :
PathPreconnectedSpace X
Proof
:= by
refine ⟨fun x y ↦ ?_⟩
wlog hxy : x ≤ y generalizing x y
· exact (this y x (le_of_not_ge hxy)).symm
obtain ⟨D, hD, hd⟩ := h x y
exact ((isPathConnected_Icc_of_countable_dense hxy hD hd).joinedIn x ⟨le_rfl, hxy⟩ y
⟨hxy, le_rfl⟩).joined
First countability
theorem firstCountableTopology_of_countable_dense
TopologyByExample.firstCountableTopology_of_countable_dense
A linear order with its order topology, in which every closed interval [a, b] has a countable
order-dense subset, is first countable.
theorem firstCountableTopology_of_countable_dense {X : Type*} [LinearOrder X] [TopologicalSpace X]
[OrderTopology X]
(h : ∀ a b : X, ∃ D : Set X, D.Countable ∧
∀ x y, a ≤ x → x < y → y ≤ b → ∃ d ∈ D, x < d ∧ d < y) :
FirstCountableTopology X
Proof
:= by
refine firstCountableTopology_of_countable_cofinal (fun p ↦ ?_) fun p ↦ ?_
· by_cases hp : ∃ a, a < p
· obtain ⟨a, hap⟩ := hp
obtain ⟨D, hD, hd⟩ := h a p
refine ⟨D ∩ Ioo a p, fun d hd ↦ hd.2.2, hD.mono inter_subset_left, fun q hq ↦ ?_⟩
obtain ⟨d, hdD, hqd, hdp⟩ := hd (max q a) p (le_max_right _ _) (max_lt hq hap) le_rfl
exact ⟨d, ⟨hdD, (le_max_right _ _).trans_lt hqd, hdp⟩, ((le_max_left _ _).trans_lt hqd).le⟩
· push Not at hp
exact ⟨∅, empty_subset _, countable_empty, fun q hq ↦ absurd hq (not_lt.2 (hp q))⟩
· by_cases hp : ∃ b, p < b
· obtain ⟨b, hpb⟩ := hp
obtain ⟨D, hD, hd⟩ := h p b
refine ⟨D ∩ Ioo p b, fun d hd ↦ hd.2.1, hD.mono inter_subset_left, fun q hq ↦ ?_⟩
obtain ⟨d, hdD, hpd, hdq⟩ := hd p (min q b) le_rfl (lt_min hq hpb) (min_le_right _ _)
exact ⟨d, ⟨hdD, hpd, hdq.trans_le (min_le_right _ _)⟩, (hdq.trans_le (min_le_left _ _)).le⟩
· push Not at hp
exact ⟨∅, empty_subset _, countable_empty, fun q hq ↦ absurd hq (not_lt.2 (hp q))⟩
On this site: Theorem: A linearly ordered space whose closed intervals have countable order-dense subsets is first countable
Conditionally complete linear orders from least upper bounds
variable {X : Type*} [LinearOrder X]
definition supOfExistsIsLUB
TopologyByExample.supOfExistsIsLUB
An auxiliary supremum: for a nonempty set with an upper bound, a least upper bound (given by
h); for any other set, the default value c.
noncomputable def supOfExistsIsLUB (c : X)
(h : ∀ s : Set X, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) (s : Set X) : X
:=
if hs : s.Nonempty ∧ BddAbove s then (h s hs.1 hs.2).choose else c
theorem isLUB_supOfExistsIsLUB
TopologyByExample.isLUB_supOfExistsIsLUB
supOfExistsIsLUB gives a least upper bound of a nonempty set with an upper bound.
theorem isLUB_supOfExistsIsLUB (c : X)
(h : ∀ s : Set X, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) (s : Set X) (hb : BddAbove s)
(hn : s.Nonempty) : IsLUB s (supOfExistsIsLUB c h s)
Proof
:= by
simp only [supOfExistsIsLUB, hn, hb, and_self, ↓reduceDIte]
exact (h s hn hb).choose_spec
theorem supOfExistsIsLUB_of_not
TopologyByExample.supOfExistsIsLUB_of_not
supOfExistsIsLUB is the default value on a set that is empty or has no upper bound.
theorem supOfExistsIsLUB_of_not (c : X)
(h : ∀ s : Set X, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) {s : Set X}
(hs : ¬(s.Nonempty ∧ BddAbove s)) : supOfExistsIsLUB c h s = c
Proof
:= by
simp only [supOfExistsIsLUB, hs, ↓reduceDIte]
definition conditionallyCompleteLinearOrderBotOfExistsIsLUB
TopologyByExample.conditionallyCompleteLinearOrderBotOfExistsIsLUB
A linear order with a least element in which every nonempty set with an upper bound has a
least upper bound is a conditionally complete linear order with a least element. The supremum of
a set that is empty or has no upper bound is ⊥.
noncomputable abbrev conditionallyCompleteLinearOrderBotOfExistsIsLUB (X : Type*)
[i₁ : LinearOrder X] [i₂ : OrderBot X]
(h : ∀ s : Set X, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) :
ConditionallyCompleteLinearOrderBot X
Definition
:=
{ i₁, i₂, LinearOrder.toLattice,
@conditionallyCompleteLatticeOfLatticeOfsSup X LinearOrder.toLattice
⟨supOfExistsIsLUB ⊥ h⟩ (isLUB_supOfExistsIsLUB ⊥ h) with
csSup_empty := supOfExistsIsLUB_of_not ⊥ h fun hs ↦ hs.1.ne_empty rfl
csSup_of_not_bddAbove := fun _ hs ↦ (supOfExistsIsLUB_of_not ⊥ h fun h' ↦ hs h'.2).trans
(supOfExistsIsLUB_of_not ⊥ h fun hs ↦ hs.1.ne_empty rfl).symm
csInf_of_not_bddBelow := fun s hs ↦ (hs (OrderBot.bddBelow s)).elim }
definition conditionallyCompleteLinearOrderOfExistsIsLUB
TopologyByExample.conditionallyCompleteLinearOrderOfExistsIsLUB
A nonempty linear order without a greatest element in which every nonempty set with an upper bound has a least upper bound is a conditionally complete linear order.
noncomputable abbrev conditionallyCompleteLinearOrderOfExistsIsLUB (X : Type*)
[i₁ : LinearOrder X] [Nonempty X] [NoMaxOrder X]
(h : ∀ s : Set X, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) :
ConditionallyCompleteLinearOrder X
Definition
:=
have h₀ : supOfExistsIsLUB (Classical.arbitrary X) h ∅ = Classical.arbitrary X :=
supOfExistsIsLUB_of_not _ h fun hs ↦ hs.1.ne_empty rfl
{ i₁, LinearOrder.toLattice,
@conditionallyCompleteLatticeOfLatticeOfsSup X LinearOrder.toLattice
⟨supOfExistsIsLUB (Classical.arbitrary X) h⟩ (isLUB_supOfExistsIsLUB _ h) with
csSup_of_not_bddAbove := fun _ hs ↦
(supOfExistsIsLUB_of_not _ h fun h' ↦ hs h'.2).trans h₀.symm
csInf_of_not_bddBelow := fun s hs ↦ by
have hl : lowerBounds s = ∅ := eq_empty_of_forall_notMem fun x hx ↦ hs ⟨x, hx⟩
change supOfExistsIsLUB _ h (lowerBounds s) = supOfExistsIsLUB _ h (lowerBounds ∅)
rw [hl, lowerBounds_empty, h₀]
exact (supOfExistsIsLUB_of_not _ h fun h' ↦ not_bddAbove_univ h'.2).symm }
Further facts about order topologies
variable {X : Type*} [LinearOrder X] [TopologicalSpace X] [OrderTopology X]
theorem isInducing_of_strictMono_of_continuous
TopologyByExample.isInducing_of_strictMono_of_continuous
A continuous strictly monotone map between linear orders with their order topologies is an
embedding onto its image (with the subspace topology): the preimages of the rays (f a, →) and
(←, f a) are the rays (a, →) and (←, a), which generate the topology of the domain.
theorem isInducing_of_strictMono_of_continuous {Y : Type*} [LinearOrder Y] [TopologicalSpace Y]
[OrderTopology Y] {f : Y → X} (hf : StrictMono f) (hc : Continuous f) : IsInducing f
Proof
:= by
refine ⟨le_antisymm (continuous_iff_le_induced.1 hc) ?_⟩
have h := ‹OrderTopology Y›.topology_eq_generate_intervals
calc induced f ‹TopologicalSpace X› ≤ generateFrom {s | ∃ a, s = Ioi a ∨ s = Iio a} := by
refine le_generateFrom ?_
rintro s ⟨a, rfl | rfl⟩
· exact ⟨Ioi (f a), isOpen_Ioi, by ext x; simp [hf.lt_iff_lt]⟩
· exact ⟨Iio (f a), isOpen_Iio, by ext x; simp [hf.lt_iff_lt]⟩
_ = _ := h.symm
On this site: Theorem: A continuous strictly increasing map between linearly ordered spaces is an embedding
theorem weaklyLocallyCompactSpace_of_compactIccSpace
TopologyByExample.weaklyLocallyCompactSpace_of_compactIccSpace
A linear order with its order topology in which every closed interval is compact is weakly locally compact: every point has a closed interval as a neighbourhood.
theorem weaklyLocallyCompactSpace_of_compactIccSpace [CompactIccSpace X] :
WeaklyLocallyCompactSpace X
Proof
:=
⟨fun x ↦ by
obtain ⟨b, c, -, hn, -⟩ := exists_Icc_mem_subset_of_mem_nhds (univ_mem (f := 𝓝 x))
exact ⟨Icc b c, isCompact_Icc, hn⟩⟩
omit [OrderTopology X] in
theorem seqCompactSpace_of_countable_bddAbove_bddBelow
TopologyByExample.seqCompactSpace_of_countable_bddAbove_bddBelow
A first countable linear order with its order topology, in which every closed interval is compact and every countable set is bounded above and below, is sequentially compact: a sequence lies in a compact closed interval.
theorem seqCompactSpace_of_countable_bddAbove_bddBelow [CompactIccSpace X]
[FirstCountableTopology X] (h : ∀ s : Set X, s.Countable → BddAbove s ∧ BddBelow s) :
SeqCompactSpace X
Proof
:=
⟨fun x _ ↦ by
obtain ⟨⟨u, hu⟩, ⟨l, hl⟩⟩ := h _ (countable_range x)
obtain ⟨a, -, φ, hφ, hlim⟩ := isCompact_Icc.tendsto_subseq
(fun n ↦ (⟨hl (mem_range_self n), hu (mem_range_self n)⟩ : x n ∈ Icc l u))
exact ⟨a, mem_univ a, φ, hφ, hlim⟩⟩
theorem not_compactSpace_of_noMaxOrder
TopologyByExample.not_compactSpace_of_noMaxOrder
A nonempty linear order without a greatest element is not compact in its order topology: a compact linear order has a greatest element.
theorem not_compactSpace_of_noMaxOrder [NoMaxOrder X] [Nonempty X] : ¬CompactSpace X
Proof
:= fun _ ↦ by
obtain ⟨x, -, hx⟩ := isCompact_univ.exists_isGreatest (univ_nonempty (α := X))
obtain ⟨y, hy⟩ := exists_gt x
exact (hy.trans_le (hx (mem_univ y))).false
On this site: Theorem: A linearly ordered space without a greatest element is not compact
Two covering facts
variable {X : Type*} [TopologicalSpace X]
theorem not_countableChainCondition_of_pairwise_disjoint
TopologyByExample.not_countableChainCondition_of_pairwise_disjoint
A space with an uncountable family of pairwise disjoint nonempty open sets does not satisfy the countable chain condition.
theorem not_countableChainCondition_of_pairwise_disjoint {ι : Type*} [Uncountable ι]
{U : ι → Set X} (hUo : ∀ i, IsOpen (U i)) (hUn : ∀ i, (U i).Nonempty)
(hUd : Pairwise (Disjoint on U)) :
¬∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
S.Countable
Proof
:= by
intro h
have hinj : Function.Injective U := fun i j hij ↦ by
by_contra hne
have := hUd hne
rw [Function.onFun, hij, disjoint_self] at this
exact (hUn j).ne_empty this
have hS := h (range U) (forall_mem_range.2 fun i ↦ ⟨hUo i, hUn i⟩) (by
rintro _ ⟨i, rfl⟩ _ ⟨j, rfl⟩ hne
exact hUd fun hij ↦ hne (congrArg U hij))
exact not_countable_univ (by simpa [← range_comp, Set.countable_range] using
(hS.preimage hinj : (U ⁻¹' range U).Countable))
theorem countablyParacompactSpace_of_locallyFinite
TopologyByExample.countablyParacompactSpace_of_locallyFinite
A covering criterion for countable paracompactness. If a space is covered by countably
compact sets C i, each contained in an open set W i, and the family of the W i is locally
finite, then the space is countably paracompact: finitely many members of a countable open cover
cover each C i, and their traces on W i form a locally finite open refinement.
theorem countablyParacompactSpace_of_locallyFinite {ι : Type*} {C W : ι → Set X}
(hC : ∀ i, IsCountablyCompact (C i)) (hWo : ∀ i, IsOpen (W i)) (hCW : ∀ i, C i ⊆ W i)
(hcov : ∀ x, ∃ i, x ∈ C i) (hW : LocallyFinite W) : CountablyParacompactSpace X
Proof
:= by
refine ⟨fun U hUc hUo hU ↦ ?_⟩
have hfin (i : ι) : ∃ t ⊆ U, t.Finite ∧ C i ⊆ ⋃ u ∈ t, u := by
obtain ⟨t, htU, htf, ht⟩ := (hC i).elim_finite_subcover_image hUc (U := id) hUo
(by simp only [id, ← sUnion_eq_biUnion, hU, subset_univ])
exact ⟨t, htU, htf, ht⟩
choose F hFU hFf hCF using hfin
refine ⟨⋃ i, (· ∩ W i) '' F i, ?_, ?_, ?_, ?_⟩
· simp only [mem_iUnion, mem_image]
rintro _ ⟨i, u, hu, rfl⟩
exact (hUo u (hFU i hu)).inter (hWo i)
· refine eq_univ_of_forall fun x ↦ ?_
obtain ⟨i, hi⟩ := hcov x
obtain ⟨u, hu, hxu⟩ := mem_iUnion₂.1 (hCF i hi)
exact mem_sUnion.2 ⟨u ∩ W i, mem_iUnion.2 ⟨i, u, hu, rfl⟩, hxu, hCW i hi⟩
· refine locallyFinite_subtype_iff.2 fun x ↦ ?_
obtain ⟨t, ht, htf⟩ := hW x
refine ⟨t, ht, (htf.biUnion fun i _ ↦ (hFf i).image (· ∩ W i)).subset ?_⟩
rintro v ⟨hv, hvt⟩
obtain ⟨i, u, hu, rfl⟩ := mem_iUnion.1 hv
refine mem_iUnion₂.2 ⟨i, ?_, u, hu, rfl⟩
obtain ⟨y, hy, hyt⟩ := hvt
exact ⟨y, hy.2, hyt⟩
· simp only [mem_iUnion, mem_image]
rintro _ ⟨i, u, hu, rfl⟩
exact ⟨u, hFU i hu, inter_subset_left⟩
On this site: Theorem: A space covered by countably compact sets inside a locally finite family of open sets is countably paracompact
theorem mem_of_isOpen_of_isSeqClosed
TopologyByExample.Joined.mem_of_isOpen_of_isSeqClosed
A path that starts in a set A that is open and sequentially closed stays in A: the times
it spends in A form an open and sequentially closed, hence clopen, subset of [0, 1].
theorem Joined.mem_of_isOpen_of_isSeqClosed {A : Set X} (hAo : IsOpen A) (hAs : IsSeqClosed A)
{x y : X} (h : Joined x y) (hx : x ∈ A) : y ∈ A
Proof
:= by
obtain ⟨γ⟩ := h
have hcl : IsClopen (γ ⁻¹' A) :=
⟨(hAs.preimage γ.continuous.seqContinuous).isClosed, hAo.preimage γ.continuous⟩
have := UnitInterval.pathConnectedSpace
rcases isClopen_iff.1 hcl with h | h
· exact absurd (show (0 : unitInterval) ∈ γ ⁻¹' A by simpa using hx) (h ▸ notMem_empty _)
· simpa using (h ▸ mem_univ (1 : unitInterval) : (1 : unitInterval) ∈ γ ⁻¹' A)
On this site: Theorem: A path cannot leave an open sequentially closed set