Let $X$ be a topological space that satisfies the second axiom of countability. Show that if $\cal{B}$ is a basis for $X$ then there is $\cal{B'} \subseteq \cal{B}$ countable such that $\cal{B'} $ is a basis for $X$.
A topological space $X$ is second-countable if there exists some countable collection $U = \{U_i \} _i^{\infty}$ of open subsets of $X$ such that any open subset of $X$ can be written as a union of elements of some subfamily of $U$.
If $\cal{B}$ is basis for X then there is a family $\cal{B}$ of open subsets of $X$ such that every open set of the topology is equal to the union of some subfamily of $\cal{B}$. But $X$ is also second countable, so, let $\cal{B'}$ open subset of X be the union of elements of some subfamily of the countable collection U. But $\cal{B'}$ can be written as a union of some subfamily of $\cal{B}$ so $\cal{B'} \subseteq \cal{B}$
Is it right so far? I'm stuck, how do I show that $\cal{B'}$ is base?
Put $\mathcal{U}=\left\{U_i\right\}_i^\infty$. For each $U_i,U_j\in \mathcal{U}$ with $U_j\subset U_i$ choose one set $B_{ji}\in \mathcal{B}$ such that $U_j \subset B_{ji} \subset U_i$, if there is at least one such $B_{ji}$.
The collection $\mathcal{B'} = \left\{ B_{ji} \right\} \subset \mathcal{B}$ is countable, being indexed by a subset of $\mathbb{N}\times\mathbb{N}$.
We have:
Then $\mathcal{B'}$ satisfies the two conditions for it to be a base.