Lean library · module TopologyByExample.Spaces.NovakSpace
Novak's subspace of beta N
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.
definition chosen
TopologyByExample.NovakSpace.chosen
One point selected for each countably infinite subset.
def chosen : NovakRecursion.Index κ → Ultrafilter ℕ
:=
NovakRecursion.points κ aleph0_lt_kappa.le NovakInvolution.extension
(fun a ↦ eligible (enumeration a)) (fun a ↦ (cardinal_eligible (enumeration a)).ge)
definition selected
TopologyByExample.NovakSpace.selected
The set of selected nonprincipal ultrafilters.
def selected : Set (Ultrafilter ℕ)
:= range chosen
definition underlying
TopologyByExample.NovakSpace.underlying
Novak's underlying subset of beta N.
def underlying : Set (Ultrafilter ℕ)
:= principals ∪ selected
definition Carrier
TopologyByExample.NovakSpace.Carrier
Novak's space with the subspace topology.
abbrev Carrier
:= underlying
On this site: Space: Novak space
theorem chosen_mem
TopologyByExample.NovakSpace.chosen_mem
Every chosen point satisfies the prescribed accumulation and avoidance conditions.
theorem chosen_mem (a : NovakRecursion.Index κ) : chosen a ∈ eligible (enumeration a)
Proof
:=
(NovakRecursion.points_spec κ aleph0_lt_kappa.le NovakInvolution.extension
(fun a ↦ eligible (enumeration a)) (fun a ↦ (cardinal_eligible (enumeration a)).ge) a).1
theorem selected_disjoint_principals
TopologyByExample.NovakSpace.selected_disjoint_principals
The selected set contains no principal ultrafilter.
theorem selected_disjoint_principals : Disjoint selected principals
Proof
:= by
apply disjoint_left.mpr
rintro _ ⟨a, rfl⟩ hp
exact (chosen_mem a).2 (Or.inr hp)
theorem selected_disjoint_image
TopologyByExample.NovakSpace.selected_disjoint_image
The selected set is disjoint from its image under the adjacent-integer involution.
theorem selected_disjoint_image : Disjoint selected (NovakInvolution.extension '' selected)
Proof
:=
NovakRecursion.disjoint_image κ aleph0_lt_kappa.le NovakInvolution.extension
NovakInvolution.extension_involutive NovakInvolution.extension_ne
(fun a ↦ eligible (enumeration a)) (fun a ↦ (cardinal_eligible (enumeration a)).ge)
theorem meets_accumulation
TopologyByExample.NovakSpace.meets_accumulation
Every countably infinite ambient subset has a new closure point in the selected set.
theorem meets_accumulation (S : Family) : ∃ p ∈ selected, p ∈ closure S.val ∧ p ∉ S.val
Proof
:= by
obtain ⟨a, rfl⟩ := enumeration.surjective S
exact ⟨chosen a, mem_range_self a, (chosen_mem a).1,
fun hp ↦ (chosen_mem a).2 (Or.inl hp)⟩
theorem cardinal_selected
TopologyByExample.NovakSpace.cardinal_selected
The selected set already has full ambient cardinality.
theorem cardinal_selected : #selected = κ
Proof
:= by
have hi : Function.Injective chosen :=
NovakRecursion.points_injective κ aleph0_lt_kappa.le NovakInvolution.extension
(fun a ↦ eligible (enumeration a)) (fun a ↦ (cardinal_eligible (enumeration a)).ge)
rw [selected, mk_range_eq _ hi]
exact Cardinal.mk_ord_toType _
theorem cardinal_carrier
TopologyByExample.NovakSpace.cardinal_carrier
Novak's space has cardinality two to the continuum.
theorem cardinal_carrier : #Carrier = κ
Proof
:= by
apply le_antisymm
· exact cardinal_ambient ▸ mk_subtype_le (fun x ↦ x ∈ underlying)
· rw [← cardinal_selected]
exact mk_le_mk_of_subset (show selected ⊆ underlying from subset_union_right)
On this site: Novak space: Cardinality of Novak’s space
theorem dense_underlying
TopologyByExample.NovakSpace.dense_underlying
The principal ultrafilters form a dense subset of Novak's ambient subset.
theorem dense_underlying : Dense underlying
Proof
:=
denseRange_pure.mono subset_union_left
theorem exists_accPt
TopologyByExample.NovakSpace.exists_accPt
Every infinite subset of the carrier has an ambient accumulation point in the carrier.
theorem exists_accPt {B : Set (Ultrafilter ℕ)} (hB : B.Infinite) :
∃ p ∈ underlying, AccPt p (𝓟 B)
Proof
:= by
let f := hB.natEmbedding
let C : Set (Ultrafilter ℕ) := range (fun n ↦ (f n).val)
have hC : C.Infinite := infinite_range_of_injective (Subtype.val_injective.comp f.injective)
have hCB : C ⊆ B := by rintro _ ⟨n, rfl⟩; exact (f n).property
obtain ⟨p, hp, hpc, hpn⟩ := meets_accumulation ⟨C, countable_range _, hC⟩
refine ⟨p, Or.inr hp, ?_⟩
apply accPt_iff_nhds.mpr
intro U hU
obtain ⟨q, hqU, hqC⟩ := mem_closure_iff_nhds.mp hpc U hU
exact ⟨q, ⟨hqU, hCB hqC⟩, fun he ↦ hpn (he ▸ hqC)⟩
theorem isCountablyCompact_underlying
TopologyByExample.NovakSpace.isCountablyCompact_underlying
Novak's subspace is countably compact.
theorem isCountablyCompact_underlying : IsCountablyCompact underlying
Proof
:=
isCountablyCompact_iff_infinite_subset_has_accPt.mpr fun _ _ hB ↦ exists_accPt hB
instance
Novak's space is countably compact.
instance : CountablyCompactSpace Carrier
Proof
:=
isCountablyCompact_iff_countablyCompactSpace.mp isCountablyCompact_underlying