Rational numbers

Also: the rationals; ℚ

See it in Lean

Definition

The space is the set \(\mathbb{Q}\) of rational numbers with the subspace topology of the Euclidean line, which is the topology of the metric \(d(p, q) = |p - q|\).

Description

The rationals are metrizable and countable. They are therefore separable, Lindelöf and σ-compact, since countable spaces are separable, countable spaces are Lindelöf and countable spaces are σ-compact. They are not weakly locally compact, so they are not compact, since compact spaces are weakly locally compact. So a σ-compact metrizable space need not be weakly locally compact.

By a classical theorem of Sierpiński, every nonempty countable metrizable space without isolated points is homeomorphic to \(\mathbb{Q}\). Two topologies on the integers are of this kind.

The first is generated by the arithmetic progressions \(a + k\mathbb{Z}\) with \(k \ge 1\). They form a base, since a point \(x\) of \((a + k\mathbb{Z}) \cap (b + l\mathbb{Z})\) lies in \(x + kl\mathbb{Z}\), which lies in both. Each progression is infinite, so no point is isolated. There are countably many progressions, so the space is second countable. It is Hausdorff: distinct integers \(a\) and \(b\) lie in the progressions \(a + k\mathbb{Z}\) and \(b + k\mathbb{Z}\) with \(k = |b - a| + 1\), which are disjoint since \(k\) does not divide \(b - a\). It is regular: each progression \(a + k\mathbb{Z}\) is closed, its complement being the union of the other cosets of \(k\mathbb{Z}\), so a point outside a closed set \(C\) lies in a progression missing \(C\), and that progression and its complement are disjoint open sets containing the point and \(C\). So the space is metrizable, since regular second countable Hausdorff spaces are metrizable.

The second, the \(p\)-adic topology for a prime \(p\), is generated by the progressions \(a + p^j\mathbb{Z}\) with \(j \ge 0\). For a nonzero integer \(m\) let \(v(m)\) be the exponent of the largest power of \(p\) dividing \(m\), and let \(d(m, n) = p^{-v(m - n)}\) for \(m \ne n\) and \(d(n, n) = 0\). This is a metric: it is symmetric and vanishes only when \(m = n\); and for the triangle inequality \(d(l, n) \le d(l, m) + d(m, n)\), which is trivial when two of \(l\), \(m\), \(n\) are equal, a power of \(p\) dividing both \(l - m\) and \(m - n\) divides \(l - n\), so \(d(l, n) \le \max(d(l, m), d(m, n))\). The ball \(B(n, r)\) is \(\mathbb{Z} = n + p^0\mathbb{Z}\) if \(r > 1\), and otherwise \(n + p^{j+1}\mathbb{Z}\) for the natural number \(j\) with \(p^{-j-1} < r \le p^{-j}\), since for \(m \ne n\) we have \(d(m, n) < r\) exactly when \(v(m - n) \ge j + 1\). So the balls are exactly the progressions \(a + p^j\mathbb{Z}\), the metric induces the \(p\)-adic topology, and every ball is infinite, so no point is isolated.

So both spaces are homeomorphic to \(\mathbb{Q}\).

Facts

Results

Compact sets have empty interior

See it in Lean

Statement

Every compact subset of \(\mathbb{Q}\) has empty interior.

Proof

Let \(C \subseteq \mathbb{Q}\) be compact, and suppose that its interior is nonempty. Every nonempty open subset of \(\mathbb{Q}\) contains a ball \(B(q, \varepsilon) = (q - \varepsilon, q + \varepsilon) \cap \mathbb{Q}\) about one of its points, so \(C\) contains \((a, b) \cap \mathbb{Q}\) for some real \(a < b\). Choose an irrational \(r \in (a, b)\), and for \(n \ge 1\) let \(U_n = \{q \in \mathbb{Q} : |q - r| > 1/n\}\). The sets \(U_n\) are open in \(\mathbb{Q}\), and they cover \(\mathbb{Q}\) because \(r \notin \mathbb{Q}\). They increase with \(n\), so finitely many of them cover \(C\) only if a single \(U_n\) does. But \((a, b) \cap \mathbb{Q} \subseteq C\) contains rationals within \(1/n\) of \(r\) for every \(n\), so no \(U_n\) covers \(C\). This contradicts the compactness of \(C\). \(\blacksquare\)

Used in: the proof that it is not weakly locally compact; One-point compactification of the rationals; One-point compactification of the rationals — Every neighbourhood of \(\infty\) is dense; One-point compactification of the rationals — The point \(\infty\) is a dispersion point; One-point compactification of the rationals — not first countable.

Properties

Values: true · false · independent of ZFC. Each space page proves a few facts about the space directly; the rest of its row follows from those by the general theorems. Everything listed is checked in Lean (what that means).

Rational numbers: every property, its value, and how it is known: proved directly, or the reason it follows from other values
PropertyValueHow
First countable true Because it is metrizable
Second countable true Because it is countable and first countable
Separable true Because it is countable
Lindelöf true Because it is countable
Metrizable true Proved directly
Hausdorff true Because it is metrizable
Compact false Because it is not weakly locally compact
σ-compact true Because it is countable
Countably compact false Because it is Lindelöf but not compact
Sequentially compact false Because it is metrizable but not compact
Weakly locally compact false Proved directly
T₀ true Because it is T₁
T₁ true Because it is Hausdorff
Urysohn true Because it is functionally Hausdorff
Regular true Because it is metrizable
Completely regular true Because it is normal and R₀
Normal true Because it is paracompact and Hausdorff
Completely normal true Because it is perfectly normal
Perfectly normal true Because it is metrizable
Connected false Because it is countable but not strongly connected
Path connected false Because it is Hausdorff but not arc connected
Locally connected false Because it is zero-dimensional but not locally path connected
Locally path connected false Because it is Hausdorff but not locally arc connected
Totally disconnected true Because it is totally separated
Totally separated true Because it is zero-dimensional and T₀
Zero-dimensional true Because it is countable and completely regular
Functionally Hausdorff true Because it is submetrizable
Semiregular true Because it is regular
Fully T₄ true Because it is normal and paracompact
Fully normal true Because it is fully T₄ and T₁
Countable chain condition true Because it is separable
Countable true Proved directly
Has a σ-locally finite base true Because it is metrizable
Limit point compact false Because it is T₁ but not countably compact
Pseudocompact false Because it is normal but not limit point compact
Locally relatively compact false Because it is not weakly locally compact
σ-locally compact false Because it is not weakly locally compact
Paracompact true Because it is metrizable
Countably paracompact true Because it is perfectly normal
Metacompact true Because it is paracompact
Countably metacompact true Because it is countably paracompact
Completely metrizable false Because it is not a Baire space
Second category false Because it is countable and T₁ and has no isolated point
Arc connected false Because it is countable and has at least two points
Locally arc connected false Because it has cardinality less than \(\mathfrak{c}\) but is not discrete
Hyperconnected false Because it is countably paracompact but not countably compact
Ultraconnected false Because it is R₀ but not indiscrete
Strongly connected false Because it is functionally Hausdorff and has at least two points
Totally path disconnected true Because it is countable and T₁
Scattered false Because it has no isolated point and has at least two points
Extremally disconnected false Because it is Hausdorff but not sequentially discrete
Discrete false Because it is not weakly locally compact
Biconnected false Because it is not connected
Has a dispersion point false Because it is not biconnected
Cardinality less than \(\mathfrak{c}\) true Because it is countable
Cardinality equal to \(\mathfrak{c}\) false Because it has cardinality less than \(\mathfrak{c}\)
Cardinality at most \(2^{\mathfrak{c}}\) true Because it has cardinality less than \(\mathfrak{c}\)

Proofs

First countable: true

Follows from the theorem “Metrizable spaces are first countable”, applied to:

Second countable: true

Follows from the theorem “Countable first countable spaces are second countable”, applied to:

Separable: true

Follows from the theorem “Countable spaces are separable”, applied to:

Lindelöf: true

Follows from the theorem “Countable spaces are Lindelöf”, applied to:

Metrizable: true

Proved directly for this space. See it in Lean

The topology is the topology of the metric \(d(p, q) = |p - q|\), by definition.

Hausdorff: true

Follows from the theorem “Metrizable spaces are Hausdorff”, applied to:

Compact: false

Follows from the theorem “Compact spaces are weakly locally compact”, applied to:

σ-compact: true

Follows from the theorem “Countable spaces are σ-compact”, applied to:

Countably compact: false

Follows from the theorem “Countably compact Lindelöf spaces are compact”, applied to:

Sequentially compact: false

Follows from the theorem “Sequentially compact metrizable spaces are compact”, applied to:

Weakly locally compact: false

Proved directly for this space. See it in Lean

Proof

A compact neighbourhood of a point would be a compact set with nonempty interior, since the point lies in its interior. But every compact subset of \(\mathbb{Q}\) has empty interior, so no point has a compact neighbourhood. \(\blacksquare\)

Since compact spaces are weakly locally compact, the rationals are not compact. They are countable, hence Lindelöf, since countable spaces are Lindelöf, so they are not countably compact, since countably compact Lindelöf spaces are compact.

T₀: true

Follows from the theorem “T₁ spaces are T₀”, applied to:

T₁: true

Follows from the theorem “Hausdorff spaces are T₁”, applied to:

Urysohn: true

Follows from the theorem “Functionally Hausdorff spaces are Urysohn”, applied to:

Regular: true

Follows from the theorem “Metrizable spaces are regular”, applied to:

Completely regular: true

Follows from the theorem “Normal R₀ spaces are completely regular”, applied to:

Normal: true

Follows from the theorem “Paracompact Hausdorff spaces are normal”, applied to:

Completely normal: true

Follows from the theorem “Perfectly normal spaces are completely normal”, applied to:

Perfectly normal: true

Follows from the theorem “Metrizable spaces are perfectly normal”, applied to:

Connected: false

Follows from the theorem “Countable connected spaces are strongly connected”, applied to:

Path connected: false

Follows from the theorem “Hausdorff path connected spaces are arc connected”, applied to:

Locally connected: false

Follows from the theorem “Locally connected, zero-dimensional spaces are locally path connected”, applied to:

Locally path connected: false

Follows from the theorem “Hausdorff locally path connected spaces are locally arc connected”, applied to:

Totally disconnected: true

Follows from the theorem “Totally separated spaces are totally disconnected”, applied to:

Totally separated: true

Follows from the theorem “Zero-dimensional T₀ spaces are totally separated”, applied to:

Zero-dimensional: true

Follows from the theorem “Countable completely regular spaces are zero-dimensional”, applied to:

Functionally Hausdorff: true

Follows from the theorem “Submetrizable spaces are functionally Hausdorff”, applied to:

Semiregular: true

Follows from the theorem “Regular spaces are semiregular”, applied to:

Fully T₄: true

Follows from the theorem “Normal paracompact spaces are fully T₄”, applied to:

Fully normal: true

Follows from the theorem “Fully T₄ T₁ spaces are fully normal”, applied to:

Countable chain condition: true

Follows from the theorem “Separable spaces satisfy the countable chain condition”, applied to:

Countable: true

Proved directly for this space. See it in Lean

Write each rational number as \(p/q\) in lowest terms with \(q > 0\), and put \(s = 1\) if \(p < 0\) and \(s = 0\) otherwise. The map \(p/q \mapsto 2^{|p|} 3^q 5^s\) is an injection \(\mathbb{Q} \to \mathbb{N}\).

Has a σ-locally finite base: true

Follows from the theorem “Metrizable spaces have sigma-locally finite bases”, applied to:

Limit point compact: false

Follows from the theorem “Limit point compact T₁ spaces are countably compact”, applied to:

Pseudocompact: false

Follows from the theorem “Normal pseudocompact spaces are limit point compact”, applied to:

Locally relatively compact: false

Follows from the theorem “Locally relatively compact spaces are weakly locally compact”, applied to:

σ-locally compact: false

Follows from the theorem “σ-locally compact spaces are weakly locally compact”, applied to:

Paracompact: true

Follows from the theorem “Metrizable spaces are paracompact”, applied to:

Countably paracompact: true

Follows from the theorem “Perfectly normal spaces are countably paracompact”, applied to:

Metacompact: true

Follows from the theorem “Paracompact implies metacompact”, applied to:

Countably metacompact: true

Follows from the theorem “Countably paracompact implies countably metacompact”, applied to:

Completely metrizable: false

Follows from the theorem “Completely metrizable spaces are Baire spaces”, applied to:

Second category: false

Follows from the theorem “A countable T₁ space of second category has an isolated point”, applied to:

Arc connected: false

Follows from the theorem “Countable arc connected spaces have at most one point”, applied to:

Locally arc connected: false

Follows from the theorem “Locally arc-connected spaces smaller than continuum are discrete”, applied to:

Hyperconnected: false

Follows from the theorem “Countably paracompact hyperconnected spaces are countably compact”, applied to:

Ultraconnected: false

Follows from the theorem “Ultraconnected R₀ spaces are indiscrete”, applied to:

Strongly connected: false

Follows from the theorem “A strongly connected, functionally Hausdorff space has at most one point”, applied to:

Totally path disconnected: true

Follows from the theorem “Countable T₁ spaces are totally path disconnected”, applied to:

Scattered: false

Follows from the theorem “A scattered space with no isolated point has at most one point”, applied to:

Extremally disconnected: false

Follows from the theorem “Extremally disconnected Hausdorff spaces are sequentially discrete”, applied to:

Discrete: false

Follows from the theorem “Discrete spaces are weakly locally compact”, applied to:

Biconnected: false

Follows from the theorem “Biconnected spaces are connected”, applied to:

Has a dispersion point: false

Follows from the theorem “A dispersion point implies biconnectedness”, applied to:

Cardinality less than \(\mathfrak{c}\): true

Follows from the theorem “Every countable space has cardinality less than the continuum”, applied to:

Cardinality equal to \(\mathfrak{c}\): false

Follows from the theorem “A space of cardinality \(\mathfrak{c}\) does not have cardinality less than \(\mathfrak{c}\)”, applied to:

Cardinality at most \(2^{\mathfrak{c}}\): true

Follows from the theorem “Every space of cardinality less than the continuum has cardinality at most \(2^{\mathfrak{c}}\)”, applied to:

Countable extent: true

Follows from the theorem “Lindelöf spaces have countable extent”, applied to:

Fréchet–Urysohn: true

Follows from the theorem “First countable spaces are Fréchet–Urysohn”, applied to:

Hereditarily Lindelöf: true

Follows from the theorem “Lindelöf perfectly normal spaces are hereditarily Lindelöf”, applied to:

R₀: true

Follows from the theorem “Regular spaces are R₀”, applied to:

Sequential: true

Follows from the theorem “Fréchet–Urysohn spaces are sequential”, applied to:

Submetrizable: true

Follows from the theorem “Metrizable spaces are submetrizable”, applied to:

Has an isolated point: false

Proved directly for this space. See it in Lean

Let \(q \in \mathbb{Q}\). Every ball \(B(q, r)\) with \(r > 0\) contains the rational \(q + r/2 \ne q\), so no ball around \(q\) lies in \(\{q\}\), and \(\{q\}\) is not open. \(\blacksquare\)

Since \(\mathbb{Q}\) is nonempty, it is therefore not scattered, by the theorem that a scattered space with no isolated point is empty. Since it is countable and T₁, it is not of second category, by the theorem that a countable T₁ space of second category has an isolated point.

Baire: false

Follows from the theorem “A nonempty Baire space is of second category”, applied to:

Indiscrete: false

Follows from the theorem “Indiscrete spaces are compact”, applied to:

Sequentially discrete: false

Follows from the theorem “Sequentially discrete Fréchet–Urysohn spaces are discrete”, applied to:

At most one point: false

Follows from the theorem “Spaces with at most one point are discrete”, applied to:

Where it is used

One of the basic examples of the study of compactness and its variants, of the study of connectedness and disconnectedness, and of the study of countability, metrizability and compactness, from which the examples for the other combinations are built.

Spaces built from it: Countable power of the rationals, Rationals times the discrete reals, Rationals with a focal point, One-point compactification of the rationals.

A summand of the example for 4 of the combinations that occur in Compactness and its variants:

The 4 examples

A factor of the example for 5 of the combinations that occur in Connectedness and disconnectedness:

The 5 examples

A summand of the example for 28 of the combinations that occur in Countability, metrizability and compactness:

The 28 examples

Spaces most like this one

The spaces whose values in the table above differ from this space’s in the fewest properties.

References

  • Steen and Seebach, Counterexamples in Topology, 2nd ed. (1978), Example 30
  • Engelking, General Topology, Revised and completed edition (1989), Exercise 6.2.A(d), p. 370 (Sierpiński's theorem: every nonempty countable metrizable space without isolated points is homeomorphic to the rationals)
  • Steen and Seebach, Counterexamples in Topology, 2nd ed. (1978), Example 58
  • Steen and Seebach, Counterexamples in Topology, 2nd ed. (1978), Example 59
  • π-Base, S000027: Rational numbers \(\mathbb Q\)