Lean library · module TopologyByExample.Theorems.ChainFullNormality

Point-star refinements when open sets form a chain

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 pointStar_eq_univ_of_hereditarilyConnectedSpace

TopologyByExample.pointStar_eq_univ_of_hereditarilyConnectedSpace

In a chain of open sets covering a nonempty space, every point-star is the whole space.

theorem pointStar_eq_univ_of_hereditarilyConnectedSpace {X : Type*} [TopologicalSpace X]
    [HereditarilyConnectedSpace X] {V : Set (Set X)} (hVo : ∀ v ∈ V, IsOpen v)
    (hV : ⋃₀ V = univ) (x y : X) : ∃ v ∈ V, x ∈ v ∧ y ∈ v
Proof
:= by
  obtain ⟨v, hv, hxv⟩ := mem_sUnion.mp (hV ▸ mem_univ x)
  obtain ⟨w, hw, hyw⟩ := mem_sUnion.mp (hV ▸ mem_univ y)
  rcases HereditarilyConnectedSpace.subset_or_subset (hVo v hv) (hVo w hw) with hvw | hwv
  · exact ⟨w, hw, hvw hxv, hyw⟩
  · exact ⟨v, hv, hxv, hwv hyw⟩

theorem compactSpace_of_hereditarilyConnectedSpace_of_fullyT4Space

TopologyByExample.compactSpace_of_hereditarilyConnectedSpace_of_fullyT4Space

A hereditarily connected fully T₄ space is compact.

theorem compactSpace_of_hereditarilyConnectedSpace_of_fullyT4Space
    {X : Type*} [TopologicalSpace X] [HereditarilyConnectedSpace X] [FullyT4Space X] :
    CompactSpace X
Proof
:= by
  classical
  rcases isEmpty_or_nonempty X with hX | hX
  · infer_instance
  let x : X := Classical.choice hX
  refine ⟨isCompact_of_finite_subcover fun U hUo hU ↦ ?_⟩
  obtain ⟨V, hVo, hV, hstar⟩ := FullyT4Space.pointStar_refinement (range U)
    (forall_mem_range.mpr hUo) (by rw [sUnion_range]; exact univ_subset_iff.mp hU)
  obtain ⟨_, ⟨i, rfl⟩, hi⟩ := hstar x
  refine ⟨{i}, fun y _ ↦ mem_iUnion₂.mpr ⟨i, Finset.mem_singleton_self i, ?_⟩⟩
  obtain ⟨v, hv, hxv, hyv⟩ := pointStar_eq_univ_of_hereditarilyConnectedSpace hVo hV x y
  exact hi v hv hxv hyv

On this site: Theorem: Hereditarily connected and fully T₄ implies compact