Lean library · module TopologyByExample.Spaces.CircleTwoOrigins

The circle with two origins

Source file

The circle with two origins is the circle with the point 1 replaced by two points: the space TopologyByExample.WithOrigins Circle 1 Bool. It is T₁, compact, second countable, path connected, locally path connected and a Baire space, but not semiregular, since any neighbourhood of one origin meets any neighbourhood of the other; and it is not strongly connected. It is the one-point compactification of the line with two origins.

Main statements

Tags

circle with two origins, non-Hausdorff manifold, one-point compactification

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 CircleTwoOrigins

TopologyByExample.CircleTwoOrigins

The circle with two origins: the circle with the point 1 replaced by two points.

abbrev CircleTwoOrigins : Type
:=
  WithOrigins Circle 1 Bool

On this site: Space: Circle with two origins

instance

instance : (𝓝[≠] (1 : Circle)).NeBot
Proof
:=
  have := Circle.nontrivial
  inferInstance

theorem t1Space

TopologyByExample.CircleTwoOrigins.t1Space

The circle with two origins is T₁.

theorem t1Space : T1Space CircleTwoOrigins
Proof
:=
  inferInstance

On this site: The circle with two origins is T₁

theorem compactSpace

TopologyByExample.CircleTwoOrigins.compactSpace

The circle with two origins is compact.

theorem compactSpace : CompactSpace CircleTwoOrigins
Proof
:=
  WithOrigins.compactSpace

On this site: The circle with two origins is compact

theorem secondCountableTopology

TopologyByExample.CircleTwoOrigins.secondCountableTopology

The circle with two origins is second countable.

theorem secondCountableTopology : SecondCountableTopology CircleTwoOrigins
Proof
:=
  WithOrigins.secondCountableTopology

On this site: The circle with two origins is second countable

theorem pathPreconnectedSpace

TopologyByExample.CircleTwoOrigins.pathPreconnectedSpace

The circle with two origins is path connected.

theorem pathPreconnectedSpace : PathPreconnectedSpace CircleTwoOrigins
Proof
:=
  have := Circle.nontrivial
  WithOrigins.pathPreconnectedSpace

theorem locallyPathConnectedSpace

TopologyByExample.CircleTwoOrigins.locallyPathConnectedSpace

The circle with two origins is locally path connected.

theorem locallyPathConnectedSpace : LocallyPathConnectedSpace CircleTwoOrigins
Proof
:=
  have := Circle.locallyPathConnectedSpace
  inferInstance

theorem baireSpace

TopologyByExample.CircleTwoOrigins.baireSpace

The circle with two origins is a Baire space.

theorem baireSpace : BaireSpace CircleTwoOrigins
Proof
:=
  WithOrigins.baireSpace

On this site: The circle with two origins is a Baire space

theorem not_semiregularSpace

TopologyByExample.CircleTwoOrigins.not_semiregularSpace

The circle with two origins is not semiregular.

theorem not_semiregularSpace : ¬SemiregularSpace CircleTwoOrigins
Proof
:=
  WithOrigins.not_semiregularSpace

On this site: The circle with two origins is not semiregular

theorem inter_nonempty_of_mem_nhds

TopologyByExample.CircleTwoOrigins.inter_nonempty_of_mem_nhds

Any neighbourhood of one origin meets any neighbourhood of the other.

theorem inter_nonempty_of_mem_nhds {U V : Set CircleTwoOrigins} (hU : U ∈ 𝓝 (origin false))
    (hV : V ∈ 𝓝 (origin true)) : (U ∩ V).Nonempty
Proof
:=
  let ⟨_, _, h⟩ := exists_mk_mem_inter hU hV
  ⟨_, h⟩

On this site: Circle with two origins: Neighbourhoods of the two origins meet

theorem nonempty_homeomorph_onePoint

TopologyByExample.CircleTwoOrigins.nonempty_homeomorph_onePoint

The circle with two origins is the one-point compactification of the line with two origins.

theorem nonempty_homeomorph_onePoint :
    Nonempty (OnePoint (LineWithOrigins Bool) ≃ₜ CircleTwoOrigins)
Proof
:= by
  obtain ⟨e⟩ := Circle.nonempty_onePoint_real_homeomorph
  let r : Circle ≃ₜ Circle := Homeomorph.mulLeft (e ((0 : ℝ) : OnePoint ℝ))⁻¹
  exact ⟨onePointHomeomorph.trans (WithOrigins.congr (e.trans r) (by simp [r]))⟩

On this site: Circle with two origins: The one-point compactification of the line with two origins

theorem not_stronglyConnectedSpace

TopologyByExample.CircleTwoOrigins.not_stronglyConnectedSpace

The circle with two origins is not strongly connected: the real part of the projection to the circle is a nonconstant continuous real function.

theorem not_stronglyConnectedSpace : ¬StronglyConnectedSpace CircleTwoOrigins
Proof
:= by
  intro ⟨h⟩
  have := h ⟨fun q ↦ ((proj q : Circle) : ℂ).re, by fun_prop⟩ (mk 1 false) (mk (-1) false)
  norm_num at this

On this site: The circle with two origins is not strongly connected