Second-Countable Spaces
Statement
A topological space is second-countable if there exists a countable collection of open sets such that every open set is a union of members of :
Every second-countable space is separable: picking one point from each basis element yields a countable dense set.
Visualization
Countable basis for using rational endpoints:
Standard topology on ℝ — countable basis:
ℬ = { (p, q) : p, q ∈ ℚ, p < q }
Each basis element: ──────(p════════q)──────▶
Example open sets expressed as unions:
(0, √2) = ⋃ { (p,q) : p,q ∈ ℚ, 0 ≤ p < q ≤ √2 }
= (0,1) ∪ (0,1.4) ∪ (0,1.41) ∪ (0.1,1.414) ∪ ...
ℬ is countable: ℚ×ℚ is countable (product of countable sets).
Basis elements for ℝ²:
ℬ₂ = { (p₁,q₁)×(p₂,q₂) : all pᵢ,qᵢ ∈ ℚ }
q₂ ┄┄┄┄┄┐
│ B │ ← a basis rectangle with rational corners
p₂ └┄┄┄┄┘
p₁ q₁
Implication chain:
| Property | ℝ | Discrete uncountable | |
|---|---|---|---|
| Second-countable | yes | no | no |
| Separable | yes | no | no |
| First-countable | yes | yes | yes |
Second-countable separable (pick one point per basis element). The converse fails without metric structure.
Proof Sketch
- Basis construction: Let . This is countable since is countable.
- Basis property: every open set is a union of open intervals; each interval is covered by all with (rationals are dense).
- Separability: pick for each . The set is countable. For any and open , there exists with , so . Hence is dense.
Connections
- Separable SpacesSeparable SpacesA topological space is separable if it contains a countable dense subsetRead more → — second-countable implies separable via
SecondCountableTopology.to_separableSpace; the converse holds in metric spaces but not in general. - Heine–Borel TheoremHeine–Borel TheoremIn ℝⁿ, a subset is compact if and only if it is closed and boundedRead more → — is second-countable (rational boxes form a countable basis), and every open cover of a compact set admits a countable subcover (Lindelof property, a consequence of second-countability).
- Urysohn's LemmaUrysohn's LemmaIn a normal space, disjoint closed sets can be separated by a continuous functionRead more → — Urysohn's lemma requires a normal Hausdorff space; combined with second-countability the space embeds into (Urysohn metrization theorem).
- Tychonoff's TheoremTychonoff's TheoremAn arbitrary product of compact spaces is compact in the product topologyRead more → — a countable product of second-countable spaces is second-countable; Tychonoff supplies the compactness of .
Lean4 Proof
import Mathlib.Topology.Bases
import Mathlib.Topology.MetricSpace.ProperSpace
/-- **ℝ is second-countable** — Mathlib registers this as an instance. -/
theorem real_secondCountable : SecondCountableTopology ℝ := inferInstance
/-- **Second-countable implies separable** — direct Mathlib instance. -/
theorem secondCountable_to_separable
{X : Type*} [TopologicalSpace X] [SecondCountableTopology X] :
SeparableSpace X :=
SecondCountableTopology.to_separableSpaceReferenced by
- Metrizable SpacesTopology