Lean library · module TopologyByExample.Spaces.ClosedRealRayProperties

Properties of the closed-ray sums

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 nonempty_space

TopologyByExample.ClosedRealRaySums.nonempty_space

The mixed sum is nonempty.

theorem nonempty_space : Nonempty Space
Proof
:= inferInstance

theorem metrizable_space

TopologyByExample.ClosedRealRaySums.metrizable_space

The mixed sum is metrizable.

theorem metrizable_space : MetrizableSpace Space
Proof
:= inferInstance

On this site: The sum of two closed rays and a closed interval is metrizable

theorem secondCountable_space

TopologyByExample.ClosedRealRaySums.secondCountable_space

The mixed sum has a countable basis.

theorem secondCountable_space : SecondCountableTopology Space
Proof
:= inferInstance

theorem sigmaLocallyCompact_space

TopologyByExample.ClosedRealRaySums.sigmaLocallyCompact_space

The mixed sum is sigma-compact and weakly locally compact.

theorem sigmaLocallyCompact_space : SigmaCompactSpace Space ∧ WeaklyLocallyCompactSpace Space
Proof
:= by
  let : LocallyCompactSpace Ray := isClosed_Ici.locallyCompactSpace
  exact ⟨inferInstance, inferInstance⟩

On this site: The sum of two closed rays and a closed interval is σ-locally compact

theorem not_compact_space

TopologyByExample.ClosedRealRaySums.not_compact_space

The unbounded closed-ray component prevents compactness.

theorem not_compact_space : ¬CompactSpace Space
Proof
:= by
  intro h
  have : CompactSpace Ray := (compactSpace_sum_iff.mp h).2
  exact HalfOpenInterval.not_compactSpace HalfOpenInterval.homeomorphIci.symm.compactSpace

On this site: The sum of two closed rays and a closed interval is not compact

theorem not_preconnected_space

TopologyByExample.ClosedRealRaySums.not_preconnected_space

The three components make the sum disconnected.

theorem not_preconnected_space : ¬PreconnectedSpace Space
Proof
:= not_preconnectedSpace_sum

On this site: The sum of two closed rays and a closed interval is not connected

theorem locallyArcConnected_space

TopologyByExample.ClosedRealRaySums.locallyArcConnected_space

Convex interval components make the sum locally arc connected.

theorem locallyArcConnected_space : LocallyArcConnectedSpace Space
Proof
:= by
  have hr := locallyArcConnectedSpace_of_convex (convex_Ici (0 : ℝ))
  have hi := locallyArcConnectedSpace_unitInterval
  exact locallyArcConnectedSpace_sum_iff.mpr
    ⟨locallyArcConnectedSpace_sum_iff.mpr ⟨hr, hi⟩, hr⟩

On this site: The sum of two closed rays and a closed interval is locally arc connected

theorem not_totallyPathDisconnected_space

TopologyByExample.ClosedRealRaySums.not_totallyPathDisconnected_space

The compact interval component contains a nonconstant path.

theorem not_totallyPathDisconnected_space : ¬TotallyPathDisconnectedSpace Space
Proof
:= by
  intro h
  have : TotallyPathDisconnectedSpace unitInterval :=
    (totallyPathDisconnectedSpace_sum_iff.mp
      (totallyPathDisconnectedSpace_sum_iff.mp h).1).2
  have h01 := TotallyPathDisconnectedSpace.eq_of_joined (0 : unitInterval) 1
    (UnitInterval.joined 0 1)
  exact zero_ne_one h01

On this site: The sum of two closed rays and a closed interval is not totally path disconnected

theorem cardinality_space

TopologyByExample.ClosedRealRaySums.cardinality_space

The three interval components together have continuum cardinality.

theorem cardinality_space : CardinalityContinuum Space
Proof
:= by
  unfold CardinalityContinuum Space Ray
  simp only [Cardinal.mk_sum, Cardinal.lift_id, Cardinal.mk_Ici_real,
    Cardinal.mk_unitInterval, Cardinal.add_eq_self Cardinal.aleph0_le_continuum]

On this site: The sum of two closed rays and a closed interval has cardinality equal to \(\mathfrak{c}\)

On this site: Space: Two closed rays and two closed intervals; Space: Two closed rays, a closed interval and an isolated point