Lean library · module TopologyByExample.Spaces.Telophase

The telophase space

Source file

The telophase space is the unit interval with its right endpoint 1 doubled: the space TopologyByExample.WithOrigins unitInterval 1 Bool, whose two origins are the endpoint 1 (origin false) and the new endpoint 1* (origin true). Every neighbourhood of either endpoint contains an interval (a, 1).

It is T₁, compact, second countable, path connected, locally path connected and a Baire space. The two endpoints have the same punctured neighbourhoods, so they have no disjoint neighbourhoods and the space is not semiregular; the coordinate is a nonconstant continuous real function, so it is not strongly connected. Removing either endpoint leaves a copy of the unit interval, so the space is the union of two compact sets whose intersection is not compact.

Main statements

Tags

telophase topology, interval with two right endpoints

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 Telophase

TopologyByExample.Telophase

The telophase space: the unit interval with its right endpoint replaced by two points.

abbrev Telophase : Type
:=
  WithOrigins unitInterval 1 Bool

On this site: Space: Telophase space

instance

The endpoint 1 of the unit interval is not isolated.

instance : (𝓝[≠] (1 : unitInterval)).NeBot
Proof
:= by
  have : Nontrivial unitInterval := ⟨⟨0, 1, by simp⟩⟩
  infer_instance

theorem t1Space

TopologyByExample.Telophase.t1Space

The telophase space is T₁.

theorem t1Space : T1Space Telophase
Proof
:=
  inferInstance

On this site: The telophase space is T₁

theorem compactSpace

TopologyByExample.Telophase.compactSpace

The telophase space is compact.

theorem compactSpace : CompactSpace Telophase
Proof
:=
  WithOrigins.compactSpace

On this site: The telophase space is compact

theorem secondCountableTopology

TopologyByExample.Telophase.secondCountableTopology

The telophase space is second countable.

theorem secondCountableTopology : SecondCountableTopology Telophase
Proof
:=
  WithOrigins.secondCountableTopology

On this site: The telophase space is second countable

theorem pathPreconnectedSpace

TopologyByExample.Telophase.pathPreconnectedSpace

The telophase space is path connected.

theorem pathPreconnectedSpace : PathPreconnectedSpace Telophase
Proof
:=
  have : Nontrivial unitInterval := ⟨⟨0, 1, by simp⟩⟩
  have := UnitInterval.pathConnectedSpace
  WithOrigins.pathPreconnectedSpace

On this site: The telophase space is path connected

theorem locallyPathConnectedSpace

TopologyByExample.Telophase.locallyPathConnectedSpace

The telophase space is locally path connected.

theorem locallyPathConnectedSpace : LocallyPathConnectedSpace Telophase
Proof
:=
  have := UnitInterval.locallyPathConnectedSpace
  inferInstance

theorem baireSpace

TopologyByExample.Telophase.baireSpace

The telophase space is a Baire space.

theorem baireSpace : BaireSpace Telophase
Proof
:=
  WithOrigins.baireSpace

On this site: The telophase space is a Baire space

theorem closure_mem_nhds_endpoint

TopologyByExample.Telophase.closure_mem_nhds_endpoint

The closure of every neighbourhood of either endpoint is a neighbourhood of the other.

theorem closure_mem_nhds_endpoint (i j : Bool) :
    ∀ U ∈ 𝓝 (origin i : Telophase), closure U ∈ 𝓝 (origin j)
Proof
:=
  closure_mem_nhds_origin i j

theorem not_semiregularSpace

TopologyByExample.Telophase.not_semiregularSpace

The telophase space is not semiregular.

theorem not_semiregularSpace : ¬SemiregularSpace Telophase
Proof
:=
  not_semiregularSpace_of_closure_mem_nhds_of_ne (closure_mem_nhds_endpoint false true)
    (origin_injective.ne (by decide))

On this site: The telophase space is not semiregular

theorem not_stronglyConnectedSpace

TopologyByExample.Telophase.not_stronglyConnectedSpace

The telophase space is not strongly connected: the coordinate is a nonconstant continuous real function.

theorem not_stronglyConnectedSpace : ¬StronglyConnectedSpace Telophase
Proof
:= by
  intro ⟨h⟩
  have := h ⟨fun q ↦ ((proj q : unitInterval) : ℝ), by fun_prop⟩ (origin false) (mk 0 false)
  simp [origin] at this

On this site: The telophase space is not strongly connected

theorem compl_endpoint_eq_range

TopologyByExample.Telophase.compl_endpoint_eq_range

Removing one endpoint leaves the image of the sheet of the other.

theorem compl_endpoint_eq_range (i : Bool) :
    ({origin (!i)}ᶜ : Set Telophase) = range (chart i)
Proof
:= by
  rw [range_chart]
  ext q
  simp only [mem_compl_iff, mem_singleton_iff]
  constructor
  · rintro hq j rfl
    cases i <;> cases j <;> simp_all
  · rintro h rfl
    cases i <;> simp at h

theorem nonempty_homeomorph_compl_endpoint

TopologyByExample.Telophase.nonempty_homeomorph_compl_endpoint

Removing either endpoint of the telophase space leaves a copy of the unit interval.

theorem nonempty_homeomorph_compl_endpoint :
    Nonempty (({origin true}ᶜ : Set Telophase) ≃ₜ unitInterval) ∧
      Nonempty (({origin false}ᶜ : Set Telophase) ≃ₜ unitInterval)
Proof
:=
  ⟨⟨(Homeomorph.setCongr (compl_endpoint_eq_range false)).trans
      (isOpenEmbedding_chart false).isEmbedding.toHomeomorph.symm⟩,
    ⟨(Homeomorph.setCongr (compl_endpoint_eq_range true)).trans
      (isOpenEmbedding_chart true).isEmbedding.toHomeomorph.symm⟩⟩

On this site: Telophase space: Removing an endpoint leaves the unit interval

theorem isCompact_compl_endpoint_and_not_isCompact_inter

TopologyByExample.Telophase.isCompact_compl_endpoint_and_not_isCompact_inter

The two copies of the unit interval in the telophase space are compact, and their intersection is not.

theorem isCompact_compl_endpoint_and_not_isCompact_inter :
    IsCompact ({origin true}ᶜ : Set Telophase) ∧ IsCompact ({origin false}ᶜ : Set Telophase) ∧
      ¬IsCompact ({origin true}ᶜ ∩ {origin false}ᶜ : Set Telophase)
Proof
:= by
  refine ⟨?_, ?_, fun hc ↦ ?_⟩
  · rw [show (true : Bool) = !false from rfl, compl_endpoint_eq_range, ← image_univ]
    exact isCompact_univ.image (continuous_chart false)
  · rw [show (false : Bool) = !true from rfl, compl_endpoint_eq_range, ← image_univ]
    exact isCompact_univ.image (continuous_chart true)
  · have hs : ({origin true}ᶜ ∩ {origin false}ᶜ : Set Telophase) =
        chart false '' {x | x ≠ 1} := by
      ext q
      obtain ⟨x, i, rfl⟩ := exists_mk q
      simp only [mem_inter_iff, mem_compl_iff, mem_singleton_iff, mem_image, chart_apply, origin,
        mk_eq_mk_iff]
      rcases eq_or_ne x 1 with rfl | hx <;> cases i <;> simp_all
    rw [hs, ← (isOpenEmbedding_chart false).isInducing.isCompact_iff] at hc
    have h1 : (1 : unitInterval) ∈ closure {x | x ≠ 1} :=
      mem_closure_iff_nhdsWithin_neBot.2 (by simpa [compl_def] using
        (inferInstance : (𝓝[≠] (1 : unitInterval)).NeBot))
    rw [hc.isClosed.closure_eq] at h1
    exact h1 rfl

On this site: Telophase space: Two compact sets whose intersection is not compact