After seeing all sorts of abstract spaces in topology, one realizes how convenient and nice metric spaces are.
Proof
[1]
For a metric space (X,d), if we say x∈X,
{Bd(x,n1)n∈N}
is a countable local base for x, hence X is first-countable.
■
[2]
If a metric space (X,d) has a countable and dense A⊂X, then X is a separable metric space. Since A is countable,
B:={Bd(a,n1)a∈A,n∈N}=a∈A⋃{Bd(x,n1)n∈N}
is also countable. Showing this B serves as a basis for X completes the proof.
For an open set U of X, if we say x∈U, there exists r>0 that satisfies Bd(x,r)⊂U. Choose nx∈N such that the reciprocal is less than half of r, i.e., satisfies nx1<2r. Because A is dense,
ax∈A∩Bd(x,nx1)
exists. Then
Bd(ax,nx1)∈B
and
x∈Bd(ax,nx1)⊂Bd(x,r)⊂U
hence U=x∈U⋃Bd(ax,nx1).
■
Through these two theorems, the following fact can be known.
Corollary
Euclidean space and Hilbert space are second-countable.