This is what I have done thus far:
Theorem. $(A \cap B ) = (A \cup B) \Longleftrightarrow A = B$
Proof.
$A \cup B \Longrightarrow A = B$
Assume $A \cup B$ is true.
Given $A = B$ we know that:
$$A \cup B \Longleftrightarrow (A \subseteq B) \wedge (B \subseteq A)$$
$$\Longleftrightarrow (x \in A \Leftrightarrow x \in B)$$
$A = B \Longrightarrow A \cup B$
Assume $A = B$ is true.
Given $A \cup B$ let $x \in (A \cup B)$
So, $x \in A \vee x \in B$
I am unsure of how to proceed, and I am thrown off by the fact that there are three consecutive statements. Am I on the right track? If not, then how can I prove this?