I had a question about this proof, I sort of know intuitively how to do it but it's not aligning with my understanding of how logic works. My first part of the proof goes as followed...
($\longrightarrow$) Suppose that for some arbitrary $p$ that $p=(x,y)\in{(A\times{B})\cap{(C\times{D}})}$ then clearly $p\in{(A\times{B})}$ and $p\in{(C\times{D})}$, for some $x$, $x\in{A}$ and $x\in{C}$ and $y\in{B}$ and $y\in{D}$. It follows that $x\in{A\cap{C}}$ and $y\in{B\cap{D}}$. So, $p\in{(A\cap{C})\times{(B\cap{D})}}$ and $(A\times{B})\cap{(C\times{D}})\subseteq{(A\cap{C})\times{(B\cap{D})}}$
But, this breaks the rule of existential instantiation. How can I instantiate to $x$ both times (same with $y$)? Does it have something to do with $p$? I am saying this because the chapter states that "...$p\in{A\times{(B\cap{C})}}$ means that $\exists{x}\exists{y}({x\in{A}\land{y\in{B\cap{C}}\land{p=(x,y)}})}$" which means that I am existentially instantiating when I take the $x$ and $y$ of the cross product. So in my case wouldn't it be $\exists{x}\exists{y}({x\in{A}\land{y\in{B}\land{p=(x,y)}})} \land \exists{x}\exists{y}({x\in{C}\land{y\in{D}\land{p=(x,y)}})}$?