Lean library · module TopologyByExample.Spaces.BoxRealGroup
Complete regularity of the countable box product
Coordinatewise addition and negation make the box product a topological group. Its compatible group uniformity proves complete regularity.
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
Imports
definition equivSequences
TopologyByExample.BoxRealPower.equivSequences
Forget the wrapper around a real sequence.
def equivSequences : Space ≃ (ℕ → ℝ)
:=
⟨Space.coord, Space.mk, fun _ ↦ rfl, fun _ ↦ rfl⟩
instance
instance : AddCommGroup Space
Proof
:= equivSequences.addCommGroup
theorem continuous_box_add
TopologyByExample.BoxRealPower.continuous_box_add
Addition is continuous even when every coordinate is restricted.
theorem continuous_box_add : Continuous (fun p : Space × Space ↦ p.1 + p.2)
Proof
:= by
apply basis.continuous_iff.mpr
rintro _ ⟨U, hU, rfl⟩
apply isOpen_prod_iff.mpr
intro a b hab
have hloc : ∀ n, ∃ u v : Set ℝ, IsOpen u ∧ IsOpen v ∧ a.coord n ∈ u ∧
b.coord n ∈ v ∧ u ×ˢ v ⊆ (fun p : ℝ × ℝ ↦ p.1 + p.2) ⁻¹' U n := by
intro n
exact isOpen_prod_iff.mp ((hU n).preimage continuous_add)
(a.coord n) (b.coord n) (hab n)
choose V W hV hW ha hb hsub using hloc
refine ⟨box V, box W, isOpen_box hV, isOpen_box hW, ha, hb, ?_⟩
rintro ⟨x, y⟩ ⟨hx, hy⟩ n
change x.coord n + y.coord n ∈ U n
exact hsub n (show (x.coord n, y.coord n) ∈ V n ×ˢ W n from ⟨hx n, hy n⟩)
theorem continuous_box_neg
TopologyByExample.BoxRealPower.continuous_box_neg
Coordinatewise negation is continuous for the box topology.
theorem continuous_box_neg : Continuous (fun x : Space ↦ -x)
Proof
:= by
apply basis.continuous_iff.mpr
rintro _ ⟨U, hU, rfl⟩
change IsOpen (box (fun n ↦ Neg.neg ⁻¹' U n))
exact isOpen_box (fun n ↦ (hU n).preimage continuous_neg)
instance
instance : IsTopologicalAddGroup Space
Proof
where
continuous_add := continuous_box_add
continuous_neg := continuous_box_neg
theorem completelyRegular
TopologyByExample.BoxRealPower.completelyRegular
The box topology is induced by its topological-group uniformity.
theorem completelyRegular : CompletelyRegularSpace Space
Proof
:= by
let _ : UniformSpace Space := IsTopologicalAddGroup.rightUniformSpace Space
infer_instance
On this site: The countable box product of the reals is completely regular