Let $X$ and $Y$ be two topological spaces, $A\subset X, B\subset Y$. I have to prove that the following two topologies on $A\times B$ coincide:
The product of the topology of $A$ (induced from $X$) and that of $B$ (induced from $Y$),
and the topology induced on $A\times B$ from the product topology on $X\times Y$.
Intuitively, I know this is correct. But how do I prove this mathematically correct?
Thank you!