Lean library · module TopologyByExample.Spaces.FortissimoSierpinski

The fortissimo space glued to Sierpiński space

Source file

In this file we define TopologyByExample.FortissimoSierpinski: the points pt a, a : ω₁, together with two further points p and q. Every point other than p is isolated, and a set containing p is open when it contains q and all but countably many of the points pt a.

So p lies in the closure of the isolated point q, and the space is not R₀. Gluing the fortissimo space on ω₁ and Sierpiński space at their limit points gives this space: the map from their sum sending both limit points to p is a quotient map, and it identifies no other points.

Every point but p is isolated, and {p} is not open, so the space is almost discrete. A set containing p is closed, so an open set containing p is clopen; with the isolated singletons and {q} (whose closure {p, q} has interior {q}) these form a base of regular open sets, and the space is semiregular. Compact sets are finite, while the space is uncountable. The space is Lindelöf and paracompact. Each {pt a} is clopen, so the space is not connected; the component of p lies in {p, q}, which is not open, so it is not locally connected. The set of all points pt a has p in its closure but contains no sequence converging to p, so the space is not sequential; and a countably infinite set of points pt a has no accumulation point, so the space is not limit point compact.

Main definitions

Main statements

Tags

fortissimo space, Sierpiński space, gluing, not R₀, almost discrete, counterexample

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

inductive type FortissimoSierpinski

TopologyByExample.FortissimoSierpinski

The points of the fortissimo space glued to Sierpiński space: a point pt a for each countable ordinal a, and two further points p and q.

inductive FortissimoSierpinski : Type
  /-- The isolated points indexed by the countable ordinals. -/
  | pt (a : OmegaOne)
  /-- The limit point. -/
  | p
  /-- The isolated point lying in every neighbourhood of `p`. -/
  | q

On this site: Space: Fortissimo space glued to Sierpiński space

instance

The space has a point.

instance : Inhabited FortissimoSierpinski
Proof
:= ⟨p⟩

theorem pt_ne_p

TopologyByExample.FortissimoSierpinski.pt_ne_p

No point pt a is p.

@[simp] theorem pt_ne_p (a : OmegaOne) : pt a ≠ p
Proof
:= nofun

theorem pt_ne_q

TopologyByExample.FortissimoSierpinski.pt_ne_q

No point pt a is q.

@[simp] theorem pt_ne_q (a : OmegaOne) : pt a ≠ q
Proof
:= nofun

theorem p_ne_q

TopologyByExample.FortissimoSierpinski.p_ne_q

The points p and q are distinct.

@[simp] theorem p_ne_q : p ≠ q
Proof
:= nofun

theorem q_ne_p

TopologyByExample.FortissimoSierpinski.q_ne_p

The points q and p are distinct.

@[simp] theorem q_ne_p : q ≠ p
Proof
:= nofun

theorem pt_injective

TopologyByExample.FortissimoSierpinski.pt_injective

The points pt a are distinct.

theorem pt_injective : Function.Injective pt
Proof
:= fun _ _ h ↦ pt.inj h

instance instTopologicalSpace

TopologyByExample.FortissimoSierpinski.instTopologicalSpace

A set is open if, whenever it contains p, it contains q and all but countably many of the points pt a.

instance instTopologicalSpace : TopologicalSpace FortissimoSierpinski
Proof
where
  IsOpen U := p ∈ U → q ∈ U ∧ {a | pt a ∉ U}.Countable
  isOpen_univ := by simp
  isOpen_inter s t hs ht h := by
    obtain ⟨hqs, hs⟩ := hs h.1
    obtain ⟨hqt, ht⟩ := ht h.2
    refine ⟨⟨hqs, hqt⟩, (hs.union ht).mono fun a ha ↦ ?_⟩
    by_contra h'
    simp only [mem_union, mem_ofPred_eq, not_or, not_not] at h'
    exact ha ⟨h'.1, h'.2⟩
  isOpen_sUnion S hS h := by
    obtain ⟨t, ht, hpt⟩ := mem_sUnion.1 h
    obtain ⟨hq, hc⟩ := hS t ht hpt
    exact ⟨mem_sUnion.2 ⟨t, ht, hq⟩, hc.mono fun a ha ↦ by
      intro h'
      exact ha (mem_sUnion.2 ⟨t, ht, h'⟩)⟩

theorem isOpen_iff

TopologyByExample.FortissimoSierpinski.isOpen_iff

The open sets of the space, by definition.

theorem isOpen_iff {U : Set FortissimoSierpinski} :
    IsOpen U ↔ (p ∈ U → q ∈ U ∧ {a | pt a ∉ U}.Countable)
Proof
:=
  Iff.rfl

theorem isOpen_of_p_notMem

TopologyByExample.FortissimoSierpinski.isOpen_of_p_notMem

A set not containing p is open.

theorem isOpen_of_p_notMem {U : Set FortissimoSierpinski} (h : p ∉ U) : IsOpen U
Proof
:=
  fun h' ↦ absurd h' h

theorem isClosed_of_p_mem

TopologyByExample.FortissimoSierpinski.isClosed_of_p_mem

A set containing p is closed.

theorem isClosed_of_p_mem {U : Set FortissimoSierpinski} (h : p ∈ U) : IsClosed U
Proof
:=
  isOpen_compl_iff.1 (isOpen_of_p_notMem fun h' ↦ h' h)

theorem isOpen_singleton_of_ne

TopologyByExample.FortissimoSierpinski.isOpen_singleton_of_ne

Every point other than p is isolated.

theorem isOpen_singleton_of_ne {x : FortissimoSierpinski} (hx : x ≠ p) : IsOpen {x}
Proof
:=
  isOpen_of_p_notMem fun h ↦ hx (mem_singleton_iff.1 h).symm

theorem not_isOpen_singleton_p

TopologyByExample.FortissimoSierpinski.not_isOpen_singleton_p

The singleton of p is not open.

theorem not_isOpen_singleton_p : ¬IsOpen ({p} : Set FortissimoSierpinski)
Proof
:=
  fun h ↦ q_ne_p (h rfl).1

theorem q_mem_of_mem_nhds

TopologyByExample.FortissimoSierpinski.q_mem_of_mem_nhds

Every neighbourhood of p contains q.

theorem q_mem_of_mem_nhds {U : Set FortissimoSierpinski} (hU : U ∈ 𝓝 p) : q ∈ U
Proof
:= by
  obtain ⟨V, hVU, hV, hpV⟩ := mem_nhds_iff.1 hU
  exact hVU (hV hpV).1

theorem q_specializes_p

TopologyByExample.FortissimoSierpinski.q_specializes_p

The point q specializes to p: p lies in the closure of {q}.

theorem q_specializes_p : q ⤳ p
Proof
:=
  specializes_iff_forall_open.2 fun _ hs hp ↦ (hs hp).1

theorem not_r0Space

TopologyByExample.FortissimoSierpinski.not_r0Space

The space is not R₀: p lies in the closure of {q}, but q is isolated and so not in the closure of {p}.

theorem not_r0Space : ¬R0Space FortissimoSierpinski
Proof
:= fun _ ↦ by
  have h : p ⤳ q := q_specializes_p.symm
  exact p_ne_q (mem_singleton_iff.1
    (specializes_iff_forall_open.1 h {q} (isOpen_singleton_of_ne q_ne_p) rfl))

On this site: Fortissimo space glued to Sierpiński space is not R₀

theorem almostDiscreteSpace

TopologyByExample.FortissimoSierpinski.almostDiscreteSpace

The space is almost discrete: p is its only point that is not isolated.

theorem almostDiscreteSpace : AlmostDiscreteSpace FortissimoSierpinski
Proof
:=
  ⟨⟨p, not_isOpen_singleton_p, fun _ hx ↦ isOpen_singleton_of_ne hx⟩⟩

On this site: Fortissimo space glued to Sierpiński space is almost discrete

instance instUncountable

TopologyByExample.FortissimoSierpinski.instUncountable

The space is uncountable.

instance instUncountable : Uncountable FortissimoSierpinski
Proof
:=
  pt_injective.uncountable

theorem not_countable

TopologyByExample.FortissimoSierpinski.not_countable

The space is not countable.

theorem not_countable : ¬Countable FortissimoSierpinski
Proof
:=
  _root_.not_countable

On this site: Fortissimo space glued to Sierpiński space is not countable

theorem isClosed_image_pt

TopologyByExample.FortissimoSierpinski.isClosed_image_pt

A set of points pt a with countably many indices is closed.

theorem isClosed_image_pt {A : Set OmegaOne} (hA : A.Countable) : IsClosed (pt '' A)
Proof
:= by
  rw [← isOpen_compl_iff]
  intro _
  refine ⟨fun ⟨a, _, h⟩ ↦ pt_ne_q a h, hA.mono fun a ha ↦ ?_⟩
  simp only [mem_ofPred_eq, mem_compl_iff, not_not] at ha
  obtain ⟨b, hb, hba⟩ := ha
  exact pt_injective hba ▸ hb

theorem isDiscrete_image_pt

TopologyByExample.FortissimoSierpinski.isDiscrete_image_pt

A set of points pt a is discrete.

theorem isDiscrete_image_pt (A : Set OmegaOne) : IsDiscrete (pt '' A)
Proof
:=
  isDiscrete_iff_forall_mem_exists_isOpen.2 fun _ ⟨a, haA, ha⟩ ↦ by
    subst ha
    refine ⟨{pt a}, isOpen_singleton_of_ne (pt_ne_p a), ?_⟩
    ext z
    simp only [mem_inter_iff, mem_singleton_iff]
    constructor
    · exact fun h ↦ h.1
    · rintro rfl
      exact ⟨rfl, a, haA, rfl⟩

theorem anticompactSpace

TopologyByExample.FortissimoSierpinski.anticompactSpace

The space is anticompact: its compact sets are finite. An infinite compact set would contain infinitely many points pt a, and a countably infinite set of them is closed and discrete.

theorem anticompactSpace : AnticompactSpace FortissimoSierpinski
Proof
:= by
  refine ⟨fun K hK ↦ ?_⟩
  have hfin : (pt ⁻¹' K).Finite := by
    by_contra hinf
    obtain ⟨T, hTK, hTc, hTi⟩ := Set.Infinite.exists_subset_countable_infinite hinf
    have hsub : pt '' T ⊆ K := image_subset_iff.2 hTK
    exact hTi ((((hK.of_isClosed_subset (isClosed_image_pt hTc) hsub).finite
      (isDiscrete_image_pt T))).of_finite_image pt_injective.injOn)
  refine ((hfin.image pt).union (toFinite ({p, q} : Set FortissimoSierpinski))).subset
    fun x hx ↦ ?_
  cases x with
  | pt a => exact Or.inl ⟨a, hx, rfl⟩
  | p => exact Or.inr (Or.inl rfl)
  | q => exact Or.inr (Or.inr rfl)

On this site: Fortissimo space glued to Sierpiński space is anticompact

theorem lindelofSpace

TopologyByExample.FortissimoSierpinski.lindelofSpace

The space is Lindelöf: a member of an open cover containing p misses only countably many points.

theorem lindelofSpace : LindelofSpace FortissimoSierpinski
Proof
:= by
  refine ⟨isLindelof_iff_countable_subcover.2 fun {ι} U hU hcover ↦ ?_⟩
  obtain ⟨i, hi⟩ := mem_iUnion.1 (hcover (mem_univ p))
  have hc : ((U i)ᶜ).Countable := by
    refine (((hU i hi).2).image pt).mono fun z hz ↦ ?_
    cases z with
    | pt a => exact ⟨a, hz, rfl⟩
    | p => exact absurd hi hz
    | q => exact absurd (hU i hi).1 hz
  obtain ⟨r, hr, hrU⟩ := hc.isLindelof.elim_countable_subcover U hU fun z _ ↦ hcover (mem_univ z)
  refine ⟨insert i r, hr.insert i, fun z _ ↦ ?_⟩
  by_cases hz : z ∈ U i
  · exact mem_iUnion₂.2 ⟨i, mem_insert _ _, hz⟩
  · obtain ⟨j, hj, hzj⟩ := mem_iUnion₂.1 (hrU hz)
    exact mem_iUnion₂.2 ⟨j, mem_insert_of_mem _ hj, hzj⟩

On this site: Fortissimo space glued to Sierpiński space is Lindelöf

theorem isClopen_singleton_pt

TopologyByExample.FortissimoSierpinski.isClopen_singleton_pt

Each point pt a is a clopen singleton.

theorem isClopen_singleton_pt (a : OmegaOne) : IsClopen ({pt a} : Set FortissimoSierpinski)
Proof
:=
  ⟨isOpen_compl_iff.1 (fun _ ↦ ⟨fun h ↦ pt_ne_q a (mem_singleton_iff.1 h).symm,
    (countable_singleton a).mono fun b hb ↦ by
      simp only [mem_ofPred_eq, mem_compl_iff, not_not, mem_singleton_iff] at hb
      exact mem_singleton_iff.2 (pt_injective hb)⟩),
    isOpen_singleton_of_ne (pt_ne_p a)⟩

theorem not_preconnectedSpace

TopologyByExample.FortissimoSierpinski.not_preconnectedSpace

The space is not connected: the singleton of a point pt a is clopen.

theorem not_preconnectedSpace : ¬PreconnectedSpace FortissimoSierpinski
Proof
:= fun _ ↦ by
  rcases isClopen_iff.1 (isClopen_singleton_pt (Classical.arbitrary OmegaOne)) with h | h
  · exact (singleton_nonempty _).ne_empty h
  · exact pt_ne_p _ (mem_singleton_iff.1 (h ▸ mem_univ p)).symm

On this site: Fortissimo space glued to Sierpiński space is not connected

theorem pt_notMem_connectedComponent_p

TopologyByExample.FortissimoSierpinski.pt_notMem_connectedComponent_p

The connected component of p contains no point pt a.

theorem pt_notMem_connectedComponent_p (a : OmegaOne) : pt a ∉ connectedComponent p
Proof
:= fun h ↦
  ((isClopen_singleton_pt a).compl.connectedComponent_subset (mem_compl_singleton_iff.2
    (pt_ne_p a).symm)) h rfl

theorem not_locallyConnectedSpace

TopologyByExample.FortissimoSierpinski.not_locallyConnectedSpace

The space is not locally connected: the connected component of p is not open, since it contains no point pt a.

theorem not_locallyConnectedSpace : ¬LocallyConnectedSpace FortissimoSierpinski
Proof
:= fun _ ↦ by
  have hc := ((isOpen_connectedComponent (x := p)) mem_connectedComponent).2
  have : {a : OmegaOne | pt a ∉ connectedComponent p} = univ :=
    eq_univ_of_forall pt_notMem_connectedComponent_p
  rw [this] at hc
  exact not_countable_univ hc

On this site: Fortissimo space glued to Sierpiński space is not locally connected

theorem isRegularOpen_singleton_q

TopologyByExample.FortissimoSierpinski.isRegularOpen_singleton_q

The closure of {q} is {p, q}, whose interior is {q}: so {q} is regular open.

theorem isRegularOpen_singleton_q : IsRegularOpen ({q} : Set FortissimoSierpinski)
Proof
:= by
  refine OpcSequentialFan.interior_closure_eq_of_subset (C := {p, q})
    (isOpen_singleton_of_ne q_ne_p) (isClosed_of_p_mem (mem_insert p _))
    (singleton_subset_iff.2 (mem_insert_of_mem _ rfl)) fun x hx ↦ ?_
  obtain ⟨O, hOC, hO, hxO⟩ := mem_interior.1 hx
  cases x with
  | pt a => exact absurd (hOC hxO) (by simp)
  | q => rfl
  | p =>
    exfalso
    have hc := (hO hxO).2
    have : {a : OmegaOne | pt a ∉ O} = univ :=
      eq_univ_of_forall fun a h ↦ by simpa using hOC h
    rw [this] at hc
    exact not_countable_univ hc

theorem semiregularSpace

TopologyByExample.FortissimoSierpinski.semiregularSpace

The space is semiregular: the points other than p and q are clopen, {q} is regular open, and an open set containing p is clopen.

theorem semiregularSpace : SemiregularSpace FortissimoSierpinski
Proof
:= by
  rw [semiregularSpace_iff_isRegularOpen]
  refine isTopologicalBasis_of_isOpen_of_nhds (fun s hs ↦ hs.isOpen) ?_
  intro x u hx hu
  cases x with
  | pt a =>
    exact ⟨{pt a}, IsClopen.isRegularOpen (isClopen_singleton_pt a), rfl,
      singleton_subset_iff.2 hx⟩
  | q => exact ⟨{q}, isRegularOpen_singleton_q, rfl, singleton_subset_iff.2 hx⟩
  | p => exact ⟨u, IsClopen.isRegularOpen ⟨isClosed_of_p_mem hx, hu⟩, hx, subset_rfl⟩

On this site: Fortissimo space glued to Sierpiński space is semiregular

definition coverIndex

TopologyByExample.FortissimoSierpinski.coverIndex

The index of the cover member chosen for each point, used to show paracompactness.

noncomputable def coverIndex {α : Type} (s : α → Set FortissimoSierpinski) (a₀ : α)
    (hcover : ⋃ a, s a = univ) (x : FortissimoSierpinski) : α
:=
  open Classical in
  if x ∈ s a₀ then a₀ else (mem_iUnion.1 (hcover ▸ mem_univ x)).choose

theorem mem_coverIndex

TopologyByExample.FortissimoSierpinski.mem_coverIndex

Each point lies in the cover member of its chosen index.

theorem mem_coverIndex {α : Type} (s : α → Set FortissimoSierpinski) (a₀ : α)
    (hcover : ⋃ a, s a = univ) (x : FortissimoSierpinski) : x ∈ s (coverIndex s a₀ hcover x)
Proof
:= by
  unfold coverIndex
  split_ifs with h
  · exact h
  · exact (mem_iUnion.1 (hcover ▸ mem_univ x)).choose_spec

theorem paracompactSpace

TopologyByExample.FortissimoSierpinski.paracompactSpace

The space is paracompact: choosing for each point one member of the cover containing it, and for all points of one member containing p that member, partitions the space into open sets refining the cover.

theorem paracompactSpace : ParacompactSpace FortissimoSierpinski
Proof
:= by
  refine ⟨fun α s hs hcover ↦ ?_⟩
  obtain ⟨a₀, ha₀⟩ := mem_iUnion.1 (hcover ▸ mem_univ p)
  set c := coverIndex s a₀ hcover
  have hc₀ : ∀ x ∈ s a₀, c x = a₀ := fun x hx ↦ by simp [c, coverIndex, hx]
  refine ⟨α, fun a ↦ {x | c x = a}, fun a ↦ ?_, ?_, fun x ↦ ?_, fun a ↦ ⟨a, ?_⟩⟩
  · intro hp
    have ha : a = a₀ := (show c p = a from hp).symm.trans (hc₀ p ha₀)
    rw [ha]
    obtain ⟨hq, hcount⟩ := hs a₀ ha₀
    exact ⟨hc₀ q hq, hcount.mono fun b hb ↦ by
      intro h
      exact hb (hc₀ _ h)⟩
  · exact eq_univ_of_forall fun x ↦ mem_iUnion.2 ⟨c x, rfl⟩
  · refine ⟨{y | c y = c x}, ?_, (finite_singleton (c x)).subset ?_⟩
    · refine (show IsOpen {y | c y = c x} from ?_).mem_nhds rfl
      intro hp
      have ha : c x = a₀ := hp.symm.trans (hc₀ p ha₀)
      obtain ⟨hq, hcount⟩ := hs a₀ ha₀
      refine ⟨(hc₀ q hq).trans ha.symm, hcount.mono fun b hb ↦ ?_⟩
      intro h
      exact hb ((hc₀ _ h).trans ha.symm)
    · rintro b ⟨y, hyb, hyx⟩
      exact (show c y = b from hyb).symm.trans hyx
  · rintro x rfl
    exact mem_coverIndex s a₀ hcover x

On this site: Fortissimo space glued to Sierpiński space is paracompact

theorem not_tendsto_p

TopologyByExample.FortissimoSierpinski.not_tendsto_p

No sequence of points pt a converges to p: its terms are missed by an open set containing p.

theorem not_tendsto_p (u : ℕ → OmegaOne) : ¬Tendsto (fun n ↦ pt (u n)) atTop (𝓝 p)
Proof
:= by
  intro h
  have hU : IsOpen ((range fun n ↦ pt (u n))ᶜ) := by
    intro _
    refine ⟨fun ⟨n, hn⟩ ↦ pt_ne_q _ hn, (countable_range u).mono fun a ha ↦ ?_⟩
    simp only [mem_ofPred_eq, mem_compl_iff, not_not] at ha
    obtain ⟨n, hn⟩ := ha
    exact ⟨n, pt_injective hn⟩
  obtain ⟨n, hn⟩ := (h.eventually_mem (hU.mem_nhds (fun ⟨n, hn⟩ ↦ pt_ne_p _ hn))).exists
  exact hn ⟨n, rfl⟩

On this site: Fortissimo space glued to Sierpiński space: No sequence of points of \(\omega_1\) converges to \(p\)

theorem not_sequentialSpace

TopologyByExample.FortissimoSierpinski.not_sequentialSpace

The space is not sequential: the set of all points pt a is sequentially closed, since no sequence of its points converges to p or to the isolated point q, but p lies in its closure.

theorem not_sequentialSpace : ¬SequentialSpace FortissimoSierpinski
Proof
:= fun _ ↦ by
  have hseq : IsSeqClosed (range pt) := by
    intro x y hx hy
    choose u hu using hx
    have hxu : x = fun n ↦ pt (u n) := funext fun n ↦ (hu n).symm
    subst hxu
    cases y with
    | pt a => exact ⟨a, rfl⟩
    | p => exact absurd hy (not_tendsto_p u)
    | q =>
      obtain ⟨n, hn⟩ := (hy.eventually_mem
        ((isOpen_singleton_of_ne q_ne_p).mem_nhds rfl)).exists
      exact absurd (mem_singleton_iff.1 hn) (pt_ne_q _)
  have hp : p ∈ closure (range pt) := by
    rw [mem_closure_iff]
    intro O hO hpO
    have : ∃ a, pt a ∈ O := by
      by_contra hno
      push Not at hno
      exact not_countable_univ ((hO hpO).2.mono fun a _ ↦ hno a)
    obtain ⟨a, ha⟩ := this
    exact ⟨pt a, ha, a, rfl⟩
  obtain ⟨a, ha⟩ := (hseq.isClosed.closure_eq ▸ hp : p ∈ range pt)
  exact pt_ne_p a ha

On this site: Fortissimo space glued to Sierpiński space is not sequential

theorem not_limitPointCompact

TopologyByExample.FortissimoSierpinski.not_limitPointCompact

The space is not limit point compact: an infinite countable set of points pt a has no accumulation point.

theorem not_limitPointCompact :
    ¬∀ s : Set FortissimoSierpinski, s.Infinite → ∃ x, AccPt x (𝓟 s)
Proof
:= by
  intro h
  obtain ⟨T, -, hTc, hTi⟩ := Set.Infinite.exists_subset_countable_infinite
    (infinite_univ (α := OmegaOne))
  obtain ⟨x, hx⟩ := h (pt '' T) (hTi.image pt_injective.injOn)
  have hcl : IsClosed (pt '' T) := isClosed_image_pt hTc
  cases x with
  | p =>
    obtain ⟨y, ⟨hyU, hyT⟩, -⟩ := accPt_iff_nhds.1 hx _ (hcl.isOpen_compl.mem_nhds
      fun ⟨a, _, ha⟩ ↦ pt_ne_p a ha)
    exact hyU hyT
  | pt a =>
    obtain ⟨y, ⟨hy, -⟩, hne⟩ := accPt_iff_nhds.1 hx _
      ((isOpen_singleton_of_ne (pt_ne_p a)).mem_nhds rfl)
    exact hne hy
  | q =>
    obtain ⟨y, ⟨hy, -⟩, hne⟩ := accPt_iff_nhds.1 hx _
      ((isOpen_singleton_of_ne q_ne_p).mem_nhds rfl)
    exact hne hy

On this site: Fortissimo space glued to Sierpiński space is not limit point compact

Gluing the fortissimo space and Sierpiński space

definition glue

TopologyByExample.FortissimoSierpinski.glue

The gluing map from the sum of the fortissimo space on ω₁ and Sierpiński space: the new point of the fortissimo space and the closed point False of Sierpiński space go to p, the open point True to q, and each point a of ω₁ to pt a.

noncomputable def glue : Fortissimo OmegaOne ⊕ Prop → FortissimoSierpinski
  | .inl z => Fortissimo.rec p pt z
  | .inr P => open Classical in if P then q else p

theorem glue_inl_point

TopologyByExample.FortissimoSierpinski.glue_inl_point

The gluing map sends the new point of the fortissimo space to p.

@[simp] theorem glue_inl_point : glue (.inl Fortissimo.point) = p
Proof
:= rfl

theorem glue_inl_some

TopologyByExample.FortissimoSierpinski.glue_inl_some

The gluing map sends a point a of ω₁ to pt a.

@[simp] theorem glue_inl_some (a : OmegaOne) : glue (.inl (a : Fortissimo OmegaOne)) = pt a
Proof
:= rfl

theorem glue_inr_true

TopologyByExample.FortissimoSierpinski.glue_inr_true

The gluing map sends the open point of Sierpiński space to q.

@[simp] theorem glue_inr_true : glue (.inr True) = q
Proof
:= by simp [glue]

theorem glue_inr_false

TopologyByExample.FortissimoSierpinski.glue_inr_false

The gluing map sends the closed point of Sierpiński space to p.

@[simp] theorem glue_inr_false : glue (.inr False) = p
Proof
:= by simp [glue]

theorem isOpen_prop_iff

TopologyByExample.FortissimoSierpinski.isOpen_prop_iff

The open sets of Sierpiński space: a set is open if it contains True whenever it contains False.

theorem isOpen_prop_iff {t : Set Prop} : IsOpen t ↔ (False ∈ t → True ∈ t)
Proof
:= by
  refine ⟨fun h hf ↦ ?_, fun h ↦ isOpen_iff_mem_nhds.2 fun P hP ↦ ?_⟩
  · have : t ∈ 𝓝 False := h.mem_nhds hf
    rw [nhds_false, mem_top] at this
    exact this ▸ mem_univ True
  · by_cases hPt : P
    · rw [eq_true hPt, nhds_true, mem_pure]
      exact (eq_true hPt) ▸ hP
    · rw [eq_false hPt, nhds_false, mem_top]
      have hf : False ∈ t := (eq_false hPt) ▸ hP
      have ht := h hf
      exact eq_univ_of_forall fun Q ↦ by
        by_cases hQ : Q
        · exact (eq_true hQ) ▸ ht
        · exact (eq_false hQ) ▸ hf

theorem isQuotientMap_glue

TopologyByExample.FortissimoSierpinski.isQuotientMap_glue

Gluing. The gluing map is a quotient map: the space is the sum of the fortissimo space on ω₁ and Sierpiński space with their limit points identified.

theorem isQuotientMap_glue : Topology.IsQuotientMap glue
Proof
:= by
  refine ⟨isCoinducing_iff.2 fun U ↦ ?_, fun x ↦ ?_⟩
  · rw [isOpen_sum_iff, Fortissimo.isOpen_iff, isOpen_prop_iff, isOpen_iff]
    simp only [mem_preimage, glue_inl_point, glue_inr_true, glue_inr_false]
    have hset : (Fortissimo.some ⁻¹' (Sum.inl ⁻¹' (glue ⁻¹' U)))ᶜ = {a | pt a ∉ U} := by
      ext a
      simp
    rw [hset]
    exact ⟨fun ⟨h1, h2⟩ hp ↦ ⟨h2 hp, h1 hp⟩, fun h ↦ ⟨fun hp ↦ (h hp).2, fun hp ↦ (h hp).1⟩⟩
  · cases x with
    | pt a => exact ⟨.inl a, rfl⟩
    | p => exact ⟨.inl Fortissimo.point, rfl⟩
    | q => exact ⟨.inr True, glue_inr_true⟩

theorem glue_eq_glue_iff

TopologyByExample.FortissimoSierpinski.glue_eq_glue_iff

Gluing. The gluing map identifies only the two limit points: the new point of the fortissimo space and the closed point of Sierpiński space.

theorem glue_eq_glue_iff {x y : Fortissimo OmegaOne ⊕ Prop} :
    glue x = glue y ↔ x = y ∨ (x = .inl Fortissimo.point ∧ y = .inr False) ∨
      (x = .inr False ∧ y = .inl Fortissimo.point)
Proof
:= by
  constructor
  · intro h
    rcases x with x | P <;> rcases y with y | Q
    · cases x <;> cases y <;> simp_all [pt_injective.eq_iff]
    · cases x with
      | point =>
        by_cases hQ : Q
        · simp [eq_true hQ] at h
        · simp [eq_false hQ]
      | coe a =>
        by_cases hQ : Q
        · simp [eq_true hQ] at h
        · simp [eq_false hQ] at h
    · cases y with
      | point =>
        by_cases hP : P
        · simp [eq_true hP] at h
        · simp [eq_false hP]
      | coe a =>
        by_cases hP : P
        · simp [eq_true hP] at h
        · simp [eq_false hP] at h
    · by_cases hP : P <;> by_cases hQ : Q <;> simp_all [eq_true, eq_false]
  · rintro (rfl | ⟨rfl, rfl⟩ | ⟨rfl, rfl⟩) <;> simp

theorem isQuotientMap_glue_and_glue_eq_glue_iff

TopologyByExample.FortissimoSierpinski.isQuotientMap_glue_and_glue_eq_glue_iff

Gluing. The space is the fortissimo space on ω₁ and Sierpiński space glued at their limit points: the gluing map is a quotient map, and the only two points it identifies are the new point of the fortissimo space and the closed point of Sierpiński space.

theorem isQuotientMap_glue_and_glue_eq_glue_iff :
    Topology.IsQuotientMap glue ∧ ∀ x y : Fortissimo OmegaOne ⊕ Prop,
      glue x = glue y ↔ x = y ∨ (x = .inl Fortissimo.point ∧ y = .inr False) ∨
        (x = .inr False ∧ y = .inl Fortissimo.point)
Proof
:=
  ⟨isQuotientMap_glue, fun _ _ ↦ glue_eq_glue_iff⟩

On this site: Fortissimo space glued to Sierpiński space: Gluing the fortissimo space and Sierpiński space