Lean library · module TopologyByExample.Theorems.SpecialPoints

P-points, weak P-points and punctured compact spaces

Source file

A P-point has a neighbourhood filter closed under countable intersections. A weak P-point is outside the closure of every countable set avoiding it. Removing a weak P-point from a compact Hausdorff space gives an ω-bounded space; removing a point which is not a P-point prevents strong ω-boundedness. The point-existence theorem is a separate obligation.

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
variable {X : Type*} [TopologicalSpace X]

definition IsPPoint

TopologyByExample.SpecialPoints.IsPPoint

A P-point has a neighbourhood filter closed under countable intersections.

def IsPPoint (p : X) : Prop
:= CountableInterFilter (𝓝 p)

definition IsWeakPPoint

TopologyByExample.SpecialPoints.IsWeakPPoint

A weak P-point is not a limit of any countable subset avoiding that point.

def IsWeakPPoint (p : X) : Prop
:=
  ∀ s : Set X, s.Countable → p ∉ s → p ∉ closure s

definition Punctured

TopologyByExample.SpecialPoints.Punctured

The subspace obtained by removing a specified point.

abbrev Punctured (p : X)
:= ↥({p}ᶜ : Set X)

theorem isWeakPPoint

TopologyByExample.SpecialPoints.IsPPoint.isWeakPPoint

Every P-point of a T₁ space is a weak P-point.

theorem IsPPoint.isWeakPPoint [T1Space X] {p : X} (hp : IsPPoint p) : IsWeakPPoint p
Proof
:= by
  let : CountableInterFilter (𝓝 p) := hp
  intro s hs hps hcl
  have : Countable s := hs.to_subtype
  have hn : (⋂ x : s, ({x.val}ᶜ : Set X)) ∈ 𝓝 p :=
    countable_iInter_mem.mpr fun x ↦ isOpen_compl_singleton.mem_nhds
      (show p ≠ x.val from fun he ↦ hps (he ▸ x.property))
  have hsc : sᶜ ∈ 𝓝 p := mem_of_superset hn (by
    intro x hx hxs
    exact (mem_iInter.mp hx ⟨x, hxs⟩) rfl)
  obtain ⟨x, hxc, hxs⟩ := mem_closure_iff_nhds.mp hcl _ hsc
  exact hxc hxs

On this site: Theorem: P-points are weak P-points

theorem omegaBounded_punctured

TopologyByExample.SpecialPoints.IsWeakPPoint.omegaBounded_punctured

Removing a weak P-point from a compact Hausdorff space preserves compact closures of countable subsets.

theorem IsWeakPPoint.omegaBounded_punctured [CompactSpace X] {p : X}
    (hp : IsWeakPPoint p) (s : Set (Punctured p)) (hs : s.Countable) :
    IsCompact (closure s)
Proof
:= by
  have hpc : p ∉ closure (Subtype.val '' s) := hp _ (hs.image _) (by
    rintro ⟨x, -, hx⟩
    exact x.property hx)
  have hr : closure (Subtype.val '' s) ⊆ range (Subtype.val : Punctured p → X) := by
    intro x hx
    exact ⟨⟨x, fun he ↦ hpc (he ▸ hx)⟩, rfl⟩
  rw [IsInducing.subtypeVal.closure_eq_preimage_closure_image]
  exact IsInducing.subtypeVal.isCompact_preimage' isClosed_closure.isCompact hr

theorem locallyCompactSpace_punctured

TopologyByExample.SpecialPoints.locallyCompactSpace_punctured

A punctured compact Hausdorff space is locally compact.

theorem locallyCompactSpace_punctured [CompactSpace X] [T2Space X] (p : X) :
    LocallyCompactSpace (Punctured p)
Proof
:= isOpen_compl_singleton.locallyCompactSpace

theorem isPPoint_of_stronglyOmegaBounded_punctured

TopologyByExample.SpecialPoints.isPPoint_of_stronglyOmegaBounded_punctured

If every sigma-compact subset of a punctured compact Hausdorff space has compact closure, then the removed point is a P-point.

theorem isPPoint_of_stronglyOmegaBounded_punctured [CompactSpace X] [T2Space X] (p : X)
    (h : ∀ s : Set (Punctured p), IsSigmaCompact s → IsCompact (closure s)) : IsPPoint p
Proof
:= by
  refine ⟨fun S hS hSn ↦ ?_⟩
  have : Countable S := hS.to_subtype
  choose V hVU hVo hpV using fun U : S ↦ mem_nhds_iff.mp (hSn U.val U.property)
  let K (U : S) : Set (Punctured p) := Subtype.val ⁻¹' (V U)ᶜ
  have hK (U : S) : IsCompact (K U) := by
    apply IsInducing.subtypeVal.isCompact_preimage' (hVo U).isClosed_compl.isCompact
    intro x hx
    exact ⟨⟨x, fun he ↦ hx (he ▸ hpV U)⟩, rfl⟩
  have hcomp := h (⋃ U : S, K U) (isSigmaCompact_iUnion_of_isCompact K hK)
  have hclosed : IsClosed (Subtype.val '' closure (⋃ U : S, K U)) :=
    (hcomp.image continuous_subtypeVal).isClosed
  have hpnot : p ∉ Subtype.val '' closure (⋃ U : S, K U) := by
    rintro ⟨x, -, hx⟩
    exact x.property hx
  apply mem_of_superset (hclosed.isOpen_compl.mem_nhds hpnot)
  intro x hx
  apply mem_sInter.mpr
  intro U hU
  by_contra hxu
  have hxV : x ∉ V ⟨U, hU⟩ := fun hv ↦ hxu (hVU ⟨U, hU⟩ hv)
  have hxp : x ≠ p := fun he ↦ hxV (he ▸ hpV ⟨U, hU⟩)
  exact hx ⟨⟨x, hxp⟩, subset_closure (mem_iUnion.mpr ⟨⟨U, hU⟩, hxV⟩), rfl⟩

theorem exists_isSigmaCompact_not_isCompact_closure

TopologyByExample.SpecialPoints.exists_isSigmaCompact_not_isCompact_closure

Removing a point that is not a P-point produces a sigma-compact subset without compact closure.

theorem exists_isSigmaCompact_not_isCompact_closure [CompactSpace X] [T2Space X]
    {p : X} (hp : ¬IsPPoint p) :
    ∃ s : Set (Punctured p), IsSigmaCompact s ∧ ¬IsCompact (closure s)
Proof
:= by
  by_contra! h
  exact hp (isPPoint_of_stronglyOmegaBounded_punctured p h)