Lean library · module TopologyByExample.Spaces.FranklinRajagopalan
The Franklin–Rajagopalan space
Fix a tower T of least length 𝔱 (see TopologyByExample.tower), reindexed so that each
complement is infinite, and let cotower i be the complement of its i-th member: the sets
cotower i are infinite and strictly almost increasing, and every infinite subset of ℕ meets
one of them in an infinite set. The Franklin–Rajagopalan space has as points the natural numbers
and the indices of the tower. Natural numbers are isolated. A basic neighbourhood of an index i
is basic g i F: the indices j with g < j ≤ i, together with the natural numbers in
cotower i but not in cotower g and not in the finite set F, where g < i is an index or
⊥ (when nothing is removed below).
The space is Hausdorff and separable (the natural numbers are dense). Each basic set is compact
and open (for downSet i = basic ⊥ i ∅ by well-founded induction on i), so the space is
locally compact and totally separated. The indices form a closed copy of the well order 𝔱
with its order topology, which has no last point, so the space is not compact; but every
countable set of indices has compact closure. The space is sequentially compact, by van Douwen's
argument: a sequence of natural numbers taking each value finitely often has a subsequence
converging to the least index i such that infinitely many terms lie in cotower i, and a
sequence of indices has a monotone subsequence, converging to its supremum.
Its first countability is independent of ZFC: it is first countable exactly when 𝔱 = ℵ₁. If
𝔱 = ℵ₁ every index has only countably many predecessors, hence countably many basic
neighbourhoods. If 𝔱 > ℵ₁ the index ω₁ has no countable neighbourhood basis.
Main definitions
TopologyByExample.FranklinRajagopalan: the space,ℕ ⊕ towerLength.ToType, with pointsFranklinRajagopalan.nat nandFranklinRajagopalan.index i.TopologyByExample.FranklinRajagopalan.cotower: the almost increasing family.TopologyByExample.FranklinRajagopalan.basic: the basic sets.TopologyByExample.FranklinRajagopalan.downSet: the basic sets with no lower bound.
Main statements
TopologyByExample.FranklinRajagopalan.nhds_nat,TopologyByExample.FranklinRajagopalan.hasBasis_nhds_index,TopologyByExample.FranklinRajagopalan.isOpen_basic: the neighbourhoods.- Instances:
T2Space,TopologicalSpace.SeparableSpace,LocallyCompactSpace,WeaklyLocallyCompactSpace,TotallySeparatedSpace,SeqCompactSpace,CountablyCompactSpace. TopologyByExample.FranklinRajagopalan.isCompact_basic,TopologyByExample.FranklinRajagopalan.isClopen_basic,TopologyByExample.FranklinRajagopalan.isCompact_and_isClopen_basic: basic sets are compact and clopen.TopologyByExample.FranklinRajagopalan.not_compactSpace,TopologyByExample.FranklinRajagopalan.not_sigmaCompactSpace: the space is not compact, and not σ-compact.TopologyByExample.FranklinRajagopalan.exists_forall_le_of_isCompact: a compact set has its indices bounded.TopologyByExample.FranklinRajagopalan.firstCountableTopology_of_towerNumber_eqandTopologyByExample.FranklinRajagopalan.not_firstCountableTopology_of_towerNumber_ne: the space is first countable if𝔱 = ℵ₁, and not first countable otherwise.TopologyByExample.FranklinRajagopalan.isClosedEmbedding_index: the indices are a closed copy of the well order𝔱.TopologyByExample.FranklinRajagopalan.isCompact_closure_image_index: countable sets of indices have compact closure.TopologyByExample.FranklinRajagopalan.isOpen_range_nat,TopologyByExample.FranklinRajagopalan.dense_range_nat,TopologyByExample.FranklinRajagopalan.isDiscrete_range_nat,TopologyByExample.FranklinRajagopalan.isOpen_dense_isDiscrete_range_nat: the natural numbers are open, dense and discrete.
Separation axioms
The space is normal but not perfectly normal, and it is not completely normal whenever
𝔠 < 2 ^ 𝔱 (for instance under 𝔱 = 𝔠, and so under the continuum hypothesis).
Normality. Every strictly increasing sequence of indices converges to its supremum, which is an
index since countable sets of indices are bounded. So of two disjoint closed sets at most one has
unboundedly many indices: otherwise choose indices alternately from the two, increasing, and their
common limit lies in both. A closed set A whose indices lie below α is compact: only finitely
many of its natural numbers lie outside cotower α, since infinitely many would have a
subsequence converging to an index of A, which has downSet α as a neighbourhood. So A lies in
the compact set downSet α together with finitely many points. A compact set and a disjoint
closed set in a regular space have disjoint neighbourhoods. (This is van Douwen's route, The
integers and topology, in Handbook of Set-Theoretic Topology, Example 7.1.)
Perfect normality. The indices form a closed copy of the well order 𝔱, whose countable
subsets are bounded; such a well order is not perfectly normal, and perfect normality passes to
subspaces.
Complete normality. The successor indices form a discrete subspace of cardinality 𝔱 of a
separable space; in a separable completely normal space every discrete subspace D has
2 ^ #D ≤ 𝔠.
TopologyByExample.FranklinRajagopalan.instNormalSpace: the space is normal.TopologyByExample.FranklinRajagopalan.not_perfectlyNormalSpace: it is not perfectly normal.TopologyByExample.FranklinRajagopalan.two_pow_towerNumber_le_continuum: if it is completely normal then2 ^ 𝔱 ≤ 𝔠; consequentlyTopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_continuum_lt,TopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_towerNumber_eq_continuumandTopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_continuum_eq_aleph_one.
Implementation notes
The tower is i ↦ tower (succ i) rather than tower itself, so that every cotower i is
infinite (the first member of tower may be cofinite). Lower bounds of basic sets range over
WithBot Index, with ⊥ standing for "no lower bound".
References
- E. K. van Douwen, The integers and topology, in Handbook of Set-Theoretic Topology (K. Kunen, J. E. Vaughan, eds.), North-Holland, 1984, Example 7.1 (p. 133).
- J. E. Vaughan, Countably compact and sequentially compact spaces, in Handbook of Set-Theoretic Topology, Example 2.11 (pp. 574–575).
- S. P. Franklin and M. Rajagopalan, Some examples in topology, Trans. Amer. Math. Soc. 155 (1971), 305–314.
Tags
Franklin–Rajagopalan space, tower, tower number, sequentially compact, locally compact, first countable, independence
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.OrderIsoNat
- Mathlib.Topology.Bases
- Mathlib.Topology.Compactness.CountablyCompact
- Mathlib.Topology.Compactness.LocallyCompact
- Mathlib.Topology.Connected.TotallyDisconnected
- Mathlib.Topology.Order.Basic
- Mathlib.Topology.Separation.CompletelyRegular
- Mathlib.Topology.Separation.Hausdorff
- TopologyByExample.Axioms.TowerNumber
- TopologyByExample.Theorems.Category
- TopologyByExample.Theorems.CompactnessVariants
- TopologyByExample.Theorems.ConnectednessExtremes
- TopologyByExample.Theorems.CountableChainCondition
- TopologyByExample.Theorems.Disconnectedness
- TopologyByExample.Theorems.GridProperties
- TopologyByExample.Theorems.Paracompactness
- TopologyByExample.Theorems.Separation
- TopologyByExample.Theorems.SeparationVariants
- TopologyByExample.Theorems.WellOrder
definition FranklinRajagopalan
TopologyByExample.FranklinRajagopalan
The Franklin–Rajagopalan space: the natural numbers, all isolated, together with the indices
of a tower of least length 𝔱. The topology is the instance
FranklinRajagopalan.instTopologicalSpace.
def FranklinRajagopalan : Type
:= ℕ ⊕ towerLength.ToType
On this site: Space: Franklin–Rajagopalan space
definition Index
TopologyByExample.FranklinRajagopalan.Index
The index type of the Franklin–Rajagopalan space, the well order towerLength.ToType of type
𝔱.
abbrev Index : Type
:= towerLength.ToType
The almost increasing family
definition shiftedTower
TopologyByExample.FranklinRajagopalan.shiftedTower
The tower i ↦ tower (succ i), a reindexing of TopologyByExample.tower all of whose
members have infinite complement.
def shiftedTower (i : Index) : Set ℕ
:= tower (succ i)
theorem isTower_shiftedTower
TopologyByExample.FranklinRajagopalan.isTower_shiftedTower
shiftedTower is a tower.
theorem isTower_shiftedTower : IsTower shiftedTower
Proof
:=
isTower_tower.comp succ_strictMono fun i ↦ ⟨succ i, mem_range_self i, le_succ i⟩
definition cotower
TopologyByExample.FranklinRajagopalan.cotower
The complement of the i-th member of shiftedTower. These sets are infinite, strictly
almost increasing, and every infinite subset of ℕ meets one of them in an infinite set.
def cotower (i : Index) : Set ℕ
:= (shiftedTower i)ᶜ
theorem cotower_almostSubset
TopologyByExample.FranklinRajagopalan.cotower_almostSubset
cotower is almost increasing.
theorem cotower_almostSubset {i j : Index} (h : i ≤ j) : cotower i ⊆* cotower j
Proof
:=
isTower_shiftedTower.compl_almostSubset_compl h
theorem infinite_cotower_sdiff
TopologyByExample.FranklinRajagopalan.infinite_cotower_sdiff
cotower is strictly almost increasing.
theorem infinite_cotower_sdiff {i j : Index} (h : i < j) : (cotower j \ cotower i).Infinite
Proof
:=
isTower_shiftedTower.infinite_compl_sdiff_compl h
theorem infinite_cotower
TopologyByExample.FranklinRajagopalan.infinite_cotower
Each cotower i is infinite.
theorem infinite_cotower (i : Index) : (cotower i).Infinite
Proof
:=
isTower_tower.infinite_compl_of_lt (lt_succ i)
theorem exists_infinite_inter_cotower
TopologyByExample.FranklinRajagopalan.exists_infinite_inter_cotower
Every infinite subset of ℕ meets some cotower i in an infinite set.
theorem exists_infinite_inter_cotower {S : Set ℕ} (hS : S.Infinite) :
∃ i, (S ∩ cotower i).Infinite
Proof
:=
isTower_shiftedTower.exists_infinite_inter_compl hS
definition lowCotower
TopologyByExample.FranklinRajagopalan.lowCotower
cotower γ for g = γ, and ∅ for g = ⊥.
def lowCotower (g : WithBot Index) : Set ℕ
:= {n | ∃ γ : Index, g = γ ∧ n ∈ cotower γ}
theorem lowCotower_bot
TopologyByExample.FranklinRajagopalan.lowCotower_bot
lowCotower ⊥ = ∅.
@[simp]
theorem lowCotower_bot : lowCotower ⊥ = ∅
Proof
:= by
ext n
simp [lowCotower]
theorem lowCotower_coe
TopologyByExample.FranklinRajagopalan.lowCotower_coe
lowCotower γ = cotower γ.
@[simp]
theorem lowCotower_coe (γ : Index) : lowCotower γ = cotower γ
Proof
:= by
ext n
simp [lowCotower]
theorem lowCotower_almostSubset
TopologyByExample.FranklinRajagopalan.lowCotower_almostSubset
lowCotower is almost increasing.
theorem lowCotower_almostSubset {g g' : WithBot Index} (h : g ≤ g') :
lowCotower g ⊆* lowCotower g'
Proof
:= by
induction g with
| bot => simp [almostSubset_iff]
| coe γ =>
induction g' with
| bot => exact absurd h (by simp)
| coe δ => simpa using cotower_almostSubset (WithBot.coe_le_coe.1 h)
Points
definition nat
TopologyByExample.FranklinRajagopalan.nat
The natural number n as a point of the space.
@[match_pattern] def nat (n : ℕ) : FranklinRajagopalan
:= Sum.inl n
definition index
TopologyByExample.FranklinRajagopalan.index
The index i as a point of the space.
@[match_pattern] def index (i : Index) : FranklinRajagopalan
:= Sum.inr i
definition rec
TopologyByExample.FranklinRajagopalan.rec
Recursor for FranklinRajagopalan using the forms nat n and index i.
@[elab_as_elim, induction_eliminator, cases_eliminator]
protected def rec {C : FranklinRajagopalan → Sort*} (nat : ∀ n, C (nat n))
(index : ∀ i, C (index i)) : ∀ x : FranklinRajagopalan, C x
| Sum.inl n => nat n
| Sum.inr i => index i
theorem nat_injective
TopologyByExample.FranklinRajagopalan.nat_injective
nat is injective.
theorem nat_injective : Function.Injective nat
Proof
:= Sum.inl_injective
theorem index_injective
TopologyByExample.FranklinRajagopalan.index_injective
index is injective.
theorem index_injective : Function.Injective index
Proof
:= Sum.inr_injective
theorem nat_inj
TopologyByExample.FranklinRajagopalan.nat_inj
nat is injective.
@[simp]
theorem nat_inj {m n : ℕ} : nat m = nat n ↔ m = n
Proof
:= nat_injective.eq_iff
theorem index_inj
TopologyByExample.FranklinRajagopalan.index_inj
index is injective.
@[simp]
theorem index_inj {i j : Index} : index i = index j ↔ i = j
Proof
:= index_injective.eq_iff
theorem nat_ne_index
TopologyByExample.FranklinRajagopalan.nat_ne_index
A natural number is not an index.
@[simp]
theorem nat_ne_index (n : ℕ) (i : Index) : nat n ≠ index i
Proof
:= nofun
theorem index_ne_nat
TopologyByExample.FranklinRajagopalan.index_ne_nat
An index is not a natural number.
@[simp]
theorem index_ne_nat (n : ℕ) (i : Index) : index i ≠ nat n
Proof
:= nofun
instance
The space is nonempty.
instance : Inhabited FranklinRajagopalan
Proof
:= ⟨nat 0⟩
Basic sets
definition basic
TopologyByExample.FranklinRajagopalan.basic
The basic set B(g, i, F): the indices j with g < j ≤ i, together with the natural
numbers in cotower i, not in lowCotower g and not in F. For g < i these form a
neighbourhood basis at index i.
def basic (g : WithBot Index) (i : Index) (F : Finset ℕ) : Set FranklinRajagopalan
:=
index '' {j | g < j ∧ j ≤ i} ∪ nat '' ((cotower i \ lowCotower g) \ F)
theorem index_mem_basic
TopologyByExample.FranklinRajagopalan.index_mem_basic
Membership of an index in a basic set.
@[simp]
theorem index_mem_basic {g : WithBot Index} {i j : Index} {F : Finset ℕ} :
index j ∈ basic g i F ↔ g < j ∧ j ≤ i
Proof
:= by
simp [basic]
theorem nat_mem_basic
TopologyByExample.FranklinRajagopalan.nat_mem_basic
Membership of a natural number in a basic set.
@[simp]
theorem nat_mem_basic {g : WithBot Index} {i : Index} {F : Finset ℕ} {n : ℕ} :
nat n ∈ basic g i F ↔ n ∈ cotower i ∧ n ∉ lowCotower g ∧ n ∉ F
Proof
:= by
simp [basic, and_assoc]
theorem index_mem_basic_self
TopologyByExample.FranklinRajagopalan.index_mem_basic_self
An index lies in its basic sets.
theorem index_mem_basic_self {g : WithBot Index} {i : Index} (hg : g < i) (F : Finset ℕ) :
index i ∈ basic g i F
Proof
:=
index_mem_basic.2 ⟨hg, le_rfl⟩
theorem basic_anti
TopologyByExample.FranklinRajagopalan.basic_anti
Basic sets shrink as the finite set grows.
theorem basic_anti {g : WithBot Index} {i : Index} {F F' : Finset ℕ} (h : F ⊆ F') :
basic g i F' ⊆ basic g i F
Proof
:= by
intro x hx
cases x with
| nat n =>
simp only [nat_mem_basic] at hx ⊢
exact ⟨hx.1, hx.2.1, fun hn ↦ hx.2.2 (h hn)⟩
| index j => simpa using hx
theorem exists_basic_subset
TopologyByExample.FranklinRajagopalan.exists_basic_subset
A basic set at j with a larger lower bound is, after removing finitely many natural
numbers, contained in a basic set at i ≥ j.
theorem exists_basic_subset {g g' : WithBot Index} {i j : Index} (hg : g ≤ g') (hji : j ≤ i)
(F : Finset ℕ) : ∃ F' : Finset ℕ, F ⊆ F' ∧ basic g' j F' ⊆ basic g i F
Proof
:= by
have hfin : ((cotower j \ cotower i) ∪ (lowCotower g \ lowCotower g')).Finite :=
(cotower_almostSubset hji).union (lowCotower_almostSubset hg)
refine ⟨F ∪ hfin.toFinset, Finset.subset_union_left, fun x hx ↦ ?_⟩
cases x with
| nat n =>
simp only [nat_mem_basic, Finset.mem_union, Set.Finite.mem_toFinset, mem_union, Set.mem_sdiff,
not_or, not_and, not_not] at hx ⊢
obtain ⟨hj, hg', hF, h1, h2⟩ := hx
exact ⟨h1 hj, fun h ↦ hg' (h2 h), hF⟩
| index k =>
simp only [index_mem_basic] at hx ⊢
exact ⟨hg.trans_lt hx.1, hx.2.trans hji⟩
The topology
definition nhdsFilter
TopologyByExample.FranklinRajagopalan.nhdsFilter
The neighbourhood filters of the Franklin–Rajagopalan space: natural numbers are isolated, and
the basic sets basic g i F with g < i generate the neighbourhoods of index i.
def nhdsFilter : FranklinRajagopalan → Filter FranklinRajagopalan
| Sum.inl n => pure (nat n)
| Sum.inr i => ⨅ (p : WithBot Index × Finset ℕ) (_ : p.1 < i), 𝓟 (basic p.1 i p.2)
theorem hasBasis_nhdsFilter_index
TopologyByExample.FranklinRajagopalan.hasBasis_nhdsFilter_index
The basic sets basic g i F with g < i are a basis of nhdsFilter (index i).
theorem hasBasis_nhdsFilter_index (i : Index) :
(nhdsFilter (index i)).HasBasis (fun p : WithBot Index × Finset ℕ ↦ p.1 < i)
fun p ↦ basic p.1 i p.2
Proof
:= by
refine hasBasis_biInf_principal' (fun p hp q hq ↦ ?_) ⟨(⊥, ∅), WithBot.bot_lt_coe i⟩
obtain ⟨F₁, -, h₁⟩ := exists_basic_subset (le_max_left p.1 q.1) le_rfl p.2 (i := i)
obtain ⟨F₂, -, h₂⟩ := exists_basic_subset (le_max_right p.1 q.1) le_rfl q.2 (i := i)
exact ⟨(max p.1 q.1, F₁ ∪ F₂), max_lt hp hq,
(basic_anti Finset.subset_union_left).trans h₁, (basic_anti Finset.subset_union_right).trans h₂⟩
theorem basic_mem_nhdsFilter
TopologyByExample.FranklinRajagopalan.basic_mem_nhdsFilter
A basic set is in the neighbourhood filter of each of its points.
theorem basic_mem_nhdsFilter {g : WithBot Index} {i : Index} {F : Finset ℕ}
{x : FranklinRajagopalan} (hx : x ∈ basic g i F) : basic g i F ∈ nhdsFilter x
Proof
:= by
cases x with
| nat n => exact mem_pure.2 hx
| index j =>
rw [index_mem_basic] at hx
obtain ⟨F', -, hF'⟩ := exists_basic_subset le_rfl hx.2 F (g := g)
exact mem_of_superset ((hasBasis_nhdsFilter_index j).mem_of_mem (i := (g, F')) hx.1) hF'
instance instTopologicalSpace
TopologyByExample.FranklinRajagopalan.instTopologicalSpace
The Franklin–Rajagopalan topology, given by its neighbourhood filters.
instance instTopologicalSpace : TopologicalSpace FranklinRajagopalan
Proof
:= .mkOfNhds nhdsFilter
theorem nhds_eq_nhdsFilter
TopologyByExample.FranklinRajagopalan.nhds_eq_nhdsFilter
The neighbourhood filters of the space are the filters nhdsFilter x.
theorem nhds_eq_nhdsFilter (x : FranklinRajagopalan) : 𝓝 x = nhdsFilter x
Proof
:= by
refine TopologicalSpace.nhds_mkOfNhds _ _ (fun x ↦ ?_) fun x s hs ↦ ?_
· cases x with
| nat n => exact le_rfl
| index i =>
exact pure_le_iff.2 fun s hs ↦ by
obtain ⟨p, hp, hps⟩ := (hasBasis_nhdsFilter_index i).mem_iff.1 hs
exact hps (index_mem_basic_self hp _)
· cases x with
| nat n => exact eventually_pure.2 hs
| index i =>
obtain ⟨p, hp, hps⟩ := (hasBasis_nhdsFilter_index i).mem_iff.1 hs
filter_upwards [(hasBasis_nhdsFilter_index i).mem_of_mem hp] with y hy
exact mem_of_superset (basic_mem_nhdsFilter hy) hps
theorem nhds_nat
TopologyByExample.FranklinRajagopalan.nhds_nat
A natural number is an isolated point.
theorem nhds_nat (n : ℕ) : 𝓝 (nat n) = pure (nat n)
Proof
:=
nhds_eq_nhdsFilter (nat n)
theorem hasBasis_nhds_index
TopologyByExample.FranklinRajagopalan.hasBasis_nhds_index
The basic sets basic g i F with g < i form a basis of the neighbourhoods of index i.
theorem hasBasis_nhds_index (i : Index) :
(𝓝 (index i)).HasBasis (fun p : WithBot Index × Finset ℕ ↦ p.1 < i)
fun p ↦ basic p.1 i p.2
Proof
:= by
rw [nhds_eq_nhdsFilter]
exact hasBasis_nhdsFilter_index i
theorem basic_mem_nhds
TopologyByExample.FranklinRajagopalan.basic_mem_nhds
A basic set basic g i F with g < i is a neighbourhood of index i.
theorem basic_mem_nhds {g : WithBot Index} {i : Index} (hg : g < i) (F : Finset ℕ) :
basic g i F ∈ 𝓝 (index i)
Proof
:=
(hasBasis_nhds_index i).mem_of_mem (i := (g, F)) hg
theorem isOpen_basic
TopologyByExample.FranklinRajagopalan.isOpen_basic
Every basic set is open.
theorem isOpen_basic (g : WithBot Index) (i : Index) (F : Finset ℕ) : IsOpen (basic g i F)
Proof
:=
isOpen_iff_mem_nhds.2 fun x hx ↦ by
rw [nhds_eq_nhdsFilter]
exact basic_mem_nhdsFilter hx
theorem isOpen_singleton_nat
TopologyByExample.FranklinRajagopalan.isOpen_singleton_nat
A natural number is an isolated point.
theorem isOpen_singleton_nat (n : ℕ) : IsOpen {nat n}
Proof
:=
isOpen_singleton_iff_nhds_eq_pure _ |>.2 (nhds_nat n)
theorem isOpen_image_nat
TopologyByExample.FranklinRajagopalan.isOpen_image_nat
Every set of natural numbers is open.
theorem isOpen_image_nat (S : Set ℕ) : IsOpen (nat '' S)
Proof
:= by
rw [← biUnion_of_singleton S, image_iUnion₂]
simpa using isOpen_biUnion fun n _ ↦ isOpen_singleton_nat n
theorem isOpen_range_nat
TopologyByExample.FranklinRajagopalan.isOpen_range_nat
The set of natural numbers is open.
theorem isOpen_range_nat : IsOpen (range nat)
Proof
:= by
simpa using isOpen_image_nat univ
theorem isClosed_range_index
TopologyByExample.FranklinRajagopalan.isClosed_range_index
The set of indices is closed.
theorem isClosed_range_index : IsClosed (range index)
Proof
:= by
refine isOpen_compl_iff.1 ?_
convert isOpen_range_nat using 1
ext x
cases x with
| nat n => simp
| index i => simp
theorem nat_mem_image_nat
TopologyByExample.FranklinRajagopalan.nat_mem_image_nat
A natural number lies in the image of a set of natural numbers iff it lies in the set.
theorem nat_mem_image_nat {S : Set ℕ} {n : ℕ} : nat n ∈ nat '' S ↔ n ∈ S
Proof
:=
nat_injective.mem_set_image
theorem index_notMem_image_nat
TopologyByExample.FranklinRajagopalan.index_notMem_image_nat
An index is never in the image of a set of natural numbers.
theorem index_notMem_image_nat {S : Set ℕ} {i : Index} : index i ∉ nat '' S
Proof
:= by
rintro ⟨n, -, h⟩
exact nat_ne_index n i h
Separation
theorem exists_isOpen_disjoint
TopologyByExample.FranklinRajagopalan.exists_isOpen_disjoint
Two distinct points have disjoint open neighbourhoods.
theorem exists_isOpen_disjoint {x y : FranklinRajagopalan} (hxy : x ≠ y) :
∃ u v : Set FranklinRajagopalan, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
Proof
:= by
have hnat (m : ℕ) (j : Index) : ∃ u v : Set FranklinRajagopalan, IsOpen u ∧ IsOpen v ∧
nat m ∈ u ∧ index j ∈ v ∧ Disjoint u v :=
⟨{nat m}, basic ⊥ j {m}, isOpen_singleton_nat m, isOpen_basic _ _ _, rfl,
index_mem_basic_self (WithBot.bot_lt_coe j) _, by simp⟩
have hidx {i j : Index} (h : i < j) : ∃ u v : Set FranklinRajagopalan, IsOpen u ∧ IsOpen v ∧
index i ∈ u ∧ index j ∈ v ∧ Disjoint u v := by
refine ⟨basic ⊥ i ∅, basic i j ∅, isOpen_basic _ _ _, isOpen_basic _ _ _,
index_mem_basic_self (WithBot.bot_lt_coe i) _,
index_mem_basic_self (WithBot.coe_lt_coe.2 h) _, Set.disjoint_left.2 fun x hx hx' ↦ ?_⟩
cases x with
| nat n =>
simp only [nat_mem_basic, lowCotower_coe] at hx hx'
exact hx'.2.1 hx.1
| index k =>
simp only [index_mem_basic, WithBot.coe_lt_coe] at hx hx'
exact (hx'.1.trans_le hx.2).false
have symm {x y : FranklinRajagopalan} (h : ∃ u v : Set FranklinRajagopalan, IsOpen u ∧
IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v) :
∃ u v : Set FranklinRajagopalan, IsOpen u ∧ IsOpen v ∧ y ∈ u ∧ x ∈ v ∧ Disjoint u v := by
obtain ⟨u, v, hu, hv, hxu, hyv, huv⟩ := h
exact ⟨v, u, hv, hu, hyv, hxu, huv.symm⟩
cases x with
| nat m =>
cases y with
| nat n =>
exact ⟨{nat m}, {nat n}, isOpen_singleton_nat m, isOpen_singleton_nat n, rfl, rfl,
Set.disjoint_singleton.2 hxy⟩
| index j => exact hnat m j
| index i =>
cases y with
| nat n => exact symm (hnat n i)
| index j =>
rcases lt_or_gt_of_ne fun h ↦ hxy (congrArg index h) with h | h
· exact hidx h
· exact symm (hidx h)
instance instT2Space
TopologyByExample.FranklinRajagopalan.instT2Space
The Franklin–Rajagopalan space is Hausdorff.
instance instT2Space : T2Space FranklinRajagopalan
Proof
:=
⟨fun _ _ h ↦ exists_isOpen_disjoint h⟩
On this site: The Franklin–Rajagopalan space is Hausdorff
Density of the natural numbers
theorem infinite_cotower_sdiff_lowCotower
TopologyByExample.FranklinRajagopalan.infinite_cotower_sdiff_lowCotower
For g < i, infinitely many natural numbers lie in cotower i but not in lowCotower g.
theorem infinite_cotower_sdiff_lowCotower {g : WithBot Index} {i : Index} (hg : g < i) :
(cotower i \ lowCotower g).Infinite
Proof
:= by
induction g with
| bot => simpa using infinite_cotower i
| coe γ => simpa using infinite_cotower_sdiff (WithBot.coe_lt_coe.1 hg)
theorem exists_nat_mem_basic
TopologyByExample.FranklinRajagopalan.exists_nat_mem_basic
Every basic neighbourhood of an index contains a natural number.
theorem exists_nat_mem_basic {g : WithBot Index} {i : Index} (hg : g < i) (F : Finset ℕ) :
∃ n, nat n ∈ basic g i F
Proof
:= by
obtain ⟨n, hn⟩ := ((infinite_cotower_sdiff_lowCotower hg).sdiff F.finite_toSet).nonempty
exact ⟨n, nat_mem_basic.2 ⟨hn.1.1, hn.1.2, hn.2⟩⟩
theorem dense_range_nat
TopologyByExample.FranklinRajagopalan.dense_range_nat
The natural numbers are dense.
theorem dense_range_nat : Dense (range nat)
Proof
:= by
refine dense_iff_inter_open.2 fun s hs ⟨x, hx⟩ ↦ ?_
cases x with
| nat n => exact ⟨nat n, hx, n, rfl⟩
| index i =>
obtain ⟨p, hp, hps⟩ := (hasBasis_nhds_index i).mem_iff.1 (hs.mem_nhds hx)
obtain ⟨n, hn⟩ := exists_nat_mem_basic hp p.2
exact ⟨nat n, hps hn, n, rfl⟩
instance instSeparableSpace
TopologyByExample.FranklinRajagopalan.instSeparableSpace
The Franklin–Rajagopalan space is separable: the natural numbers are a countable dense set.
instance instSeparableSpace : TopologicalSpace.SeparableSpace FranklinRajagopalan
Proof
:=
⟨⟨_, countable_range nat, dense_range_nat⟩⟩
On this site: The Franklin–Rajagopalan space is separable
theorem isDiscrete_range_nat
TopologyByExample.FranklinRajagopalan.isDiscrete_range_nat
The natural numbers form a discrete subspace.
theorem isDiscrete_range_nat : IsDiscrete (range nat)
Proof
:=
isDiscrete_iff_forall_mem_exists_isOpen.2 fun _ ⟨n, hn⟩ ↦
⟨{nat n}, isOpen_singleton_nat n, by subst hn; simp⟩
theorem isOpen_dense_isDiscrete_range_nat
TopologyByExample.FranklinRajagopalan.isOpen_dense_isDiscrete_range_nat
The natural numbers form an open, dense, discrete subspace.
theorem isOpen_dense_isDiscrete_range_nat :
IsOpen (range nat) ∧ Dense (range nat) ∧ IsDiscrete (range nat)
Proof
:=
⟨isOpen_range_nat, dense_range_nat, isDiscrete_range_nat⟩
On this site: Franklin–Rajagopalan space: The natural numbers are open, dense and discrete
Compactness of the basic sets
definition downSet
TopologyByExample.FranklinRajagopalan.downSet
The basic set basic ⊥ i ∅: the indices j ≤ i and the natural numbers in cotower i.
def downSet (i : Index) : Set FranklinRajagopalan
:= basic ⊥ i ∅
theorem index_mem_downSet
TopologyByExample.FranklinRajagopalan.index_mem_downSet
Membership of an index in downSet i.
@[simp]
theorem index_mem_downSet {i j : Index} : index j ∈ downSet i ↔ j ≤ i
Proof
:= by
simp [downSet]
theorem nat_mem_downSet
TopologyByExample.FranklinRajagopalan.nat_mem_downSet
Membership of a natural number in downSet i.
@[simp]
theorem nat_mem_downSet {i : Index} {n : ℕ} : nat n ∈ downSet i ↔ n ∈ cotower i
Proof
:= by
simp [downSet]
theorem index_mem_downSet_self
TopologyByExample.FranklinRajagopalan.index_mem_downSet_self
index i lies in downSet i.
theorem index_mem_downSet_self (i : Index) : index i ∈ downSet i
Proof
:=
index_mem_downSet.2 le_rfl
theorem isOpen_downSet
TopologyByExample.FranklinRajagopalan.isOpen_downSet
downSet i is open.
theorem isOpen_downSet (i : Index) : IsOpen (downSet i)
Proof
:=
isOpen_basic _ _ _
theorem downSet_mem_nhds
TopologyByExample.FranklinRajagopalan.downSet_mem_nhds
downSet i is a neighbourhood of index i.
theorem downSet_mem_nhds (i : Index) : downSet i ∈ 𝓝 (index i)
Proof
:=
basic_mem_nhds (WithBot.bot_lt_coe i) ∅
theorem basic_bot_eq
TopologyByExample.FranklinRajagopalan.basic_bot_eq
A basic set with no lower bound is downSet i with finitely many natural numbers removed.
theorem basic_bot_eq (i : Index) (F : Finset ℕ) : basic ⊥ i F = downSet i \ nat '' F
theorem basic_coe_eq
TopologyByExample.FranklinRajagopalan.basic_coe_eq
A basic set with lower bound γ is downSet i with downSet γ and finitely many natural
numbers removed.
theorem basic_coe_eq (γ i : Index) (F : Finset ℕ) :
basic γ i F = downSet i \ (downSet γ ∪ nat '' F)
theorem basic_subset_downSet
TopologyByExample.FranklinRajagopalan.basic_subset_downSet
A basic set lies in the corresponding downSet.
theorem basic_subset_downSet (g : WithBot Index) (i : Index) (F : Finset ℕ) :
basic g i F ⊆ downSet i
theorem exists_isCompact_subset_downSet
TopologyByExample.FranklinRajagopalan.exists_isCompact_subset_downSet
The inductive step for the compactness of downSet i: given a basic neighbourhood of
index i, the rest of downSet i is covered by a compact subset of downSet i, provided the
downSet γ for γ < i are compact.
theorem exists_isCompact_subset_downSet {i : Index} (IH : ∀ γ < i, IsCompact (downSet γ))
{g : WithBot Index} (hg : g < i) (F : Finset ℕ) :
∃ L ⊆ downSet i, IsCompact L ∧ downSet i ⊆ basic g i F ∪ L
Proof
:= by
have hfin : IsCompact (nat '' (↑F ∩ cotower i)) :=
((F.finite_toSet.inter_of_left _).image nat).isCompact
have hfin' : nat '' (↑F ∩ cotower i) ⊆ downSet i := by
rintro _ ⟨n, hn, rfl⟩
exact nat_mem_downSet.2 hn.2
induction g with
| bot =>
refine ⟨_, hfin', hfin, fun x hx ↦ ?_⟩
cases x with
| nat n =>
rw [nat_mem_downSet] at hx
by_cases hn : n ∈ F
· exact Or.inr (by simp [hn, hx])
· exact Or.inl (by simp [hn, hx])
| index j =>
exact Or.inl (index_mem_basic.2 ⟨WithBot.bot_lt_coe j, index_mem_downSet.1 hx⟩)
| coe γ =>
have hγ : γ < i := WithBot.coe_lt_coe.1 hg
refine ⟨(downSet γ \ nat '' (cotower i)ᶜ) ∪ nat '' (↑F ∩ cotower i), union_subset ?_ hfin',
((IH γ hγ).diff (isOpen_image_nat _)).union hfin, fun x hx ↦ ?_⟩
· intro x hx
cases x with
| nat n => simpa using hx.2
| index j => exact index_mem_downSet.2 ((index_mem_downSet.1 hx.1).trans hγ.le)
· cases x with
| nat n =>
rw [nat_mem_downSet] at hx
by_cases hnγ : n ∈ cotower γ
· exact Or.inr (Or.inl (by simp [hnγ, hx]))
by_cases hn : n ∈ F
· exact Or.inr (Or.inr (by simp [hn, hx]))
· exact Or.inl (by simp [hn, hx, hnγ])
| index j =>
rw [index_mem_downSet] at hx
rcases lt_or_ge γ j with h | h
· exact Or.inl (index_mem_basic.2 ⟨WithBot.coe_lt_coe.2 h, hx⟩)
· exact Or.inr (Or.inl ⟨index_mem_downSet.2 h, index_notMem_image_nat⟩)
theorem isCompact_downSet
TopologyByExample.FranklinRajagopalan.isCompact_downSet
Each downSet i is compact, by well-founded induction on i.
theorem isCompact_downSet (i : Index) : IsCompact (downSet i)
Proof
:= by
refine WellFoundedLT.induction (motive := fun i ↦ IsCompact (downSet i)) i fun i IH ↦ ?_
refine isCompact_of_finite_subcover fun U hUo hU ↦ ?_
obtain ⟨k, hk⟩ := mem_iUnion.1 (hU (index_mem_downSet_self i))
obtain ⟨p, hp, hpU⟩ := (hasBasis_nhds_index i).mem_iff.1 ((hUo k).mem_nhds hk)
obtain ⟨L, hLi, hL, hiL⟩ := exists_isCompact_subset_downSet IH hp p.2
obtain ⟨t, ht⟩ := hL.elim_finite_subcover U hUo (hLi.trans hU)
classical
refine ⟨insert k t, fun x hx ↦ ?_⟩
rcases hiL hx with h | h
· exact mem_biUnion (Finset.mem_insert_self k t) (hpU h)
· obtain ⟨j, hj, hxj⟩ := mem_iUnion₂.1 (ht h)
exact mem_biUnion (Finset.mem_insert_of_mem hj) hxj
theorem isCompact_basic
TopologyByExample.FranklinRajagopalan.isCompact_basic
Every basic set is compact.
theorem isCompact_basic (g : WithBot Index) (i : Index) (F : Finset ℕ) :
IsCompact (basic g i F)
Proof
:= by
induction g with
| bot =>
rw [basic_bot_eq]
exact (isCompact_downSet i).diff (isOpen_image_nat _)
| coe γ =>
rw [basic_coe_eq]
exact (isCompact_downSet i).diff ((isOpen_downSet γ).union (isOpen_image_nat _))
theorem isClopen_basic
TopologyByExample.FranklinRajagopalan.isClopen_basic
Every basic set is clopen.
theorem isClopen_basic (g : WithBot Index) (i : Index) (F : Finset ℕ) :
IsClopen (basic g i F)
Proof
:=
⟨(isCompact_basic g i F).isClosed, isOpen_basic g i F⟩
theorem isCompact_and_isClopen_basic
TopologyByExample.FranklinRajagopalan.isCompact_and_isClopen_basic
Every basic set is compact, open and closed.
theorem isCompact_and_isClopen_basic (g : WithBot Index) (i : Index) (F : Finset ℕ) :
IsCompact (basic g i F) ∧ IsClopen (basic g i F)
Proof
:=
⟨isCompact_basic g i F, isClopen_basic g i F⟩
On this site: Franklin–Rajagopalan space: The basic sets are compact, open and closed
instance instLocallyCompactSpace
TopologyByExample.FranklinRajagopalan.instLocallyCompactSpace
The Franklin–Rajagopalan space is locally compact: every point has a neighbourhood basis of compact open sets.
instance instLocallyCompactSpace : LocallyCompactSpace FranklinRajagopalan
Proof
:= by
refine ⟨fun x s hs ↦ ?_⟩
cases x with
| nat n =>
exact ⟨{nat n}, (isOpen_singleton_nat n).mem_nhds rfl,
singleton_subset_iff.2 (mem_of_mem_nhds hs), isCompact_singleton⟩
| index i =>
obtain ⟨p, hp, hps⟩ := (hasBasis_nhds_index i).mem_iff.1 hs
exact ⟨_, basic_mem_nhds hp p.2, hps, isCompact_basic _ _ _⟩
On this site: Franklin–Rajagopalan space: Locally compact
instance instWeaklyLocallyCompactSpace
TopologyByExample.FranklinRajagopalan.instWeaklyLocallyCompactSpace
The Franklin–Rajagopalan space is weakly locally compact.
instance instWeaklyLocallyCompactSpace : WeaklyLocallyCompactSpace FranklinRajagopalan
Proof
:=
inferInstance
On this site: The Franklin–Rajagopalan space is weakly locally compact
instance instTotallySeparatedSpace
TopologyByExample.FranklinRajagopalan.instTotallySeparatedSpace
The Franklin–Rajagopalan space is totally separated: two distinct points are separated by a clopen set.
instance instTotallySeparatedSpace : TotallySeparatedSpace FranklinRajagopalan
Proof
:= by
have hdown (i : Index) : IsClopen (downSet i) := isClopen_basic _ _ _
refine totallySeparatedSpace_iff_exists_isClopen.2 fun x y hxy ↦ ?_
cases x with
| nat m =>
exact ⟨{nat m}, ⟨isClosed_singleton, isOpen_singleton_nat m⟩, rfl, fun h ↦ hxy h.symm⟩
| index i =>
cases y with
| nat n =>
exact ⟨{nat n}ᶜ, ⟨(isOpen_singleton_nat n).isClosed_compl, isClosed_singleton.isOpen_compl⟩,
by simp, by simp⟩
| index j =>
rcases le_or_gt i j with h | h
· have h' : i < j := h.lt_of_ne fun h ↦ hxy (congrArg index h)
exact ⟨downSet i, hdown i, index_mem_downSet_self i, by simpa using h'⟩
· exact ⟨(downSet j)ᶜ, (hdown j).compl, by simpa using h, by simp⟩
On this site: The Franklin–Rajagopalan space is totally separated
Noncompactness
theorem not_isCompact_range_index
TopologyByExample.FranklinRajagopalan.not_isCompact_range_index
The set of indices is closed but not compact.
theorem not_isCompact_range_index : ¬IsCompact (range index)
Proof
:= by
intro h
obtain ⟨t, ht⟩ := h.elim_finite_subcover downSet isOpen_downSet
(by rintro _ ⟨i, rfl⟩; exact mem_iUnion.2 ⟨i, index_mem_downSet_self i⟩)
obtain ⟨j, hj⟩ := exists_forall_lt_of_countable_towerLength t.countable_toSet
obtain ⟨i, hi, hji⟩ := mem_iUnion₂.1 (ht ⟨j, rfl⟩)
exact (hj i hi).not_ge (index_mem_downSet.1 hji)
theorem not_compactSpace
TopologyByExample.FranklinRajagopalan.not_compactSpace
The Franklin–Rajagopalan space is not compact: the indices form a closed set, covered by the
open sets downSet i with no finite subcover.
theorem not_compactSpace : ¬CompactSpace FranklinRajagopalan
Proof
:= fun _ ↦
not_isCompact_range_index isClosed_range_index.isCompact
On this site: The Franklin–Rajagopalan space is not compact
Sequential compactness
theorem exists_tendsto_nat
TopologyByExample.FranklinRajagopalan.exists_tendsto_nat
Van Douwen's argument. A sequence of natural numbers taking each value only finitely
often has a subsequence converging to an index: the least index i such that infinitely many
terms lie in cotower i.
theorem exists_tendsto_nat {v : ℕ → ℕ} (hv : ∀ m, {k | v k = m}.Finite) :
∃ i, ∃ φ : ℕ → ℕ, StrictMono φ ∧ Tendsto (fun k ↦ nat (v (φ k))) atTop (𝓝 (index i))
Proof
:= by
have hpre {S : Set ℕ} (hS : S.Finite) : (v ⁻¹' S).Finite :=
(hS.biUnion fun m _ ↦ hv m).subset fun k hk ↦ mem_biUnion (x := v k) hk rfl
have hrange : (range v).Infinite := fun h ↦ infinite_univ (by simpa using hpre h)
obtain ⟨i₀, hi₀⟩ := exists_infinite_inter_cotower hrange
have hne : {i | (v ⁻¹' cotower i).Infinite}.Nonempty := by
refine ⟨i₀, fun h ↦ hi₀ ((h.image v).subset ?_)⟩
rintro _ ⟨⟨k, rfl⟩, hk⟩
exact ⟨k, hk, rfl⟩
set M := wellFounded_lt.min _ hne
have hM : (v ⁻¹' cotower M).Infinite := wellFounded_lt.min_mem _ hne
have hlow {g : WithBot Index} (hg : g < M) : (v ⁻¹' lowCotower g).Finite := by
induction g with
| bot => simp
| coe γ =>
rw [lowCotower_coe]
by_contra h
exact wellFounded_lt.not_lt_min _ (x := γ) h (WithBot.coe_lt_coe.1 hg)
obtain ⟨φ, hφ, hφM⟩ := extraction_of_frequently_atTop (Nat.frequently_atTop_iff_infinite.2 hM)
refine ⟨M, φ, hφ, (hasBasis_nhds_index M).tendsto_right_iff.2 fun p hp ↦ ?_⟩
rw [← Nat.cofinite_eq_atTop, eventually_cofinite]
refine (((hlow hp).union (hpre p.2.finite_toSet)).preimage hφ.injective.injOn).subset
fun k hk ↦ ?_
simp only [mem_ofPred_eq, nat_mem_basic, not_and_or, not_not] at hk
rcases hk with hk | hk | hk
· exact absurd (hφM k) hk
· exact Or.inl hk
· exact Or.inr hk
theorem exists_tendsto_index
TopologyByExample.FranklinRajagopalan.exists_tendsto_index
A sequence of indices has a subsequence converging to an index: a monotone subsequence converges to its supremum, which exists since countable sets of indices are bounded.
theorem exists_tendsto_index (w : ℕ → Index) :
∃ i, ∃ φ : ℕ → ℕ, StrictMono φ ∧ Tendsto (fun k ↦ index (w (φ k))) atTop (𝓝 (index i))
Proof
:= by
obtain ⟨g, hg | hg⟩ := exists_increasing_or_nonincreasing_subseq (· ≤ ·) w
· have hmono : Monotone (w ∘ g) := by
refine monotone_nat_of_le_succ fun n ↦ hg n (n + 1) n.lt_succ_self
obtain ⟨b, hb⟩ := exists_forall_lt_of_countable_towerLength (countable_range (w ∘ g))
have hne : (upperBounds (range (w ∘ g))).Nonempty := ⟨b, fun _ hj ↦ (hb _ hj).le⟩
set i := wellFounded_lt.min _ hne
have hi : i ∈ upperBounds (range (w ∘ g)) := wellFounded_lt.min_mem _ hne
refine ⟨i, g, g.strictMono, (hasBasis_nhds_index i).tendsto_right_iff.2 fun p hp ↦ ?_⟩
have hle (k : ℕ) : w (g k) ≤ i := hi ⟨k, rfl⟩
induction hq : p.1 with
| bot => exact .of_forall fun k ↦ by simp [hle k]
| coe γ =>
rw [hq] at hp
have hγ : γ ∉ upperBounds (range (w ∘ g)) :=
fun h ↦ wellFounded_lt.not_lt_min _ h (WithBot.coe_lt_coe.1 hp)
simp only [mem_upperBounds, mem_range, forall_exists_index, forall_apply_eq_imp_iff,
Function.comp_apply, not_forall, not_le] at hγ
obtain ⟨k₀, hk₀⟩ := hγ
filter_upwards [eventually_ge_atTop k₀] with k hk
rw [index_mem_basic, WithBot.coe_lt_coe]
exact ⟨hk₀.trans_le (hmono hk), hle k⟩
· exfalso
obtain ⟨_, ⟨k, rfl⟩, hk⟩ := wellFounded_lt.has_min (range (w ∘ g)) ⟨_, mem_range_self 0⟩
exact hk _ ⟨k + 1, rfl⟩ (not_le.1 (hg k (k + 1) k.lt_succ_self))
instance instSeqCompactSpace
TopologyByExample.FranklinRajagopalan.instSeqCompactSpace
The Franklin–Rajagopalan space is sequentially compact.
instance instSeqCompactSpace : SeqCompactSpace FranklinRajagopalan
Proof
:= by
refine ⟨fun u _ ↦ ?_⟩
by_cases hnat : ∃ᶠ n in atTop, ∃ m, u n = nat m
· obtain ⟨φ₁, hφ₁, hu⟩ := extraction_of_frequently_atTop hnat
choose v hv using hu
by_cases hrep : ∃ m, {k | v k = m}.Infinite
· obtain ⟨m, hm⟩ := hrep
obtain ⟨φ₂, hφ₂, hvm⟩ :=
extraction_of_frequently_atTop (Nat.frequently_atTop_iff_infinite.2 hm)
refine ⟨nat m, mem_univ _, φ₁ ∘ φ₂, hφ₁.comp hφ₂, tendsto_const_nhds.congr fun k ↦ ?_⟩
simp [hv, hvm]
· push Not at hrep
obtain ⟨i, φ₂, hφ₂, ht⟩ := exists_tendsto_nat hrep
exact ⟨index i, mem_univ _, φ₁ ∘ φ₂, hφ₁.comp hφ₂, ht.congr fun k ↦ by simp [hv]⟩
· have hidx : ∀ᶠ n in atTop, ∃ i, u n = index i := (not_frequently.1 hnat).mono fun n hn ↦ by
cases h : u n with
| nat m => exact absurd ⟨m, h⟩ hn
| index i => exact ⟨i, rfl⟩
obtain ⟨φ₁, hφ₁, hu⟩ := extraction_of_eventually_atTop hidx
choose w hw using hu
obtain ⟨i, φ₂, hφ₂, ht⟩ := exists_tendsto_index w
exact ⟨index i, mem_univ _, φ₁ ∘ φ₂, hφ₁.comp hφ₂, ht.congr fun k ↦ by simp [hw]⟩
On this site: The Franklin–Rajagopalan space is sequentially compact
instance instCountablyCompactSpace
TopologyByExample.FranklinRajagopalan.instCountablyCompactSpace
The Franklin–Rajagopalan space is countably compact.
instance instCountablyCompactSpace : CountablyCompactSpace FranklinRajagopalan
Proof
:=
inferInstance
First countability: 𝔱 = ℵ₁
theorem firstCountableTopology_of_towerNumber_eq
TopologyByExample.FranklinRajagopalan.firstCountableTopology_of_towerNumber_eq
If 𝔱 = ℵ₁, the Franklin–Rajagopalan space is first countable: every proper initial
segment of the indices is countable, so the basic neighbourhoods of each index are countably
many.
theorem firstCountableTopology_of_towerNumber_eq (h : 𝔱 = Cardinal.aleph 1) :
FirstCountableTopology FranklinRajagopalan
Proof
:= by
refine ⟨fun x ↦ ?_⟩
cases x with
| nat n =>
rw [nhds_nat]
infer_instance
| index i =>
have hc : (Iio (i : WithBot Index)).Countable := by
refine (((countable_Iio_of_towerNumber_eq h i).image ((↑) : Index → WithBot Index)).insert
⊥).mono fun g hg ↦ ?_
induction g with
| bot => exact mem_insert _ _
| coe γ => exact mem_insert_of_mem _ ⟨γ, WithBot.coe_lt_coe.1 hg, rfl⟩
have hb : (𝓝 (index i)).HasCountableBasis (fun p : WithBot Index × Finset ℕ ↦ p.1 < i)
fun p ↦ basic p.1 i p.2 :=
⟨hasBasis_nhds_index i, (hc.prod countable_univ).mono fun p (hp : p.1 < i) ↦
(⟨hp, mem_univ _⟩ : p ∈ Iio (i : WithBot Index) ×ˢ univ)⟩
exact hb.isCountablyGenerated
On this site: The Franklin–Rajagopalan space is first countable (assuming \(\mathfrak{t} = \aleph_1\)); Problem: Nyikos's Problem 1: a separable, first countable, countably compact, noncompact Hausdorff space in ZFC
theorem not_firstCountableTopology_of_towerNumber_ne
TopologyByExample.FranklinRajagopalan.not_firstCountableTopology_of_towerNumber_ne
If 𝔱 ≠ ℵ₁, the Franklin–Rajagopalan space is not first countable: the index ω₁ has
no countable neighbourhood basis. Countably many basic neighbourhoods of it have lower bounds
below some β < ω₁, and the basic neighbourhood with lower bound β contains none of them, since
each contains β.
theorem not_firstCountableTopology_of_towerNumber_ne (h : 𝔱 ≠ Cardinal.aleph 1) :
¬FirstCountableTopology FranklinRajagopalan
Proof
:= by
intro hfc
obtain ⟨i, hi, -⟩ := exists_not_countable_Iio_of_towerNumber_ne h
obtain ⟨x, hx⟩ := (𝓝 (index i)).exists_antitone_basis
choose p hp hpx using fun n ↦ (hasBasis_nhds_index i).mem_iff.1 (hx.mem n)
have hc (n : ℕ) : ∃ c < ω₁, ∀ γ : Index, (p n).1 = γ → towerOrd γ ≤ c := by
induction hq : (p n).1 with
| bot => exact ⟨0, lt_of_le_of_lt zero_le Ordinal.omega0_lt_omega_one, by simp⟩
| coe γ =>
refine ⟨towerOrd γ, ?_, fun δ hδ ↦ by rw [WithBot.coe_inj.1 hδ]⟩
have := hp n
rw [hq, WithBot.coe_lt_coe] at this
exact hi ▸ towerOrd_lt_towerOrd.2 this
choose c hcω hcγ using hc
set b := succ (⨆ n, c n)
have hb : b < ω₁ := (Cardinal.isSuccLimit_omega 1).succ_lt (Ordinal.iSup_lt_omega_one hcω)
set β : Index := Ordinal.ToType.mk ⟨b, hb.trans (hi ▸ towerOrd_lt_towerLength i)⟩
have hβ : towerOrd β = b := towerOrd_mk _
have hβi : β < i := towerOrd_lt_towerOrd.1 (by rw [hβ, hi]; exact hb)
have hpβ (n : ℕ) : (p n).1 < β := by
induction hq : (p n).1 with
| bot => exact WithBot.bot_lt_coe β
| coe γ =>
refine WithBot.coe_lt_coe.2 (towerOrd_lt_towerOrd.1 ?_)
rw [hβ]
exact ((hcγ n γ hq).trans (Ordinal.le_iSup c n)).trans_lt (lt_succ _)
obtain ⟨n, -, hn⟩ := hx.toHasBasis.mem_iff.1 (basic_mem_nhds (WithBot.coe_lt_coe.2 hβi) ∅)
have hmem := index_mem_basic.1 (hn (hpx n (index_mem_basic.2 ⟨hpβ n, hβi.le⟩)))
exact lt_irrefl _ hmem.1
On this site: The Franklin–Rajagopalan space is not first countable (assuming \(\mathfrak{t} > \aleph_1\)); Problem: Nyikos's Problem 1: a separable, first countable, countably compact, noncompact Hausdorff space in ZFC
The indices as a subspace
theorem preimage_index_basic
TopologyByExample.FranklinRajagopalan.preimage_index_basic
The indices j with g < j ≤ i are the indices in basic g i F.
theorem preimage_index_basic (g : WithBot Index) (i : Index) (F : Finset ℕ) :
index ⁻¹' basic g i F = {j : Index | g < j ∧ j ≤ i}
Proof
:= by
ext j
simp
theorem isClosedEmbedding_index
TopologyByExample.FranklinRajagopalan.isClosedEmbedding_index
The indices form a closed copy of the well order 𝔱: for the order topology on the
indices (Preorder.topology), index is a closed embedding.
theorem isClosedEmbedding_index :
letI := Preorder.topology Index
IsClosedEmbedding index
Proof
:= by
let := Preorder.topology Index
have : OrderTopology Index := ⟨rfl⟩
refine ⟨⟨isInducing_iff_nhds.2 fun i ↦ Filter.ext fun s ↦ ?_, index_injective⟩,
isClosed_range_index⟩
rw [((hasBasis_nhds_index i).comap index).mem_iff]
simp only [preimage_index_basic]
constructor
· intro hs
by_cases hl : ∃ l, l < i
· obtain ⟨l, u, ⟨hli, hiu⟩, hlu⟩ :=
(mem_nhds_iff_exists_Ioo_subset' hl (exists_gt i)).1 hs
exact ⟨(l, ∅), WithBot.coe_lt_coe.2 hli, fun j hj ↦
hlu ⟨WithBot.coe_lt_coe.1 hj.1, hj.2.trans_lt hiu⟩⟩
· push Not at hl
refine ⟨(⊥, ∅), WithBot.bot_lt_coe i, fun j hj ↦ ?_⟩
rw [le_antisymm hj.2 (hl j)]
exact mem_of_mem_nhds hs
· rintro ⟨p, hp, hps⟩
refine mem_of_superset ?_ hps
induction hq : p.1 with
| bot =>
refine mem_of_superset (isOpen_Iio.mem_nhds (lt_succ i)) fun j hj ↦ ?_
exact ⟨WithBot.bot_lt_coe j, lt_succ_iff.1 hj⟩
| coe γ =>
rw [hq] at hp
refine mem_of_superset (Ioo_mem_nhds (WithBot.coe_lt_coe.1 hp) (lt_succ i)) fun j hj ↦ ?_
exact ⟨WithBot.coe_lt_coe.2 hj.1, lt_succ_iff.1 hj.2⟩
On this site: Franklin–Rajagopalan space: The indices form a closed copy of the ordinal
theorem isCompact_closure_image_index
TopologyByExample.FranklinRajagopalan.isCompact_closure_image_index
Every countable set of indices has compact closure: it lies in some downSet i, which is
compact.
theorem isCompact_closure_image_index {s : Set Index} (hs : s.Countable) :
IsCompact (closure (index '' s))
Proof
:= by
obtain ⟨i, hi⟩ := exists_forall_lt_of_countable_towerLength hs
refine (isCompact_downSet i).of_isClosed_subset isClosed_closure
(closure_minimal ?_ (isCompact_downSet i).isClosed)
rintro _ ⟨j, hj, rfl⟩
exact index_mem_downSet.2 (hi j hj).le
On this site: Franklin–Rajagopalan space: Countable sets of indices have compact closure
Increasing sequences of indices
theorem exists_strictMono_forall_mem
TopologyByExample.FranklinRajagopalan.exists_strictMono_forall_mem
If each S n is a cofinal set of indices, there is a strictly increasing sequence with
c n ∈ S n.
theorem exists_strictMono_forall_mem {S : ℕ → Set Index} (h : ∀ n α, ∃ j ∈ S n, α < j) :
∃ c : ℕ → Index, StrictMono c ∧ ∀ n, c n ∈ S n
theorem exists_tendsto_of_strictMono
TopologyByExample.FranklinRajagopalan.exists_tendsto_of_strictMono
A strictly increasing sequence of indices converges to its supremum s, which is not a
successor.
theorem exists_tendsto_of_strictMono {c : ℕ → Index} (hc : StrictMono c) :
∃ s, (∀ k, s ≠ succ k) ∧ Tendsto (fun n ↦ index (c n)) atTop (𝓝 (index s))
Proof
:= by
obtain ⟨b, hb⟩ := exists_forall_lt_of_countable_towerLength (countable_range c)
have hne : (upperBounds (range c)).Nonempty := ⟨b, fun _ hj ↦ (hb _ hj).le⟩
set s := wellFounded_lt.min _ hne
have hs : s ∈ upperBounds (range c) := wellFounded_lt.min_mem _ hne
have hlt (n : ℕ) : c n < s := (hc n.lt_succ_self).trans_le (hs ⟨n + 1, rfl⟩)
have hgt {g : Index} (hg : g < s) : ∃ n, g < c n := by
have : g ∉ upperBounds (range c) := fun h ↦ wellFounded_lt.not_lt_min _ h hg
simp only [mem_upperBounds, mem_range, forall_exists_index, forall_apply_eq_imp_iff,
not_forall, not_le] at this
exact this
refine ⟨s, fun k hk ↦ ?_, (hasBasis_nhds_index s).tendsto_right_iff.2 fun p hp ↦ ?_⟩
· obtain ⟨n, hn⟩ := hgt (hk ▸ lt_succ k)
exact (hlt n).not_ge (hk ▸ succ_le_of_lt hn)
· have : ∃ n₀, p.1 < c n₀ := by
induction hq : p.1 with
| bot => exact ⟨0, WithBot.bot_lt_coe _⟩
| coe γ =>
rw [hq] at hp
obtain ⟨n, hn⟩ := hgt (WithBot.coe_lt_coe.1 hp)
exact ⟨n, WithBot.coe_lt_coe.2 hn⟩
obtain ⟨n₀, hn₀⟩ := this
filter_upwards [eventually_ge_atTop n₀] with n hn
exact index_mem_basic.2 ⟨hn₀.trans_le (WithBot.coe_le_coe.2 (hc.monotone hn)), (hlt n).le⟩
theorem exists_tendsto_of_forall_exists_gt
TopologyByExample.FranklinRajagopalan.exists_tendsto_of_forall_exists_gt
If each S n is a cofinal set of indices, there is a strictly increasing sequence with
c n ∈ S n, converging to an index that is not a successor.
theorem exists_tendsto_of_forall_exists_gt {S : ℕ → Set Index} (h : ∀ n α, ∃ j ∈ S n, α < j) :
∃ c : ℕ → Index, (∀ n, c n ∈ S n) ∧ ∃ s, (∀ k, s ≠ succ k) ∧
Tendsto (fun n ↦ index (c n)) atTop (𝓝 (index s))
Proof
:= by
obtain ⟨c, hc, hcS⟩ := exists_strictMono_forall_mem h
exact ⟨c, hcS, exists_tendsto_of_strictMono hc⟩
theorem eq_succ_of_index_mem_basic
TopologyByExample.FranklinRajagopalan.eq_succ_of_index_mem_basic
A basic neighbourhood of a successor index succ k contains no other index.
theorem eq_succ_of_index_mem_basic {k j : Index} {F : Finset ℕ}
(h : index j ∈ basic k (succ k) F) : j = succ k
Proof
:= by
rw [index_mem_basic, WithBot.coe_lt_coe] at h
exact le_antisymm h.2 (succ_le_of_lt h.1)
Normality
theorem isCompact_of_isClosed_of_forall_le
TopologyByExample.FranklinRajagopalan.isCompact_of_isClosed_of_forall_le
A closed set whose indices are all at most α is compact: it lies in downSet α together
with finitely many natural numbers.
theorem isCompact_of_isClosed_of_forall_le {A : Set FranklinRajagopalan} (hA : IsClosed A)
{α : Index} (h : ∀ j, index j ∈ A → j ≤ α) : IsCompact A
Proof
:= by
set S := {n | nat n ∈ A ∧ n ∉ cotower α}
have hS : S.Finite := by
by_contra hS
let v : ℕ → ℕ := fun k ↦ (Set.Infinite.natEmbedding S hS k : ℕ)
have hvinj : Function.Injective v := fun a b hab ↦
(Set.Infinite.natEmbedding S hS).injective (Subtype.ext hab)
have hvS (k : ℕ) : v k ∈ S := (Set.Infinite.natEmbedding S hS k).property
obtain ⟨i, φ, -, ht⟩ := exists_tendsto_nat (v := v) fun m ↦
(finite_singleton m).preimage hvinj.injOn
have hi : index i ∈ A := hA.mem_of_tendsto ht (.of_forall fun k ↦ (hvS _).1)
obtain ⟨k, hk⟩ := (ht.eventually ((isOpen_downSet α).mem_nhds
(index_mem_downSet.2 (h i hi)))).exists
exact (hvS (φ k)).2 (nat_mem_downSet.1 hk)
refine (isCompact_downSet α).union (hS.image nat).isCompact |>.of_isClosed_subset hA
fun x hx ↦ ?_
cases x with
| nat n =>
by_cases hn : n ∈ cotower α
· exact Or.inl (nat_mem_downSet.2 hn)
· exact Or.inr ⟨n, ⟨hx, hn⟩, rfl⟩
| index j => exact Or.inl (index_mem_downSet.2 (h j hx))
On this site: Franklin–Rajagopalan space: Closed sets with bounded indices are compact
theorem exists_forall_le_of_disjoint
TopologyByExample.FranklinRajagopalan.exists_forall_le_of_disjoint
Of two disjoint closed sets, at least one has its indices bounded: otherwise indices chosen alternately from the two, increasing, converge to an index lying in both.
theorem exists_forall_le_of_disjoint {A B : Set FranklinRajagopalan} (hA : IsClosed A)
(hB : IsClosed B) (hAB : Disjoint A B) :
(∃ α, ∀ j, index j ∈ A → j ≤ α) ∨ ∃ α, ∀ j, index j ∈ B → j ≤ α
Proof
:= by
by_contra hcon
simp only [not_or, not_exists, not_forall, not_le, exists_prop] at hcon
obtain ⟨hA', hB'⟩ := hcon
obtain ⟨c, hcS, s, -, ht⟩ := exists_tendsto_of_forall_exists_gt
(S := fun n ↦ if Even n then index ⁻¹' A else index ⁻¹' B) fun n α ↦ by
split_ifs
· exact hA' α
· exact hB' α
have hmem (C : Set FranklinRajagopalan) (hC : IsClosed C) (f : ℕ → ℕ)
(hf : Tendsto f atTop atTop) (hfC : ∀ k, index (c (f k)) ∈ C) : index s ∈ C :=
hC.mem_of_tendsto (ht.comp hf) (.of_forall hfC)
refine disjoint_left.1 hAB
(hmem A hA (fun k ↦ 2 * k) (StrictMono.tendsto_atTop fun a b h ↦ by omega) fun k ↦ ?_)
(hmem B hB (fun k ↦ 2 * k + 1) (StrictMono.tendsto_atTop fun a b h ↦ by omega) fun k ↦ ?_)
· simpa [even_two_mul] using hcS (2 * k)
· simpa [Nat.not_even_two_mul_add_one] using hcS (2 * k + 1)
On this site: Franklin–Rajagopalan space: Of two disjoint closed sets, one has bounded indices
instance instRegularSpace
TopologyByExample.FranklinRajagopalan.instRegularSpace
The Franklin–Rajagopalan space is regular, being locally compact and Hausdorff.
instance instRegularSpace : RegularSpace FranklinRajagopalan
Proof
:= inferInstance
instance instNormalSpace
TopologyByExample.FranklinRajagopalan.instNormalSpace
The Franklin–Rajagopalan space is normal. Of two disjoint closed sets one has bounded indices, so is compact, and a compact set and a disjoint closed set in a regular space have disjoint neighbourhoods.
instance instNormalSpace : NormalSpace FranklinRajagopalan
Proof
where
normal A B hA hB hAB := by
rcases exists_forall_le_of_disjoint hA hB hAB with ⟨α, h⟩ | ⟨α, h⟩
· exact SeparatedNhds.of_isCompact_isClosed (isCompact_of_isClosed_of_forall_le hA h) hB hAB
· exact (SeparatedNhds.of_isCompact_isClosed (isCompact_of_isClosed_of_forall_le hB h) hA
hAB.symm).symm
On this site: The Franklin–Rajagopalan space is normal; Problem: Are the Franklin–Rajagopalan space and its initial part completely normal?; Problem: Is the countable power of the Franklin–Rajagopalan space normal?
check
The Franklin–Rajagopalan space is T₀.
example : T0Space FranklinRajagopalan
Proof
:= inferInstance
check
The Franklin–Rajagopalan space is T₁.
example : T1Space FranklinRajagopalan
Proof
:= inferInstance
instance instT25Space
TopologyByExample.FranklinRajagopalan.instT25Space
The Franklin–Rajagopalan space is Urysohn.
instance instT25Space : T25Space FranklinRajagopalan
Proof
:= inferInstance
instance instCompletelyRegularSpace
TopologyByExample.FranklinRajagopalan.instCompletelyRegularSpace
The Franklin–Rajagopalan space is completely regular.
instance instCompletelyRegularSpace : CompletelyRegularSpace FranklinRajagopalan
Proof
:=
inferInstance
Perfect normality
theorem not_perfectlyNormalSpace
TopologyByExample.FranklinRajagopalan.not_perfectlyNormalSpace
The Franklin–Rajagopalan space is not perfectly normal: its indices form a closed copy of
the well order 𝔱, in which countable sets are bounded, and such a well order is not perfectly
normal.
theorem not_perfectlyNormalSpace : ¬PerfectlyNormalSpace FranklinRajagopalan
Proof
:= fun _ ↦ by
let := Preorder.topology Index
have : OrderTopology Index := ⟨rfl⟩
exact not_perfectlyNormalSpace_of_bddAbove_of_countable
(fun _ hs ↦ isTower_shiftedTower.bddAbove_of_countable hs)
isClosedEmbedding_index.isInducing.perfectlyNormalSpace
On this site: The Franklin–Rajagopalan space is not perfectly normal
Complete normality
theorem discreteTopology_range_index_succ
TopologyByExample.FranklinRajagopalan.discreteTopology_range_index_succ
The successor indices form a discrete subspace.
theorem discreteTopology_range_index_succ :
DiscreteTopology (range fun k : Index ↦ index (succ k))
Proof
:= by
rw [← isDiscrete_iff_discreteTopology, isDiscrete_iff_forall_mem_exists_isOpen]
rintro _ ⟨k, rfl⟩
refine ⟨basic k (succ k) ∅, isOpen_basic _ _ _, subset_antisymm ?_ ?_⟩
· rintro _ ⟨hx, j, rfl⟩
simp only at hx ⊢
rw [mem_singleton_iff, eq_succ_of_index_mem_basic hx]
· rintro _ rfl
exact ⟨index_mem_basic_self (WithBot.coe_lt_coe.2 (lt_succ k)) _, k, rfl⟩
On this site: Franklin–Rajagopalan space: The successor indices form a discrete subspace
theorem two_pow_towerNumber_le_continuum
TopologyByExample.FranklinRajagopalan.two_pow_towerNumber_le_continuum
If the Franklin–Rajagopalan space is completely normal, then 2 ^ 𝔱 ≤ 𝔠. The successor
indices form a discrete subspace of cardinality 𝔱 of a separable space.
theorem two_pow_towerNumber_le_continuum (h : CompletelyNormalSpace FranklinRajagopalan) :
2 ^ 𝔱 ≤ 𝔠
Proof
:= by
have := discreteTopology_range_index_succ
have hmk : #(range fun k : Index ↦ index (succ k)) = 𝔱 := by
rw [mk_range_eq (fun k : Index ↦ index (succ k))
(index_injective.comp (succ_strictMono (α := Index)).injective),
mk_toType_towerLength]
exact hmk ▸ two_pow_mk_le_continuum_of_completelyNormalSpace
On this site: Franklin–Rajagopalan space: If the space is completely normal, then \(2^{\mathfrak{t}} \le \mathfrak{c}\); Problem: Are the Franklin–Rajagopalan space and its initial part completely normal?
theorem not_completelyNormalSpace_of_continuum_lt
TopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_continuum_lt
If 𝔠 < 2 ^ 𝔱, the Franklin–Rajagopalan space is not completely normal.
theorem not_completelyNormalSpace_of_continuum_lt (h : 𝔠 < 2 ^ 𝔱) :
¬CompletelyNormalSpace FranklinRajagopalan
Proof
:= fun hcn ↦
h.not_ge (two_pow_towerNumber_le_continuum hcn)
On this site: Problem: Are the Franklin–Rajagopalan space and its initial part completely normal?
theorem not_completelyNormalSpace_of_towerNumber_eq_continuum
TopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_towerNumber_eq_continuum
If 𝔱 = 𝔠 (for instance under the continuum hypothesis, or Martin's axiom), the
Franklin–Rajagopalan space is not completely normal.
theorem not_completelyNormalSpace_of_towerNumber_eq_continuum (h : 𝔱 = 𝔠) :
¬CompletelyNormalSpace FranklinRajagopalan
Proof
:=
not_completelyNormalSpace_of_continuum_lt (h ▸ cantor 𝔱)
On this site: Problem: Are the Franklin–Rajagopalan space and its initial part completely normal?
theorem not_completelyNormalSpace_of_continuum_eq_aleph_one
TopologyByExample.FranklinRajagopalan.not_completelyNormalSpace_of_continuum_eq_aleph_one
Under the continuum hypothesis the Franklin–Rajagopalan space is not completely normal.
theorem not_completelyNormalSpace_of_continuum_eq_aleph_one (h : Cardinal.continuum.{0} = ℵ₁) :
¬CompletelyNormalSpace FranklinRajagopalan
Proof
:=
not_completelyNormalSpace_of_towerNumber_eq_continuum
(le_antisymm towerNumber_le_continuum (h.le.trans aleph_one_le_towerNumber))
On this site: Problem: Are the Franklin–Rajagopalan space and its initial part completely normal?
Compact sets
theorem exists_forall_le_of_isCompact
TopologyByExample.FranklinRajagopalan.exists_forall_le_of_isCompact
A compact set of the Franklin–Rajagopalan space has its indices bounded: they form a compact set of the well order of indices, with its order topology.
theorem exists_forall_le_of_isCompact {K : Set FranklinRajagopalan} (hK : IsCompact K) :
∃ α, ∀ j, index j ∈ K → j ≤ α
Proof
:= by
let := Preorder.topology Index
have : OrderTopology Index := ⟨rfl⟩
obtain ⟨α, hα⟩ := (isClosedEmbedding_index.isCompact_preimage hK).bddAbove
exact ⟨α, fun j hj ↦ hα hj⟩
On this site: Franklin–Rajagopalan space: Compact sets have bounded indices
theorem not_sigmaCompactSpace
TopologyByExample.FranklinRajagopalan.not_sigmaCompactSpace
The Franklin–Rajagopalan space is not σ-compact: otherwise it would be Lindelöf, and a countably compact Lindelöf space is compact.
theorem not_sigmaCompactSpace : ¬SigmaCompactSpace FranklinRajagopalan
Proof
:= fun _ ↦
not_compactSpace LindelofSpace.compactSpace
The Franklin–Rajagopalan space
instance instScatteredSpace
TopologyByExample.FranklinRajagopalan.instScatteredSpace
The Franklin–Rajagopalan space is scattered: a set containing a natural number has it as
an isolated point, and a set of indices has its least index i isolated in it, since downSet i
contains no smaller index.
instance instScatteredSpace : ScatteredSpace FranklinRajagopalan
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun s hs ↦ ?_
by_cases hn : ∃ n, nat n ∈ s
· obtain ⟨n, hn⟩ := hn
exact ⟨nat n, hn, {nat n}, (isOpen_singleton_nat n).mem_nhds rfl, inter_subset_left⟩
push Not at hn
have hne : (index ⁻¹' s).Nonempty := by
obtain ⟨x, hx⟩ := hs
cases x with
| nat n => exact absurd hx (hn n)
| index i => exact ⟨i, hx⟩
obtain ⟨i, his, hmin⟩ := wellFounded_lt.has_min _ hne
refine ⟨index i, his, downSet i, downSet_mem_nhds i, ?_⟩
rintro x ⟨hxd, hxs⟩
cases x with
| nat n => exact absurd hxs (hn n)
| index j =>
rw [le_antisymm (index_mem_downSet.1 hxd) (not_lt.1 (hmin j hxs))]
rfl
On this site: The Franklin–Rajagopalan space is scattered