Lean library · module TopologyByExample.Spaces.MisraLimitCardinality
Cardinality of the all-pairs Misra limit
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.
theorem cardinality_stage
TopologyByExample.MisraAllPairs.cardinality_stage
Every finite all-pairs stage has cardinality aleph one.
theorem cardinality_stage (n : ℕ) : #(Stage n) = aleph 1
Proof
:= by
induction n with
| zero => exact MisraE0.cardinality
| succ n ih =>
apply le_antisymm
· have hq := mk_le_of_surjective (Quot.exists_rep (r := MisraAttachment.Rel
(allPairs (X := Stage n))))
calc
#(Stage (n + 1)) ≤ #(Stage n ⊕ (Σ _ : Stage n × Stage n, MisraE0)) := hq
_ = aleph 1 := by
rw [mk_sum, lift_id, lift_id,
mk_congr (Equiv.sigmaEquivProd (Stage n × Stage n) MisraE0)]
simp only [mk_prod, lift_id, ih, MisraE0.cardinality]
rw [mul_eq_self (aleph0_le_aleph _), mul_eq_self (aleph0_le_aleph _),
add_eq_self (aleph0_le_aleph _)]
· rw [← ih]
exact mk_le_of_injective (isClosedEmbedding_step n).injective
theorem cardinality_limit
TopologyByExample.MisraAllPairs.cardinality_limit
The all-pairs direct limit has cardinality aleph one.
theorem cardinality_limit : #Limit = aleph 1
Proof
:= by
apply le_antisymm
· calc
#Limit ≤ #(Σ n, Stage n) := mk_le_of_surjective (Quot.exists_rep (r := Rel))
_ = aleph 1 := by
rw [mk_sigma]
simp only [cardinality_stage]
rw [sum_const, mk_nat, mul_comm]
simp only [lift_id]
exact mul_eq_left (aleph0_le_aleph _) (aleph0_le_aleph _) aleph0_ne_zero
· rw [← MisraE0.cardinality]
exact mk_le_of_injective toLimit_zero_injective
On this site: The all-pairs Misra limit: Cardinality