Lean library · module TopologyByExample.Spaces.StoneCechRemainder

The Stone–Čech remainder of the natural numbers

Source file

The remainder is the subspace of nonprincipal ultrafilters. Its basic clopen sets are indexed by subsets of the naturals.

This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

definition StoneCechRemainder

TopologyByExample.StoneCechRemainder

The free ultrafilters on the natural numbers, as a subspace of their compactification.

def StoneCechRemainder
:= {u : Ultrafilter ℕ // u ∉ range (pure : ℕ → Ultrafilter ℕ)}

On this site: Space: The Stone–Čech remainder of the natural numbers

instance

instance : TopologicalSpace StoneCechRemainder
Proof
:= inferInstanceAs (TopologicalSpace (Subtype _))

theorem isOpen_range_pure

TopologyByExample.StoneCechRemainder.isOpen_range_pure

The principal points form an open subset of the compactification.

theorem isOpen_range_pure : IsOpen (range (pure : ℕ → Ultrafilter ℕ))
Proof
:= by
  have h : range (pure : ℕ → Ultrafilter ℕ) =
      ⋃ n : ℕ, {u : Ultrafilter ℕ | {n} ∈ u} := by
    ext u
    simp only [mem_range, mem_iUnion, mem_ofPred_eq]
    constructor
    · rintro ⟨n, rfl⟩
      exact ⟨n, by simp⟩
    · rintro ⟨n, hn⟩
      obtain ⟨m, _, hm⟩ := Ultrafilter.eq_pure_of_finite_mem (finite_singleton n) hn
      exact ⟨m, hm.symm⟩
  rw [h]
  exact isOpen_iUnion fun n ↦ ultrafilter_isOpen_basic {n}

instance

instance : CompactSpace StoneCechRemainder
Proof
:=
  isCompact_iff_compactSpace.1 isOpen_range_pure.isClosed_compl.isCompact

instance

instance : T2Space StoneCechRemainder
Proof
:= inferInstanceAs (T2Space (Subtype _))

theorem notMem_of_finite

TopologyByExample.StoneCechRemainder.notMem_of_finite

A free ultrafilter contains no finite set.

theorem notMem_of_finite (u : StoneCechRemainder) {A : Set ℕ} (hA : A.Finite) :
    A ∉ u.val
Proof
:= by
  intro h
  obtain ⟨n, _, hn⟩ := Ultrafilter.eq_pure_of_finite_mem hA h
  exact u.property ⟨n, hn.symm⟩

definition basicSet

TopologyByExample.StoneCechRemainder.basicSet

The basic clopen set determined by a subset of the naturals.

def basicSet (A : Set ℕ) : Set StoneCechRemainder
:= {u | A ∈ u.val}

theorem isClopen_basicSet

TopologyByExample.StoneCechRemainder.isClopen_basicSet

Basic subsets of the remainder are clopen.

theorem isClopen_basicSet (A : Set ℕ) : IsClopen (basicSet A)
Proof
:=
  ⟨(ultrafilter_isClosed_basic A).preimage continuous_subtypeVal,
    (ultrafilter_isOpen_basic A).preimage continuous_subtypeVal⟩

theorem isTopologicalBasis_basic

TopologyByExample.StoneCechRemainder.isTopologicalBasis_basic

The subsets determined by ultrafilter membership form a topological basis.

theorem isTopologicalBasis_basic : IsTopologicalBasis (range basicSet)
Proof
:= by
  have heq : range basicSet =
      (Set.preimage (Subtype.val : StoneCechRemainder → Ultrafilter ℕ)) ''
        ultrafilterBasis ℕ := by
    ext U
    constructor
    · rintro ⟨A, rfl⟩
      exact ⟨{u : Ultrafilter ℕ | A ∈ u}, ⟨A, rfl⟩, rfl⟩
    · rintro ⟨V, ⟨A, rfl⟩, rfl⟩
      exact ⟨A, rfl⟩
  rw [heq]
  exact ultrafilterBasis_is_basis.induced
    (Subtype.val : StoneCechRemainder → Ultrafilter ℕ)

instance

instance : ZeroDimensionalSpace StoneCechRemainder
Proof
:=
  ZeroDimensionalSpace.of_isTopologicalBasis
    (by rintro U ⟨A, rfl⟩; exact isClopen_basicSet A) isTopologicalBasis_basic

theorem exists_basic_eq_of_isClopen

TopologyByExample.StoneCechRemainder.exists_basic_eq_of_isClopen

Every clopen subset of the remainder is determined by a subset of the naturals.

theorem exists_basic_eq_of_isClopen {U : Set StoneCechRemainder} (hU : IsClopen U) :
    ∃ A : Set ℕ, basicSet A = U
Proof
:= by
  classical
  have hb (u : U) : ∃ A : Set ℕ, u.val ∈ basicSet A ∧ basicSet A ⊆ U := by
    obtain ⟨V, ⟨A, rfl⟩, hu, hsub⟩ :=
      isTopologicalBasis_basic.mem_nhds_iff.1 (hU.isOpen.mem_nhds u.property)
    exact ⟨A, hu, hsub⟩
  choose A hm hs using hb
  obtain ⟨F, hF⟩ := hU.isClosed.isCompact.elim_finite_subcover
    (fun u : U ↦ basicSet (A u)) (fun u ↦ (isClopen_basicSet _).isOpen) (by
      intro u hu
      exact mem_iUnion.2 ⟨⟨u, hu⟩, hm ⟨u, hu⟩⟩)
  refine ⟨⋃ u ∈ F, A u, ?_⟩
  have heq : basicSet (⋃ u ∈ F, A u) = ⋃ u ∈ F, basicSet (A u) := by
    clear hF
    induction F using Finset.induction_on with
    | empty => ext v; simp [basicSet]
    | @insert u F hu ih =>
      simp only [Finset.mem_insert, iUnion_iUnion_eq_or_left]
      rw [← ih]
      ext v
      simp [basicSet, Ultrafilter.union_mem_iff]
  rw [heq]
  exact Subset.antisymm (iUnion₂_subset fun u _ ↦ hs u) hF

On this site: The Stone–Čech remainder of the natural numbers: Clopen subsets of the remainder

theorem basic_eq_empty_of_finite

TopologyByExample.StoneCechRemainder.basic_eq_empty_of_finite

Finite sets determine the empty basic set.

theorem basic_eq_empty_of_finite {A : Set ℕ} (hA : A.Finite) : basicSet A = ∅
Proof
:= by
  ext u
  simp [basicSet, notMem_of_finite u hA]

theorem basic_nonempty_of_infinite

TopologyByExample.StoneCechRemainder.basic_nonempty_of_infinite

Every infinite set belongs to a free ultrafilter.

theorem basic_nonempty_of_infinite {A : Set ℕ} (hA : A.Infinite) : (basicSet A).Nonempty
Proof
:= by
  have := hA.cofinite_inf_principal_neBot
  let u := Ultrafilter.of (cofinite ⊓ 𝓟 A)
  have hu : (u : Filter ℕ) ≤ cofinite := (Ultrafilter.of_le _).trans inf_le_left
  refine ⟨⟨u, ?_⟩, Ultrafilter.of_le _ (mem_inf_of_right (mem_principal_self A))⟩
  rintro ⟨n, hn⟩
  have h := hu (finite_singleton n).compl_mem_cofinite
  rw [← hn] at h
  simp at h

theorem basicSet_nonempty_iff

TopologyByExample.StoneCechRemainder.basicSet_nonempty_iff

A basic clopen set is nonempty exactly when its indexing set is infinite.

theorem basicSet_nonempty_iff (A : Set ℕ) : (basicSet A).Nonempty ↔ A.Infinite
Proof
:= by
  refine ⟨?_, basic_nonempty_of_infinite⟩
  rintro ⟨u, hu⟩ hA
  exact notMem_of_finite u hA hu

theorem basic_subset_iff

TopologyByExample.StoneCechRemainder.basic_subset_iff

Inclusion between basic clopen sets is inclusion modulo a finite set.

theorem basic_subset_iff (A B : Set ℕ) : basicSet A ⊆ basicSet B ↔ (A \ B).Finite
Proof
:= by
  constructor
  · intro h
    by_contra hinf
    obtain ⟨u, hu⟩ := basic_nonempty_of_infinite hinf
    obtain ⟨hA, hB⟩ := (u.val.sdiff_mem_iff).1 hu
    exact hB (h hA)
  · intro h u hA
    by_contra hB
    exact notMem_of_finite u h ((u.val.sdiff_mem_iff).2 ⟨hA, hB⟩)

On this site: The Stone–Čech remainder of the natural numbers: Inclusion of basic clopen subsets

theorem basic_eq_iff

TopologyByExample.StoneCechRemainder.basic_eq_iff

Basic clopen sets are equal precisely when both one-sided differences are finite.

theorem basic_eq_iff (A B : Set ℕ) :
    basicSet A = basicSet B ↔ (A \ B).Finite ∧ (B \ A).Finite
Proof
:= by
  rw [Subset.antisymm_iff, basic_subset_iff, basic_subset_iff]

theorem not_extremallyDisconnected

TopologyByExample.StoneCechRemainder.not_extremallyDisconnected

The Stone–Čech remainder is not extremally disconnected.

theorem not_extremallyDisconnected : ¬ExtremallyDisconnected StoneCechRemainder
Proof
:= by
  classical
  intro h
  let := h
  let U : Set StoneCechRemainder := ⋃ n : ℕ, basicSet (natPairColumn n)
  have hU : IsOpen U := isOpen_iUnion fun n ↦ (isClopen_basicSet _).isOpen
  obtain ⟨A, hA⟩ := exists_basic_eq_of_isClopen
    (show IsClopen (closure U) from ⟨isClosed_closure, h.open_closure U hU⟩)
  have hcol (n : ℕ) : (natPairColumn n \ A).Finite := by
    apply (basic_subset_iff _ _).1
    rw [hA]
    exact (subset_iUnion (fun n ↦ basicSet (natPairColumn n)) n).trans subset_closure
  have hnonempty (n : ℕ) : (natPairColumn n ∩ A).Nonempty := by
    have hi := (infinite_natPairColumn n).sdiff (hcol n)
    have heq : natPairColumn n \ (natPairColumn n \ A) = natPairColumn n ∩ A := by
      ext k
      simp only [Set.mem_sdiff, mem_inter_iff]
      tauto
    rw [heq] at hi
    exact hi.nonempty
  choose x hx using hnonempty
  have hinj : Function.Injective x := by
    intro m n hmn
    by_contra hne
    exact (disjoint_left.1 (disjoint_natPairColumn hne)) (hx m).1 (hmn ▸ (hx n).1)
  let B : Set ℕ := A \ range x
  have hcolB (n : ℕ) : (natPairColumn n \ B).Finite := by
    refine ((hcol n).union (finite_singleton (x n))).subset ?_
    intro k hk
    by_cases hkA : k ∈ A
    · have hkx : k ∈ range x := by
        by_contra hnot
        exact hk.2 ⟨hkA, hnot⟩
      obtain ⟨m, rfl⟩ := hkx
      have hmn : m = n := by
        by_contra hne
        exact disjoint_left.1 (disjoint_natPairColumn hne) (hx m).1 hk.1
      exact Or.inr (by simp [hmn])
    · exact Or.inl ⟨hk.1, hkA⟩
  have hUB : U ⊆ basicSet B := iUnion_subset fun n ↦ (basic_subset_iff _ _).2 (hcolB n)
  have hAB : (A \ B).Finite := (basic_subset_iff _ _).1 (by
    rw [hA]
    exact closure_minimal hUB (isClopen_basicSet B).isClosed)
  have hsub : range x ⊆ A \ B := by
    rintro k ⟨n, rfl⟩
    exact ⟨(hx n).2, fun hk ↦ hk.2 (mem_range_self n)⟩
  exact (infinite_range_of_injective hinj) (hAB.subset hsub)

On this site: The Stone–Čech remainder of the natural numbers is not extremally disconnected

theorem disjoint_basic_of_finite_inter

TopologyByExample.StoneCechRemainder.disjoint_basic_of_finite_inter

Almost-disjoint sets determine disjoint clopen subsets of the remainder.

theorem disjoint_basic_of_finite_inter {A B : Set ℕ} (h : (A ∩ B).Finite) :
    Disjoint (basicSet A) (basicSet B)
Proof
:= by
  refine disjoint_left.2 fun u hA hB ↦ ?_
  exact notMem_of_finite u h (inter_mem hA hB)

definition branchPoint

TopologyByExample.StoneCechRemainder.branchPoint

The ultrafilter associated to a binary branch is free.

noncomputable def branchPoint (f : ℕ → Bool) : StoneCechRemainder
Definition
:=
  ⟨StoneCechNaturals.branchUltrafilter f, by
    rintro ⟨n, hn⟩
    have h := StoneCechNaturals.notMem_branchUltrafilter_of_finite f (finite_singleton n)
    rw [← hn] at h
    exact h (by simp)⟩

theorem injective_branchPoint

TopologyByExample.StoneCechRemainder.injective_branchPoint

Distinct binary branches give distinct points of the remainder.

theorem injective_branchPoint : Function.Injective branchPoint
Proof
:= by
  intro f g h
  exact StoneCechNaturals.branchUltrafilter_injective (congrArg Subtype.val h)

instance

instance : Infinite StoneCechRemainder
Proof
:= Infinite.of_injective _ injective_branchPoint

instance

instance : Nonempty StoneCechRemainder
Proof
:= ⟨branchPoint fun _ ↦ false⟩

theorem pairwise_disjoint_branch_basic

TopologyByExample.StoneCechRemainder.pairwise_disjoint_branch_basic

The branch sets determine pairwise disjoint nonempty clopen subsets.

theorem pairwise_disjoint_branch_basic : Pairwise fun f g : ℕ → Bool ↦
    Disjoint (basicSet (range (StoneCechNaturals.branchCode f)))
      (basicSet (range (StoneCechNaturals.branchCode g)))
Proof
:=
  fun _ _ h ↦ disjoint_basic_of_finite_inter
    (StoneCechNaturals.finite_range_branchCode_inter h)

theorem not_countableChainCondition

TopologyByExample.StoneCechRemainder.not_countableChainCondition

The remainder does not satisfy the countable chain condition.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set StoneCechRemainder), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:= by
  let U := fun f : ℕ → Bool ↦ basicSet (range (StoneCechNaturals.branchCode f))
  have hne (f : ℕ → Bool) : (U f).Nonempty :=
    ⟨branchPoint f, StoneCechNaturals.range_branchCode_mem f⟩
  have hinj : Function.Injective U := by
    intro f g h
    by_contra hfg
    have hd := pairwise_disjoint_branch_basic hfg
    change Disjoint (U f) (U g) at hd
    rw [h] at hd
    exact (hne g).ne_empty (disjoint_self.1 hd)
  intro h
  have hc : (range U).Countable := h _ (by
    rintro s ⟨f, rfl⟩
    exact ⟨(isClopen_basicSet _).2, hne f⟩) (by
    rintro s ⟨f, rfl⟩ t ⟨g, rfl⟩ hfg
    exact pairwise_disjoint_branch_basic (fun h ↦ hfg (congrArg U h)))
  have hc' : (Set.univ : Set (ℕ → Bool)).Countable :=
    countable_of_injective_of_countable_image hinj.injOn (by simpa using hc)
  have hcard := Cardinal.mk_le_aleph0_iff.2 (countable_univ_iff.1 hc')
  have heq : Cardinal.mk (ℕ → Bool) = Cardinal.continuum := by simp
  rw [heq] at hcard
  exact Cardinal.aleph0_lt_continuum.not_ge hcard

On this site: The Stone–Čech remainder of the natural numbers does not satisfy the countable chain condition

theorem not_separableSpace

TopologyByExample.StoneCechRemainder.not_separableSpace

The remainder is not separable.

theorem not_separableSpace : ¬SeparableSpace StoneCechRemainder
Proof
:= by
  intro h
  let := h
  exact not_countableChainCondition countableChainCondition_of_separableSpace

theorem exists_ne_mem_basic

TopologyByExample.StoneCechRemainder.exists_ne_mem_basic

Every basic neighbourhood contains a point different from its prescribed point.

theorem exists_ne_mem_basic (u : StoneCechRemainder) {A : Set ℕ} (hu : u ∈ basicSet A) :
    ∃ v ∈ basicSet A, v ≠ u
Proof
:= by
  have hA : A.Infinite := fun h ↦ notMem_of_finite u h hu
  let e := hA.natEmbedding A
  have hinj (k : ℕ) : Function.Injective fun n ↦ (e (2 * n + k) : ℕ) := by
    intro m n hmn
    have := e.injective (Subtype.ext hmn)
    omega
  let B : Set ℕ := range fun n ↦ (e (2 * n) : ℕ)
  let C : Set ℕ := range fun n ↦ (e (2 * n + 1) : ℕ)
  have hBC : Disjoint B C := by
    refine disjoint_left.2 ?_
    rintro _ ⟨m, rfl⟩ ⟨n, hn⟩
    have := e.injective (Subtype.ext hn)
    omega
  have hBi : B.Infinite := by simpa only [Nat.add_zero] using infinite_range_of_injective (hinj 0)
  have hCi : C.Infinite := infinite_range_of_injective (hinj 1)
  obtain ⟨T, hTA, hTi, hTu⟩ : ∃ T ⊆ A, T.Infinite ∧ T ∉ u.val := by
    by_cases hBu : B ∈ u.val
    · refine ⟨C, ?_, hCi, fun hCu ↦ ?_⟩
      · rintro _ ⟨n, rfl⟩
        exact (e _).property
      · have hne := Ultrafilter.nonempty_of_mem (inter_mem hBu hCu)
        rw [hBC.inter_eq] at hne
        exact not_nonempty_empty hne
    · refine ⟨B, ?_, hBi, hBu⟩
      rintro _ ⟨n, rfl⟩
      exact (e _).property
  obtain ⟨v, hv⟩ := basic_nonempty_of_infinite hTi
  exact ⟨v, mem_of_superset hv hTA, fun h ↦ hTu (h ▸ hv)⟩

theorem not_scatteredSpace

TopologyByExample.StoneCechRemainder.not_scatteredSpace

The remainder has no isolated points, so is not scattered.

theorem not_scatteredSpace : ¬ScatteredSpace StoneCechRemainder
Proof
:= by
  intro h
  apply Set.univ_nonempty.ne_empty (h.eq_empty_of_preperfect univ ?_)
  apply preperfect_iff_nhds.2
  intro u _ V hV
  obtain ⟨W, ⟨A, rfl⟩, hu, hAV⟩ := isTopologicalBasis_basic.mem_nhds_iff.1 hV
  obtain ⟨v, hv, hne⟩ := exists_ne_mem_basic u hu
  exact ⟨v, ⟨hAV hv, mem_univ _⟩, hne⟩

On this site: The Stone–Čech remainder of the natural numbers is not scattered

definition columnPoint

TopologyByExample.StoneCechRemainder.columnPoint

A free ultrafilter supported on a pairing column.

noncomputable def columnPoint (n : ℕ) : StoneCechRemainder
Definition
:=
  ⟨(hyperfilter ℕ).map (Nat.pair n), by
    rintro ⟨k, hk⟩
    have hinj : Function.Injective (Nat.pair n) := fun a b h ↦ (Nat.pair_eq_pair.1 h).2
    have hf := ((finite_singleton k).preimage hinj.injOn).notMem_hyperfilter
    apply hf
    apply Ultrafilter.mem_map.1
    rw [← hk]
    simp⟩

definition betaEmbedding

TopologyByExample.StoneCechRemainder.betaEmbedding

The continuous extension of the column points to the compactification.

noncomputable def betaEmbedding : Ultrafilter ℕ → StoneCechRemainder
:=
  Ultrafilter.extend columnPoint

theorem continuous_betaEmbedding

TopologyByExample.StoneCechRemainder.continuous_betaEmbedding

The extension of the column points is continuous.

theorem continuous_betaEmbedding : Continuous betaEmbedding
Proof
:=
  continuous_ultrafilter_extend columnPoint

theorem continuous_columnProjection

TopologyByExample.StoneCechRemainder.continuous_columnProjection

Projecting each natural number to its pairing-column index extends continuously.

theorem continuous_columnProjection :
    Continuous (fun u : Ultrafilter ℕ ↦ u.map (fun k ↦ (Nat.unpair k).1))
Proof
:= by
  apply ultrafilterBasis_is_basis.continuous_iff.2
  rintro _ ⟨A, rfl⟩
  exact ultrafilter_isOpen_basic ((fun k ↦ (Nat.unpair k).1) ⁻¹' A)

theorem columnProjection_columnPoint

TopologyByExample.StoneCechRemainder.columnProjection_columnPoint

Column projection sends a column point to its principal index.

theorem columnProjection_columnPoint (n : ℕ) :
    (columnPoint n).val.map (fun k ↦ (Nat.unpair k).1) = pure n
Proof
:= by
  change ((hyperfilter ℕ).map (Nat.pair n)).map _ = _
  rw [Ultrafilter.map_map]
  simp only [Function.comp_def, Nat.unpair_pair]
  apply Ultrafilter.coe_injective
  exact Filter.map_const

theorem columnProjection_betaEmbedding

TopologyByExample.StoneCechRemainder.columnProjection_betaEmbedding

Column projection is a left inverse of the extension.

theorem columnProjection_betaEmbedding (u : Ultrafilter ℕ) :
    (betaEmbedding u).val.map (fun k ↦ (Nat.unpair k).1) = u
Proof
:= by
  have heq : (fun u ↦ (betaEmbedding u).val.map (fun k ↦ (Nat.unpair k).1)) = id := by
    apply denseRange_pure.equalizer
      (continuous_columnProjection.comp (continuous_subtypeVal.comp continuous_betaEmbedding))
      continuous_id
    funext n
    have h := congrFun (ultrafilter_extend_extends columnPoint) n
    change betaEmbedding (pure n) = columnPoint n at h
    change (betaEmbedding (pure n)).val.map _ = pure n
    rw [h]
    exact columnProjection_columnPoint n
  exact congrFun heq u

theorem isClosedEmbedding_betaEmbedding

TopologyByExample.StoneCechRemainder.isClosedEmbedding_betaEmbedding

The remainder contains a closed copy of the Stone–Čech compactification.

theorem isClosedEmbedding_betaEmbedding : IsClosedEmbedding betaEmbedding
Proof
:= by
  apply continuous_betaEmbedding.isClosedEmbedding
  intro u v huv
  have h := congrArg (fun z : StoneCechRemainder ↦
    z.val.map (fun k ↦ (Nat.unpair k).1)) huv
  simpa only [columnProjection_betaEmbedding] using h

On this site: The Stone–Čech remainder of the natural numbers: A closed copy of the compactification

theorem not_completelyNormalSpace

TopologyByExample.StoneCechRemainder.not_completelyNormalSpace

The remainder is not completely normal.

theorem not_completelyNormalSpace : ¬CompletelyNormalSpace StoneCechRemainder
Proof
:= by
  intro h
  let := h
  exact StoneCechNaturals.not_completelyNormalSpace
    isClosedEmbedding_betaEmbedding.isEmbedding.isInducing.completelyNormalSpace

On this site: The Stone–Čech remainder of the natural numbers is not completely normal

theorem cardinality

TopologyByExample.StoneCechRemainder.cardinality

The remainder has cardinality two to the continuum.

theorem cardinality : Cardinal.mk StoneCechRemainder = 2 ^ Cardinal.continuum
Proof
:= by
  let : Infinite (Ultrafilter ℕ) := Infinite.of_injective _ Ultrafilter.pure_injective
  have hcard : Cardinal.mk (Ultrafilter ℕ) = 2 ^ Cardinal.continuum := by
    rw [Cardinal.mk_ultrafilter_of_infinite, Cardinal.mk_nat, Cardinal.two_power_aleph0]
  have hsmall : Cardinal.mk (range (pure : ℕ → Ultrafilter ℕ)) <
      Cardinal.mk (Ultrafilter ℕ) := by
    rw [Cardinal.mk_range_eq _ Ultrafilter.pure_injective, Cardinal.mk_nat, hcard]
    exact Cardinal.aleph0_lt_continuum.trans (Cardinal.cantor _)
  exact (Cardinal.mk_compl_of_infinite (range (pure : ℕ → Ultrafilter ℕ)) hsmall).trans hcard

On this site: The Stone–Čech remainder of the natural numbers: Cardinality of the remainder

theorem cardinality_le

TopologyByExample.StoneCechRemainder.cardinality_le

The remainder has at most two-to-the-continuum many points.

theorem cardinality_le : Cardinal.mk StoneCechRemainder ≤ 2 ^ Cardinal.continuum
Proof
:=
  cardinality.le

On this site: The Stone–Čech remainder of the natural numbers has cardinality at most \(2^{\mathfrak{c}}\)

theorem not_cardinality_continuum

TopologyByExample.StoneCechRemainder.not_cardinality_continuum

The remainder does not have cardinality continuum.

theorem not_cardinality_continuum :
    ¬Cardinal.mk StoneCechRemainder = Cardinal.continuum
Proof
:= by
  rw [cardinality]
  exact (Cardinal.cantor _).ne'

On this site: The Stone–Čech remainder of the natural numbers does not have cardinality equal to \(\mathfrak{c}\)

theorem not_cardinality_less_than_continuum

TopologyByExample.StoneCechRemainder.not_cardinality_less_than_continuum

The remainder does not have cardinality smaller than continuum.

theorem not_cardinality_less_than_continuum :
    ¬Cardinal.mk StoneCechRemainder < Cardinal.continuum
Proof
:= by
  rw [cardinality]
  exact (Cardinal.cantor _).le.not_gt

On this site: The Stone–Čech remainder of the natural numbers does not have cardinality less than \(\mathfrak{c}\)

instance

Every convergent sequence in the remainder is eventually equal to its limit.

instance : SequentiallyDiscreteSpace StoneCechRemainder
Proof
where
  eventually_eq_of_tendsto u x hu := by
    let := extremallyDisconnected_ultrafilter ℕ
    let := SequentiallyDiscreteSpace.of_extremallyDisconnected (X := Ultrafilter ℕ)
    have h := SequentiallyDiscreteSpace.eventually_eq_of_tendsto
      (fun n ↦ (u n).val) x.val (continuous_subtypeVal.tendsto x |>.comp hu)
    exact h.mono fun _ hn ↦ Subtype.ext hn

theorem not_seqCompactSpace

TopologyByExample.StoneCechRemainder.not_seqCompactSpace

Compactness of the remainder does not imply sequential compactness.

theorem not_seqCompactSpace : ¬SeqCompactSpace StoneCechRemainder
Proof
:= by
  intro h
  let := h
  let := SequentiallyDiscreteSpace.finite (X := StoneCechRemainder)
  exact not_finite StoneCechRemainder

On this site: The Stone–Čech remainder of the natural numbers is not sequentially compact