I'm doing the following transformations over a statement with an existential quantifier that I believe is valid, but I don't know how to justify it in my chain of equivalences:
$$ \begin{align} \exists y \in Y \{ y \in B \land &\exists x \in X \{ x \in A \} \} \\ &\iff \exists x \in X, y \in Y \{ x \in A \land y \in B \} \\ &\iff \exists x \in X \{ x \in A \land \exists y \in Y \{ y \in B \}\} \end{align} $$
I couldn't find an existing existential quantifier rule I could name here. Can this be justified, or am I missing something?