Lean library · module TopologyByExample.Spaces.HartModifiedProperties

Properties of Hart's modified cocountable topology

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 countable_of_isCompact

TopologyByExample.HartModifiedCocountable.countable_of_isCompact

Compact subsets are countable.

theorem countable_of_isCompact {s : Set HartModifiedCocountable} (hs : IsCompact s) :
    s.Countable
Proof
:= by
  have hc := AnticompactSpace.finite_of_isCompact _ (hs.image continuous_collapse)
  exact (countable_preimage_collapse hc.countable).mono (subset_preimage_image _ _)

On this site: Hart's modified cocountable topology: Compact subsets are countable

instance

Every path is constant.

instance : TotallyPathDisconnectedSpace HartModifiedCocountable
Proof
:= by
  refine ⟨fun x y h ↦ ?_⟩
  obtain ⟨γ⟩ := h
  have hc := countable_of_isCompact (isCompact_range γ.continuous)
  let : Countable (range γ) := hc.to_subtype
  let f : unitInterval → range γ := fun t ↦ ⟨γ t, mem_range_self t⟩
  have hf : Continuous f := γ.continuous.subtype_mk _
  have he : f 0 = f 1 := PreconnectedSpace.constant_of_countable inferInstance hf
  simpa [f] using congrArg Subtype.val he

theorem not_biconnectedSpace

TopologyByExample.HartModifiedCocountable.not_biconnectedSpace

Countable complements give a partition into two nontrivial connected sets.

theorem not_biconnectedSpace : ¬ BiconnectedSpace HartModifiedCocountable
Proof
:=
  not_biconnected_of_countable_complements fun _ hs hne ↦ (hs hne).1

On this site: Hart's modified cocountable topology is not biconnected

theorem not_countablyMetacompactSpace

TopologyByExample.HartModifiedCocountable.not_countablyMetacompactSpace

Hart's space is not countably metacompact.

theorem not_countablyMetacompactSpace : ¬ CountablyMetacompactSpace HartModifiedCocountable
Proof
:= by
  intro h
  have := countablyCompactSpace_of_countablyMetacompact_of_nonmeagre not_isMeagre_univ
  have : CompactSpace HartModifiedCocountable := LindelofSpace.compactSpace
  exact not_sigmaCompactSpace inferInstance

On this site: Hart's modified cocountable topology is not countably metacompact

theorem not_mem_nhds_of_isCompact

TopologyByExample.HartModifiedCocountable.not_mem_nhds_of_isCompact

No point has a compact neighbourhood.

theorem not_mem_nhds_of_isCompact {s : Set HartModifiedCocountable} (hs : IsCompact s)
    (x : HartModifiedCocountable) : s ∉ 𝓝 x
Proof
:= by
  intro h
  obtain ⟨u, hus, huo, hxu⟩ := mem_nhds_iff.mp h
  have hc := (countable_of_isCompact hs).union ((huo ⟨x, hxu⟩).1)
  apply not_countable_univ (α := HartModifiedCocountable)
  apply hc.mono
  intro y _
  by_cases hy : y ∈ u
  · exact Or.inl (hus hy)
  · exact Or.inr hy

theorem not_weaklyLocallyCompactSpace

TopologyByExample.HartModifiedCocountable.not_weaklyLocallyCompactSpace

Hart's space is not weakly locally compact.

theorem not_weaklyLocallyCompactSpace : ¬ WeaklyLocallyCompactSpace HartModifiedCocountable
Proof
:= by
  intro h
  obtain ⟨s, hs, hx⟩ := exists_compact_mem_nhds (left 0)
  exact not_mem_nhds_of_isCompact hs (left 0) hx

On this site: Hart's modified cocountable topology is not weakly locally compact

theorem not_firstCountableTopology

TopologyByExample.HartModifiedCocountable.not_firstCountableTopology

The open cocountable real subspace prevents first countability.

theorem not_firstCountableTopology : ¬ FirstCountableTopology HartModifiedCocountable
Proof
:= by
  intro h
  have : FirstCountableTopology (CocountableTopology ℝ) :=
    isOpenEmbedding_cocountableInclusion.isEmbedding.firstCountableTopology
  have : SequentiallyDiscreteSpace (CocountableTopology ℝ) :=
    AnticompactSpace.sequentiallyDiscreteSpace
  have hc := SequentiallyDiscreteSpace.isLocallyConstant
    (continuous_id : Continuous (id : CocountableTopology ℝ → CocountableTopology ℝ))
  have he := hc.apply_eq_of_preconnectedSpace (CocountableTopology.of 0) (CocountableTopology.of 1)
  exact zero_ne_one (CocountableTopology.of.injective he)

On this site: Hart's modified cocountable topology is not first countable

theorem cardinalityContinuum

TopologyByExample.HartModifiedCocountable.cardinalityContinuum

Hart's space has cardinality continuum.

theorem cardinalityContinuum : CardinalityContinuum HartModifiedCocountable
Proof
:= by
  change Cardinal.mk (ℝ ⊕ Option ℕ) = Cardinal.continuum
  rw [Cardinal.mk_sum, Cardinal.mk_real, Cardinal.mk_option, Cardinal.mk_nat,
    Cardinal.add_one_eq le_rfl]
  simp only [Cardinal.lift_id]
  rw [Cardinal.add_eq_left Cardinal.aleph0_le_continuum
      Cardinal.aleph0_le_continuum]

On this site: Hart's modified cocountable topology has cardinality equal to \(\mathfrak{c}\)