The Baire category theorem is a fundamental result in topology and mathematical analysis asserting that certain spaces cannot be exhausted by countably many topologically small sets. Its standard metric form states that in a complete metric space, every countable intersection of dense open sets is dense. A second standard form holds for locally compact Hausdorff spaces. The theorem underlies major results in functional analysis and provides a way to prove that a property is generic: it holds outside a set that is small in the sense of category.
Category and topological smallness
Let be a topological space. A subset is nowhere dense if its closure has empty interior:
Equivalently, every nonempty open subset of contains a nonempty open subset disjoint from . Thus, even after taking its closure, a nowhere dense set contains no open region of the space.
A set is meagre, or of first category, if it is a countable union of nowhere dense sets:
A set that is not meagre is of second category. A set is comeagre, or residual, if its complement is meagre. These notions constitute Baire category, a topological theory of smallness distinct from both cardinality and measure.
The ambient space matters. A singleton is nowhere dense in the real line, but it is not nowhere dense when regarded as a one-point space. Likewise, a subset may be meagre in one ambient space and nonmeagre in another.
A space is called a Baire space if every countable intersection of dense open subsets of is dense in . Equivalently, every nonempty open subset of is nonmeagre in .
The word category here is historical terminology for classifying sets. It is unrelated to category theory.
Statements of the theorem
Complete metric spaces
Let be a complete metric space, and let be open subsets, each a dense set in . Then
is dense in .
Explicitly, for every nonempty open set ,
An equivalent formulation is that no nonempty open subset of a complete metric space can be covered by countably many nowhere dense subsets of that space. In particular, a nonempty complete metric space is not meagre in itself.
A useful consequence concerns a countable closed cover. If is complete and
where each is a closed set, then at least one has nonempty interior. This often converts pointwise information, expressed as a countable cover, into a statement valid on an open region.
Locally compact Hausdorff spaces
Every locally compact Hausdorff space is also a Baire space. Here local compactness means that each point has a compact neighborhood.
This form does not require a metric. Its proof uses nested compact neighborhoods instead of completeness.
Topological versus metric completeness
The Baire property is preserved by a homeomorphism, whereas completeness depends on the chosen metric. Consequently, a topological space is Baire whenever its topology can be induced by some complete metric, even if another compatible metric is incomplete.
Completeness is sufficient, not necessary. For example, the interval with its usual distance is incomplete, but it is locally compact and therefore Baire.
Proof in a complete metric space
The standard proof constructs nested closed balls whose radii tend to zero.
Let be nonempty and open. Since is open and dense, is nonempty and open. Choose a closed ball
Inductively, suppose has been chosen. The intersection
is nonempty and open. Choose a closed ball
The resulting balls satisfy
For , the center belongs to , so
Hence is a Cauchy sequence. Completeness gives a limit .
For each fixed , all later centers lie in the closed set , so . Since and ,
As was arbitrary, the intersection is dense.
The locally compact Hausdorff proof follows the same pattern: choose nested nonempty open sets whose compact closures lie inside successive . Compactness then supplies a point common to all the closures.
Examples and consequences
The real line and the rational numbers
The real line is complete and therefore Baire. Each singleton is nowhere dense in , so every countable subset is meagre. In particular, the rational numbers form a dense meagre subset of . Their complement, the irrational numbers, is comeagre.
This illustrates an important distinction: dense does not mean large in category. A dense set can be meagre.
The rational numbers, considered as a metric space in their own right, are not Baire. They are countable, and each singleton is nowhere dense in , so is meagre in itself.
Writing , each set
is open and dense in , yet
Thus completeness cannot simply be dropped from the metric theorem without a replacement hypothesis.
Generic properties
Suppose a property holds on each of a sequence of open dense sets . In a Baire space, the set where all these properties hold simultaneously,
is dense and comeagre.
More generally, the complement of any meagre set contains a countable intersection of open dense sets: replace the nowhere dense sets in its defining union by their closures and take complements. Thus every comeagre subset of a Baire space is dense.
This is the basis of many genericity arguments. A theorem may establish that an object satisfies countably many requirements without explicitly constructing a particular object satisfying them all.
“Generic” should not be read as “everywhere.” In a nonempty Baire space, a comeagre set can have a dense exceptional complement, as the irrational numbers do in .
Typical continuous functions
The space of real-valued continuous functions, equipped with the supremum norm
is a Banach space and hence a Baire space.
A classical application shows that the functions having no finite derivative at any point of form a comeagre subset of this space. Thus a typical continuous function, in the category sense, is nowhere differentiable on the interior of its domain.
The category argument requires more than the theorem alone: suitable sets encoding bounded difference quotients must be shown to be nowhere dense. The theorem then ensures that their countable union cannot exhaust the function space.
Role in functional analysis
The Baire category theorem is a central ingredient in several basic theorems about bounded linear operators.
Uniform boundedness principle
The uniform boundedness principle, also called the Banach–Steinhaus theorem, states that a pointwise bounded family of bounded linear operators from a Banach space into a normed space is uniformly bounded in operator norm.
For a family , define
Each is closed, and pointwise boundedness gives
The Baire category theorem implies that some contains an open ball .
For , both and belong to , so
for every . Scaling yields a bound on all the operator norms. This illustrates the theorem's characteristic use: a countable closed cover produces an open region on which an estimate is uniform.
Open mapping and closed graph theorems
The open mapping theorem states that a bounded surjective linear operator between Banach spaces maps open sets to open sets. Its proof uses Baire category to obtain a neighborhood inside the closure of the image of a ball, followed by an approximation argument that removes the closure.
The closed graph theorem states that a linear operator between Banach spaces is bounded if its graph is closed in the product space. It follows from the open mapping theorem by viewing the graph as a Banach space and applying the theorem to a coordinate projection.
Completeness is essential to these general results; analogous assertions for arbitrary normed spaces can fail.
Category and measure
Category and measure theory provide different notions of smallness. A meagre set need not have measure zero, and a set of measure zero need not be meagre.
For example, a fat Cantor set can be closed and nowhere dense while having positive Lebesgue measure. Conversely, there are dense countable intersections of open subsets of that have measure zero. Such sets are comeagre as well as null.
One construction chooses, for each , an open dense set containing all rational numbers and satisfying
These sets can be obtained by covering the enumerated rationals with intervals of sufficiently small total length. Then
is dense by the Baire category theorem, while .
Consequently, “generic” in the category sense and “almost everywhere” in the measure-theoretic sense are not interchangeable. Their comparison requires both a topology and a specified measure.
Scope and history
The theorem concerns countable intersections. Arbitrary intersections of dense open sets can be empty even in :
Nor is being nonmeagre in itself enough to make a space Baire: the Baire condition requires every nonempty open subset to be nonmeagre in the ambient space.
The theorem is named after René Baire, whose work on discontinuous functions in 1899 established category methods as a basic tool of analysis. Its later use in operator theory and the study of function spaces made it one of the principal links between topological structure and analytic existence arguments.