Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Topology

Baire Category Theorem

In a Baire space, the common intersection of any countable family of open dense subsets is still dense.

Exact theorem

Exact Mathlib statement

theorem dense_sInter_of_isOpen {X : Type*} [TopologicalSpace X] [BaireSpace X] {S : Set (Set X)} (ho : ∀ s ∈ S, IsOpen s) (hS : S.Countable) (hd : ∀ s ∈ S, Dense s) : Dense (⋂₀ S)

The theorem at a glance

Baire category theorem at a glance

A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.

A countable family of open dense subsets of a Baire space has a dense set-theoretic intersection. Explanatory diagram.
Detailed visual description

The poster foregrounds the abstract BaireSpace hypothesis, the countable set-indexed family S, and the exact conclusion Dense (⋂₀ S). Five representative patterned layers plus a continuation motif stand for countability; their thin common gold trace meets several separated nonempty open regions. The lower route separates the empty family, enumeration of a nonempty countable family, and application of the natural-indexed Baire property, while the footer excludes openness, equality with X, completeness, and local-compactness overclaims.

Statement structure

Statement and scope

Statement map for Baire Category TheoremA countable set-indexed intersection of open dense subsets remains dense in a Baire space. Claim boundary: This page indexes Mathlib's set-indexed sInter form of the Baire category theorem. In a topological space X carrying a BaireSpace instance, a countable family S : Set (Set X) whose every member is open and dense has dense set-theoretic intersection ⋂₀ S. The selected declaration concludes density only: it does not assert that the intersection is open or equal to X, add a nonempty-family hypothesis, or assume a metric, completeness, local compactness, or regularity. The pinned upstream declaration is dense_sInter_of_isOpen. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingA countable set-indexedintersection of opendense subsets remainsdense in a Baire space.Claim boundaryThis page indexesMathlib's set-indexedsInter form of the Bairecategory theorem. In atopological space Xcarrying a BaireSpaceinstance, a countablefamily S : Set (Set X)whose every member isopen and dense has denseset-theoreticintersection ⋂₀ S. Theselected declarationconcludes density only:it does not assert thatthe intersection is openor equal to X, add anonempty-familyhypothesis, or assume ametric, completeness,local compactness, orregularity.Pinned declarationmathlib ·dense_sInter_of_isOpenStatement map for Baire Category TheoremA countable set-indexed intersection of open dense subsets remains dense in a Baire space. Claim boundary: This page indexes Mathlib's set-indexed sInter form of the Baire category theorem. In a topological space X carrying a BaireSpace instance, a countable family S : Set (Set X) whose every member is open and dense has dense set-theoretic intersection ⋂₀ S. The selected declaration concludes density only: it does not assert that the intersection is open or equal to X, add a nonempty-family hypothesis, or assume a metric, completeness, local compactness, or regularity. The pinned upstream declaration is dense_sInter_of_isOpen. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingA countable set-indexedintersection of opendense subsets remainsdense in a Baire space.Claim boundaryThis page indexesMathlib's set-indexedsInter form of the Bairecategory theorem. In atopological space Xcarrying a BaireSpaceinstance, a countablefamily S : Set (Set X)whose every member isopen and dense has denseset-theoreticintersection ⋂₀ S. Theselected declarationconcludes density only:it does not assert thatthe intersection is openor equal to X, add anonempty-familyhypothesis, or assume ametric, completeness,local compactness, orregularity.Pinned declarationmathlib ·dense_sInter_of_isOpen

Read the exact Mathlib declaration

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

Overlaid open dense layers retain a distributed common trace across the ambient field. Explanatory scientific diagram.
Detailed visual description

A warm-ivory field carries several differently patterned, field-spanning meshes whose shared antique-gold network remains distributed throughout. Detached probe regions repeat the same gold intersections, while a receding mesh stack and an empty outlined field supply continuation and empty-family motifs without text.

Why it matters

A mathematical landmark

The Baire category theorem is a central bridge between local openness and global topological largeness. Mathlib's selected declaration isolates the abstract Baire-space core cleanly: countability and memberwise openness and density force the set-indexed common intersection to remain dense, with the empty family and enumeration step made explicit in the checked source.

ProofAtlas record

What has been checked

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

Mathlib is the source of the theorem; the local Lean replay and page review are separate.

Claim boundary

No new theorem is claimed

This page indexes Mathlib's set-indexed sInter form of the Baire category theorem. In a topological space X carrying a BaireSpace instance, a countable family S : Set (Set X) whose every member is open and dense has dense set-theoretic intersection ⋂₀ S. The selected declaration concludes density only: it does not assert that the intersection is open or equal to X, add a nonempty-family hypothesis, or assume a metric, completeness, local compactness, or regularity.

Source and local evidence

Where the theorem comes from

Existing declaration
dense_sInter_of_isOpen in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.baire-category-theorem.v001
Source
Open the pinned upstream reference