Lean library · module TopologyByExample.Theorems.ResidualContinuumCardinalities

Residual continuum computations

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 franklinRajagopalan_cardinal

TopologyByExample.ResidualContinuumCardinalities.franklinRajagopalan_cardinal

The Franklin–Rajagopalan space has cardinality equal to the tower number.

theorem franklinRajagopalan_cardinal : #FranklinRajagopalan = 𝔱
Proof
:= by
  change #(ℕ ⊕ towerLength.ToType) = 𝔱
  rw [mk_sum, lift_id, lift_id, mk_nat, mk_toType_towerLength, add_comm]
  exact add_eq_left aleph0_lt_towerNumber.le aleph0_lt_towerNumber.le

On this site: Franklin–Rajagopalan space: Cardinality

theorem franklinRajagopalanPower

TopologyByExample.ResidualContinuumCardinalities.franklinRajagopalanPower

The countable power of the Franklin–Rajagopalan space has continuum size.

theorem franklinRajagopalanPower : CardinalityContinuum (ℕ → FranklinRajagopalan)
Proof
:= by
  let : Infinite FranklinRajagopalan := by
    apply infinite_iff.2
    rw [franklinRajagopalan_cardinal]
    exact aleph0_lt_towerNumber.le
  exact PowerCardinalities.power_of_infinite
    (franklinRajagopalan_cardinal.le.trans towerNumber_le_continuum)

On this site: The countable power of the Franklin–Rajagopalan space has cardinality equal to \(\mathfrak{c}\)

theorem nestedRectangles

TopologyByExample.ResidualContinuumCardinalities.nestedRectangles

The nested rectangles contain a real line and lie in the real plane.

theorem nestedRectangles : CardinalityContinuum NestedRectangles
Proof
:= by
  unfold CardinalityContinuum
  apply le_antisymm
  · exact (mk_subtype_le _).trans_eq (by simp [mk_prod, mk_real, continuum_mul_self])
  · let f : ℝ → NestedRectangles := fun y => ⟨(1,y), Or.inl (by simp)⟩
    simpa only [mk_real] using mk_le_of_injective (f := f)
      (fun a b h => congrArg (fun x : NestedRectangles => x.val.2) h)

On this site: Nested rectangles has cardinality equal to \(\mathfrak{c}\)

theorem countableBouquet

TopologyByExample.ResidualContinuumCardinalities.countableBouquet

Collapsing the integers in the real line preserves continuum cardinality.

theorem countableBouquet : CardinalityContinuum CountableBouquet
Proof
:= by
  unfold CardinalityContinuum
  apply le_antisymm
  · simpa only [mk_real] using mk_le_of_surjective
      (Collapse.surjective_mk (A := integerPoints))
  · let f : Ioo (0 : ℝ) 1 → CountableBouquet := fun x =>
      Collapse.mk integerPoints x
    have hf : Function.Injective f := by
      intro x y h
      apply Subtype.ext
      apply Collapse.eq_of_mk_eq_mk_of_notMem h
      rintro ⟨n, hn⟩
      have h0 : (0 : ℤ) < n := by exact_mod_cast (hn ▸ x.property.1)
      have h1 : n < (1 : ℤ) := by exact_mod_cast (hn ▸ x.property.2)
      omega
    simpa only [mk_Ioo_real zero_lt_one] using mk_le_of_injective hf

On this site: The countable bouquet of circles has cardinality equal to \(\mathfrak{c}\)