Let $(X,d_X)$ and $(Y,d_Y)$ be metric spaces. Show that the topology induced by the metric on $X\times Y$ is equal to the product topology.
Note that the product metric is maximum of the metrics.
My attempt: It suffices to show that the basis for the product topology is a basis for the topology induced by the product metric. Let $\mathbb{B}$ the basis which generates the product topology. If $B\in \mathbb{B}$ then $B=U_1\times U_2$ where $U_1$ is open in $X$ and $U_2$ is open in $Y$. Hence $B=\bigcup_jB(x_j,r_j) \times \bigcup_iB(y_i,r_j)=\bigcup_{ij}(B((x_i,y_j),min(r_i,y_j))$. Thus, $B$ is the union of sets open in the metric topology. By a similar reasoning, every open set in the metric topology is the union of some collection of members in $\mathbb{B}$.
Is my attempt correct?