I've defined in ZF theory the union of two sets $A$ and $B$ by $$A\cup B \stackrel{\mathrm{def}}{=} \bigcup \{A, B\}$$ (using the pair and the union axioms)
I want to prove that $\forall x, x\in A\cup B \Leftrightarrow (x\in A\lor x\in B)$ but I don't see how...
Otherwise, how to prove that $\forall x, x\in X \land X=A \Leftrightarrow x\in A$ for example, because I've tried with these axioms some implications like $$ x \in X \land X\in\{A,B\} \Rightarrow (x\in X \land (X=A \lor X=B)) $$ (I'm using $X\in\{A,B\} \Leftrightarrow (X=A\lor X=B)$ and the tautology $(p\land q)\land (q\Leftrightarrow r) \Rightarrow (p\land r)$ )
Thanks in advance for help.