I wish to prove the following statement. Let $X$ and $Y$ be topological spaces with $A \subset X$ and $B\subset Y$. Then prove that the topology on $A \times B$ as a subspace of the product $X\times Y$ is the same as the product topology on $A\times B$, where $A$ and $B$ have the subspace topology from $X$ and $Y$ respectively.
Well I understand that the first thing looks like:
$$ \{(A\times B) \cap (U_i \times V_i)|U_i,V_i \in \text{topology on $X$ and $Y$ respectively}\} $$
Isn't it a set theory law that this is $$ \{(A\cap U_i) \times (B \cap V_i)|U_i,V_i \in \text{topology on $X$ and $Y$ respectively}\} $$ Then we are done. Or do I have to use double containment? Also, does anyone have a good list of the non-special case set distributive laws?
Thank you.