4.II.14F
Explain what is meant by a base for a topology. Illustrate your definition by describing bases for the topology induced by a metric on a set, and for the product topology on the cartesian product of two topological spaces.
A topological space is said to be separable if there is a countable subset which is dense, i.e. such that for every nonempty . Show that a product of two separable spaces is separable. Show also that a metric space is separable if and only if its topology has a countable base, and deduce that every subspace of a separable metric space is separable.
Now let with the topology having as a base the set of all half-open intervals
with . Show that is separable, but that the subspace of is not separable.
[You may assume standard results on countability.]