Lean library · module TopologyByExample.Spaces.NovakNormalReduction

An extension obstruction to normality of Novak's space

Source file

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

theorem isOpen_principals

TopologyByExample.NovakSpace.isOpen_principals

The principal ultrafilters form an open subset of beta N.

theorem isOpen_principals : IsOpen principals
Proof
:= by
  apply isOpen_iff_mem_nhds.mpr
  rintro p ⟨n, rfl⟩
  refine mem_of_superset ((ultrafilter_isOpen_basic {n}).mem_nhds (by simp)) ?_
  intro q hq
  exact ⟨n, (KatetovSubspace.eq_pure_of_singleton_mem hq).symm⟩

theorem closure_selected

TopologyByExample.NovakSpace.closure_selected

The selected points are dense in the nonprincipal remainder.

theorem closure_selected : closure selected = principalsᶜ
Proof
:= by
  apply Subset.antisymm
  · exact closure_minimal (disjoint_left.mp selected_disjoint_principals)
      isOpen_principals.isClosed_compl
  · intro p hp
    apply mem_closure_iff_nhds.mpr
    intro U hU
    obtain ⟨_, ⟨A, rfl⟩, hA, hAU⟩ := ultrafilterBasis_is_basis.mem_nhds_iff.mp hU
    have hi : A.Infinite := by
      intro hfin
      obtain ⟨n, _, hn⟩ := Ultrafilter.eq_pure_of_finite_mem hfin hA
      exact hp ⟨n, hn.symm⟩
    let B : Set (Ultrafilter ℕ) := (pure : ℕ → Ultrafilter ℕ) '' A
    have hB : B.Infinite := hi.image Ultrafilter.pure_injective.injOn
    obtain ⟨q, hq, hqc, -⟩ := meets_accumulation ⟨B, (to_countable A).image _, hB⟩
    have hs : B ⊆ {u : Ultrafilter ℕ | A ∈ u} := by
      rintro _ ⟨n, hn, rfl⟩
      exact hn
    exact ⟨q, hAU (closure_minimal hs (ultrafilter_isClosed_basic A) hqc), hq⟩

theorem exists_remainder_not_selected

TopologyByExample.NovakSpace.exists_remainder_not_selected

The selected set omits a nonprincipal ultrafilter.

theorem exists_remainder_not_selected :
    ∃ p : Ultrafilter ℕ, p ∉ principals ∧ p ∉ selected
Proof
:= by
  obtain ⟨q, hq, -, -⟩ :=
    meets_accumulation ⟨principals, principals_countable, principals_infinite⟩
  refine ⟨NovakInvolution.extension q, ?_, ?_⟩
  · intro hp
    exact disjoint_left.mp selected_disjoint_principals hq
      ((extension_mem_principals_iff q).mp hp)
  · intro hp
    exact disjoint_left.mp selected_disjoint_image hp ⟨q, hq, rfl⟩

definition selectedPart

TopologyByExample.NovakSpace.selectedPart

The selected points as a closed subset of the carrier.

def selectedPart : Set Carrier
:= {x | x.val ∈ selected}

theorem isClosed_selectedPart

TopologyByExample.NovakSpace.isClosed_selectedPart

The selected part is closed in Novak's space.

theorem isClosed_selectedPart : IsClosed selectedPart
Proof
:= by
  have he : selectedPart = Subtype.val ⁻¹' principalsᶜ := by
    ext x
    constructor
    · intro hx
      exact disjoint_left.mp selected_disjoint_principals hx
    · intro hx
      exact x.property.resolve_left hx
  rw [he]
  exact isOpen_principals.isClosed_compl.preimage continuous_subtypeVal

theorem denseRange_nat

TopologyByExample.NovakSpace.denseRange_nat

The principal points are dense in the carrier.

theorem denseRange_nat : DenseRange nat
Proof
:= by
  apply Subtype.dense_iff.mpr
  rw [← range_comp]
  exact fun _ _ ↦ denseRange_pure.closure_range ▸ mem_univ _

theorem exists_extension_compact

TopologyByExample.NovakSpace.exists_extension_compact

Maps from Novak's space to a compact Hausdorff target extend across beta N.

theorem exists_extension_compact {Y : Type*} [TopologicalSpace Y] [CompactSpace Y] [T2Space Y]
    (f : C(Carrier, Y)) : ∃ g : C(Ultrafilter ℕ, Y), ∀ x : Carrier, g x.val = f x
Proof
:= by
  let g : C(Ultrafilter ℕ, Y) :=
    ⟨Ultrafilter.extend (fun n ↦ f (nat n)), continuous_ultrafilter_extend _⟩
  refine ⟨g, ?_⟩
  have he : (fun x : Carrier ↦ g x.val) = f :=
    denseRange_nat.equalizer (g.continuous.comp continuous_subtypeVal) f.continuous
      (by funext n; exact ultrafilter_extend_pure _ n)
  exact congrFun he

theorem selected_extension_of_normal

TopologyByExample.NovakSpace.selected_extension_of_normal

Normality would extend every continuous interval-valued map on the selected part to beta N.

theorem selected_extension_of_normal (hn : NormalSpace Carrier)
    (f : C(selectedPart, unitInterval)) :
    ∃ g : C(Ultrafilter ℕ, unitInterval), ∀ x : selectedPart, g x.val.val = f x
Proof
:= by
  let := hn
  let fr : C(selectedPart, ℝ) :=
    ⟨fun x ↦ (f x).val, continuous_subtypeVal.comp f.continuous⟩
  obtain ⟨hr, hm, hh⟩ := fr.exists_restrict_eq_forall_mem_of_closed
    (fun x ↦ (f x).property) (show (unitInterval : Set ℝ).Nonempty from ⟨0, by simp⟩)
    isClosed_selectedPart
  let h : C(Carrier, unitInterval) := ⟨fun x ↦ ⟨hr x, hm x⟩, hr.continuous.subtype_mk _⟩
  obtain ⟨g, hg⟩ := exists_extension_compact h
  refine ⟨g, fun x ↦ (hg x.val).trans ?_⟩
  apply Subtype.ext
  exact congrArg (fun k : C(selectedPart, ℝ) ↦ k x) hh

theorem not_normalSpace_of_nonextension

TopologyByExample.NovakSpace.not_normalSpace_of_nonextension

A nonextendible interval-valued function on the selected part obstructs normality.

theorem not_normalSpace_of_nonextension
    (h : ∃ f : C(selectedPart, unitInterval),
      ∀ g : C(Ultrafilter ℕ, unitInterval), ∃ x : selectedPart, g x.val.val ≠ f x) :
    ¬ NormalSpace Carrier
Proof
:= by
  intro hn
  obtain ⟨f, hf⟩ := h
  obtain ⟨g, hg⟩ := selected_extension_of_normal hn f
  obtain ⟨x, hx⟩ := hf g
  exact hx (hg x)