Lean library · module TopologyByExample.Spaces.CountableBouquetOfCircles

The countable bouquet of circles

Source file

The real line with the integers collapsed to a single point: ℝ / ℤ in the sense of collapsing a subset, not of the quotient group. Each interval [n, n + 1] becomes a circle, and the circles meet only at the collapsed point.

Main definitions

Main statements

This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

definition integerPoints

TopologyByExample.integerPoints

The integers, as a subset of the real line.

def integerPoints : Set ℝ
:= range ((↑) : ℤ → ℝ)

theorem isClosed_integerPoints

TopologyByExample.isClosed_integerPoints

theorem isClosed_integerPoints : IsClosed integerPoints
Proof
:=
  Int.isClosedEmbedding_coe_real.isClosed_range

theorem interior_integerPoints

TopologyByExample.interior_integerPoints

theorem interior_integerPoints : interior integerPoints = ∅
Proof
:=
  interior_eq_empty_iff_dense_compl.2 ((Set.countable_range _).dense_compl ℝ)

theorem infinite_integerPoints

TopologyByExample.infinite_integerPoints

theorem infinite_integerPoints : integerPoints.Infinite
Proof
:=
  infinite_range_of_injective Int.cast_injective

theorem isDiscrete_integerPoints

TopologyByExample.isDiscrete_integerPoints

theorem isDiscrete_integerPoints : IsDiscrete integerPoints
Proof
:= by
  rw [isDiscrete_iff_discreteTopology]
  have e := Int.isClosedEmbedding_coe_real.isEmbedding.toHomeomorph
  exact e.symm.isEmbedding.discreteTopology

definition CountableBouquet

TopologyByExample.CountableBouquet

The countable bouquet of circles: the real line with the integers collapsed to a point.

abbrev CountableBouquet : Type
:= Collapse integerPoints

On this site: Space: Countable bouquet of circles

instance

The space is T₁.

instance : T1Space CountableBouquet
Proof
:= Collapse.t1Space isClosed_integerPoints

instance

The space is perfectly normal.

instance : PerfectlyNormalSpace CountableBouquet
Proof
:=
  (Collapse.metrizable_collapse isClosed_integerPoints).2.1

instance

The space is paracompact.

instance : ParacompactSpace CountableBouquet
Proof
:=
  (Collapse.metrizable_collapse isClosed_integerPoints).2.2

instance

The space is a Baire space.

instance : BaireSpace CountableBouquet
Proof
:=
  Collapse.baireSpace isClosed_integerPoints interior_integerPoints

instance

The space is σ-compact, as a continuous image of the real line.

instance : SigmaCompactSpace CountableBouquet
Proof
:= by
  rw [← isSigmaCompact_univ_iff, ← image_univ_of_surjective Collapse.surjective_mk]
  exact isSigmaCompact_univ.image Collapse.continuous_mk

instance

Any two points are joined by a path, the image of a path in the real line.

instance : PathPreconnectedSpace CountableBouquet
Proof
:= by
  refine ⟨fun p q ↦ ?_⟩
  obtain ⟨x, rfl⟩ := Collapse.surjective_mk p
  obtain ⟨y, rfl⟩ := Collapse.surjective_mk q
  exact (PathConnectedSpace.joined x y).map Collapse.continuous_mk

theorem not_firstCountableTopology

TopologyByExample.CountableBouquet.not_firstCountableTopology

The space is not first countable: there is no countable neighbourhood base at the point to which the integers are collapsed.

theorem not_firstCountableTopology : ¬FirstCountableTopology CountableBouquet
Proof
:=
  Collapse.not_firstCountableTopology isClosed_integerPoints subset_rfl infinite_integerPoints
    isClosed_integerPoints isDiscrete_integerPoints
    (by rw [interior_integerPoints]; exact disjoint_empty _)

On this site: The countable bouquet of circles is not first countable

theorem not_nonempty_homeomorph_hawaiianEarring

TopologyByExample.CountableBouquet.not_nonempty_homeomorph_hawaiianEarring

The countable bouquet of circles is not homeomorphic to the Hawaiian earring, which is first countable.

theorem not_nonempty_homeomorph_hawaiianEarring :
    ¬Nonempty (CountableBouquet ≃ₜ HawaiianEarring)
Proof
:= by
  rintro ⟨e⟩
  exact not_firstCountableTopology e.isInducing.firstCountableTopology

On this site: Countable bouquet of circles: Not homeomorphic to the Hawaiian earring