Lean library · module TopologyByExample.Spaces.NovakScattered
Novak's space is not scattered
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_basic_neighbour
TopologyByExample.NovakSpace.selected_basic_neighbour
Every basic neighbourhood of a selected point contains another selected point.
theorem selected_basic_neighbour {p : Ultrafilter ℕ} (hp : p ∈ selected)
{A : Set ℕ} (hA : A ∈ p) : ∃ q ∈ selected, A ∈ q ∧ q ≠ p
Proof
:= by
classical
have hAI : A.Infinite := by
intro hfin
obtain ⟨n, _, hn⟩ := Ultrafilter.eq_pure_of_finite_mem hfin hA
exact disjoint_left.mp selected_disjoint_principals hp ⟨n, hn.symm⟩
let e := hAI.natEmbedding
let E : Set ℕ := range (fun n ↦ (e (2 * n)).val)
let O : Set ℕ := range (fun n ↦ (e (2 * n + 1)).val)
have hi (k : ℕ) : Function.Injective (fun n ↦ (e (2 * n + k)).val) := by
intro m n he
have := e.injective (Subtype.ext he)
omega
have hEO : Disjoint E O := by
apply disjoint_left.mpr
rintro _ ⟨m, rfl⟩ ⟨n, hn⟩
have := e.injective (Subtype.ext hn)
omega
obtain ⟨T, hTA, hTI, hTp⟩ : ∃ T : Set ℕ, T ⊆ A ∧ T.Infinite ∧ T ∉ p := by
by_cases hE : E ∈ p
· refine ⟨O, ?_, infinite_range_of_injective (hi 1), ?_⟩
· rintro _ ⟨n, rfl⟩; exact (e _).property
· intro hO
have he := Ultrafilter.nonempty_of_mem (inter_mem hE hO)
exact he.ne_empty hEO.inter_eq
· refine ⟨E, ?_, ?_, hE⟩
· rintro _ ⟨n, rfl⟩; exact (e _).property
· simpa only [Nat.add_zero] using infinite_range_of_injective (hi 0)
let B : Set (Ultrafilter ℕ) := (pure : ℕ → Ultrafilter ℕ) '' T
have hBI : B.Infinite := hTI.image Ultrafilter.pure_injective.injOn
obtain ⟨q, hq, hqc, -⟩ := meets_accumulation ⟨B, (to_countable T).image _, hBI⟩
have hBT : B ⊆ {u : Ultrafilter ℕ | T ∈ u} := by
rintro _ ⟨n, hn, rfl⟩
exact hn
have hTq : T ∈ q := closure_minimal hBT (ultrafilter_isClosed_basic T) hqc
exact ⟨q, hq, mem_of_superset hTq hTA, fun he ↦ hTp (he ▸ hTq)⟩
theorem preperfect_selected
TopologyByExample.NovakSpace.preperfect_selected
The selected nonprincipal points have no isolated points in their subspace.
theorem preperfect_selected : Preperfect selected
Proof
:= by
apply preperfect_iff_nhds.mpr
intro p hp U hU
obtain ⟨_, ⟨A, rfl⟩, hA, hAU⟩ := ultrafilterBasis_is_basis.mem_nhds_iff.mp hU
obtain ⟨q, hq, hAq, hqp⟩ := selected_basic_neighbour hp hA
exact ⟨q, ⟨hAU hAq, hq⟩, hqp⟩
theorem not_scatteredSpace
TopologyByExample.NovakSpace.not_scatteredSpace
Novak's space is not scattered.
theorem not_scatteredSpace : ¬ScatteredSpace Carrier
Proof
:= by
intro h
let := h
obtain ⟨p, hp, -⟩ := meets_accumulation ⟨principals, principals_countable, principals_infinite⟩
have hs : selected ⊆ range (Subtype.val : Carrier → Ultrafilter ℕ) := by
intro q hq
exact ⟨⟨q, Or.inr hq⟩, rfl⟩
obtain ⟨q, hq, U, hU, hUs⟩ :=
ScatteredSpace.exists_isolated_of_isEmbedding IsEmbedding.subtypeVal hs ⟨p, hp⟩
obtain ⟨r, hr, hrq⟩ := preperfect_iff_nhds.mp preperfect_selected q hq U hU
exact hrq (hUs hr)
On this site: Novak's space is not scattered