The Baire category theorem states that every countable intersection of open dense subsets of a complete metric space is dense. Equivalently, no nonempty open subset of a complete metric space is a countable union of nowhere dense sets.
To prove the first form, let be open dense subsets of a complete metric space , and let be nonempty and open. Choose a closed ballInductively, density and openness of allow a closed ballThe balls are nested and for , so is Cauchy. Completeness gives . For every , all later centres lie in ; closedness gives . The first ball also lies in , henceSince every nonempty open meets the intersection, that intersection is dense.
Solved by gpt-5.6-sol high.
Codex Wiki