Lean library · module TopologyByExample.Spaces.NovakCompleteNormal
A continuum-sized discrete subspace of Novak's space
The binary-branch coding is supplied by StoneCechNaturals; here the points
are selected by Novak's recursion rather than by a fixed free ultrafilter.
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 selected_notMem_finite
TopologyByExample.NovakSpace.selected_notMem_finite
A selected nonprincipal ultrafilter contains no finite set.
theorem selected_notMem_finite {p : Ultrafilter ℕ} (hp : p ∈ selected)
{A : Set ℕ} (hA : A.Finite) : A ∉ p
Proof
:= by
intro hm
obtain ⟨n, _, hn⟩ := Ultrafilter.eq_pure_of_finite_mem hA hm
exact disjoint_left.mp selected_disjoint_principals hp ⟨n, hn.symm⟩
definition branchFamily
TopologyByExample.NovakSpace.branchFamily
The countable set of principal points coding the initial segments of a branch.
def branchFamily (f : ℕ → Bool) : Family
:=
⟨range (fun n ↦ (pure (branchCode f n) : Ultrafilter ℕ)), countable_range _,
infinite_range_of_injective (Ultrafilter.pure_injective.comp (branchCode_injective f))⟩
definition branchPoint
TopologyByExample.NovakSpace.branchPoint
A selected accumulation point of the principal points coding a branch.
def branchPoint (f : ℕ → Bool) : Carrier
:=
⟨(meets_accumulation (branchFamily f)).choose,
Or.inr (meets_accumulation (branchFamily f)).choose_spec.1⟩
theorem branchPoint_selected
TopologyByExample.NovakSpace.branchPoint_selected
The branch point belongs to the selected range.
theorem branchPoint_selected (f : ℕ → Bool) : (branchPoint f).val ∈ selected
Proof
:=
(meets_accumulation (branchFamily f)).choose_spec.1
theorem branchPoint_mem
TopologyByExample.NovakSpace.branchPoint_mem
The branch support belongs to its chosen accumulation point.
theorem branchPoint_mem (f : ℕ → Bool) : range (branchCode f) ∈ (branchPoint f).val
Proof
:= by
have hs : (branchFamily f).val ⊆ {u : Ultrafilter ℕ | range (branchCode f) ∈ u} := by
rintro _ ⟨n, rfl⟩
exact mem_range_self n
exact closure_minimal hs (ultrafilter_isClosed_basic _)
(meets_accumulation (branchFamily f)).choose_spec.2.1
theorem branchPoint_mem_iff
TopologyByExample.NovakSpace.branchPoint_mem_iff
Among the branch points, a branch support selects exactly its own point.
theorem branchPoint_mem_iff {f g : ℕ → Bool} :
range (branchCode f) ∈ (branchPoint g).val ↔ f = g
Proof
:= by
constructor
· intro h
by_contra hfg
exact selected_notMem_finite (branchPoint_selected g) (finite_range_branchCode_inter hfg)
(inter_mem h (branchPoint_mem g))
· rintro rfl
exact branchPoint_mem f
theorem branchPoint_injective
TopologyByExample.NovakSpace.branchPoint_injective
Distinct branches give distinct points of Novak's space.
theorem branchPoint_injective : Function.Injective branchPoint
Proof
:= by
intro f g h
exact branchPoint_mem_iff.mp (h ▸ branchPoint_mem f)
instance
The branch points form a discrete subspace of Novak's space.
instance : DiscreteTopology (range branchPoint)
Proof
:= by
apply discreteTopology_iff_isOpen_singleton.mpr
rintro ⟨_, f, rfl⟩
refine isOpen_induced_iff.mpr ⟨{x : Carrier | range (branchCode f) ∈ x.val},
(ultrafilter_isOpen_basic _).preimage continuous_subtypeVal, ?_⟩
ext ⟨_, g, rfl⟩
simp [branchPoint_mem_iff, Subtype.ext_iff, branchPoint_injective.eq_iff, eq_comm]
theorem cardinal_branchPoints
TopologyByExample.NovakSpace.cardinal_branchPoints
The discrete branch subspace has cardinality continuum.
theorem cardinal_branchPoints : #(range branchPoint) = continuum
Proof
:= by
rw [mk_range_eq _ branchPoint_injective]
simp
theorem exists_discrete_continuum
TopologyByExample.NovakSpace.exists_discrete_continuum
Novak's space contains a discrete subspace of cardinality continuum.
theorem exists_discrete_continuum :
∃ S : Set Carrier, DiscreteTopology S ∧ Cardinal.mk S = continuum
Proof
:=
⟨range branchPoint, inferInstance, cardinal_branchPoints⟩
On this site: Novak space: A discrete subspace of cardinality continuum
theorem not_completelyNormalSpace
TopologyByExample.NovakSpace.not_completelyNormalSpace
Novak's space is not completely normal.
theorem not_completelyNormalSpace : ¬CompletelyNormalSpace Carrier
Proof
:= by
have := NovakSpace.separableSpace
exact not_completelyNormalSpace_of_continuum_le_mk cardinal_branchPoints.ge
On this site: Novak's space is not completely normal