Lean library · module TopologyByExample.Theorems.UltrafilterCardinalities

Cardinalities of ultrafilter spaces

Source file

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

theorem stoneCech

TopologyByExample.UltrafilterCardinalities.stoneCech

The ultrafilters on the natural numbers have cardinality two to the continuum.

theorem stoneCech : #(Ultrafilter ℕ) = 2 ^ 𝔠
Proof
:= by
  rw [mk_ultrafilter_of_infinite, mk_nat, two_power_aleph0]

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

theorem strong

TopologyByExample.UltrafilterCardinalities.strong

The strong ultrafilter carrier lists precisely the principal and free ultrafilters.

theorem strong : #StrongUltrafilter = 2 ^ 𝔠
Proof
:= by
  let f : StrongUltrafilter → Ultrafilter ℕ := Sum.elim pure Subtype.val
  have hf : Function.Bijective f := by
    constructor
    · intro x y h
      cases x with
      | inl n =>
        cases y with
        | inl m => exact congrArg Sum.inl (Ultrafilter.pure_injective h)
        | inr u =>
          have hu := u.property ((finite_singleton n).compl_mem_cofinite)
          change pure n = u.val at h
          rw [← h] at hu
          simp at hu
      | inr u =>
        cases y with
        | inl n =>
          have hu := u.property ((finite_singleton n).compl_mem_cofinite)
          change u.val = pure n at h
          rw [h] at hu
          simp at hu
        | inr v => exact congrArg Sum.inr (Subtype.ext h)
    · intro u
      rcases u.le_cofinite_or_eq_pure with hu | ⟨n, rfl⟩
      · exact ⟨Sum.inr ⟨u, hu⟩, rfl⟩
      · exact ⟨Sum.inl n, rfl⟩
  exact (mk_congr (Equiv.ofBijective f hf)).trans stoneCech

On this site: Strong ultrafilter topology: Cardinality

theorem stoneCech_not_continuum

TopologyByExample.UltrafilterCardinalities.stoneCech_not_continuum

The Stone–Čech compactification of the naturals is larger than continuum.

theorem stoneCech_not_continuum : ¬ CardinalityContinuum (Ultrafilter ℕ)
Proof
:= by
  unfold CardinalityContinuum
  rw [stoneCech]
  exact (cantor 𝔠).ne'

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

theorem strong_not_continuum

TopologyByExample.UltrafilterCardinalities.strong_not_continuum

The strong ultrafilter space is larger than continuum.

theorem strong_not_continuum : ¬ CardinalityContinuum StrongUltrafilter
Proof
:= by
  unfold CardinalityContinuum
  rw [strong]
  exact (cantor 𝔠).ne'

On this site: The strong ultrafilter topology does not have cardinality equal to \(\mathfrak{c}\)

theorem stoneCech_not_less

TopologyByExample.UltrafilterCardinalities.stoneCech_not_less

The Stone–Čech compactification of the naturals is not smaller than continuum.

theorem stoneCech_not_less : ¬ CardinalityLessThanContinuum (Ultrafilter ℕ)
Proof
:= by
  unfold CardinalityLessThanContinuum
  rw [stoneCech]
  exact (cantor 𝔠).le.not_gt

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

theorem strong_not_less

TopologyByExample.UltrafilterCardinalities.strong_not_less

The strong ultrafilter space is not smaller than continuum.

theorem strong_not_less : ¬ CardinalityLessThanContinuum StrongUltrafilter
Proof
:= by
  unfold CardinalityLessThanContinuum
  rw [strong]
  exact (cantor 𝔠).le.not_gt

On this site: The strong ultrafilter topology does not have cardinality less than \(\mathfrak{c}\)

theorem katetov

TopologyByExample.UltrafilterCardinalities.katetov

Katětov's specified subspace has continuum cardinality.

theorem katetov (v : Ultrafilter ℕ) (hv : (v : Filter ℕ) ≤ cofinite) :
    CardinalityContinuum (KatetovSubspace v)
Proof
:= by
  unfold CardinalityContinuum
  apply le_antisymm
  · let f : ℕ ⊕ {r : ℝ // Irrational r} → KatetovSubspace v :=
      Sum.elim (KatetovSubspace.nat v)
        (fun r => ⟨KatetovSubspace.point v r, Or.inr ⟨r, r.property, rfl⟩⟩)
    have hf : Function.Surjective f := by
      intro x
      rcases KatetovSubspace.mem_katetovSet.1 x.property with ⟨n, hn⟩ | ⟨r, hr, hx⟩
      · exact ⟨Sum.inl n, Subtype.ext hn.symm⟩
      · exact ⟨Sum.inr ⟨r, hr⟩, Subtype.ext hx⟩
    calc
      #(KatetovSubspace v) ≤ #(ℕ ⊕ {r : ℝ // Irrational r}) := mk_le_of_surjective hf
      _ = 𝔠 := by
        rw [mk_sum, lift_id, lift_id, mk_nat]
        change ℵ₀ + #{r : ℝ | Irrational r} = 𝔠
        rw [KatetovSubspace.mk_irrational, add_comm]
        exact add_eq_left aleph0_le_continuum aleph0_le_continuum
  · obtain ⟨s, _, _, hs⟩ := KatetovSubspace.exists_closed_discrete_continuum_le hv
    exact hs.trans (mk_set_le s)

On this site: Katětov's subspace of βℕ has cardinality equal to \(\mathfrak{c}\)