Lean library · module TopologyByExample.Theorems.FullNormalityTransfers

Closed-subspace inheritance and a divisor obstruction for fully T₄

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 fullyT4Space_of_isClosedEmbedding

TopologyByExample.fullyT4Space_of_isClosedEmbedding

Fully T₄ passes to closed embedded subspaces.

theorem fullyT4Space_of_isClosedEmbedding {X Y : Type*} [TopologicalSpace X]
    [TopologicalSpace Y] [FullyT4Space Y] {e : X → Y} (he : IsClosedEmbedding e) :
    FullyT4Space X
Proof
:= by
  classical
  refine ⟨fun U hUo hU ↦ ?_⟩
  have hex : ∀ u ∈ U, ∃ u' : Set Y, IsOpen u' ∧ e ⁻¹' u' = u :=
    fun u hu ↦ he.isOpen_iff.1 (hUo u hu)
  choose! g hgo hg using hex
  obtain ⟨V, hVo, hV, hstar⟩ := FullyT4Space.pointStar_refinement
    (insert (range e)ᶜ (g '' U))
    (forall_mem_insert.2 ⟨he.isClosed_range.isOpen_compl, forall_mem_image.2 hgo⟩) (by
      refine eq_univ_of_forall fun y ↦ ?_
      by_cases hy : y ∈ range e
      · obtain ⟨x, rfl⟩ := hy
        obtain ⟨u, hu, hxu⟩ := mem_sUnion.1 (hU ▸ mem_univ x)
        have hxg : x ∈ e ⁻¹' g u := by rw [hg u hu]; exact hxu
        exact mem_sUnion.2 ⟨g u, mem_insert_of_mem _ (mem_image_of_mem _ hu), hxg⟩
      · exact mem_sUnion.2 ⟨_, mem_insert _ _, hy⟩)
  refine ⟨(fun v ↦ e ⁻¹' v) '' V, ?_, ?_, ?_⟩
  · rintro _ ⟨v, hv, rfl⟩
    exact (hVo v hv).preimage he.continuous
  · refine eq_univ_of_forall fun x ↦ ?_
    obtain ⟨v, hv, hxv⟩ := mem_sUnion.1 (hV ▸ mem_univ (e x))
    exact mem_sUnion.2 ⟨e ⁻¹' v, mem_image_of_mem _ hv, hxv⟩
  · intro x
    obtain ⟨u', hu', hsub⟩ := hstar (e x)
    rcases mem_insert_iff.1 hu' with rfl | ⟨u, hu, rfl⟩
    · obtain ⟨v, hv, hxv⟩ := mem_sUnion.1 (hV ▸ mem_univ (e x))
      exact ((hsub v hv hxv hxv) (mem_range_self x)).elim
    · refine ⟨u, hu, ?_⟩
      rintro _ ⟨v, hv, rfl⟩ hx y hy
      have h := hsub v hv hx hy
      change y ∈ e ⁻¹' g u at h
      rwa [hg u hu] at h

On this site: Theorem: Closed subspaces of fully T₄ spaces are fully T₄

theorem not_fullyT4Space

TopologyByExample.DivisorTopology.not_fullyT4Space

The divisor cover cannot have a point-star refinement at two.

theorem DivisorTopology.not_fullyT4Space : ¬ FullyT4Space DivisorTopology
Proof
:= by
  intro h
  obtain ⟨V, hVo, hV, hstar⟩ := h.pointStar_refinement (range Iic)
    (by rintro _ ⟨a, rfl⟩; exact DivisorTopology.isOpen_Iic a)
    (eq_univ_of_forall fun x ↦ mem_sUnion.2 ⟨Iic x, mem_range_self x, mem_Iic.2 le_rfl⟩)
  obtain ⟨_, ⟨a, rfl⟩, ha⟩ := hstar DivisorTopology.two
  apply DivisorTopology.infinite_Ici_two
  apply (DivisorTopology.finite_Iic a).subset
  intro x hx
  obtain ⟨v, hv, hxv⟩ := mem_sUnion.1 (hV ▸ mem_univ x)
  have htwo : DivisorTopology.two ∈ v :=
    Topology.IsLowerSet.isOpen_iff_isLowerSet.1 (hVo v hv) hx hxv
  exact ha v hv htwo hxv

On this site: The divisor topology is not fully T₄

theorem fullyT4Space_of_retract

TopologyByExample.fullyT4Space_of_retract

Fully T₄ passes to continuous retracts.

theorem fullyT4Space_of_retract {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
    [FullyT4Space Y] {e : X → Y} {r : Y → X} (he : Continuous e) (hr : Continuous r)
    (hre : Function.LeftInverse r e) : FullyT4Space X
Proof
:= by
  refine ⟨fun U hUo hU ↦ ?_⟩
  obtain ⟨V, hVo, hV, hstar⟩ := FullyT4Space.pointStar_refinement
    ((fun u ↦ r ⁻¹' u) '' U)
    (by rintro _ ⟨u, hu, rfl⟩; exact (hUo u hu).preimage hr) (by
      refine eq_univ_of_forall fun y ↦ ?_
      obtain ⟨u, hu, hyu⟩ := mem_sUnion.mp (hU ▸ mem_univ (r y))
      exact mem_sUnion.mpr ⟨r ⁻¹' u, mem_image_of_mem _ hu, hyu⟩)
  refine ⟨(fun v ↦ e ⁻¹' v) '' V, ?_, ?_, ?_⟩
  · rintro _ ⟨v, hv, rfl⟩
    exact (hVo v hv).preimage he
  · refine eq_univ_of_forall fun x ↦ ?_
    obtain ⟨v, hv, hxv⟩ := mem_sUnion.mp (hV ▸ mem_univ (e x))
    exact mem_sUnion.mpr ⟨e ⁻¹' v, mem_image_of_mem _ hv, hxv⟩
  · intro x
    obtain ⟨_, ⟨u, hu, rfl⟩, hs⟩ := hstar (e x)
    refine ⟨u, hu, ?_⟩
    rintro _ ⟨v, hv, rfl⟩ hx y hy
    have hm := hs v hv hx hy
    change r (e y) ∈ u at hm
    rwa [hre y] at hm

On this site: Theorem: Continuous retracts of fully T₄ spaces are fully T₄

theorem fullyT4Space_of_prod_left

TopologyByExample.fullyT4Space_of_prod_left

A fully T₄ product has a fully T₄ first factor when the second factor is nonempty.

theorem fullyT4Space_of_prod_left {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
    [Nonempty Y] [FullyT4Space (X × Y)] : FullyT4Space X
Proof
:= by
  let y : Y := Classical.choice ‹Nonempty Y›
  exact fullyT4Space_of_retract (e := fun x ↦ (x, y)) (r := Prod.fst)
    (continuous_id.prodMk continuous_const) continuous_fst (fun _ ↦ rfl)

On this site: Theorem: A fully T₄ product with nonempty second factor has fully T₄ first factor

theorem fullyT4Space_of_prod_right

TopologyByExample.fullyT4Space_of_prod_right

A fully T₄ product has a fully T₄ second factor when the first factor is nonempty.

theorem fullyT4Space_of_prod_right {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
    [Nonempty X] [FullyT4Space (X × Y)] : FullyT4Space Y
Proof
:= by
  let x : X := Classical.choice ‹Nonempty X›
  exact fullyT4Space_of_retract (e := fun y ↦ (x, y)) (r := Prod.snd)
    (continuous_const.prodMk continuous_id) continuous_snd (fun _ ↦ rfl)

On this site: Theorem: A fully T₄ product with nonempty first factor has fully T₄ second factor

theorem not_fullyT4Space

TopologyByExample.OpenLongRay.not_fullyT4Space

The open long ray is not fully T₄ because a closed tail is countably compact but noncompact.

theorem OpenLongRay.not_fullyT4Space : ¬ FullyT4Space OpenLongRay
Proof
:= by
  intro h
  let : FullyT4Space (Ici (OpenLongRay.r 0)) :=
    fullyT4Space_of_isClosedEmbedding isClosed_Ici.isClosedEmbedding_subtypeVal
  let : CountablyCompactSpace (Ici (OpenLongRay.r 0)) :=
    isCountablyCompact_iff_countablyCompactSpace.mp (OpenLongRay.isCountablyCompact_Ici _)
  exact not_compactSpace_of_noMaxOrder (X := Ici (OpenLongRay.r 0))
    compactSpace_of_countablyCompactSpace_of_fullyT4Space

On this site: The open long ray is not fully T₄

theorem not_fullyT4Space

TopologyByExample.FranklinRajagopalanInitial.not_fullyT4Space

A closed copy of the first uncountable ordinal obstructs fully T₄ in the Franklin–Rajagopalan initial space.

theorem FranklinRajagopalanInitial.not_fullyT4Space :
    ¬ FullyT4Space FranklinRajagopalanInitial
Proof
:= by
  intro h
  let : FullyT4Space OmegaOne := fullyT4Space_of_isClosedEmbedding
    FranklinRajagopalanInitial.isClosedEmbedding_indexPoint
  exact OmegaOne.not_compactSpace compactSpace_of_countablyCompactSpace_of_fullyT4Space

On this site: The initial part of the Franklin–Rajagopalan space is not fully T₄

theorem fullyT4Space_of_sum

TopologyByExample.fullyT4Space_of_sum

Both summands of a fully T₄ sum are fully T₄.

theorem fullyT4Space_of_sum {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
    [FullyT4Space (X ⊕ Y)] : FullyT4Space X ∧ FullyT4Space Y
Proof
:=
  ⟨fullyT4Space_of_isClosedEmbedding (e := (Sum.inl : X → X ⊕ Y)) IsClosedEmbedding.inl,
    fullyT4Space_of_isClosedEmbedding (e := (Sum.inr : Y → X ⊕ Y)) IsClosedEmbedding.inr⟩

On this site: Theorem: Both summands of a fully T₄ sum are fully T₄