Lean library · module TopologyByExample.Spaces.MisraSparseCardinality
Cardinality of the sparse 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_edge_le
TopologyByExample.MisraSparse.cardinality_edge_le
The ordinal edge indices have cardinality at most aleph one.
theorem cardinality_edge_le : #Edge ≤ aleph 1
Proof
:= by
let f : Edge → OmegaOne × OmegaOne × (Option Bool × Bool)
| (none, b, β) => (⊥, β, none, b)
| (some (s, α), b, β) => (α, β, some s, b)
have hf : Function.Injective f := by
rintro ⟨u, b, β⟩ ⟨v, c, γ⟩ h
cases u <;> cases v <;>
simp_all only [f, Prod.mk.injEq, Option.some.injEq, reduceCtorEq,
and_false, false_and, and_true, true_and]
exact Prod.ext h.2.2.1 h.1
calc
#Edge ≤ #(OmegaOne × OmegaOne × (Option Bool × Bool)) := mk_le_of_injective hf
_ ≤ aleph 1 * (aleph 1 * aleph0) := by
simp only [mk_prod, lift_id, OrdinalCardinalities.omegaOne]
exact mul_le_mul' le_rfl (mul_le_mul' le_rfl mk_le_aleph0)
_ = aleph 1 := by
rw [mul_eq_left (aleph0_le_aleph _) (aleph0_le_aleph _) aleph0_ne_zero]
exact mul_eq_self (aleph0_le_aleph _)
variable (e : OmegaOne → OmegaOne)
theorem cardinality_copies_le
TopologyByExample.MisraSparse.cardinality_copies_le
At most aleph one copies are designated at each finite stage.
theorem cardinality_copies_le (n : ℕ) : #(layer e n).Copies ≤ aleph 1
Proof
:= by
induction n with
| zero =>
exact (show #Unit ≤ aleph0 from mk_le_aleph0).trans (aleph0_le_aleph _)
| succ n ih =>
change #((layer e n).Copies × Edge) ≤ aleph 1
rw [mk_prod, lift_id, lift_id]
exact (mul_le_mul' ih cardinality_edge_le).trans_eq (mul_eq_self (aleph0_le_aleph _))
theorem cardinality_stage
TopologyByExample.MisraSparse.cardinality_stage
Every finite sparse stage has cardinality aleph one.
theorem cardinality_stage (n : ℕ) : #(Stage e 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
(attachment e (layer e n))))
calc
#(Stage e (n + 1)) ≤ #(Stage e n ⊕ (Σ _ : (layer e (n + 1)).Copies, MisraE0)) := hq
_ = #(Stage e n) + #(layer e (n + 1)).Copies * #MisraE0 := by
rw [mk_sum, lift_id, lift_id,
mk_congr (Equiv.sigmaEquivProd (layer e (n + 1)).Copies MisraE0), mk_prod,
lift_id, lift_id]
_ ≤ aleph 1 + aleph 1 * aleph 1 := by
rw [ih, MisraE0.cardinality]
exact add_le_add le_rfl (mul_le_mul' (cardinality_copies_le e (n + 1)) le_rfl)
_ = aleph 1 := by
rw [mul_eq_self (aleph0_le_aleph _), add_eq_self (aleph0_le_aleph _)]
· rw [← ih]
exact mk_le_of_injective (isClosedEmbedding_step e n).injective
theorem cardinality_limit
TopologyByExample.MisraSparse.cardinality_limit
The sparse quotient limit has cardinality aleph one.
theorem cardinality_limit : #(Limit e) = aleph 1
Proof
:= by
apply le_antisymm
· calc
#(Limit e) ≤ #(Σ n, Stage e n) := mk_le_of_surjective (Quot.exists_rep (r := Rel e))
_ = 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_injective e 0)
theorem not_countablyCompactSpace
TopologyByExample.MisraSparse.not_countablyCompactSpace
Countable compactness would force this Hausdorff P-space to be finite.
theorem not_countablyCompactSpace : ¬CountablyCompactSpace (Limit e)
Proof
:= by
intro h
let := h
let := PSpace.finite_of_countablyCompactSpace (X := Limit e)
have hc : #(Limit e) ≤ aleph0 := mk_le_aleph0
rw [cardinality_limit] at hc
exact aleph0_lt_aleph_one.not_ge hc
theorem not_countableChainCondition
TopologyByExample.MisraSparse.not_countableChainCondition
The singletons of an initial row extend to an uncountable family of disjoint open sets.
theorem not_countableChainCondition :
¬∀ S : Set (Set (Limit e)), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
S.PairwiseDisjoint id → S.Countable
Proof
:= by
let U : OmegaOne → Set (Limit e) := fun β ↦ limitSet e 0 {MisraE0.cell false ⊥ β}
have hinj : Function.Injective U := by
intro β γ h
have he := congrArg (fun V : Set (Limit e) ↦ toLimit e 0 ⁻¹' V) h
have hc : ({MisraE0.cell false ⊥ β} : Set (Stage e 0)) = {MisraE0.cell false ⊥ γ} := by
simpa only [U, preimage_limitSet_self] using he
exact (MisraE0.cell.inj (singleton_injective hc)).2.2
have ho : ∀ β, IsOpen (U β) := fun β ↦
isOpen_limitSet e 0 (MisraE0.isOpen_singleton_cell false ⊥ β)
have hn : ∀ β, (U β).Nonempty := by
intro β
refine ⟨toLimit e 0 (MisraE0.cell false ⊥ β), ?_⟩
change MisraE0.cell false ⊥ β ∈ toLimit e 0 ⁻¹' U β
rw [show U β = limitSet e 0 {MisraE0.cell false ⊥ β} from rfl, preimage_limitSet_self]
exact mem_singleton _
intro h
have hc : (range U).Countable := h _ (by
rintro _ ⟨β, rfl⟩
exact ⟨ho β, hn β⟩) (by
rintro _ ⟨β, rfl⟩ _ ⟨γ, rfl⟩ hne
apply disjoint_limitSet e 0
apply disjoint_singleton.2
intro he
exact hne (congrArg U (MisraE0.cell.inj he).2.2))
exact not_countable_univ (countable_of_injective_of_countable_image hinj.injOn
(by simpa using hc))