Lean library · module TopologyByExample.Theorems.SigmaBasisProduct
Sigma-locally finite bases of binary products
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.
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
theorem sigmaLocallyFiniteBase_prod
TopologyByExample.sigmaLocallyFiniteBase_prod
Products of spaces with sigma-locally finite bases have sigma-locally finite bases.
theorem sigmaLocallyFiniteBase_prod [SigmaLocallyFiniteBase X] [SigmaLocallyFiniteBase Y] :
SigmaLocallyFiniteBase (X × Y)
Proof
:= by
obtain ⟨B, hB, hbf⟩ := SigmaLocallyFiniteBase.exists_basis (X := X)
obtain ⟨C, hC, hcf⟩ := SigmaLocallyFiniteBase.exists_basis (X := Y)
let R (i j : ℕ) (p : B i × C j) := (p.1 : Set X) ×ˢ (p.2 : Set Y)
refine ⟨⟨fun n ↦ range (R n.unpair.1 n.unpair.2), ?_, ?_⟩⟩
· convert hB.prod hC using 1
ext w
constructor
· intro hw
obtain ⟨n, p, rfl⟩ := mem_iUnion.1 hw
exact ⟨_, mem_iUnion.2 ⟨_, p.1.property⟩, _, mem_iUnion.2 ⟨_, p.2.property⟩, rfl⟩
· rintro ⟨b, hb, c, hc, rfl⟩
obtain ⟨i, hi⟩ := mem_iUnion.1 hb
obtain ⟨j, hj⟩ := mem_iUnion.1 hc
refine mem_iUnion.2 ⟨Nat.pair i j, ?_⟩
rw [Nat.unpair_pair]
exact ⟨(⟨b, hi⟩, ⟨c, hj⟩), rfl⟩
· intro n
apply LocallyFinite.on_range
rintro ⟨x, y⟩
obtain ⟨u, hu, huf⟩ := hbf n.unpair.1 x
obtain ⟨v, hv, hvf⟩ := hcf n.unpair.2 y
refine ⟨u ×ˢ v, prod_mem_nhds hu hv, (huf.prod hvf).subset ?_⟩
rintro p ⟨z, hz, hzw⟩
exact ⟨⟨z.1, hz.1, hzw.1⟩, ⟨z.2, hz.2, hzw.2⟩⟩
theorem sigmaLocallyFiniteBase_prod_iff
TopologyByExample.sigmaLocallyFiniteBase_prod_iff
A product of nonempty spaces has a sigma-locally finite base iff both factors do.
theorem sigmaLocallyFiniteBase_prod_iff [Nonempty X] [Nonempty Y] :
SigmaLocallyFiniteBase (X × Y) ↔ SigmaLocallyFiniteBase X ∧ SigmaLocallyFiniteBase Y
Proof
:= by
constructor
· intro h
exact ⟨sigmaLocallyFiniteBase_of_isInducing
(isEmbedding_prodMkLeft (Classical.arbitrary Y)).isInducing,
sigmaLocallyFiniteBase_of_isInducing
(isEmbedding_prodMkRight (Classical.arbitrary X)).isInducing⟩
· rintro ⟨hX, hY⟩
exact sigmaLocallyFiniteBase_prod
On this site: Theorem: A product of two nonempty spaces has a σ-locally finite base iff both factors do