Lean library · module TopologyByExample.Spaces.ArensSpace
Arens space
In this file we define TopologyByExample.ArensSpace, Arens's space S₂. Its points are the
points pt m n (m n : ℕ), the points lim m (m : ℕ) and one further point top. The m-th
column is {lim m} ∪ {pt m n | n : ℕ}. A set s is open when it contains all but finitely
many points pt m n of the m-th column for each lim m ∈ s, and all but finitely many points
lim m if top ∈ s. So every pt m n is isolated, pt m n → lim m as n → ∞, and
lim m → top as m → ∞.
Main definitions
TopologyByExample.ArensSpace: Arens space.TopologyByExample.ArensSpace.column: the column of a point, ornonefortop.
Main results
TopologyByExample.ArensSpace.isOpen_iff: the open sets.- Instances:
Countable,ZeroDimensionalSpace,SequentialSpace. TopologyByExample.ArensSpace.scatteredSpace: Arens space is scattered.TopologyByExample.ArensSpace.not_frechetUrysohnSpace:toplies in the closure of the set of pointspt m n, but no sequence of such points converges to it.TopologyByExample.ArensSpace.not_sequentiallyDiscreteSpace: each column converges.
References
- R. Arens, Note on convergence in topology
Tags
Arens space, sequential space, Fréchet–Urysohn space, 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 ArensSpace
TopologyByExample.ArensSpace
Arens space S₂: isolated points pt m n, the points lim m (the limit of the m-th
column pt m 0, pt m 1, …) and the point top (the limit of lim 0, lim 1, …).
inductive ArensSpace : Type
/-- The `n`-th isolated point of the `m`-th column. -/
| pt (m n : ℕ) : ArensSpace
/-- The limit of the `m`-th column. -/
| lim (m : ℕ) : ArensSpace
/-- The limit of the points `lim m`. -/
| top : ArensSpace
deriving DecidableEq
On this site: Space: Arens space
instance
The point top is the default point of Arens space.
instance : Inhabited ArensSpace
Proof
:= ⟨top⟩
definition IsOpenSet
TopologyByExample.ArensSpace.IsOpenSet
The open sets of Arens space: a set is open if, with each lim m, it contains all but
finitely many points of the m-th column, and with top, all but finitely many points
lim m.
def IsOpenSet (s : Set ArensSpace) : Prop
:=
(∀ m, lim m ∈ s → ∀ᶠ n in cofinite, pt m n ∈ s) ∧ (top ∈ s → ∀ᶠ m in cofinite, lim m ∈ s)
instance
The topology of Arens space, whose open sets are the sets satisfying IsOpenSet.
instance : TopologicalSpace ArensSpace
Proof
where
IsOpen := IsOpenSet
isOpen_univ := ⟨fun _ _ ↦ .of_forall fun _ ↦ trivial, fun _ ↦ .of_forall fun _ ↦ trivial⟩
isOpen_inter _ _ hs ht :=
⟨fun m hm ↦ (hs.1 m hm.1).and (ht.1 m hm.2), fun h ↦ (hs.2 h.1).and (ht.2 h.2)⟩
isOpen_sUnion _ hS :=
⟨fun m ⟨t, htS, hm⟩ ↦ ((hS t htS).1 m hm).mono fun _ hn ↦ ⟨t, htS, hn⟩,
fun ⟨t, htS, ht⟩ ↦ ((hS t htS).2 ht).mono fun _ hm ↦ ⟨t, htS, hm⟩⟩
theorem isOpen_iff
TopologyByExample.ArensSpace.isOpen_iff
The open sets of Arens space.
theorem isOpen_iff {s : Set ArensSpace} :
IsOpen s ↔
(∀ m, lim m ∈ s → ∀ᶠ n in cofinite, pt m n ∈ s) ∧
(top ∈ s → ∀ᶠ m in cofinite, lim m ∈ s)
Proof
:=
Iff.rfl
definition ofSum
TopologyByExample.ArensSpace.ofSum
The map from (ℕ × ℕ) ⊕ ℕ ⊕ Unit onto Arens space.
def ofSum : (ℕ × ℕ) ⊕ ℕ ⊕ Unit → ArensSpace
:=
Sum.elim (fun p ↦ pt p.1 p.2) (Sum.elim lim fun _ ↦ top)
theorem ofSum_surjective
TopologyByExample.ArensSpace.ofSum_surjective
Every point of Arens space is the image of a point of (ℕ × ℕ) ⊕ ℕ ⊕ Unit.
theorem ofSum_surjective : Function.Surjective ofSum
Proof
| pt m n => ⟨.inl (m, n), rfl⟩
| lim m => ⟨.inr (.inl m), rfl⟩
| top => ⟨.inr (.inr ()), rfl⟩
instance
Arens space is countable.
instance : Countable ArensSpace
Proof
:= ofSum_surjective.countable
definition column
TopologyByExample.ArensSpace.column
The column of a point: some m for pt m n and lim m, none for top.
def column : ArensSpace → Option ℕ
| pt m _ => some m
| lim m => some m
| top => none
theorem isOpen_singleton_pt
TopologyByExample.ArensSpace.isOpen_singleton_pt
Every point pt m n is isolated.
theorem isOpen_singleton_pt (m n : ℕ) : IsOpen {pt m n}
Proof
:=
⟨fun _ h ↦ absurd h (by simp), fun h ↦ absurd h (by simp)⟩
theorem isClopen_singleton_pt
TopologyByExample.ArensSpace.isClopen_singleton_pt
A point pt m n is open and closed.
theorem isClopen_singleton_pt (m n : ℕ) : IsClopen {pt m n}
Proof
:= by
refine ⟨⟨⟨fun m' _ ↦ ?_, fun _ ↦ .of_forall fun _ ↦ by simp⟩⟩, isOpen_singleton_pt m n⟩
refine ((finite_singleton n).eventually_cofinite_notMem).mono fun n' hn' ↦ ?_
simp only [mem_compl_iff, mem_singleton_iff, pt.injEq, not_and]
exact fun _ h ↦ hn' h
theorem column_pt
TopologyByExample.ArensSpace.column_pt
The column of pt m n is m.
@[simp] theorem column_pt (m n : ℕ) : column (pt m n) = some m
Proof
:= rfl
theorem column_lim
TopologyByExample.ArensSpace.column_lim
The column of lim m is m.
@[simp] theorem column_lim (m : ℕ) : column (lim m) = some m
Proof
:= rfl
theorem column_top
TopologyByExample.ArensSpace.column_top
The point top lies in no column.
@[simp] theorem column_top : column top = none
Proof
:= rfl
theorem isClopen_trim
TopologyByExample.ArensSpace.isClopen_trim
If an open set u contains top, the points of u whose column has its limit in u form an
open and closed set containing top.
theorem isClopen_trim {u : Set ArensSpace} (hu : IsOpen u) (htop : top ∈ u) :
IsClopen {y | y ∈ u ∧ ∀ m, column y = some m → lim m ∈ u}
Proof
:= by
refine ⟨⟨⟨fun m hm ↦ .of_forall fun n hn ↦ ?_, fun h ↦ ?_⟩⟩, ?_, ?_⟩
· have hl : lim m ∉ u := fun hl ↦ hm ⟨hl, fun k hk ↦ by simp_all⟩
exact hl (hn.2 m rfl)
· exact absurd ⟨htop, fun k hk ↦ by simp at hk⟩ h
· intro m hm
exact (hu.1 m hm.1).mono fun n hn ↦ ⟨hn, fun k hk ↦ by simp_all⟩
· intro h
exact (hu.2 h.1).mono fun m hm ↦ ⟨hm, fun k hk ↦ by simp_all⟩
theorem isClopen_inter_column
TopologyByExample.ArensSpace.isClopen_inter_column
If an open set u contains lim m, its points in the m-th column form an open and closed
set containing lim m.
theorem isClopen_inter_column {u : Set ArensSpace} (hu : IsOpen u) {m : ℕ} (hm : lim m ∈ u) :
IsClopen {y | y ∈ u ∧ column y = some m}
Proof
:= by
refine ⟨⟨⟨fun k hk ↦ .of_forall fun n hn ↦ ?_, fun _ ↦
(finite_singleton m).eventually_cofinite_notMem.mono fun k hk hkv ↦
hk (by simpa using hkv.2)⟩⟩, ?_, ?_⟩
· have : k ≠ m := by
rintro rfl
exact hk ⟨hm, rfl⟩
exact this (by simpa using hn.2)
· intro k hk
obtain rfl : k = m := by simpa using hk.2
exact (hu.1 k hk.1).mono fun n hn ↦ ⟨hn, rfl⟩
· intro h
simp at h
instance instZeroDimensionalSpace
TopologyByExample.ArensSpace.instZeroDimensionalSpace
Arens space is zero-dimensional.
instance instZeroDimensionalSpace : ZeroDimensionalSpace ArensSpace
Proof
:= by
refine ZeroDimensionalSpace.of_isTopologicalBasis (u := {s | IsClopen s}) (fun _ h ↦ h)
(isTopologicalBasis_of_isOpen_of_nhds (fun _ h ↦ h.isOpen) fun x u hx hu ↦ ?_)
cases x with
| pt m n => exact ⟨{pt m n}, isClopen_singleton_pt m n, rfl, singleton_subset_iff.2 hx⟩
| lim m => exact ⟨_, isClopen_inter_column hu hx, ⟨hx, rfl⟩, fun _ h ↦ h.1⟩
| top => exact ⟨_, isClopen_trim hu hx, ⟨hx, fun _ h ↦ by simp at h⟩, fun _ h ↦ h.1⟩
On this site: Arens space is zero-dimensional
theorem isOpen_column
TopologyByExample.ArensSpace.isOpen_column
The m-th column, with its limit, is open.
theorem isOpen_column (m : ℕ) : IsOpen {y | column y = some m}
Proof
:=
⟨fun _ _ ↦ .of_forall fun _ ↦ by simp_all, fun h ↦ by simp at h⟩
theorem scatteredSpace
TopologyByExample.ArensSpace.scatteredSpace
Arens space is scattered: a nonempty set containing a point pt m n has it as an isolated
point; otherwise a point lim m of the set is isolated in it, through its column; otherwise the
set is {top}.
theorem scatteredSpace : ScatteredSpace ArensSpace
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun s ⟨x, hx⟩ ↦ ?_
by_cases hp : ∃ m n, pt m n ∈ s
· obtain ⟨m, n, h⟩ := hp
exact ⟨_, h, _, (isOpen_singleton_pt m n).mem_nhds rfl, inter_subset_left⟩
push Not at hp
by_cases hl : ∃ m, lim m ∈ s
· obtain ⟨m, h⟩ := hl
refine ⟨_, h, _, (isOpen_column m).mem_nhds rfl, fun y ⟨hy, hys⟩ ↦ ?_⟩
cases y with
| pt k n => exact absurd hys (hp k n)
| lim k => simp_all
| top => simp at hy
push Not at hl
cases x with
| pt m n => exact absurd hx (hp m n)
| lim m => exact absurd hx (hl m)
| top =>
refine ⟨top, hx, univ, univ_mem, fun y ⟨_, hy⟩ ↦ ?_⟩
cases y with
| pt k n => exact absurd hy (hp k n)
| lim k => exact absurd hy (hl k)
| top => rfl
On this site: Arens space is scattered
theorem tendsto_pt_lim
TopologyByExample.ArensSpace.tendsto_pt_lim
An injective sequence of points of the m-th column converges to lim m.
theorem tendsto_pt_lim (m : ℕ) {u : ℕ → ℕ} (hu : Function.Injective u) :
Tendsto (fun k ↦ pt m (u k)) atTop (𝓝 (lim m))
Proof
:= by
refine tendsto_nhds.2 fun s hs hm ↦ ?_
rw [← Nat.cofinite_eq_atTop]
exact hu.tendsto_cofinite.eventually (hs.1 m hm)
theorem tendsto_lim_top
TopologyByExample.ArensSpace.tendsto_lim_top
An injective sequence of points lim m converges to top.
theorem tendsto_lim_top {u : ℕ → ℕ} (hu : Function.Injective u) :
Tendsto (fun k ↦ lim (u k)) atTop (𝓝 top)
Proof
:= by
refine tendsto_nhds.2 fun s hs ht ↦ ?_
rw [← Nat.cofinite_eq_atTop]
exact hu.tendsto_cofinite.eventually (hs.2 ht)
instance instSequentialSpace
TopologyByExample.ArensSpace.instSequentialSpace
Arens space is sequential: a sequentially closed set contains lim m as soon as it contains
infinitely many points of the m-th column, and top as soon as it contains infinitely many
points lim m.
instance instSequentialSpace : SequentialSpace ArensSpace
Proof
:= by
refine ⟨fun s hs ↦ ⟨⟨fun m hm ↦ ?_, fun ht ↦ ?_⟩⟩⟩
· by_contra h
have hinf : {n | pt m n ∈ s}.Infinite := by
simpa [eventually_cofinite] using h
have := hinf.to_subtype
let e := Infinite.natEmbedding {n | pt m n ∈ s}
exact hm (hs (fun k ↦ (e k).property)
(tendsto_pt_lim m (Subtype.val_injective.comp e.injective)))
· by_contra h
have hinf : {m | lim m ∈ s}.Infinite := by
simpa [eventually_cofinite] using h
have := hinf.to_subtype
let e := Infinite.natEmbedding {m | lim m ∈ s}
exact ht (hs (fun k ↦ (e k).property)
(tendsto_lim_top (Subtype.val_injective.comp e.injective)))
On this site: Arens space is sequential
theorem not_sequentiallyDiscreteSpace
TopologyByExample.ArensSpace.not_sequentiallyDiscreteSpace
Arens space is not sequentially discrete: the points of the first column converge to
lim 0.
theorem not_sequentiallyDiscreteSpace : ¬SequentiallyDiscreteSpace ArensSpace
Proof
:= by
intro h
obtain ⟨k, hk⟩ := (h.eventually_eq_of_tendsto _ _ (tendsto_pt_lim 0 Function.injective_id)).exists
simp at hk
On this site: Arens space is not sequentially discrete
theorem top_mem_closure
TopologyByExample.ArensSpace.top_mem_closure
The point top lies in the closure of the set of isolated points pt m n.
theorem top_mem_closure : top ∈ closure {y | ∃ m n, y = pt m n}
Proof
:= by
refine mem_closure_iff.2 fun o ho ht ↦ ?_
obtain ⟨m, hm⟩ := (ho.2 ht).exists
obtain ⟨n, hn⟩ := (ho.1 m hm).exists
exact ⟨_, hn, m, n, rfl⟩
theorem not_tendsto_top
TopologyByExample.ArensSpace.not_tendsto_top
No sequence of points pt m n converges to top. Such a sequence visits each column only
finitely often, since the complement of a column is a neighbourhood of top; so the complement
of its range is a neighbourhood of top that it never enters.
theorem not_tendsto_top {u : ℕ → ArensSpace} (hu : ∀ k, ∃ m n, u k = pt m n) :
¬Tendsto u atTop (𝓝 top)
Proof
:= by
intro h
choose a b hab using hu
have hcol (m : ℕ) : {k | a k = m}.Finite := by
have hV : IsOpen {y | column y ≠ some m} :=
⟨fun k hk ↦ .of_forall fun n ↦ by simpa using hk, fun _ ↦
(finite_singleton m).eventually_cofinite_notMem.mono fun k hk ↦ by simpa using hk⟩
have := h.eventually (hV.mem_nhds (by simp))
rw [← Nat.cofinite_eq_atTop, eventually_cofinite] at this
refine this.subset fun k hk ↦ ?_
simp [hab, show a k = m from hk]
have hW : IsOpen (range u)ᶜ := by
refine ⟨fun m _ ↦ ?_, fun _ ↦ .of_forall fun m ⟨k, hk⟩ ↦ ?_⟩
· refine ((hcol m).image b).eventually_cofinite_notMem.mono fun n hn ⟨k, hk⟩ ↦ hn ?_
rw [hab k, pt.injEq] at hk
exact ⟨k, hk.1, hk.2⟩
· rw [hab k] at hk
exact ArensSpace.noConfusion hk
obtain ⟨k, hk⟩ := (h.eventually (hW.mem_nhds fun ⟨k, hk⟩ ↦ by simp [hab k] at hk)).exists
exact hk ⟨k, rfl⟩
theorem not_frechetUrysohnSpace
TopologyByExample.ArensSpace.not_frechetUrysohnSpace
Arens space is not a Fréchet–Urysohn space.
theorem not_frechetUrysohnSpace : ¬FrechetUrysohnSpace ArensSpace
Proof
:= by
intro _
obtain ⟨u, hu, h⟩ := mem_closure_iff_seq_limit.1 top_mem_closure
exact not_tendsto_top hu h
On this site: Arens space is not Fréchet–Urysohn