Every power of the discrete naturals is Baire

See it in Lean

Axioms
ZFC only
Concerns
Baire

Statement

For every index set \(J\), the product \(\mathbb N^J\) of discrete copies of \(\mathbb N\) is a Baire space.

Proof

Let \(U_n\) be dense open sets and let \(O\) be nonempty and open. Choose a basic cylinder \(C_0\subseteq O\). Recursively choose nonempty basic cylinders \(C_{n+1}\subseteq C_n\cap U_n\).

The finite requirements defining these cylinders are compatible. Indeed, any later cylinder is contained in both of two earlier cylinders and has a point, so their prescribed values agree wherever both specify a coordinate. Extend the union of all requirements to a function, assigning zero to unrestricted coordinates. This function belongs to \(O\cap\bigcap_n U_n\). Thus the intersection of the dense open sets is dense. \(\blacksquare\)

Where it is used

Cited on space pages