Lean library · module TopologyByExample.Spaces.ModifiedTelophase

The modified telophase space

Source file

The modified telophase space is [0, ∞) with two points at infinity, ∞_E and ∞_D. Points of [0, ∞) have their usual neighbourhoods; the sets (a, ∞) ∖ E ∪ {∞_E} form a neighbourhood base at ∞_E, where E is the set of even natural numbers, and the sets (a, ∞) ∖ D ∪ {∞_D} one at ∞_D, where D is the set of odd natural numbers.

We build it on the carrier of WithOrigins ℝ≥0∞ ⊤ Bool (the extended half-line with ∞ doubled, origin false = ∞_E and origin true = ∞_D), with the topology generated by the topology of WithOrigins ℝ≥0∞ ⊤ Bool and the two sets S i: the points other than the other point at infinity that do not lie over a natural number of parity i.

It is T₁, compact, second countable, connected and a Baire space; it is neither path connected nor locally connected; the closure of every neighbourhood of ∞_E is a neighbourhood of ∞_D, so it is not semiregular; it is not strongly connected and not totally path disconnected.

Main statements

Tags

modified telophase topology

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 Base

TopologyByExample.ModifiedTelophase.Base

The extended half-line with ∞ doubled, the underlying telophase-like space.

abbrev ModifiedTelophase.Base : Type
:=
  WithOrigins ℝ≥0∞ ⊤ Bool

definition ModifiedTelophase

TopologyByExample.ModifiedTelophase

The modified telophase space: [0, ∞) with two points at infinity ∞_E and ∞_D, whose neighbourhoods avoid the even and the odd natural numbers respectively.

def ModifiedTelophase : Type
:=
  ModifiedTelophase.Base

On this site: Space: Modified telophase space

definition toBase

TopologyByExample.ModifiedTelophase.toBase

The identity map from the modified telophase space to the underlying telophase-like space.

def toBase : ModifiedTelophase ≃ Base
:=
  Equiv.refl _

definition S

TopologyByExample.ModifiedTelophase.S

The points other than the point at infinity origin (!i) that do not lie over a natural number of parity i (even for i = false, odd for i = true).

def S (i : Bool) : Set ModifiedTelophase
:=
  {q | toBase q ≠ origin (!i) ∧ ∀ n : ℕ, n % 2 = i.toNat → proj (toBase q) ≠ (n : ℝ≥0∞)}

instance

The topology of the modified telophase space: the coarsest finer than that of the underlying telophase-like space in which the two sets S false and S true are open.

instance : TopologicalSpace ModifiedTelophase
Proof
:=
  induced toBase inferInstance ⊓ generateFrom {S false, S true}

instance

The modified telophase space is nonempty.

instance : Nonempty ModifiedTelophase
Proof
:=
  ⟨toBase.symm (origin false)⟩

definition top

TopologyByExample.ModifiedTelophase.top

The point at infinity ∞_E (for i = false) or ∞_D (for i = true).

def top (i : Bool) : ModifiedTelophase
:=
  toBase.symm (origin i)

definition emb

TopologyByExample.ModifiedTelophase.emb

The embedding of [0, ∞).

def emb (x : ℝ≥0) : ModifiedTelophase
:=
  toBase.symm (mk (x : ℝ≥0∞) false)

definition coord

TopologyByExample.ModifiedTelophase.coord

The coordinate, with value ∞ at both points at infinity.

def coord (q : ModifiedTelophase) : ℝ≥0∞
:=
  proj (toBase q)

theorem coord_emb

TopologyByExample.ModifiedTelophase.coord_emb

@[simp] theorem coord_emb (x : ℝ≥0) : coord (emb x) = x
Proof
:= rfl

theorem coord_top

TopologyByExample.ModifiedTelophase.coord_top

@[simp] theorem coord_top (i : Bool) : coord (top i) = ⊤
Proof
:= rfl

theorem emb_injective

TopologyByExample.ModifiedTelophase.emb_injective

theorem emb_injective : Function.Injective emb
Proof
:= fun x y h ↦ by
  simpa using congrArg coord h

theorem emb_ne_top

TopologyByExample.ModifiedTelophase.emb_ne_top

theorem emb_ne_top (x : ℝ≥0) (i : Bool) : emb x ≠ top i
Proof
:= fun h ↦ by
  simpa using congrArg coord h

theorem top_injective

TopologyByExample.ModifiedTelophase.top_injective

theorem top_injective : Function.Injective top
Proof
:= fun _ _ h ↦
  origin_injective (toBase.symm.injective h)

theorem eq_top_or_eq_emb

TopologyByExample.ModifiedTelophase.eq_top_or_eq_emb

Every point is a point at infinity or a point of [0, ∞).

theorem eq_top_or_eq_emb (q : ModifiedTelophase) : (∃ i, q = top i) ∨ ∃ x, q = emb x
Proof
:= by
  obtain ⟨y, i, hy⟩ := exists_mk (toBase q)
  rw [← toBase.symm_apply_apply q, ← hy]
  induction y using ENNReal.recTopCoe with
  | top => exact Or.inl ⟨i, rfl⟩
  | coe x => exact Or.inr ⟨x, by rw [emb, mk_eq_mk_of_ne ENNReal.coe_ne_top i false]⟩

theorem exists_eq_top_of_coord_eq_top

TopologyByExample.ModifiedTelophase.exists_eq_top_of_coord_eq_top

A point lying over ∞ is a point at infinity.

theorem exists_eq_top_of_coord_eq_top {q : ModifiedTelophase} (hq : coord q = ⊤) :
    ∃ i, q = top i
Proof
:= by
  rcases eq_top_or_eq_emb q with h | ⟨x, rfl⟩
  · exact h
  · simp at hq

theorem continuous_toBase

TopologyByExample.ModifiedTelophase.continuous_toBase

theorem continuous_toBase : Continuous toBase
Proof
:=
  continuous_iff_le_induced.2 inf_le_left

theorem continuous_coord

TopologyByExample.ModifiedTelophase.continuous_coord

theorem continuous_coord : Continuous coord
Proof
:=
  continuous_proj.comp continuous_toBase

theorem isOpen_preimage_toBase

TopologyByExample.ModifiedTelophase.isOpen_preimage_toBase

theorem isOpen_preimage_toBase {s : Set Base} (hs : IsOpen s) : IsOpen (toBase ⁻¹' s)
Proof
:=
  hs.preimage continuous_toBase

theorem isOpen_S

TopologyByExample.ModifiedTelophase.isOpen_S

theorem isOpen_S (i : Bool) : IsOpen (S i)
Proof
:=
  (inf_le_right : (inferInstance : TopologicalSpace ModifiedTelophase) ≤ _) _
    (isOpen_generateFrom_of_mem (by cases i <;> simp))

theorem top_mem_S

TopologyByExample.ModifiedTelophase.top_mem_S

theorem top_mem_S (i : Bool) : top i ∈ S i
Proof
:=
  ⟨origin_injective.ne (by cases i <;> decide), fun n _ h ↦ ENNReal.top_ne_natCast n h⟩

theorem top_not_mem_S

TopologyByExample.ModifiedTelophase.top_not_mem_S

theorem top_not_mem_S (i : Bool) : top (!i) ∉ S i
Proof
:=
  fun h ↦ h.1 rfl

theorem emb_mem_S_iff

TopologyByExample.ModifiedTelophase.emb_mem_S_iff

A point of [0, ∞) lies in S i when it is not a natural number of parity i.

theorem emb_mem_S_iff (x : ℝ≥0) (i : Bool) :
    emb x ∈ S i ↔ ∀ n : ℕ, n % 2 = i.toNat → x ≠ n
Proof
:= by
  refine ⟨fun h n hn hx ↦ h.2 n hn (by simp [emb, hx]), fun h ↦ ⟨?_, fun n hn hx ↦
    h n hn ?_⟩⟩
  · exact fun h' ↦ emb_ne_top x (!i) (toBase.injective h')
  · exact_mod_cast (show ((x : ℝ≥0∞)) = n from hx)

theorem emb_mem_S_of_ne

TopologyByExample.ModifiedTelophase.emb_mem_S_of_ne

A point of [0, ∞) that is not a natural number lies in both sets S i.

theorem emb_mem_S_of_ne {x : ℝ≥0} (hx : ∀ n : ℕ, x ≠ n) (i : Bool) : emb x ∈ S i
Proof
:=
  (emb_mem_S_iff x i).2 fun n _ ↦ hx n

theorem exists_btwn_ne_nat

TopologyByExample.ModifiedTelophase.exists_btwn_ne_nat

Between any two nonnegative reals there is one that is not a natural number.

theorem exists_btwn_ne_nat {a b : ℝ≥0} (h : a < b) :
    ∃ y : ℝ≥0, a < y ∧ y < b ∧ ∀ n : ℕ, y ≠ n
Proof
:= by
  obtain ⟨r, hr, har, hrb⟩ := exists_irrational_btwn (NNReal.coe_lt_coe.2 h)
  refine ⟨⟨r, a.property.trans har.le⟩, har, hrb, fun n hn ↦ hr.ne_nat n ?_⟩
  have := congrArg NNReal.toReal hn
  change r = ((n : ℝ≥0) : ℝ) at this
  simpa using this

Neighbourhoods

theorem isClosed_setOf_eq_natCast

TopologyByExample.ModifiedTelophase.isClosed_setOf_eq_natCast

The natural numbers of a given parity form a closed subset of [0, ∞).

theorem isClosed_setOf_eq_natCast (r : ℕ) :
    IsClosed {x : ℝ≥0 | ∃ n : ℕ, n % 2 = r ∧ x = n}
Proof
:= by
  have : {x : ℝ≥0 | ∃ n : ℕ, n % 2 = r ∧ x = n} =
      ((↑) : ℝ≥0 → ℝ) ⁻¹' (((↑) : ℕ → ℝ) '' {n | n % 2 = r}) := by
    ext x
    simp only [mem_ofPred_eq, mem_preimage, mem_image]
    constructor
    · rintro ⟨n, hn, rfl⟩
      exact ⟨n, hn, by simp⟩
    · rintro ⟨n, hn, hx⟩
      exact ⟨n, hn, NNReal.coe_injective (by simpa using hx.symm)⟩
  rw [this]
  exact (Nat.isClosedEmbedding_coe_real.isClosedMap _ (isClosed_discrete _)).preimage
    NNReal.continuous_coe

theorem continuous_emb

TopologyByExample.ModifiedTelophase.continuous_emb

The embedding of [0, ∞) is continuous.

theorem continuous_emb : Continuous emb
Proof
:= by
  refine continuous_inf_rng.2 ⟨continuous_induced_rng.2 ?_, continuous_generateFrom_iff.2 ?_⟩
  · exact (continuous_chart false).comp ENNReal.continuous_coe
  · rintro s (rfl | rfl)
    · convert (isClosed_setOf_eq_natCast (false : Bool).toNat).isOpen_compl using 1
      ext x
      simp only [mem_preimage, emb_mem_S_iff, mem_compl_iff, mem_ofPred_eq, not_exists, not_and]
    · convert (isClosed_setOf_eq_natCast (true : Bool).toNat).isOpen_compl using 1
      ext x
      simp only [mem_preimage, emb_mem_S_iff, mem_compl_iff, mem_ofPred_eq, not_exists, not_and]

theorem image_emb

TopologyByExample.ModifiedTelophase.image_emb

theorem image_emb (V : Set ℝ≥0) :
    emb '' V = toBase ⁻¹' (chart false '' (((↑) : ℝ≥0 → ℝ≥0∞) '' V))
Proof
:= by
  ext q
  constructor
  · rintro ⟨x, hx, rfl⟩
    exact ⟨x, ⟨x, hx, rfl⟩, rfl⟩
  · rintro ⟨_, ⟨x, hx, rfl⟩, hq⟩
    exact ⟨x, hx, toBase.injective hq⟩

theorem isOpenMap_emb

TopologyByExample.ModifiedTelophase.isOpenMap_emb

The embedding of [0, ∞) is an open map.

theorem isOpenMap_emb : IsOpenMap emb
Proof
:= fun V hV ↦ by
  rw [image_emb]
  exact isOpen_preimage_toBase ((isOpenMap_chart false) _
    (ENNReal.isOpenEmbedding_coe.isOpenMap V hV))

theorem isOpenEmbedding_emb

TopologyByExample.ModifiedTelophase.isOpenEmbedding_emb

The embedding of [0, ∞) is an open embedding.

theorem isOpenEmbedding_emb : IsOpenEmbedding emb
Proof
:=
  .of_continuous_injective_isOpenMap continuous_emb emb_injective isOpenMap_emb

definition nbhd

TopologyByExample.ModifiedTelophase.nbhd

The basic neighbourhood (a, ∞) ∖ E ∪ {∞_E} of ∞_E, and likewise of ∞_D.

def nbhd (i : Bool) (a : ℝ≥0) : Set ModifiedTelophase
:=
  toBase ⁻¹' (chart i '' Ioi (a : ℝ≥0∞)) ∩ S i

theorem isOpen_nbhd

TopologyByExample.ModifiedTelophase.isOpen_nbhd

theorem isOpen_nbhd (i : Bool) (a : ℝ≥0) : IsOpen (nbhd i a)
Proof
:=
  (isOpen_preimage_toBase ((isOpenMap_chart i) _ isOpen_Ioi)).inter (isOpen_S i)

theorem top_mem_nbhd

TopologyByExample.ModifiedTelophase.top_mem_nbhd

theorem top_mem_nbhd (i : Bool) (a : ℝ≥0) : top i ∈ nbhd i a
Proof
:=
  ⟨⟨⊤, ENNReal.coe_lt_top, rfl⟩, top_mem_S i⟩

theorem emb_mem_nbhd_iff

TopologyByExample.ModifiedTelophase.emb_mem_nbhd_iff

theorem emb_mem_nbhd_iff (i : Bool) (a x : ℝ≥0) :
    emb x ∈ nbhd i a ↔ a < x ∧ ∀ n : ℕ, n % 2 = i.toNat → x ≠ n
Proof
:= by
  rw [nbhd, mem_inter_iff, emb_mem_S_iff]
  refine and_congr_left fun _ ↦ ⟨?_, fun h ↦ ⟨x, ENNReal.coe_lt_coe.2 h,
    mk_eq_mk_of_ne ENNReal.coe_ne_top i false⟩⟩
  rintro ⟨y, hy, hyx⟩
  obtain ⟨rfl, -⟩ := mk_eq_mk_iff.1 hyx
  exact ENNReal.coe_lt_coe.1 hy

theorem coord_lt_of_mem_nbhd

TopologyByExample.ModifiedTelophase.coord_lt_of_mem_nbhd

theorem coord_lt_of_mem_nbhd {i : Bool} {a : ℝ≥0} {q : ModifiedTelophase} (hq : q ∈ nbhd i a) :
    (a : ℝ≥0∞) < coord q
Proof
:= by
  rcases eq_top_or_eq_emb q with ⟨j, rfl⟩ | ⟨x, rfl⟩
  · simp
  · exact ENNReal.coe_lt_coe.2 ((emb_mem_nbhd_iff i a x).1 hq).1

theorem nbhd_mem_nhds

TopologyByExample.ModifiedTelophase.nbhd_mem_nhds

theorem nbhd_mem_nhds (i : Bool) (a : ℝ≥0) : nbhd i a ∈ 𝓝 (top i)
Proof
:=
  (isOpen_nbhd i a).mem_nhds (top_mem_nbhd i a)

theorem exists_of_mem_nhds_top

TopologyByExample.ModifiedTelophase.exists_of_mem_nhds_top

Every neighbourhood of top i contains all the points x > a of [0, ∞) that are not natural numbers of parity i, for some a.

theorem exists_of_mem_nhds_top {i : Bool} {U : Set ModifiedTelophase} (hU : U ∈ 𝓝 (top i)) :
    ∃ a : ℝ≥0, ∀ x : ℝ≥0, a < x → (∀ n : ℕ, n % 2 = i.toNat → x ≠ n) → emb x ∈ U
Proof
:= by
  have h𝓝 : 𝓝 (top i) = comap toBase (𝓝 (origin i)) ⊓
      @nhds ModifiedTelophase (generateFrom {S false, S true}) (top i) :=
    (nhds_inf (t₁ := induced toBase inferInstance) (t₂ := generateFrom _)).trans
      (by rw [nhds_induced]; rfl)
  have hle : 𝓟 (S i) ≤ @nhds ModifiedTelophase (generateFrom {S false, S true}) (top i) := by
    rw [nhds_generateFrom]
    refine le_iInf₂ fun s hs ↦ principal_mono.2 ?_
    obtain ⟨hs, rfl | rfl⟩ := hs <;> cases i
    · exact le_rfl
    · exact absurd hs (top_not_mem_S false)
    · exact absurd hs (top_not_mem_S true)
    · exact le_rfl
  have hU' : U ∈ comap toBase (𝓝 (origin i)) ⊓ 𝓟 (S i) :=
    inf_le_inf_left _ hle (h𝓝 ▸ hU)
  rw [mem_inf_principal] at hU'
  obtain ⟨t, ht, htU⟩ := mem_comap.1 hU'
  rw [origin, nhds_mk, mem_map] at ht
  obtain ⟨b, hb, hbt⟩ := ENNReal.nhds_top_basis.mem_iff.1 ht
  lift b to ℝ≥0 using hb.ne
  refine ⟨b, fun x hx hpar ↦ htU ?_ ((emb_mem_S_iff x i).2 hpar)⟩
  have := hbt (ENNReal.coe_lt_coe.2 hx)
  rw [mem_preimage, chart_apply, mk_eq_mk_of_ne ENNReal.coe_ne_top i false] at this
  exact this

theorem dense_range_emb

TopologyByExample.ModifiedTelophase.dense_range_emb

The points of [0, ∞) are dense.

theorem dense_range_emb : Dense (range emb)
Proof
:= by
  refine dense_iff_closure_eq.2 (eq_univ_of_forall fun q ↦ ?_)
  rcases eq_top_or_eq_emb q with ⟨i, rfl⟩ | ⟨x, rfl⟩
  · refine mem_closure_iff_nhds.2 fun U hU ↦ ?_
    obtain ⟨a, ha⟩ := exists_of_mem_nhds_top hU
    obtain ⟨y, hay, -, hy⟩ := exists_btwn_ne_nat (lt_add_one a)
    exact ⟨emb y, ha y hay fun n _ ↦ hy n, y, rfl⟩
  · exact subset_closure ⟨x, rfl⟩

Values

theorem t1Space

TopologyByExample.ModifiedTelophase.t1Space

The modified telophase space is T₁, its topology being finer than a T₁ topology.

theorem t1Space : T1Space ModifiedTelophase
Proof
:= by
  refine ⟨fun q ↦ ?_⟩
  have := (isClosed_singleton (x := toBase q)).preimage continuous_toBase
  rwa [show toBase ⁻¹' {toBase q} = {q} from by ext; simp [toBase.injective.eq_iff]] at this

On this site: The modified telophase space is T₁

theorem secondCountableTopology

TopologyByExample.ModifiedTelophase.secondCountableTopology

The modified telophase space is second countable.

theorem secondCountableTopology : SecondCountableTopology ModifiedTelophase
Proof
:=
  have := WithOrigins.secondCountableTopology (X := ℝ≥0∞) (p := ⊤) (I := Bool)
  secondCountableTopology_inf (secondCountableTopology_induced _ _ toBase)
    (@SecondCountableTopology.mk _ (generateFrom _) ⟨_, toFinite _ |>.countable, rfl⟩)

On this site: The modified telophase space is second countable

theorem compactSpace

TopologyByExample.ModifiedTelophase.compactSpace

The modified telophase space is compact: a neighbourhood of ∞_E and one of ∞_D together contain a tail (c, ∞) of [0, ∞), and the rest is the compact interval [0, c].

theorem compactSpace : CompactSpace ModifiedTelophase
Proof
:= by
  classical
  refine ⟨isCompact_of_finite_subcover fun U hUo hU ↦ ?_⟩
  obtain ⟨iE, hiE⟩ := mem_iUnion.1 (hU (mem_univ (top false)))
  obtain ⟨iD, hiD⟩ := mem_iUnion.1 (hU (mem_univ (top true)))
  obtain ⟨a, ha⟩ := exists_of_mem_nhds_top ((hUo iE).mem_nhds hiE)
  obtain ⟨b, hb⟩ := exists_of_mem_nhds_top ((hUo iD).mem_nhds hiD)
  have hK : IsCompact (emb '' Icc 0 (max a b)) := isCompact_Icc.image continuous_emb
  obtain ⟨t, ht⟩ := hK.elim_finite_subcover U hUo (subset_univ _ |>.trans hU)
  refine ⟨insert iE (insert iD t), fun q _ ↦ ?_⟩
  simp only [Finset.mem_insert, mem_iUnion, exists_prop]
  rcases eq_top_or_eq_emb q with ⟨i, rfl⟩ | ⟨x, rfl⟩
  · cases i
    · exact ⟨iE, Or.inl rfl, hiE⟩
    · exact ⟨iD, Or.inr (Or.inl rfl), hiD⟩
  rcases le_or_gt x (max a b) with hx | hx
  · obtain ⟨j, hj, hxj⟩ := mem_iUnion₂.1 (ht ⟨x, ⟨zero_le, hx⟩, rfl⟩)
    exact ⟨j, Or.inr (Or.inr hj), hxj⟩
  · by_cases hE : ∀ n : ℕ, n % 2 = (false : Bool).toNat → x ≠ n
    · exact ⟨iE, Or.inl rfl, ha x ((le_max_left a b).trans_lt hx) hE⟩
    · refine ⟨iD, Or.inr (Or.inl rfl), hb x ((le_max_right a b).trans_lt hx) fun n hn hxn ↦ ?_⟩
      push Not at hE
      obtain ⟨m, hm, hxm⟩ := hE
      rw [hxm, Nat.cast_inj] at hxn
      simp_all

On this site: The modified telophase space is compact

theorem preconnectedSpace

TopologyByExample.ModifiedTelophase.preconnectedSpace

The modified telophase space is connected: [0, ∞) is a dense connected subset.

theorem preconnectedSpace : PreconnectedSpace ModifiedTelophase
Proof
:= by
  refine ⟨?_⟩
  rw [← dense_range_emb.closure_eq]
  exact (isPreconnected_range continuous_emb).closure

On this site: The modified telophase space is connected

theorem baireSpace

TopologyByExample.ModifiedTelophase.baireSpace

The modified telophase space is a Baire space: [0, ∞) is a dense open subspace, and it is completely metrizable.

theorem baireSpace : BaireSpace ModifiedTelophase
Proof
:= by
  have : BaireSpace (range emb) := isOpenEmbedding_emb.isEmbedding.toHomeomorph.baireSpace
  exact baireSpace_of_isOpen_of_dense isOpenEmbedding_emb.isOpen_range dense_range_emb

On this site: The modified telophase space is a Baire space

theorem closure_mem_nhds_top

TopologyByExample.ModifiedTelophase.closure_mem_nhds_top

The closure of every neighbourhood of ∞_E is a neighbourhood of ∞_D.

theorem closure_mem_nhds_top :
    ∀ U ∈ 𝓝 (top false), closure U ∈ 𝓝 (top true)
Proof
:= by
  intro U hU
  obtain ⟨a, ha⟩ := exists_of_mem_nhds_top hU
  refine mem_of_superset (nbhd_mem_nhds true a) fun q hq ↦ ?_
  rcases eq_top_or_eq_emb q with ⟨j, rfl⟩ | ⟨x, rfl⟩
  · cases j
    · exact absurd hq.2 (top_not_mem_S true)
    refine mem_closure_iff_nhds.2 fun V hV ↦ ?_
    obtain ⟨b, hb⟩ := exists_of_mem_nhds_top hV
    obtain ⟨y, hy, -, hyn⟩ := exists_btwn_ne_nat (lt_add_one (max a b))
    exact ⟨emb y, hb y ((le_max_right a b).trans_lt hy) fun n _ ↦ hyn n,
      ha y ((le_max_left a b).trans_lt hy) fun n _ ↦ hyn n⟩
  · have hax : a < x := ((emb_mem_nbhd_iff true a x).1 hq).1
    refine mem_closure_iff_nhds.2 fun V hV ↦ ?_
    obtain ⟨u, hxu, hu⟩ := exists_Ico_subset_of_mem_nhds
      (continuous_emb.continuousAt.preimage_mem_nhds hV) ⟨x + 1, lt_add_one x⟩
    obtain ⟨y, hxy, hyu, hyn⟩ := exists_btwn_ne_nat hxu
    exact ⟨emb y, hu ⟨hxy.le, hyu⟩, ha y (hax.trans hxy) fun n _ ↦ hyn n⟩

On this site: Modified telophase space: Closures of neighbourhoods of \(\infty_E\)

theorem not_semiregularSpace

TopologyByExample.ModifiedTelophase.not_semiregularSpace

The modified telophase space is not semiregular.

theorem not_semiregularSpace : ¬SemiregularSpace ModifiedTelophase
Proof
:=
  have := t1Space
  not_semiregularSpace_of_closure_mem_nhds_of_ne closure_mem_nhds_top
    (top_injective.ne (by decide))

On this site: The modified telophase space is not semiregular

theorem not_stronglyConnectedSpace

TopologyByExample.ModifiedTelophase.not_stronglyConnectedSpace

The modified telophase space is not strongly connected: the coordinate, truncated at 1, is a nonconstant continuous real function.

theorem not_stronglyConnectedSpace : ¬StronglyConnectedSpace ModifiedTelophase
Proof
:= by
  intro ⟨h⟩
  have := h ⟨fun q ↦ ENNReal.truncateToReal 1 (coord q),
    (ENNReal.continuous_truncateToReal ENNReal.one_ne_top).comp continuous_coord⟩
    (top false) (emb 0)
  simp [ENNReal.truncateToReal] at this

On this site: The modified telophase space is not strongly connected

theorem not_totallyPathDisconnectedSpace

TopologyByExample.ModifiedTelophase.not_totallyPathDisconnectedSpace

The modified telophase space is not totally path disconnected: [0, ∞) contains paths.

theorem not_totallyPathDisconnectedSpace :
    ¬TotallyPathDisconnectedSpace ModifiedTelophase
Proof
:= by
  intro ⟨h⟩
  have hj : Joined (emb 0) (emb 1) :=
    ⟨⟨⟨fun t ↦ emb (Real.toNNReal t), continuous_emb.comp
      (continuous_real_toNNReal.comp continuous_subtypeVal)⟩, by simp, by simp⟩⟩
  exact zero_ne_one (emb_injective (h _ _ hj))

On this site: The modified telophase space is not totally path disconnected

theorem not_locallyConnectedSpace

TopologyByExample.ModifiedTelophase.not_locallyConnectedSpace

The modified telophase space is not locally connected: a connected neighbourhood of ∞_E inside (0, ∞) ∖ E ∪ {∞_E} would lie in (2k + 2, ∞) ∖ E ∪ {∞_E} for every k.

theorem not_locallyConnectedSpace : ¬LocallyConnectedSpace ModifiedTelophase
Proof
:= by
  intro _
  set C := connectedComponentIn (nbhd false 0) (top false)
  have hC : C ∈ 𝓝 (top false) := connectedComponentIn_mem_nhds (nbhd_mem_nhds false 0)
  obtain ⟨a, ha⟩ := exists_of_mem_nhds_top hC
  set k := ⌈a⌉₊
  have hxa : a < ((2 * k + 1 : ℕ) : ℝ≥0) := by
    refine (Nat.le_ceil a).trans_lt ?_
    exact_mod_cast (show k < 2 * k + 1 by omega)
  have hx : emb ((2 * k + 1 : ℕ) : ℝ≥0) ∈ C := ha _ hxa fun n hn h ↦ by
    rw [Nat.cast_inj] at h
    simp only [Bool.toNat_false] at hn
    omega
  have hW1 : IsOpen (emb '' Iio ((2 * k + 2 : ℕ) : ℝ≥0)) := isOpenMap_emb _ isOpen_Iio
  have hdisj : Disjoint (nbhd false ((2 * k + 2 : ℕ) : ℝ≥0))
      (emb '' Iio ((2 * k + 2 : ℕ) : ℝ≥0)) := by
    rw [disjoint_iff_forall_ne]
    rintro q hq _ ⟨y, hy, rfl⟩ rfl
    have := coord_lt_of_mem_nbhd hq
    rw [coord_emb, ENNReal.coe_lt_coe] at this
    exact (lt_asymm this) hy
  have hsub : C ⊆ nbhd false ((2 * k + 2 : ℕ) : ℝ≥0) ∪ emb '' Iio ((2 * k + 2 : ℕ) : ℝ≥0) := by
    intro q hq
    have hqF := connectedComponentIn_subset _ _ hq
    rcases eq_top_or_eq_emb q with ⟨j, rfl⟩ | ⟨y, rfl⟩
    · cases j
      · exact Or.inl (top_mem_nbhd false _)
      · exact absurd hqF.2 (top_not_mem_S false)
    · have hpar := ((emb_mem_nbhd_iff false 0 y).1 hqF).2
      rcases lt_trichotomy y ((2 * k + 2 : ℕ) : ℝ≥0) with h | h | h
      · exact Or.inr ⟨y, h, rfl⟩
      · exact absurd h (hpar _ (by simp only [Bool.toNat_false]; omega))
      · exact Or.inl ((emb_mem_nbhd_iff false _ y).2 ⟨h, hpar⟩)
  have hCW := isPreconnected_connectedComponentIn.subset_left_of_subset_union
    (isOpen_nbhd false _) hW1 hdisj hsub
    ⟨top false, mem_connectedComponentIn (top_mem_nbhd false 0), top_mem_nbhd false _⟩
  have := ((emb_mem_nbhd_iff false _ _).1 (hCW hx)).1
  exact absurd (Nat.cast_lt.1 this) (by omega)

On this site: The modified telophase space is not locally connected

theorem not_pathPreconnectedSpace

TopologyByExample.ModifiedTelophase.not_pathPreconnectedSpace

The modified telophase space is not path connected: no path leaves a point at infinity. A path from ∞_E to 0 leaves the points at infinity for the last time at some s, at a point top i; just after s it stays in the basic neighbourhood (0, ∞) ∖ P ∪ {top i}, P the natural numbers of parity i, while its coordinate runs through every value from a finite one up to ∞, among them a natural number of parity i.

theorem not_pathPreconnectedSpace : ¬PathPreconnectedSpace ModifiedTelophase
Proof
:= by
  intro ⟨h⟩
  obtain ⟨γ⟩ := h (top false) (emb 0)
  set T : Set unitInterval := {t | coord (γ t) = ⊤}
  have hTc : IsClosed T := isClosed_eq (continuous_coord.comp γ.continuous) continuous_const
  have hT0 : (0 : unitInterval) ∈ T := by simp [T]
  obtain ⟨s, hsT, hsmax⟩ := hTc.isCompact.exists_isGreatest ⟨0, hT0⟩
  have hs1 : s < 1 := by
    refine lt_of_le_of_ne unitInterval.le_one' fun h ↦ ?_
    have : coord (γ 1) = ⊤ := h ▸ hsT
    simp at this
  obtain ⟨i, hi⟩ := exists_eq_top_of_coord_eq_top hsT
  have hN : γ ⁻¹' nbhd i 0 ∈ 𝓝 s :=
    γ.continuous.continuousAt.preimage_mem_nhds (hi ▸ nbhd_mem_nhds i 0)
  obtain ⟨u, hsu, hu⟩ := exists_Ico_subset_of_mem_nhds hN ⟨1, hs1⟩
  obtain ⟨t₁, hst₁, ht₁u⟩ := exists_between hsu
  have ht₁ : coord (γ t₁) ≠ ⊤ := fun h ↦ (hsmax h).not_gt hst₁
  have hconn : IsPreconnected ((coord ∘ γ) '' Icc s t₁) :=
    isPreconnected_Icc.image _ (continuous_coord.comp γ.continuous).continuousOn
  have hIcc := hconn.Icc_subset ⟨t₁, ⟨hst₁.le, le_rfl⟩, rfl⟩ ⟨s, ⟨le_rfl, hst₁.le⟩, hsT⟩
  set n := 2 * ⌈(coord (γ t₁)).toNNReal⌉₊ + i.toNat
  have hn : (n : ℝ≥0∞) ∈ Icc (coord (γ t₁)) ⊤ := by
    refine ⟨?_, le_top⟩
    rw [← ENNReal.coe_toNNReal ht₁, ← ENNReal.coe_natCast, ENNReal.coe_le_coe]
    refine (Nat.le_ceil _).trans ?_
    exact_mod_cast (show ⌈(coord (γ t₁)).toNNReal⌉₊ ≤ n by omega)
  obtain ⟨t, ⟨hst, htt₁⟩, ht⟩ := hIcc hn
  have hγt := (hu ⟨hst, htt₁.trans_lt ht₁u⟩).2
  refine hγt.2 n ?_ ht
  have := Bool.toNat_lt i
  omega

On this site: The modified telophase space is not path connected