Lean library · module TopologyByExample.Spaces.KatetovSubspace
Katětov's subspace of βℕ
Enumerate the rationals as rat : ℕ ≃ ℚ. For a real number r let approx r n = ⌊2ⁿ r⌋ / 2ⁿ, the
n-th dyadic truncation of r, and code r n = rat.symm (approx r n) its index. Fix a free
ultrafilter v on ℕ and let point v r = v.map (code r), the ultrafilter of the sets A with
{n | code r n ∈ A} ∈ v. Katětov's space KatetovSubspace v is the subspace of
βℕ = Ultrafilter ℕ made of the principal ultrafilters and the ultrafilters point v r with
r irrational.
The key fact is setOf_mem_point: for every neighbourhood V of r, the set of indices of the
rationals in V belongs to point v r. So for r irrational point v r is free, and for r ≠ t
the set range (code r) belongs to point v r but not to point v t.
Main statements
separableSpace: the principal ultrafilters form a countable dense set.extremallyDisconnected: the space is a dense subspace of the extremally disconnected spaceβℕ.scatteredSpace: every principal ultrafilter is isolated, and the other points form a discrete set.exists_closed_discrete_continuum_le: the pointspoint v r,rirrational, form a closed discrete set of cardinality𝔠.not_weaklyLocallyCompactSpace: no pointpoint v rhas a compact neighbourhood.not_pseudocompactSpace: the integer part of the rational enumerated by a point (the integermwith{k | ⌊rat k⌋ = m}in the ultrafilter) is a continuous unbounded function.
The statements are proved for every free ultrafilter v; the ones at Filter.hyperfilter ℕ
carry the suffix _hyperfilter.
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
The points
definition rat
TopologyByExample.KatetovSubspace.rat
An enumeration of the rationals.
noncomputable def rat : ℕ ≃ ℚ
:= (Denumerable.eqv ℚ).symm
definition approx
TopologyByExample.KatetovSubspace.approx
The n-th dyadic truncation ⌊2ⁿ r⌋ / 2ⁿ of a real number r.
noncomputable def approx (r : ℝ) (n : ℕ) : ℚ
:= (⌊r * 2 ^ n⌋ : ℚ) / 2 ^ n
definition code
TopologyByExample.KatetovSubspace.code
The index of the n-th dyadic truncation of r in the enumeration of the rationals.
noncomputable def code (r : ℝ) (n : ℕ) : ℕ
:= rat.symm (approx r n)
definition point
TopologyByExample.KatetovSubspace.point
The ultrafilter on ℕ of the sets containing the indices of the dyadic truncations of r
along the ultrafilter v.
noncomputable def point (v : Ultrafilter ℕ) (r : ℝ) : Ultrafilter ℕ
:= v.map (code r)
theorem approx_cast
TopologyByExample.KatetovSubspace.approx_cast
theorem approx_cast (r : ℝ) (n : ℕ) : (approx r n : ℝ) = ⌊r * 2 ^ n⌋ / 2 ^ n
Proof
:= by
simp [approx]
theorem approx_le_and_sub_lt
TopologyByExample.KatetovSubspace.approx_le_and_sub_lt
The dyadic truncations of r lie within 2⁻ⁿ below r.
theorem approx_le_and_sub_lt (r : ℝ) (n : ℕ) :
(approx r n : ℝ) ≤ r ∧ r - (2 ^ n)⁻¹ < approx r n
Proof
:= by
have h2 : (0 : ℝ) < 2 ^ n := by positivity
rw [approx_cast]
refine ⟨(div_le_iff₀ h2).2 (Int.floor_le _), ?_⟩
rw [lt_div_iff₀ h2, sub_mul, inv_mul_cancel₀ h2.ne']
linarith [Int.lt_floor_add_one (r * 2 ^ n)]
theorem tendsto_approx
TopologyByExample.KatetovSubspace.tendsto_approx
The dyadic truncations of r converge to r.
theorem tendsto_approx (r : ℝ) : Tendsto (fun n ↦ (approx r n : ℝ)) atTop (𝓝 r)
Proof
:= by
have h : Tendsto (fun n : ℕ ↦ r - ((2 : ℝ) ^ n)⁻¹) atTop (𝓝 r) := by
simpa using tendsto_const_nhds.sub
(tendsto_inv_atTop_zero.comp (tendsto_pow_atTop_atTop_of_one_lt (one_lt_two (α := ℝ))))
exact tendsto_of_tendsto_of_tendsto_of_le_of_le h tendsto_const_nhds
(fun n ↦ (approx_le_and_sub_lt r n).2.le) fun n ↦ (approx_le_and_sub_lt r n).1
variable {v : Ultrafilter ℕ}
theorem setOf_mem_point
TopologyByExample.KatetovSubspace.setOf_mem_point
For every neighbourhood V of r, the indices of the rationals in V form a member of
point v r.
theorem setOf_mem_point (hv : (v : Filter ℕ) ≤ cofinite) {r : ℝ} {V : Set ℝ} (hV : V ∈ 𝓝 r) :
{k | (rat k : ℝ) ∈ V} ∈ point v r
Proof
:= by
have h : {n | (approx r n : ℝ) ∈ V} ∈ (cofinite : Filter ℕ) := by
rw [Nat.cofinite_eq_atTop]
exact tendsto_approx r hV
refine Ultrafilter.mem_map.2 (hv ?_)
simpa [code] using h
On this site: Katětov's subspace of βℕ: The point \(p_r\) lies over \(r\)
theorem notMem_of_le_cofinite
TopologyByExample.KatetovSubspace.notMem_of_le_cofinite
A finite set belongs to no free ultrafilter.
theorem notMem_of_le_cofinite {u : Ultrafilter ℕ} (hu : (u : Filter ℕ) ≤ cofinite) {s : Set ℕ}
(hs : s.Finite) : s ∉ u
Proof
:=
Ultrafilter.compl_mem_iff_notMem.1 (hu hs.compl_mem_cofinite)
theorem point_le_cofinite
TopologyByExample.KatetovSubspace.point_le_cofinite
For r irrational, point v r is free.
theorem point_le_cofinite (hv : (v : Filter ℕ) ≤ cofinite) {r : ℝ} (hr : Irrational r) :
((point v r : Ultrafilter ℕ) : Filter ℕ) ≤ cofinite
Proof
:= by
refine (point v r).le_cofinite_or_eq_pure.resolve_right ?_
rintro ⟨k, hk⟩
have h : {j | (rat j : ℝ) ∈ ({(rat k : ℝ)}ᶜ : Set ℝ)} ∈ point v r :=
setOf_mem_point hv (isOpen_compl_singleton.mem_nhds (hr.ne_rat (rat k)))
rw [hk, Ultrafilter.mem_pure] at h
exact h rfl
On this site: Katětov's subspace of βℕ: The points \(p_r\) are free
theorem range_code_mem
TopologyByExample.KatetovSubspace.range_code_mem
The set of indices of the dyadic truncations of r belongs to point v r.
theorem range_code_mem (r : ℝ) : range (code r) ∈ point v r
Proof
:=
Ultrafilter.mem_map.2 (by rw [preimage_range]; exact univ_mem)
theorem range_code_notMem
TopologyByExample.KatetovSubspace.range_code_notMem
For r ≠ t with t irrational, the set of indices of the dyadic truncations of r does not
belong to point v t: it meets the indices of the rationals near t in a finite set.
theorem range_code_notMem (hv : (v : Filter ℕ) ≤ cofinite) {r t : ℝ} (ht : Irrational t)
(hrt : r ≠ t) :
range (code r) ∉ point v t
Proof
:= by
obtain ⟨V, W, hV, hW, hrV, htW, hVW⟩ := t2_separation hrt
have hfin : {n | (approx r n : ℝ) ∈ W}.Finite := by
have h : {n | (approx r n : ℝ) ∈ V} ∈ (cofinite : Filter ℕ) := by
rw [Nat.cofinite_eq_atTop]
exact tendsto_approx r (hV.mem_nhds hrV)
refine (mem_cofinite.1 h).subset fun n hn ↦ ?_
exact fun hnV ↦ hVW.le_bot ⟨hnV, hn⟩
intro hmem
have hW' := setOf_mem_point hv (r := t) (hW.mem_nhds htW)
refine notMem_of_le_cofinite (point_le_cofinite hv ht) (hfin.image (code r))
(mem_of_superset (inter_mem hmem hW') ?_)
rintro _ ⟨⟨n, rfl⟩, hn⟩
exact ⟨n, by simpa [code] using hn, rfl⟩
theorem point_injOn
TopologyByExample.KatetovSubspace.point_injOn
The points of different irrationals are different.
theorem point_injOn (hv : (v : Filter ℕ) ≤ cofinite) : InjOn (point v) {r | Irrational r}
Proof
:= by
intro r _ t ht h
by_contra hrt
exact range_code_notMem hv ht hrt (h ▸ range_code_mem r)
theorem range_code_mem_point_iff
TopologyByExample.KatetovSubspace.range_code_mem_point_iff
For t irrational, the indices of the dyadic truncations of r belong to point v t exactly
when r = t.
theorem range_code_mem_point_iff (hv : (v : Filter ℕ) ≤ cofinite) {r t : ℝ} (ht : Irrational t) :
range (code r) ∈ point v t ↔ r = t
Proof
:=
⟨fun h ↦ by_contra fun hrt ↦ range_code_notMem hv ht hrt h, by rintro rfl; exact range_code_mem r⟩
On this site: Katětov's subspace of βℕ: The set \(E_r\) belongs to \(p_t\) only for \(t = r\)
theorem eq_of_range_code_mem
TopologyByExample.KatetovSubspace.eq_of_range_code_mem
If point v t contains the indices of the dyadic truncations of r, then t = r.
theorem eq_of_range_code_mem (hv : (v : Filter ℕ) ≤ cofinite) {r t : ℝ} (ht : Irrational t)
(h : range (code r) ∈ point v t) : r = t
Proof
:=
by_contra fun hrt ↦ range_code_notMem hv ht hrt h
The space
definition katetovSet
TopologyByExample.KatetovSubspace.katetovSet
The principal ultrafilters together with the ultrafilters point v r, r irrational.
noncomputable def katetovSet (v : Ultrafilter ℕ) : Set (Ultrafilter ℕ)
:=
range pure ∪ point v '' {r | Irrational r}
definition KatetovSubspace
TopologyByExample.KatetovSubspace
Katětov's subspace of βℕ: the principal ultrafilters on ℕ and the ultrafilters
point v r, r irrational, as a subspace of Ultrafilter ℕ.
abbrev _root_.TopologyByExample.KatetovSubspace (v : Ultrafilter ℕ) : Type
:= katetovSet v
definition nat
TopologyByExample.KatetovSubspace.nat
The principal ultrafilter of k, as a point of the space.
def nat (v : Ultrafilter ℕ) (k : ℕ) : KatetovSubspace v
:= ⟨pure k, Or.inl ⟨k, rfl⟩⟩
instance
The space is nonempty.
instance (v : Ultrafilter ℕ) : Nonempty (KatetovSubspace v)
Proof
:= ⟨nat v 0⟩
theorem mem_katetovSet
TopologyByExample.KatetovSubspace.mem_katetovSet
A point of the space is principal or of the form point v r with r irrational.
theorem mem_katetovSet {u : Ultrafilter ℕ} :
u ∈ katetovSet v ↔ (∃ k, u = pure k) ∨ ∃ r, Irrational r ∧ point v r = u
Proof
:= by
simp [katetovSet, eq_comm]
theorem dense_katetovSet
TopologyByExample.KatetovSubspace.dense_katetovSet
The principal ultrafilters are dense in βℕ, so the space is a dense subset.
theorem dense_katetovSet : Dense (katetovSet v)
Proof
:=
denseRange_pure.mono subset_union_left
theorem eq_pure_of_singleton_mem
TopologyByExample.KatetovSubspace.eq_pure_of_singleton_mem
A principal ultrafilter pure k is the only ultrafilter containing {k}.
theorem eq_pure_of_singleton_mem {u : Ultrafilter ℕ} {k : ℕ} (h : {k} ∈ u) : u = pure k
Proof
:= by
obtain ⟨j, hj, rfl⟩ := Ultrafilter.eq_pure_of_finite_mem (finite_singleton k) h
rw [mem_singleton_iff.1 hj]
theorem isOpen_setOf_mem_range_pure
TopologyByExample.KatetovSubspace.isOpen_setOf_mem_range_pure
The set of principal ultrafilters is open in the space.
theorem isOpen_setOf_mem_range_pure : IsOpen {x : KatetovSubspace v | x.val ∈ range pure}
Proof
:= by
refine isOpen_iff_mem_nhds.2 ?_
rintro x ⟨k, hk⟩
refine mem_of_superset (continuous_subtypeVal.continuousAt.preimage_mem_nhds
((ultrafilter_isOpen_basic {k}).mem_nhds (by simp [← hk]))) ?_
intro y hy
exact ⟨k, (eq_pure_of_singleton_mem hy).symm⟩
theorem separableSpace
TopologyByExample.KatetovSubspace.separableSpace
The space is separable: the principal ultrafilters are dense.
theorem separableSpace : SeparableSpace (KatetovSubspace v)
Proof
:= by
refine ⟨⟨range (nat v), countable_range _, Subtype.dense_iff.2 ?_⟩⟩
rw [← range_comp]
exact fun _ _ ↦ denseRange_pure.closure_range ▸ mem_univ _
theorem extremallyDisconnected
TopologyByExample.KatetovSubspace.extremallyDisconnected
The space is extremally disconnected, as a dense subspace of βℕ.
theorem extremallyDisconnected : ExtremallyDisconnected (KatetovSubspace v)
theorem totallySeparatedSpace
TopologyByExample.KatetovSubspace.totallySeparatedSpace
The space is totally separated, as a subspace of βℕ.
theorem totallySeparatedSpace : TotallySeparatedSpace (KatetovSubspace v)
Proof
:= inferInstance
theorem zeroDimensionalSpace
TopologyByExample.KatetovSubspace.zeroDimensionalSpace
The space is zero-dimensional, as a subspace of βℕ.
theorem zeroDimensionalSpace : ZeroDimensionalSpace (KatetovSubspace v)
Proof
:= inferInstance
theorem eq_of_mem_of_notMem_range_pure
TopologyByExample.KatetovSubspace.eq_of_mem_of_notMem_range_pure
The basic open set of the indices of the dyadic truncations of r contains no other point of
the space outside the principal ultrafilters than point v r.
theorem eq_of_mem_of_notMem_range_pure (hv : (v : Filter ℕ) ≤ cofinite) {r : ℝ}
{x : KatetovSubspace v}
(hx : range (code r) ∈ x.val) (hxp : x.val ∉ range pure) : x.val = point v r
Proof
:= by
rcases mem_katetovSet.1 x.property with ⟨k, hk⟩ | ⟨t, ht, htx⟩
· exact absurd ⟨k, hk.symm⟩ hxp
· rw [← htx] at hx ⊢
rw [eq_of_range_code_mem hv ht hx]
theorem scatteredSpace
TopologyByExample.KatetovSubspace.scatteredSpace
The space is scattered: a principal ultrafilter is isolated, and a set of non-principal
points has each point point v r isolated by the basic open set of range (code r).
theorem scatteredSpace (hv : (v : Filter ℕ) ≤ cofinite) : ScatteredSpace (KatetovSubspace v)
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun S hS ↦ ?_
by_cases hp : ∃ x ∈ S, x.val ∈ range pure
· obtain ⟨x, hxS, k, hk⟩ := hp
refine ⟨x, hxS, Subtype.val ⁻¹' {u | {k} ∈ u},
continuous_subtypeVal.continuousAt.preimage_mem_nhds
((ultrafilter_isOpen_basic {k}).mem_nhds (by simp [← hk])), ?_⟩
rintro y ⟨hy, -⟩
exact Subtype.ext ((eq_pure_of_singleton_mem hy).trans hk)
· push Not at hp
obtain ⟨x, hxS⟩ := hS
obtain ⟨r, hr, hrx⟩ : ∃ r, Irrational r ∧ point v r = x.val :=
(mem_katetovSet.1 x.property).resolve_left fun ⟨k, hk⟩ ↦ hp x hxS ⟨k, hk.symm⟩
refine ⟨x, hxS, Subtype.val ⁻¹' {u | range (code r) ∈ u},
continuous_subtypeVal.continuousAt.preimage_mem_nhds
((ultrafilter_isOpen_basic _).mem_nhds (by simp [← hrx, range_code_mem])), ?_⟩
rintro y ⟨hy, hyS⟩
exact Subtype.ext ((eq_of_mem_of_notMem_range_pure hv hy (hp y hyS)).trans hrx)
theorem mk_irrational
TopologyByExample.KatetovSubspace.mk_irrational
The irrationals have the cardinality of the continuum.
theorem mk_irrational : #{r : ℝ | Irrational r} = 𝔠
Proof
:= by
have h : #(range ((↑) : ℚ → ℝ)) < #ℝ := by
rw [mk_real]
exact (le_aleph0_iff_set_countable.2 (countable_range _)).trans_lt aleph0_lt_continuum
rw [← mk_real, ← mk_compl_of_infinite _ h]
rfl
theorem exists_closed_discrete_continuum_le
TopologyByExample.KatetovSubspace.exists_closed_discrete_continuum_le
The non-principal points of the space form a closed discrete set of cardinality 𝔠.
theorem exists_closed_discrete_continuum_le (hv : (v : Filter ℕ) ≤ cofinite) :
∃ s : Set (KatetovSubspace v), IsClosed s ∧ IsDiscrete s ∧ 𝔠 ≤ #s
Proof
:= by
refine ⟨{x | x.val ∉ range pure}, isOpen_setOf_mem_range_pure.isClosed_compl, ?_, ?_⟩
· refine isDiscrete_iff_forall_mem_exists_isOpen.2 fun x hx ↦ ?_
obtain ⟨r, hr, hrx⟩ : ∃ r, Irrational r ∧ point v r = x.val :=
(mem_katetovSet.1 x.property).resolve_left fun ⟨k, hk⟩ ↦ hx ⟨k, hk.symm⟩
refine ⟨Subtype.val ⁻¹' {u | range (code r) ∈ u},
(ultrafilter_isOpen_basic _).preimage continuous_subtypeVal, ?_⟩
ext y
refine ⟨fun ⟨hy, hyp⟩ ↦ Subtype.ext ((eq_of_mem_of_notMem_range_pure hv hy hyp).trans hrx),
?_⟩
rintro rfl
exact ⟨by simp [← hrx, range_code_mem], hx⟩
· rw [← mk_irrational]
let f : {r : ℝ | Irrational r} → {x : KatetovSubspace v | x.val ∉ range pure} := fun r ↦
⟨⟨point v r, Or.inr ⟨r, r.property, rfl⟩⟩, fun ⟨k, hk⟩ ↦
notMem_of_le_cofinite (point_le_cofinite hv r.property) (finite_singleton k)
(by
rw [show point v r = pure k from hk.symm]
exact Ultrafilter.mem_pure.2 rfl)⟩
refine mk_le_of_injective (f := f) fun r t h ↦
Subtype.ext (point_injOn hv r.property t.property ?_)
simpa [f] using congrArg (fun x ↦ x.val.val) h
theorem mem_closure_image_pure
TopologyByExample.KatetovSubspace.mem_closure_image_pure
An ultrafilter containing a set C lies in the closure of the principal ultrafilters of the
points of C.
theorem mem_closure_image_pure {u : Ultrafilter ℕ} {C : Set ℕ} (hC : C ∈ u) :
u ∈ closure (pure '' C)
Proof
:= by
refine ultrafilterBasis_is_basis.mem_closure_iff.2 ?_
rintro _ ⟨D, rfl⟩ hD
obtain ⟨k, hkD, hkC⟩ := u.nonempty_of_mem (inter_mem hD hC)
exact ⟨pure k, Ultrafilter.mem_pure.2 hkD, k, hkC, rfl⟩
theorem not_weaklyLocallyCompactSpace
TopologyByExample.KatetovSubspace.not_weaklyLocallyCompactSpace
The space is not weakly locally compact: a compact neighbourhood of point v √2 would contain
the principal ultrafilters of an infinite set C of indices of dyadic truncations of √2, with
C ∉ point v √2; it is closed in βℕ, so it would contain a free ultrafilter containing C,
which is no point of the space.
theorem not_weaklyLocallyCompactSpace (hv : (v : Filter ℕ) ≤ cofinite) :
¬WeaklyLocallyCompactSpace (KatetovSubspace v)
Proof
:= by
intro h
set r := √2
have hr : Irrational r := irrational_sqrt_two
let x : KatetovSubspace v := ⟨point v r, Or.inr ⟨r, hr, rfl⟩⟩
obtain ⟨K, hK, hKx⟩ := h.exists_compact_mem_nhds x
rw [nhds_subtype, mem_comap] at hKx
obtain ⟨O, hO, hOK⟩ := hKx
obtain ⟨_, ⟨A, rfl⟩, hA, hAO⟩ := ultrafilterBasis_is_basis.mem_nhds_iff.1 hO
have hB : A ∩ range (code r) ∈ point v r := inter_mem hA (range_code_mem r)
have hBinf : (A ∩ range (code r)).Infinite := fun hfin ↦
notMem_of_le_cofinite (point_le_cofinite hv hr) hfin hB
obtain ⟨C, hCB, hCinf, hCr⟩ := exists_infinite_subset_notMem hBinf (point v r)
have := hCinf.cofinite_inf_principal_neBot
set G := Ultrafilter.of (cofinite ⊓ 𝓟 C)
have hGle : (G : Filter ℕ) ≤ cofinite ⊓ 𝓟 C := Ultrafilter.of_le _
have hGC : C ∈ G := le_principal_iff.1 (hGle.trans inf_le_right)
have hGfree : (G : Filter ℕ) ≤ cofinite := hGle.trans inf_le_left
have hsub : pure '' C ⊆ Subtype.val '' K := by
rintro _ ⟨k, hk, rfl⟩
refine ⟨nat v k, hOK (hAO (Ultrafilter.mem_pure.2 (hCB hk).1)), rfl⟩
have hGK : G ∈ Subtype.val '' K :=
closure_minimal hsub (hK.image continuous_subtypeVal).isClosed (mem_closure_image_pure hGC)
obtain ⟨y, -, hyG⟩ := hGK
rcases mem_katetovSet.1 y.property with ⟨k, hk⟩ | ⟨t, ht, hty⟩
· refine notMem_of_le_cofinite hGfree (finite_singleton k) ?_
rw [← hyG, hk]
exact Ultrafilter.mem_pure.2 rfl
· have hrange : range (code r) ∈ point v t := by
rw [hty, hyG]
exact mem_of_superset hGC fun k hk ↦ (hCB hk).2
have hrt := eq_of_range_code_mem hv ht hrange
subst hrt
exact hCr (by rw [hty, hyG]; exact hGC)
Not pseudocompact
definition floorIndex
TopologyByExample.KatetovSubspace.floorIndex
The integer m for which the ultrafilter u contains the indices of the rationals with
integer part m, if there is one (and 0 otherwise).
noncomputable def floorIndex (u : Ultrafilter ℕ) : ℤ
:=
if h : ∃ m : ℤ, {k | ⌊rat k⌋ = m} ∈ u then h.choose else 0
theorem floorIndex_eq
TopologyByExample.KatetovSubspace.floorIndex_eq
theorem floorIndex_eq {u : Ultrafilter ℕ} {m : ℤ} (h : {k | ⌊rat k⌋ = m} ∈ u) :
floorIndex u = m
Proof
:= by
have hex : ∃ m : ℤ, {k | ⌊rat k⌋ = m} ∈ u := ⟨m, h⟩
rw [floorIndex, dite_eq_left_of_eq_true (eq_true hex)]
obtain ⟨k, hk1, hk2⟩ := u.nonempty_of_mem (inter_mem hex.choose_spec h)
exact hk1.symm.trans hk2
theorem exists_setOf_floor_mem
TopologyByExample.KatetovSubspace.exists_setOf_floor_mem
Every point of the space contains the indices of the rationals with some integer part.
theorem exists_setOf_floor_mem (hv : (v : Filter ℕ) ≤ cofinite) (x : KatetovSubspace v) :
∃ m : ℤ, {k | ⌊rat k⌋ = m} ∈ x.val
Proof
:= by
rcases mem_katetovSet.1 x.property with ⟨k, hk⟩ | ⟨r, hr, hrx⟩
· exact ⟨⌊rat k⌋, by rw [hk]; exact Ultrafilter.mem_pure.2 rfl⟩
· refine ⟨⌊r⌋, ?_⟩
have hlt : (⌊r⌋ : ℝ) < r := (Int.floor_le r).lt_of_ne (hr.ne_int _).symm
have h := setOf_mem_point hv (v := v) (Ioo_mem_nhds hlt (Int.lt_floor_add_one r))
rw [← hrx]
refine mem_of_superset h fun k hk ↦ ?_
simp only [mem_ofPred_eq, mem_Ioo] at hk ⊢
rw [← Rat.floor_cast (α := ℝ), Int.floor_eq_iff]
exact ⟨hk.1.le, hk.2⟩
definition floorFunction
TopologyByExample.KatetovSubspace.floorFunction
The integer part of the rationals enumerated along a point, as a continuous real function on the space: it is constant on the open set of the points containing the indices of the rationals with a given integer part.
noncomputable def floorFunction (hv : (v : Filter ℕ) ≤ cofinite) : C(KatetovSubspace v, ℝ)
Definition
where
toFun x := floorIndex x.val
continuous_toFun := by
refine continuous_iff_continuousAt.2 fun x ↦ ?_
obtain ⟨m, hm⟩ := exists_setOf_floor_mem hv x
refine (continuousAt_const (y := (m : ℝ))).congr ?_
filter_upwards [continuous_subtypeVal.continuousAt.preimage_mem_nhds
((ultrafilter_isOpen_basic _).mem_nhds hm)] with y hy
rw [floorIndex_eq hy]
theorem not_pseudocompactSpace
TopologyByExample.KatetovSubspace.not_pseudocompactSpace
The space is not pseudocompact: the integer part of the rationals enumerated along a point is a continuous unbounded function.
theorem not_pseudocompactSpace (hv : (v : Filter ℕ) ≤ cofinite) :
¬PseudocompactSpace (KatetovSubspace v)
Proof
:= by
intro h
refine not_bddAbove_iff.2 (fun M ↦ ?_) (h.bddAbove_and_bddBelow_range (floorFunction hv)).1
refine ⟨_, ⟨nat v (rat.symm ((⌊M⌋ + 1 : ℤ) : ℚ)), rfl⟩, ?_⟩
have h1 : floorIndex (pure (rat.symm ((⌊M⌋ + 1 : ℤ) : ℚ))) = ⌊M⌋ + 1 :=
floorIndex_eq (Ultrafilter.mem_pure.2 (by simp))
change M < (floorIndex (pure (rat.symm ((⌊M⌋ + 1 : ℤ) : ℚ))) : ℝ)
rw [h1]
push_cast
exact Int.lt_floor_add_one M
The space at the hyperfilter
theorem separableSpace_hyperfilter
TopologyByExample.KatetovSubspace.separableSpace_hyperfilter
Katětov's space at the hyperfilter is separable.
theorem separableSpace_hyperfilter : SeparableSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
separableSpace
On this site: Katětov's subspace of βℕ is separable
theorem extremallyDisconnected_hyperfilter
TopologyByExample.KatetovSubspace.extremallyDisconnected_hyperfilter
Katětov's space at the hyperfilter is extremally disconnected.
theorem extremallyDisconnected_hyperfilter :
ExtremallyDisconnected (KatetovSubspace (hyperfilter ℕ))
Proof
:=
extremallyDisconnected
On this site: Katětov's subspace of βℕ is extremally disconnected
theorem totallySeparatedSpace_hyperfilter
TopologyByExample.KatetovSubspace.totallySeparatedSpace_hyperfilter
Katětov's space at the hyperfilter is totally separated.
theorem totallySeparatedSpace_hyperfilter :
TotallySeparatedSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
totallySeparatedSpace
On this site: Katětov's subspace of βℕ is totally separated
theorem zeroDimensionalSpace_hyperfilter
TopologyByExample.KatetovSubspace.zeroDimensionalSpace_hyperfilter
Katětov's space at the hyperfilter is zero-dimensional.
theorem zeroDimensionalSpace_hyperfilter :
ZeroDimensionalSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
zeroDimensionalSpace
On this site: Katětov's subspace of βℕ is zero-dimensional
theorem scatteredSpace_hyperfilter
TopologyByExample.KatetovSubspace.scatteredSpace_hyperfilter
Katětov's space at the hyperfilter is scattered.
theorem scatteredSpace_hyperfilter : ScatteredSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
scatteredSpace hyperfilter_le_cofinite
On this site: Katětov's subspace of βℕ is scattered
theorem exists_closed_discrete_continuum_le_hyperfilter
TopologyByExample.KatetovSubspace.exists_closed_discrete_continuum_le_hyperfilter
Katětov's space at the hyperfilter has a closed discrete set of cardinality 𝔠.
theorem exists_closed_discrete_continuum_le_hyperfilter :
∃ s : Set (KatetovSubspace (hyperfilter ℕ)), IsClosed s ∧ IsDiscrete s ∧ 𝔠 ≤ #s
Proof
:=
exists_closed_discrete_continuum_le hyperfilter_le_cofinite
On this site: Katětov's subspace of βℕ has a closed discrete subset of cardinality \(\mathfrak{c}\)
theorem not_weaklyLocallyCompactSpace_hyperfilter
TopologyByExample.KatetovSubspace.not_weaklyLocallyCompactSpace_hyperfilter
Katětov's space at the hyperfilter is not weakly locally compact.
theorem not_weaklyLocallyCompactSpace_hyperfilter :
¬WeaklyLocallyCompactSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
not_weaklyLocallyCompactSpace hyperfilter_le_cofinite
On this site: Katětov's subspace of βℕ is not weakly locally compact
theorem not_pseudocompactSpace_hyperfilter
TopologyByExample.KatetovSubspace.not_pseudocompactSpace_hyperfilter
Katětov's space at the hyperfilter is not pseudocompact.
theorem not_pseudocompactSpace_hyperfilter :
¬PseudocompactSpace (KatetovSubspace (hyperfilter ℕ))
Proof
:=
not_pseudocompactSpace hyperfilter_le_cofinite
On this site: Katětov's subspace of βℕ is not pseudocompact
On this site: Space: Katětov's subspace of βℕ