Lean library · module TopologyByExample.Spaces.RefinedErdosInfinity

A nonregular dispersion-point refinement

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 exists_deletedSet

TopologyByExample.RefinedErdosInfinity.exists_deletedSet

A convergent countable set with dense complement exists at the dispersion point.

theorem exists_deletedSet :
    ∃ K : Set CompleteErdosInfinity, K.Countable ∧ CompleteErdosInfinity.point ∉ K ∧
      CompleteErdosInfinity.point ∈ closure K ∧
      IsClosed (insert CompleteErdosInfinity.point K) ∧ Dense Kᶜ
Proof
:= by
  let : Nontrivial CompleteErdosInfinity :=
    ⟨⟨CompleteErdosInfinity.ofErdos 0, CompleteErdosInfinity.point,
      CompleteErdosInfinity.ofErdos_ne_point 0⟩⟩
  let : ConnectedSpace CompleteErdosInfinity := ⟨inferInstance⟩
  exact exists_refinement_sequence_set CompleteErdosInfinity.point

On this site: Dense-open refinement of the Erdős dispersion space: A countable set converging towards the dispersion point

definition deletedSet

TopologyByExample.RefinedErdosInfinity.deletedSet

The countable set whose complement is declared open.

def deletedSet : Set CompleteErdosInfinity
:= exists_deletedSet.choose

theorem deletedSet_spec

TopologyByExample.RefinedErdosInfinity.deletedSet_spec

The chosen set's convergence and density properties.

theorem deletedSet_spec : deletedSet.Countable ∧ CompleteErdosInfinity.point ∉ deletedSet ∧
    CompleteErdosInfinity.point ∈ closure deletedSet ∧
    IsClosed (insert CompleteErdosInfinity.point deletedSet) ∧ Dense deletedSetᶜ
Proof
:=
  exists_deletedSet.choose_spec

definition RefinedErdosInfinity

TopologyByExample.RefinedErdosInfinity

The complete Erdős dispersion space with the convergent set's complement made open.

def RefinedErdosInfinity : Type
:= CompleteErdosInfinity

On this site: Space: Dense-open refinement of the Erdős dispersion space

definition toOriginal

TopologyByExample.RefinedErdosInfinity.toOriginal

The identity equivalence to the original space.

def toOriginal : RefinedErdosInfinity ≃ CompleteErdosInfinity
:= Equiv.refl _

instance

instance : TopologicalSpace RefinedErdosInfinity
Proof
:=
  induced toOriginal inferInstance ⊓ generateFrom {toOriginal ⁻¹' deletedSetᶜ}

definition point

TopologyByExample.RefinedErdosInfinity.point

The original dispersion point.

def point : RefinedErdosInfinity
:= toOriginal.symm CompleteErdosInfinity.point

instance

instance : Nonempty RefinedErdosInfinity
Proof
:= ⟨point⟩

theorem continuous_toOriginal

TopologyByExample.RefinedErdosInfinity.continuous_toOriginal

The refinement map to the original space is continuous.

theorem continuous_toOriginal : Continuous toOriginal
Proof
:=
  continuous_iff_le_induced.mpr inf_le_left

instance

instance : FunctionallyHausdorffSpace RefinedErdosInfinity
Proof
:=
  FunctionallyHausdorffSpace.of_injective_continuous toOriginal.injective continuous_toOriginal

instance

instance : PreconnectedSpace RefinedErdosInfinity
Proof
:= by
  change @PreconnectedSpace CompleteErdosInfinity
    (induced id inferInstance ⊓ generateFrom {deletedSetᶜ})
  rw [induced_id]
  exact preconnectedSpace_dense_refinement deletedSet_spec.2.2.2.2

theorem not_regularSpace

TopologyByExample.RefinedErdosInfinity.not_regularSpace

The old limit point prevents regularity of the refined topology.

theorem not_regularSpace : ¬ RegularSpace RefinedErdosInfinity
Proof
:= by
  change ¬ @RegularSpace CompleteErdosInfinity
    (induced id inferInstance ⊓ generateFrom {deletedSetᶜ})
  rw [induced_id]
  exact not_regularSpace_open_refinement deletedSet_spec.2.2.2.2 deletedSet_spec.2.1
    (by simpa using deletedSet_spec.2.2.1)

theorem not_semiregularSpace

TopologyByExample.RefinedErdosInfinity.not_semiregularSpace

The added open set has no regular open neighbourhood basis at the dispersion point.

theorem not_semiregularSpace : ¬ SemiregularSpace RefinedErdosInfinity
Proof
:= by
  change ¬ @SemiregularSpace CompleteErdosInfinity
    (induced id inferInstance ⊓ generateFrom {deletedSetᶜ})
  rw [induced_id]
  exact not_semiregularSpace_open_refinement deletedSet_spec.2.2.2.2 deletedSet_spec.2.1
    (by simpa using deletedSet_spec.2.2.1)

On this site: The refined Erdős dispersion space is not semiregular

instance

instance : SecondCountableTopology RefinedErdosInfinity
Proof
:=
  secondCountableTopology_inf
    (secondCountableTopology_induced RefinedErdosInfinity CompleteErdosInfinity toOriginal)
    (@SecondCountableTopology.mk _ (generateFrom _) ⟨_, countable_singleton _, rfl⟩)

instance

instance : HasDispersionPoint RefinedErdosInfinity
Proof
where
  exists_point := by
    refine ⟨point, isTotallyDisconnected_of_image continuous_toOriginal.continuousOn
      toOriginal.injective ?_⟩
    have hs : toOriginal '' ({point}ᶜ : Set RefinedErdosInfinity) ⊆
        {CompleteErdosInfinity.point}ᶜ := by
      rintro _ ⟨x, hx, rfl⟩
      intro he
      apply hx
      exact toOriginal.injective he
    exact fun S hS hconn =>
      CompleteErdosInfinity.isTotallyDisconnected_compl_point S (hS.trans hs) hconn

instance

instance : MetacompactSpace RefinedErdosInfinity
Proof
:= by
  change @MetacompactSpace CompleteErdosInfinity
    (induced id inferInstance ⊓ generateFrom {deletedSetᶜ})
  rw [induced_id]
  exact metacompactSpace_open_refinement (fun _ => inferInstance)

instance

instance : BaireSpace RefinedErdosInfinity
Proof
:= by
  let : BaireSpace (deletedSetᶜ : Set CompleteErdosInfinity) :=
    deletedSet_spec.1.isGδ_compl.baireSpace_of_dense deletedSet_spec.2.2.2.2
  change @BaireSpace CompleteErdosInfinity
    (induced id inferInstance ⊓ generateFrom {deletedSetᶜ})
  rw [induced_id]
  exact baireSpace_dense_refinement deletedSet_spec.2.2.2.2

theorem cardinalityContinuum

TopologyByExample.RefinedErdosInfinity.cardinalityContinuum

The refinement has the same underlying cardinality as the original space.

theorem cardinalityContinuum : CardinalityContinuum RefinedErdosInfinity
Proof
:=
  CompleteErdosInfinity.cardinalityContinuum

theorem not_sigmaCompactSpace

TopologyByExample.RefinedErdosInfinity.not_sigmaCompactSpace

Sigma-compactness would pass continuously to the original space.

theorem not_sigmaCompactSpace : ¬ SigmaCompactSpace RefinedErdosInfinity
Proof
:= by
  intro h
  let := h
  have hs := isSigmaCompact_univ.image continuous_toOriginal
  rw [Set.image_univ_of_surjective toOriginal.surjective] at hs
  exact CompleteErdosInfinity.not_sigmaCompactSpace (isSigmaCompact_univ_iff.mp hs)

On this site: The refined Erdős dispersion space is not σ-compact

theorem not_pseudocompactSpace

TopologyByExample.RefinedErdosInfinity.not_pseudocompactSpace

Pseudocompactness would make the original second-countable metric space compact.

theorem not_pseudocompactSpace : ¬ PseudocompactSpace RefinedErdosInfinity
Proof
:= by
  intro h
  let := h
  let : PseudocompactSpace CompleteErdosInfinity :=
    PseudocompactSpace.of_surjective continuous_toOriginal toOriginal.surjective
  let : CountablyCompactSpace CompleteErdosInfinity :=
    countablyCompactSpace_of_limitPointCompact
      limitPointCompact_of_normalSpace_of_pseudocompactSpace
  let : CompactSpace CompleteErdosInfinity := LindelofSpace.compactSpace
  exact CompleteErdosInfinity.not_sigmaCompactSpace inferInstance

On this site: The refined Erdős dispersion space is not pseudocompact