Lean library Β· module TopologyByExample.Spaces.PowerCardinalities
Continuum cardinalities of powers and the double arrow
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 power_of_infinite
TopologyByExample.PowerCardinalities.power_of_infinite
A countable power of an infinite set of size at most continuum has size continuum.
theorem power_of_infinite {X : Type*} [Infinite X] (h : #X β€ π ) :
CardinalityContinuum (β β X)
Proof
:= by
unfold CardinalityContinuum
rw [mk_arrow, mk_nat, lift_aleph0, lift_uzero]
apply le_antisymm
Β· exact (power_le_power_right h).trans_eq continuum_power_aleph0
Β· exact aleph0_power_aleph0 βΈ power_le_power_right (aleph0_le_mk X)
theorem power
TopologyByExample.PowerCardinalities.power
Countable powers preserve continuum cardinality.
theorem power {X : Type*} (h : CardinalityContinuum X) : CardinalityContinuum (β β X)
Proof
:= by
unfold CardinalityContinuum at *
rw [mk_arrow, mk_nat, lift_aleph0, lift_uzero, h, continuum_power_aleph0]
On this site: Theorem: Countable powers preserve continuum cardinality
theorem cantor
TopologyByExample.PowerCardinalities.cantor
The Cantor space has cardinality continuum.
theorem cantor : CardinalityContinuum (β β Bool)
Proof
:= by
unfold CardinalityContinuum
rw [β power_def, mk_bool, mk_nat, two_power_aleph0]
On this site: The Cantor set has cardinality equal to \(\mathfrak{c}\)
theorem baire
TopologyByExample.PowerCardinalities.baire
Baire space has cardinality continuum.
theorem baire : CardinalityContinuum (β β β)
Proof
:= by
apply power_of_infinite
rw [mk_nat]
exact aleph0_le_continuum
On this site: The Baire space \(\mathbb{N}^{\mathbb{N}}\) has cardinality equal to \(\mathfrak{c}\)
theorem rationals
TopologyByExample.PowerCardinalities.rationals
The countable power of the rationals has cardinality continuum.
theorem rationals : CardinalityContinuum (β β β)
Proof
:=
power_of_infinite ((mk_le_aleph0).trans aleph0_le_continuum)
On this site: The countable power of the rationals has cardinality equal to \(\mathfrak{c}\)
theorem reals
TopologyByExample.PowerCardinalities.reals
The countable power of the reals has cardinality continuum.
theorem reals : CardinalityContinuum (β β β)
Proof
:= power mk_real
theorem hilbertCube
TopologyByExample.PowerCardinalities.hilbertCube
The Hilbert cube has cardinality continuum.
theorem hilbertCube : CardinalityContinuum (β β unitInterval)
Proof
:= power mk_unitInterval
theorem baireMetric
TopologyByExample.PowerCardinalities.baireMetric
The countable power of the discrete reals has cardinality continuum.
theorem baireMetric : CardinalityContinuum (β β WithDiscreteTopology β)
Proof
:=
power discreteReals_cardinalityContinuum
theorem omegaOne
TopologyByExample.PowerCardinalities.omegaOne
The countable power of the first uncountable ordinal has cardinality continuum.
theorem omegaOne : CardinalityContinuum (β β OmegaOne)
On this site: The countable power of the first uncountable ordinal has cardinality equal to \(\mathfrak{c}\)
theorem doubleArrow
TopologyByExample.PowerCardinalities.doubleArrow
The double-arrow space has cardinality continuum.
theorem doubleArrow : CardinalityContinuum DoubleArrow
Proof
:= by
unfold CardinalityContinuum
apply le_antisymm
Β· have h := mk_set_le (Set.Icc DoubleArrow.leftEnd DoubleArrow.rightEnd)
have he : #(unitInterval Γβ Bool) β€ π := by
change #(unitInterval Γ Bool) β€ π
rw [mk_prod, lift_uzero, lift_uzero, mk_unitInterval, mk_bool]
exact (mul_le_mul' le_rfl ((natCast_le_aleph0 (n := 2)).trans aleph0_le_continuum)).trans_eq
continuum_mul_self
exact h.trans he
Β· simpa only [mk_unitInterval] using mk_le_of_surjective DoubleArrow.surjective_proj
On this site: The double arrow space has cardinality equal to \(\mathfrak{c}\)