Lean library · module TopologyByExample.Spaces.DiscreteSourceCardinalities

Discrete source representatives of larger cardinality

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

definition PowerSetReals

TopologyByExample.DiscreteSourceCardinalities.PowerSetReals

The discrete power set of the reals.

abbrev PowerSetReals
:= WithDiscreteTopology (Set ℝ)

On this site: Space: Discrete power set of the reals

theorem powerSetReals_cardinal

TopologyByExample.DiscreteSourceCardinalities.powerSetReals_cardinal

The power set example has cardinality two to continuum.

theorem powerSetReals_cardinal : #PowerSetReals = 2 ^ 𝔠
Proof
:= by
  rw [mk_congr (WithTopology.equiv (Set ℝ) ⊥), mk_set, mk_real]

theorem powerSetReals_uncountable

TopologyByExample.DiscreteSourceCardinalities.powerSetReals_uncountable

The power set example is uncountable.

theorem powerSetReals_uncountable : Uncountable PowerSetReals
Proof
:= by
  rw [← aleph0_lt_mk_iff, powerSetReals_cardinal]
  exact aleph0_lt_continuum.trans (cantor 𝔠)

theorem powerSetReals_not_continuum

TopologyByExample.DiscreteSourceCardinalities.powerSetReals_not_continuum

The power set example is larger than continuum.

theorem powerSetReals_not_continuum : ¬ CardinalityContinuum PowerSetReals
Proof
:= by
  unfold CardinalityContinuum
  rw [powerSetReals_cardinal]
  exact (cantor 𝔠).ne'

On this site: The discrete power set of the reals does not have cardinality equal to \(\mathfrak{c}\)

theorem powerSetReals_not_less

TopologyByExample.DiscreteSourceCardinalities.powerSetReals_not_less

The power set example is not smaller than continuum.

theorem powerSetReals_not_less : ¬ CardinalityLessThanContinuum PowerSetReals
Proof
:= by
  unfold CardinalityLessThanContinuum
  rw [powerSetReals_cardinal]
  exact not_lt_of_ge (cantor 𝔠).le

On this site: The discrete power set of the reals does not have cardinality less than \(\mathfrak{c}\)

theorem powerSetReals_atMost

TopologyByExample.DiscreteSourceCardinalities.powerSetReals_atMost

The power set example attains the upper chart bound.

theorem powerSetReals_atMost : CardinalityAtMostTwoToContinuum PowerSetReals
Proof
:= by
  unfold CardinalityAtMostTwoToContinuum
  exact powerSetReals_cardinal.le

On this site: The discrete power set of the reals has cardinality at most \(2^{\mathfrak{c}}\)

definition OrdinalSpace

TopologyByExample.DiscreteSourceCardinalities.OrdinalSpace

Successors of nonzero limit countable ordinals, with the induced topology.

abbrev OrdinalSpace
:= {x : OmegaOne // ∃ a, IsSuccLimit a ∧ x = succ a}

On this site: Space: Successors of countable limit ordinals

theorem isOpen_singleton_succ

TopologyByExample.DiscreteSourceCardinalities.isOpen_singleton_succ

Successor points of omega one are isolated.

theorem isOpen_singleton_succ (a : OmegaOne) : IsOpen ({succ a} : Set OmegaOne)
Proof
:= by
  have hs : ({succ a} : Set OmegaOne) = Ioi a ∩ Iic (succ a) := by
    ext x
    simp only [mem_singleton_iff, mem_inter_iff, mem_Ioi, mem_Iic, ← succ_le_iff]
    exact ⟨fun h => ⟨h.ge, h.le⟩, fun h => le_antisymm h.2 h.1⟩
  rw [hs]
  exact isOpen_Ioi.inter (OmegaOne.isOpen_Iic _)

instance ordinalSpace_discrete

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_discrete

The ordinal subspace is discrete.

instance ordinalSpace_discrete : DiscreteTopology OrdinalSpace
Proof
:= by
  apply discreteTopology_iff_isOpen_singleton.mpr
  intro x
  obtain ⟨a, _, ha⟩ := x.property
  have he : ({x} : Set OrdinalSpace) = Subtype.val ⁻¹' ({succ a} : Set OmegaOne) := by
    ext y
    simp only [mem_singleton_iff, mem_preimage]
    exact ⟨fun h => h ▸ ha, fun h => Subtype.ext (h.trans ha.symm)⟩
  rw [he]
  exact (isOpen_singleton_succ a).preimage continuous_subtypeVal

theorem exists_limit_above

TopologyByExample.DiscreteSourceCardinalities.exists_limit_above

Limit countable ordinals occur above every countable ordinal.

theorem exists_limit_above (b : OmegaOne) : ∃ a, IsSuccLimit a ∧ b < a
Proof
:= by
  have hu : ¬ BddAbove (Ioi b) := by
    rintro ⟨c, hc⟩
    have hx : max b c < succ (max b c) := lt_succ _
    exact (not_le_of_gt ((le_max_right b c).trans_lt hx))
      (hc ((le_max_left b c).trans_lt hx))
  obtain ⟨a, ha, hh⟩ := OmegaOne.exists_isSuccLimit_of_not_bddAbove hu hu
  have hbot : (⊥ : OmegaOne) < a := bot_lt_iff_ne_bot.mpr (by
    intro h; exact ha.not_isMin (h ▸ isMin_bot))
  obtain ⟨c, hc, _, hca⟩ := (hh ⊥ hbot).1
  exact ⟨a, ha, hc.trans hca⟩

theorem ordinalSpace_uncountable

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_uncountable

The ordinal subspace is uncountable.

theorem ordinalSpace_uncountable : Uncountable OrdinalSpace
Proof
:= by
  constructor
  intro h
  have hc : (range (Subtype.val : OrdinalSpace → OmegaOne)).Countable := countable_range _
  obtain ⟨b, hb⟩ := OmegaOne.bddAbove_of_countable hc
  obtain ⟨a, ha, hba⟩ := exists_limit_above b
  have hs : succ a ≤ b := hb (mem_range_self (⟨succ a, a, ha, rfl⟩ : OrdinalSpace))
  exact (not_le_of_gt (hba.trans (lt_succ a))) hs

theorem ordinalSpace_cardinal

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_cardinal

The ordinal subspace has cardinality aleph one.

theorem ordinalSpace_cardinal : #OrdinalSpace = ℵ₁
Proof
:= by
  apply le_antisymm
  · have h := mk_le_of_injective (Subtype.val_injective :
      Function.Injective (Subtype.val : OrdinalSpace → OmegaOne))
    change #OrdinalSpace ≤ #(Ordinal.ToType (Ordinal.omega 1)) at h
    simpa only [mk_toType, Ordinal.card_omega] using h
  · let : Uncountable OrdinalSpace := ordinalSpace_uncountable
    exact aleph_one_le_iff.mpr aleph0_lt_mk

On this site: Successors of countable limit ordinals: Cardinality of the ordinal subspace

theorem ordinalSpace_continuum_of_ch

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_continuum_of_ch

The ordinal subspace has continuum cardinality under CH.

theorem ordinalSpace_continuum_of_ch (h : (𝔠 : Cardinal.{0}) = ℵ₁) :
    CardinalityContinuum OrdinalSpace
Proof
:=
  ordinalSpace_cardinal.trans h.symm

On this site: The successors of countable limit ordinals has cardinality equal to \(\mathfrak{c}\) (assuming CH)

theorem ordinalSpace_less_of_not_ch

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_less_of_not_ch

Without CH the ordinal subspace is smaller than continuum.

theorem ordinalSpace_less_of_not_ch (h : (𝔠 : Cardinal.{0}) ≠ ℵ₁) :
    CardinalityLessThanContinuum OrdinalSpace
Proof
:= by
  unfold CardinalityLessThanContinuum
  rw [ordinalSpace_cardinal]
  exact lt_of_le_of_ne aleph_one_le_continuum (Ne.symm h)

On this site: The successors of countable limit ordinals has cardinality less than \(\mathfrak{c}\) (assuming CH fails)

theorem ordinalSpace_not_less_of_ch

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_not_less_of_ch

Under CH the ordinal subspace is not smaller than continuum.

theorem ordinalSpace_not_less_of_ch (h : (𝔠 : Cardinal.{0}) = ℵ₁) :
    ¬ CardinalityLessThanContinuum OrdinalSpace
Proof
:=
  cardinalityContinuum_not_less (ordinalSpace_continuum_of_ch h)

On this site: The successors of countable limit ordinals does not have cardinality less than \(\mathfrak{c}\) (assuming CH)

theorem ordinalSpace_not_continuum_of_not_ch

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_not_continuum_of_not_ch

Without CH the ordinal subspace does not have continuum cardinality.

theorem ordinalSpace_not_continuum_of_not_ch (h : (𝔠 : Cardinal.{0}) ≠ ℵ₁) :
    ¬ CardinalityContinuum OrdinalSpace
Proof
:= by
  unfold CardinalityContinuum
  rw [ordinalSpace_cardinal]
  exact Ne.symm h

On this site: The successors of countable limit ordinals does not have cardinality equal to \(\mathfrak{c}\) (assuming CH fails)

theorem ordinalSpace_le_continuum

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_le_continuum

The ordinal subspace has cardinality at most continuum.

theorem ordinalSpace_le_continuum : #OrdinalSpace ≤ 𝔠
Proof
:= by
  apply (mk_le_of_injective (Subtype.val_injective :
    Function.Injective (Subtype.val : OrdinalSpace → OmegaOne))).trans
  change #(Ordinal.ToType (Ordinal.omega 1)) ≤ 𝔠
  rw [mk_toType, Ordinal.card_omega]
  exact aleph_one_le_continuum

theorem ordinalSpace_atMost

TopologyByExample.DiscreteSourceCardinalities.ordinalSpace_atMost

The ordinal subspace satisfies the upper chart bound.

theorem ordinalSpace_atMost : CardinalityAtMostTwoToContinuum OrdinalSpace
Proof
:=
  ordinalSpace_le_continuum.trans (cantor 𝔠).le

On this site: The successors of countable limit ordinals has cardinality at most \(2^{\mathfrak{c}}\)