Lean library · module TopologyByExample.Spaces.MADPsiSpace
The maximal almost-disjoint Ψ-space
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
variable {𝒜 : Set (Set ℕ)}
theorem not_countablyCompactSpace
TopologyByExample.PsiSpace.not_countablyCompactSpace
An infinite family space is not countably compact.
theorem not_countablyCompactSpace (h𝒜 : 𝒜.Infinite) :
¬ CountablyCompactSpace (PsiSpace 𝒜)
Proof
:= by
intro hc
let := hc
let : TopologicalSpace 𝒜 := ⊥
let : DiscreteTopology 𝒜 := ⟨rfl⟩
let : CountablyCompactSpace 𝒜 := isClosedEmbedding_point.countablyCompactSpace
let : Finite 𝒜 := PSpace.finite_of_countablyCompactSpace
exact h𝒜 (Set.toFinite 𝒜)
theorem not_normalSpace
TopologyByExample.PsiSpace.not_normalSpace
The space of an infinite maximal almost-disjoint family is not normal.
theorem not_normalSpace (hi : 𝒜.Infinite) (h𝒜 : IsMaximalAlmostDisjointFamily 𝒜) :
¬ NormalSpace (PsiSpace 𝒜)
Proof
:= by
intro hn
let := hn
let := pseudocompactSpace h𝒜
exact not_countablyCompactSpace hi (countablyCompactSpace_of_limitPointCompact
limitPointCompact_of_normalSpace_of_pseudocompactSpace)
theorem not_realcompactSpace
TopologyByExample.PsiSpace.not_realcompactSpace
The space of an infinite maximal almost-disjoint family is not realcompact.
theorem not_realcompactSpace (hi : 𝒜.Infinite) (h𝒜 : IsMaximalAlmostDisjointFamily 𝒜) :
¬ RealcompactSpace (PsiSpace 𝒜)
Proof
:= by
intro hr
let := hr
let := pseudocompactSpace h𝒜
let := RealcompactSpace.compactSpace (X := PsiSpace 𝒜)
exact not_countablyCompactSpace hi inferInstance
definition binaryBranchFamily
TopologyByExample.binaryBranchFamily
A continuum-sized seed family, consisting of the codes along binary branches.
def binaryBranchFamily : Set (Set ℕ)
:= range fun x : ℕ → Bool => (Ellentuck.branch x).val
theorem injective_binaryBranch
TopologyByExample.injective_binaryBranch
Distinct binary branches give distinct infinite sets of codes.
theorem injective_binaryBranch : Function.Injective (fun x : ℕ → Bool =>
(Ellentuck.branch x).val)
Proof
:= by
intro x y hxy
by_contra hne
dsimp only at hxy
have hf := Ellentuck.finite_inter_branch hne
rw [hxy, inter_self] at hf
exact (Ellentuck.branch y).property hf
theorem infinite_binaryBranchFamily
TopologyByExample.infinite_binaryBranchFamily
The binary-branch seed family is infinite.
theorem infinite_binaryBranchFamily : binaryBranchFamily.Infinite
Proof
:=
infinite_range_of_injective injective_binaryBranch
theorem almostDisjoint_binaryBranchFamily
TopologyByExample.almostDisjoint_binaryBranchFamily
Binary branches give an almost-disjoint seed family.
theorem almostDisjoint_binaryBranchFamily : IsAlmostDisjointFamily binaryBranchFamily
Proof
:= by
constructor
· rintro A ⟨x, rfl⟩
exact (Ellentuck.branch x).property
· rintro A ⟨x, rfl⟩ B ⟨y, rfl⟩ hxy
exact Ellentuck.finite_inter_branch
(fun h => hxy (congrArg (fun x => (Ellentuck.branch x).val) h))
definition infiniteMADFamily
TopologyByExample.infiniteMADFamily
A fixed maximal almost-disjoint family extending all the binary-branch sets.
noncomputable def infiniteMADFamily : Set (Set ℕ)
:=
Classical.choose almostDisjoint_binaryBranchFamily.exists_maximal_extension
theorem binaryBranchFamily_subset_infiniteMADFamily
TopologyByExample.binaryBranchFamily_subset_infiniteMADFamily
The chosen family contains the binary-branch seed.
theorem binaryBranchFamily_subset_infiniteMADFamily : binaryBranchFamily ⊆ infiniteMADFamily
Proof
:=
(Classical.choose_spec almostDisjoint_binaryBranchFamily.exists_maximal_extension).1
theorem infinite_infiniteMADFamily
TopologyByExample.infinite_infiniteMADFamily
The chosen maximal almost-disjoint family is infinite.
theorem infinite_infiniteMADFamily : infiniteMADFamily.Infinite
theorem maximal_infiniteMADFamily
TopologyByExample.maximal_infiniteMADFamily
The chosen family is maximal almost-disjoint.
theorem maximal_infiniteMADFamily : IsMaximalAlmostDisjointFamily infiniteMADFamily
Proof
:=
(Classical.choose_spec almostDisjoint_binaryBranchFamily.exists_maximal_extension).2
definition MADPsiSpace
TopologyByExample.MADPsiSpace
The Ψ-space of a fixed infinite maximal almost-disjoint family on the naturals.
abbrev MADPsiSpace
:= PsiSpace infiniteMADFamily
On this site: Space: The MAD Ψ-space
instance t2Space
TopologyByExample.MADPsiSpace.t2Space
The chosen Ψ-space is Hausdorff.
instance t2Space : T2Space MADPsiSpace
Proof
:=
PsiSpace.t2Space maximal_infiniteMADFamily.finite_inter
instance zeroDimensionalSpace
TopologyByExample.MADPsiSpace.zeroDimensionalSpace
The chosen Ψ-space is zero-dimensional.
instance zeroDimensionalSpace : ZeroDimensionalSpace MADPsiSpace
Proof
:=
PsiSpace.zeroDimensionalSpace maximal_infiniteMADFamily.finite_inter
instance separableSpace
TopologyByExample.MADPsiSpace.separableSpace
The natural points form a countable dense subset of the chosen Ψ-space.
instance separableSpace : SeparableSpace MADPsiSpace
Proof
:=
PsiSpace.separableSpace maximal_infiniteMADFamily.infinite_members
instance pseudocompactSpace
TopologyByExample.MADPsiSpace.pseudocompactSpace
The chosen Ψ-space is pseudocompact.
instance pseudocompactSpace : PseudocompactSpace MADPsiSpace
theorem not_countablyCompactSpace
TopologyByExample.MADPsiSpace.not_countablyCompactSpace
The chosen Ψ-space is not countably compact.
theorem not_countablyCompactSpace : ¬ CountablyCompactSpace MADPsiSpace
On this site: The MAD Ψ-space is not countably compact
theorem not_normalSpace
TopologyByExample.MADPsiSpace.not_normalSpace
The chosen Ψ-space is not normal.
theorem not_normalSpace : ¬ NormalSpace MADPsiSpace
theorem not_realcompactSpace
TopologyByExample.MADPsiSpace.not_realcompactSpace
The chosen Ψ-space is not realcompact.
theorem not_realcompactSpace : ¬ RealcompactSpace MADPsiSpace
definition binaryPoint
TopologyByExample.MADPsiSpace.binaryPoint
Each binary sequence indexes a point of the chosen maximal-family space.
def binaryPoint (x : ℕ → Bool) : MADPsiSpace
:=
PsiSpace.point ⟨(Ellentuck.branch x).val,
binaryBranchFamily_subset_infiniteMADFamily (mem_range_self x)⟩
theorem injective_binaryPoint
TopologyByExample.MADPsiSpace.injective_binaryPoint
The binary-sequence points are distinct.
theorem injective_binaryPoint : Function.Injective binaryPoint
Proof
:= by
intro x y h
exact injective_binaryBranch
(congrArg (fun A : infiniteMADFamily => A.val) (PsiSpace.point.inj h))
theorem cardinality_continuum
TopologyByExample.MADPsiSpace.cardinality_continuum
The chosen Ψ-space has cardinality continuum.
theorem cardinality_continuum : Cardinal.mk MADPsiSpace = Cardinal.continuum
Proof
:= by
have hl := Cardinal.mk_le_of_injective injective_binaryPoint
have hbin : Cardinal.mk (ℕ → Bool) = Cardinal.continuum := by
simp [Cardinal.two_power_aleph0]
rw [hbin] at hl
let code : MADPsiSpace → ℕ ⊕ Set ℕ := fun x => match x with
| PsiSpace.nat n => Sum.inl n
| PsiSpace.point A => Sum.inr A.val
have hcode : Function.Injective code := by
intro x y h
cases x <;> cases y <;> simp_all only [code, Sum.inl.injEq, Sum.inr.injEq,
Sum.inl_ne_inr, Sum.inr_ne_inl, PsiSpace.point.injEq]
exact Subtype.ext h
have hu := Cardinal.mk_le_of_injective hcode
have hsum : Cardinal.mk (ℕ ⊕ Set ℕ) = Cardinal.continuum := by
simp [Cardinal.mk_sum, Cardinal.mk_set,
Cardinal.two_power_aleph0, Cardinal.aleph0_add_continuum]
exact le_antisymm (hu.trans_eq hsum) hl
On this site: The MAD Ψ-space has cardinality equal to \(\mathfrak{c}\)
theorem continuum_le_mk_addedPoints
TopologyByExample.MADPsiSpace.continuum_le_mk_addedPoints
The closed discrete added-point set has at least continuum many points.
theorem continuum_le_mk_addedPoints :
Cardinal.continuum ≤ Cardinal.mk (PsiSpace.addedPoints (𝒜 := infiniteMADFamily))
Proof
:= by
let e : (ℕ → Bool) → PsiSpace.addedPoints (𝒜 := infiniteMADFamily) := fun x =>
⟨binaryPoint x, ⟨⟨(Ellentuck.branch x).val,
binaryBranchFamily_subset_infiniteMADFamily (mem_range_self x)⟩, rfl⟩⟩
have he : Function.Injective e := by
intro x y h
exact injective_binaryPoint (congrArg Subtype.val h)
simpa [Cardinal.two_power_aleph0] using Cardinal.mk_le_of_injective he
theorem not_countablyParacompactSpace
TopologyByExample.MADPsiSpace.not_countablyParacompactSpace
The chosen Ψ-space is not countably paracompact.
theorem not_countablyParacompactSpace : ¬ CountablyParacompactSpace MADPsiSpace
Proof
:=
PsiSpace.isClosed_addedPoints.not_countablyParacompactSpace_of_continuum_le_mk
continuum_le_mk_addedPoints
On this site: The MAD Ψ-space is not countably paracompact