Lean library · module TopologyByExample.Theorems.OrderSeqCompact
Countably compact linearly ordered spaces are sequentially compact
Every sequence in a linear order has a monotone subsequence (the infinitary Erdős–Szekeres
theorem, exists_increasing_or_nonincreasing_subseq). In the order topology a monotone sequence
converges to each of its cluster points, so in a countably compact linearly ordered space every
sequence has a convergent subsequence. No separation axiom is assumed.
Main statements
Monotone.tendsto_of_mapClusterPt,Antitone.tendsto_of_mapClusterPt: in the order topology a monotone sequence converges to any cluster point of it.TopologyByExample.seqCompactSpace_of_exists_linearOrder: a countably compact space whose topology is the order topology of some linear order is sequentially compact.
Tags
linearly ordered topological space, countably compact, sequentially compact, monotone subsequence
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
variable {α : Type*} [TopologicalSpace α] [LinearOrder α] [OrderTopology α] {v : ℕ → α} {x : α}
theorem Monotone.tendsto_of_mapClusterPt
In the order topology a monotone sequence converges to any cluster point of it: the cluster point bounds the sequence above, and every point below it is eventually passed.
theorem Monotone.tendsto_of_mapClusterPt (hv : Monotone v) (hx : MapClusterPt x atTop v) :
Tendsto v atTop (𝓝 x)
Proof
:= by
have hle : ∀ n, v n ≤ x := fun n ↦ by
by_contra! h
obtain ⟨m, hm, hnm⟩ :=
((hx.frequently (Iio_mem_nhds h)).and_eventually (eventually_ge_atTop n)).exists
exact (hv hnm).not_gt hm
refine tendsto_order.2 ⟨fun a ha ↦ ?_, fun b hb ↦ .of_forall fun n ↦ (hle n).trans_lt hb⟩
obtain ⟨m, hm⟩ := (hx.frequently (Ioi_mem_nhds ha)).exists
exact eventually_atTop.2 ⟨m, fun k hk ↦ hm.trans_le (hv hk)⟩
theorem Antitone.tendsto_of_mapClusterPt
In the order topology an antitone sequence converges to any cluster point of it: the cluster point bounds the sequence below, and every point above it is eventually passed.
theorem Antitone.tendsto_of_mapClusterPt (hv : Antitone v) (hx : MapClusterPt x atTop v) :
Tendsto v atTop (𝓝 x)
Proof
:= by
have hle : ∀ n, x ≤ v n := fun n ↦ by
by_contra! h
obtain ⟨m, hm, hnm⟩ :=
((hx.frequently (Ioi_mem_nhds h)).and_eventually (eventually_ge_atTop n)).exists
exact (hv hnm).not_gt hm
refine tendsto_order.2 ⟨fun a ha ↦ .of_forall fun n ↦ ha.trans_le (hle n), fun b hb ↦ ?_⟩
obtain ⟨m, hm⟩ := (hx.frequently (Iio_mem_nhds hb)).exists
exact eventually_atTop.2 ⟨m, fun k hk ↦ (hv hk).trans_lt hm⟩
variable {X : Type*} [TopologicalSpace X]
theorem seqCompactSpace_of_exists_linearOrder
TopologyByExample.seqCompactSpace_of_exists_linearOrder
A countably compact linearly orderable space is sequentially compact: a sequence has a monotone subsequence, which has a cluster point by countable compactness, and converges to it.
theorem seqCompactSpace_of_exists_linearOrder [CountablyCompactSpace X]
(h : ∃ o : LinearOrder X, letI := o; OrderTopology X) : SeqCompactSpace X
Proof
:= by
obtain ⟨o, ho⟩ := h
have : OrderTopology X := ho
have hcc : IsCountablyCompact (univ : Set X) := isCountablyCompact_univ_iff.2 ‹_›
refine ⟨fun u _ ↦ ?_⟩
obtain ⟨g, hg | hg⟩ := exists_increasing_or_nonincreasing_subseq (· ≤ ·) u
· have hmono : Monotone (u ∘ g) :=
monotone_nat_of_le_succ fun n ↦ hg n (n + 1) n.lt_succ_self
obtain ⟨x, -, hx⟩ := hcc.seq_clusterPt (u ∘ g) (.of_forall fun _ ↦ mem_univ _)
exact ⟨x, mem_univ _, g, g.strictMono, hmono.tendsto_of_mapClusterPt hx⟩
· have hanti : Antitone (u ∘ g) :=
antitone_nat_of_succ_le fun n ↦ (not_le.1 (hg n (n + 1) n.lt_succ_self)).le
obtain ⟨x, -, hx⟩ := hcc.seq_clusterPt (u ∘ g) (.of_forall fun _ ↦ mem_univ _)
exact ⟨x, mem_univ _, g, g.strictMono, hanti.tendsto_of_mapClusterPt hx⟩
On this site: Theorem: Countably compact linearly orderable spaces are sequentially compact