Lean library · module TopologyByExample.Spaces.MisraProperties

Further properties of Misra's spaces

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 not_countableChainCondition_of_uncountable_isolated

TopologyByExample.not_countableChainCondition_of_uncountable_isolated

Uncountably many isolated points rule out the countable chain condition.

theorem not_countableChainCondition_of_uncountable_isolated
    {X ι : Type*} [TopologicalSpace X] [Uncountable ι] {f : ι → X}
    (hf : Function.Injective f) (ho : ∀ i, IsOpen ({f i} : Set X)) :
    ¬∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:= by
  let U : ι → Set X := fun i ↦ {f i}
  have hinj : Function.Injective U := fun i j h ↦ hf (singleton_injective h)
  intro h
  have hc : (range U).Countable := h _ (by
    rintro _ ⟨i, rfl⟩
    exact ⟨ho i, singleton_nonempty _⟩) (by
    rintro _ ⟨i, rfl⟩ _ ⟨j, rfl⟩ hij
    apply disjoint_singleton.2
    intro heq
    exact hij (congrArg U (hf heq)))
  have hc' : (univ : Set ι).Countable :=
    countable_of_injective_of_countable_image hinj.injOn (by simpa using hc)
  exact not_countable_univ hc'

theorem not_pseudocompactSpace_of_isolated_sequence

TopologyByExample.PSpace.not_pseudocompactSpace_of_isolated_sequence

A T₁ P-space with infinitely many isolated points is not pseudocompact.

theorem PSpace.not_pseudocompactSpace_of_isolated_sequence
    {X : Type*} [TopologicalSpace X] [PSpace X] [T1Space X] {f : ℕ → X}
    (hf : Function.Injective f) (ho : ∀ n, IsOpen ({f n} : Set X)) :
    ¬PseudocompactSpace X
Proof
:= by
  apply not_pseudocompactSpace_of_isClosed_of_isOpen_singleton
    (infinite_range_of_injective hf) (PSpace.isClosed_of_countable (countable_range f))
  rintro _ ⟨n, rfl⟩
  exact ho n

instance

instance : ScatteredSpace MisraE0
Proof
:= by
  refine ⟨fun S hS ↦ eq_empty_iff_forall_notMem.2 fun z hz ↦ ?_⟩
  have hcell (s : Bool) (α β : OmegaOne) (hc : cell s α β ∈ S) : False := by
    obtain ⟨y, ⟨hy, _⟩, hne⟩ := accPt_iff_nhds.1 (hS _ hc) _
      ((isOpen_singleton_cell s α β).mem_nhds (mem_singleton _))
    exact hne hy
  cases z with
  | cell s α β => exact hcell s α β hz
  | row α =>
    obtain ⟨y, ⟨hy, hyS⟩, hne⟩ := accPt_iff_nhds.1 (hS _ hz) _
      ((isOpen_rowNhd α).mem_nhds (by simp [rowNhd]))
    cases y with
    | apex s => simp [rowNhd] at hy
    | row γ => exact hne (congrArg row (by simpa [rowNhd] using hy))
    | cell s γ β => exact hcell s γ β hyS
  | apex s =>
    obtain ⟨y, ⟨hy, hyS⟩, hne⟩ := accPt_iff_nhds.1 (hS _ hz) _
      ((isOpen_apexNhd s ⊥).mem_nhds (by simp [apexNhd]))
    cases y with
    | apex t => exact hne (congrArg apex (by simpa [apexNhd] using hy))
    | row α => simp [apexNhd] at hy
    | cell t α β => exact hcell t α β hyS

definition rowIndex

TopologyByExample.MisraE0.rowIndex

The row coordinate of a non-apex point; the value at an apex is immaterial.

noncomputable def rowIndex : MisraE0 → OmegaOne
  | apex _ => ⊥
  | row α => α
  | cell _ α _ => α

theorem rowIndex_eq_of_mem_rowNhd

TopologyByExample.MisraE0.rowIndex_eq_of_mem_rowNhd

Membership in a whole-row neighbourhood determines the row index.

theorem rowIndex_eq_of_mem_rowNhd {x : MisraE0} {α : OmegaOne} (h : x ∈ rowNhd α) :
    rowIndex x = α
Proof
:= by
  cases x with
  | apex s => simp [rowNhd] at h
  | row γ => simpa [rowIndex, rowNhd] using h
  | cell s γ β =>
    cases s <;> simpa [rowIndex, rowNhd] using h

definition coverPart

TopologyByExample.MisraE0.coverPart

Refine a chosen neighbourhood according to the type of its point.

def coverPart (u : MisraE0 → Set MisraE0) : MisraE0 → Set MisraE0
  | apex s => u (apex s)
  | row α => u (row α) ∩ rowNhd α
  | cell s α β => {cell s α β}

theorem finite_coverPart_support

TopologyByExample.MisraE0.finite_coverPart_support

Each point meets only finitely many of these neighbourhood refinements.

theorem finite_coverPart_support (u : MisraE0 → Set MisraE0) (x : MisraE0) :
    {y | x ∈ coverPart u y}.Finite
Proof
:= by
  apply (show ({apex false, apex true, row (rowIndex x), x} : Set MisraE0).Finite by
    exact (finite_singleton x).insert _ |>.insert _ |>.insert _).subset
  intro y hy
  cases y with
  | apex s => cases s <;> simp
  | row α =>
    have heq := rowIndex_eq_of_mem_rowNhd hy.2
    simp [heq]
  | cell s α β =>
    have heq : x = cell s α β := hy
    simp [heq]

instance

instance : MetacompactSpace MisraE0
Proof
:= by
  classical
  refine ⟨fun U hUo hU ↦ ?_⟩
  have hcover (x : MisraE0) : ∃ u ∈ U, x ∈ u := mem_sUnion.1 (hU ▸ mem_univ x)
  choose u hu hxu using hcover
  refine ⟨range (coverPart u), ?_, ?_, ?_, ?_⟩
  · rintro _ ⟨x, rfl⟩
    cases x with
    | apex s => exact hUo _ (hu _)
    | row α => exact (hUo _ (hu _)).inter (isOpen_rowNhd α)
    | cell s α β => exact isOpen_singleton_cell s α β
  · apply eq_univ_of_forall
    intro x
    refine mem_sUnion.2 ⟨coverPart u x, mem_range_self x, ?_⟩
    cases x with
    | apex s => exact hxu _
    | row α => exact ⟨hxu _, by simp [rowNhd]⟩
    | cell s α β => exact mem_singleton _
  · intro x
    apply Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
    apply ((finite_coverPart_support u x).image (coverPart u)).subset
    rintro _ ⟨⟨V, ⟨y, rfl⟩⟩, hx, rfl⟩
    exact ⟨y, hx, rfl⟩
  · rintro _ ⟨x, rfl⟩
    refine ⟨u x, hu x, ?_⟩
    cases x with
    | apex s => exact subset_rfl
    | row α => exact inter_subset_left
    | cell s α β => exact singleton_subset_iff.2 (hxu _)

theorem not_countableChainCondition

TopologyByExample.MisraE0.not_countableChainCondition

The isolated cells of one fixed row already violate the countable chain condition.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set MisraE0), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:=
  not_countableChainCondition_of_uncountable_isolated
    (f := cell false ⊥) (fun _ _ h ↦ (cell.inj h).2.2)
    (isOpen_singleton_cell false ⊥)

On this site: Misra’s \(E_0\) does not satisfy the countable chain condition

theorem not_pseudocompactSpace

TopologyByExample.MisraE0.not_pseudocompactSpace

A countable closed set of isolated cells witnesses failure of pseudocompactness.

theorem not_pseudocompactSpace : ¬PseudocompactSpace MisraE0
Proof
:= by
  let e := Infinite.natEmbedding OmegaOne
  apply PSpace.not_pseudocompactSpace_of_isolated_sequence (f := fun n ↦ cell false ⊥ (e n))
  · intro m n h
    exact e.injective (cell.inj h).2.2
  · exact fun n ↦ isOpen_singleton_cell false ⊥ (e n)

On this site: Misra’s \(E_0\) is not pseudocompact

instance

instance : ScatteredSpace MisraSubspace
Proof
:=
  ScatteredSpace.of_injective (f := (Subtype.val : MisraSubspace → MisraE0))
    Subtype.val_injective continuous_subtypeVal

instance

instance : MetacompactSpace MisraSubspace
Proof
:= by
  have h : IsClosedEmbedding (Subtype.val : MisraSubspace → MisraE0) :=
    MisraE0.isClosed_keep.isClosedEmbedding_subtypeVal
  exact h.metacompactSpace

theorem isOpen_singleton_cell

TopologyByExample.MisraSubspace.isOpen_singleton_cell

Every retained cell is isolated in the subspace.

theorem isOpen_singleton_cell (α β : OmegaOne) : IsOpen ({cell α β} : Set MisraSubspace)
Proof
:= by
  have heq : (Subtype.val : MisraSubspace → MisraE0) ⁻¹' {MisraE0.cell false α β} =
      {cell α β} := by
    ext x
    change x.val = MisraE0.cell false α β ↔ x = cell α β
    exact ⟨fun h ↦ Subtype.ext h, fun h ↦ congrArg Subtype.val h⟩
  exact heq ▸ (MisraE0.isOpen_singleton_cell false α β).preimage
    (continuous_subtypeVal : Continuous (Subtype.val : MisraSubspace → MisraE0))

theorem not_countableChainCondition

TopologyByExample.MisraSubspace.not_countableChainCondition

The retained isolated cells violate the countable chain condition.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set MisraSubspace), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:= by
  apply not_countableChainCondition_of_uncountable_isolated (f := cell ⊥)
  · intro β γ h
    exact (MisraE0.cell.inj (congrArg Subtype.val h)).2.2
  · exact isOpen_singleton_cell ⊥

On this site: Misra’s Urysohn subspace does not satisfy the countable chain condition

theorem not_pseudocompactSpace

TopologyByExample.MisraSubspace.not_pseudocompactSpace

The retained countable isolated sequence also witnesses failure of pseudocompactness.

theorem not_pseudocompactSpace : ¬PseudocompactSpace MisraSubspace
Proof
:= by
  let e := Infinite.natEmbedding OmegaOne
  apply PSpace.not_pseudocompactSpace_of_isolated_sequence (f := fun n ↦ cell ⊥ (e n))
  · intro m n h
    exact e.injective (MisraE0.cell.inj (congrArg Subtype.val h)).2.2
  · exact fun n ↦ isOpen_singleton_cell ⊥ (e n)

On this site: Misra’s Urysohn subspace is not pseudocompact

theorem not_extremallyDisconnected

TopologyByExample.MisraSubspace.not_extremallyDisconnected

Splitting an uncountable row into two uncountable sets obstructs extremal disconnectedness.

theorem not_extremallyDisconnected : ¬ExtremallyDisconnected MisraSubspace
Proof
:= by
  classical
  have he : Cardinal.mk (Bool × OmegaOne) = Cardinal.mk OmegaOne := by
    open Cardinal in
      rw [mk_prod, lift_id, lift_id, mk_bool, OrdinalCardinalities.omegaOne, mul_comm]
      exact mul_eq_left (aleph0_le_aleph _)
        ((natCast_le_aleph0 (n := 2)).trans (aleph0_le_aleph _)) (by norm_num)
  let e : Bool × OmegaOne ≃ OmegaOne := Classical.choice (Cardinal.eq.mp he)
  let U : Bool → Set MisraSubspace := fun s ↦ range (fun β ↦ cell ⊥ (e (s, β)))
  have hUo : ∀ s, IsOpen (U s) := by
    intro s
    change IsOpen (range (fun β ↦ cell ⊥ (e (s, β))))
    rw [range_eq_iUnion]
    exact isOpen_iUnion (fun β ↦ isOpen_singleton_cell _ _)
  have hr : ∀ s, row ⊥ ∈ closure (U s) := by
    intro s
    apply mem_closure_iff.2
    intro V hV hrV
    obtain ⟨W, hW, rfl⟩ := isOpen_induced_iff.1 hV
    have hc := hW.1 ⊥ hrV false
    have hex : ∃ β, MisraE0.cell false ⊥ (e (s, β)) ∈ W := by
      by_contra! hn
      have hi : Function.Injective (fun β : OmegaOne ↦ e (s, β)) := by
        intro β γ h
        exact (Prod.mk.inj (e.injective h)).2
      have hcount : (range (fun β : OmegaOne ↦ e (s, β))).Countable :=
        Set.Countable.mono (by rintro _ ⟨β, rfl⟩; exact hn β) hc
      exact not_countable_univ (countable_of_injective_of_countable_image hi.injOn
        (by simpa using hcount))
    obtain ⟨β, hβ⟩ := hex
    exact ⟨cell ⊥ (e (s, β)), hβ, mem_range_self β⟩
  have hd : Disjoint (U false) (U true) := by
    apply disjoint_left.2
    rintro x ⟨β, rfl⟩ ⟨γ, h⟩
    have hc := (MisraE0.cell.inj (congrArg Subtype.val h)).2.2
    have hs := (Prod.mk.inj (e.injective hc)).1
    exact Bool.noConfusion hs
  intro h
  let := h
  exact (ExtremallyDisconnected.disjoint_closure_of_disjoint_isOpen hd
    (hUo false) (hUo true)).le_bot ⟨hr false, hr true⟩

On this site: Misra’s Urysohn subspace is not extremally disconnected