In topology in mathematics, a subbase (or subbasis, prebase, prebasis) for the topology of a topological space is a subcollection <math>B</math> of <math>\tau</math> that generates <math>\tau,</math> in the sense that <math>\tau</math> is the smallest topology containing <math>B</math> as open sets. A slightly different definition is used by some authors, and there are other useful equivalent formulations of the definition; these are discussed below.

Subbase is a weaker notion than that of a base for a topology.

Definition

Let <math>X</math> be a topological space with topology <math>\tau.</math> A subbase of <math>\tau</math> is usually defined as a subcollection <math>B</math> of <math>\tau</math> satisfying one of the three following equivalent conditions:

  1. <math>\tau</math> is the smallest topology containing <math>B</math>: any topology <math>\tau^\prime</math> on <math>X</math> containing <math>B</math> must also contain <math>\tau.</math>
  2. <math>\tau</math> is the intersection of all topologies on <math>X</math> containing <math>B.</math>
  3. The collection of open sets consisting of <math>X</math> and all finite intersections of elements of <math>B</math> forms a basis for <math>\tau.</math> This means that every proper open set in <math>\tau</math> can be written as a union of finite intersections of elements of <math>B.</math> Explicitly, given a point <math>x</math> in an open set <math>U \subsetneq X,</math> there are finitely many sets <math>S_1, \ldots, S_n</math> of <math>B,</math> such that the intersection of these sets contains <math>x</math> and is contained in <math>U.</math>

If we additionally assume that <math>B</math> covers <math>X</math>, or if we use the nullary intersection convention, then there is no need to include <math>X</math> in the third definition.

If <math>B</math> is a subbase of <math>\tau</math>, we say that <math>B</math> generates the topology <math>\tau.</math> This terminology originates from the explicit construction of <math>\tau</math> from <math>B</math> using the second or third definition above.

Elements of subbase are called . A cover composed of subbasic sets is called a .

For subcollection <math>S</math> of the power set <math>\wp(X),</math> there is a unique topology having <math>S</math> as a subbase; it is the intersection of all topologies on <math>X</math> containing <math>S</math>. In general, however, the converse is not true, i.e. there is no unique subbasis for a given topology.

Thus, we can start with a fixed topology and find subbases for that topology, and we can also start with an arbitrary subcollection of the power set <math>\wp(X)</math> and form the topology generated by that subcollection. We can freely use either equivalent definition above; indeed, in many cases, one of the three conditions is more useful than the others.

Alternative definition

Less commonly, a slightly different definition of subbase is given which requires that the subbase <math>\mathcal{B}</math> cover <math>X.</math> In this case, <math>X</math> is the union of all sets contained in <math>\mathcal{B}.</math> This means that there can be no confusion regarding the use of nullary intersections in the definition.

However, this definition is not always equivalent to the three definitions above. There exist topological spaces <math>(X, \tau)</math> with subcollections <math>\mathcal{B} \subseteq \tau</math> of the topology such that <math>\tau</math> is the smallest topology containing <math>\mathcal{B}</math>, yet <math>\mathcal{B}</math> does not cover <math>X</math>. For example, consider a topological space <math>(X,\tau)</math> with <math>\tau=\{\varnothing, \{p\}, X\}</math> and <math>\mathcal{B}=\{\{p\}\}</math> for some <math>p\in X.</math> Clearly, <math>\mathcal{B}</math> is a subbase of <math>\tau</math>, yet <math>\mathcal{B}</math> doesn't cover <math>X</math> as long as <math>X</math> has at least <math>2</math> elements. In practice, this is a rare occurrence. E.g. a subbase of a space that has at least two points and satisfies the T<sub>1</sub> separation axiom must be a cover of that space.

Examples

The topology generated by any subset <math>\mathcal{S} \subseteq \{\varnothing, X\}</math> (including by the empty set <math>\mathcal{S} := \varnothing</math>) is equal to the trivial topology <math>\{\varnothing, X\}.</math>

If <math>\tau</math> is a topology on <math>X</math> and <math>\mathcal{B}</math> is a basis for <math>\tau</math> then the topology generated by <math>\mathcal{B}</math> is <math>\tau.</math> Thus any basis <math>\mathcal{B}</math> for a topology <math>\tau</math> is also a subbasis for <math>\tau.</math>

If <math>\mathcal{S}</math> is any subset of <math>\tau</math> then the topology generated by <math>\mathcal{S}</math> will be a subset of <math>\tau.</math>

The usual topology on the real numbers <math>\R</math> has a subbase consisting of all semi-infinite open intervals either of the form <math>(-\infty, a)</math> or <math>(b, \infty),</math> where <math>a</math> and <math>b</math> are real numbers. Together, these generate the usual topology, since the intersections <math>(a,b) = (-\infty, b) \cap (a, \infty)</math> for <math>a \leq b</math> generate the usual topology. A second subbase is formed by taking the subfamily where <math>a</math> and <math>b</math> are rational. The second subbase generates the usual topology as well, since the open intervals <math>(a, b)</math> with <math>a,</math> <math>b</math> rational, are a basis for the usual Euclidean topology.

The subbase consisting of all semi-infinite open intervals of the form <math>(-\infty, a)</math> alone, where <math>a</math> is a real number, does not generate the usual topology. The resulting topology does not satisfy the T<sub>1</sub> separation axiom, since if <math>a < b</math> every open set containing <math>b</math> also contains <math>a.</math>

The initial topology on <math>X</math> defined by a family of functions <math>f_i : X \to Y_i,</math> where each <math>Y_i</math> has a topology, is the coarsest topology on <math>X</math> such that each <math>f_i</math> is continuous. Because continuity can be defined in terms of the inverse images of open sets, this means that the initial topology on <math>X</math> is given by taking all <math>f_i^{-1}(U),</math>

where <math>U</math> ranges over all open subsets of <math>Y_i,</math> as a subbasis.

Two important special cases of the initial topology are the product topology, where the family of functions is the set of projections from the product to each factor, and the subspace topology, where the family consists of just one function, the inclusion map.

The compact-open topology on the space of continuous functions from <math>X</math> to <math>Y</math> has for a subbase the set of functions

<math display=block>V(K,U) = \{f : X \to Y \mid f(K) \subseteq U\}</math>

where <math>K \subseteq X</math> is compact and <math>U</math> is an open subset of <math>Y.</math>

Suppose that <math>(X, \tau)</math> is a Hausdorff topological space with <math>X</math> containing two or more elements (for example, <math>X = \R</math> with the Euclidean topology). Let <math>Y \in \tau</math> be any non-empty subset of <math>(X, \tau)</math> (for example, <math>Y</math> could be a non-empty bounded open interval in <math>\R</math>) and let <math>\nu</math> denote the subspace topology on <math>Y</math> that <math>Y</math> inherits from <math>(X, \tau)</math> (so <math>\nu \subseteq \tau</math>). Then the topology generated by <math>\nu</math> on <math>X</math> is equal to the union <math>\{X\} \cup \nu</math> (see the footnote for an explanation),

where <math>\{X\} \cup \nu \subseteq \tau</math> (since <math>(X, \tau)</math> is Hausdorff, equality will hold if and only if <math>Y = X</math>). Note that if <math>Y</math> is a proper subset of <math>X,</math> then <math>\{X\} \cup \nu</math> is the smallest topology on <math>X</math> containing <math>\nu</math> yet <math>\nu</math> does not cover <math>X</math> (that is, the union <math>\bigcup_{V \in \nu} V = Y</math> is a proper subset of <math>X</math>).

Results using subbases

One nice fact about subbases is that continuity of a function need only be checked on a subbase of the range. That is, if <math>f : X \to Y</math> is a map between topological spaces and if <math>\mathcal{B}</math> is a subbase for <math>Y,</math> then <math>f : X \to Y</math> is continuous if and only if <math>f^{-1}(B)</math> is open in <math>X</math> for every <math>B \in \mathcal{B}.</math>

A net (or sequence) <math>x_{\bull} = \left(x_i\right)_{i \in I}</math> converges to a point <math>x</math> if and only if every basic neighborhood of <math>x</math> contains all <math>x_i</math> for sufficiently large <math>i \in I.</math>

Alexander subbase theorem

The Alexander Subbase Theorem is a significant result concerning subbases that is due to James Waddell Alexander II. Let <math>(X, \tau)</math> be a topological space, and <math>\mathcal{S}</math> be a subbase of <math>\tau.</math> If every cover of <math>X</math> by elements from <math>\mathcal{S}</math> has a finite subcover, then <math>X</math> is compact.

The converse to this theorem also holds (because every cover of <math>X</math> by elements of <math>\mathcal{S}</math> is an open cover of <math>X</math>)

:Let <math>(X, \tau)</math> be a topological space, and <math>\mathcal{S}</math> be a subbase of <math>\tau.</math> If <math>X</math> is compact, then every cover of <math>X</math> by elements from <math>\mathcal{S}</math> has a finite subcover.

Although this proof makes use of Zorn's Lemma, the proof does not need the full strength of choice.

Instead, it relies on the intermediate Ultrafilter principle.