I found this solution somewhat incomplete in a video I was watching. Here's the image and video (solution starts at ~2:11).
Here's what he wrote:
(A⊕B)⊕B=A
⇒ x∈(A⊕B)⊕B
= x∈(A⊕B) xor x∈B
= (x∈A xor x∈B) xor x∈B
x∈B → x∉A or x∉B (contradiction)
x∈A → x∉B or x∉B (works)
I find this incomplete as we only show that x∈A works, and there's no explanation of what happens to disjoint elements. What are your thoughts on this solution? And why or why not this is okay?
I came up with this solution and would like to know if it's correct or if there's a better way of writing it:
We want to show that: (A⊕B)⊕B=A
Let A=a∪c and B=b∪c, a is disjoint from b, a is disjoint from c
(A⊕B)⊕B
= ((a∪c)⊕(b∪c))⊕(b∪c)
= (a∪b)⊕(b∪c)
= (a∪c)
= A
QED
I agree with neither solution. Showing associativity of $\oplus$ is the best way to go IMHO, as @egreg suggested. This thread (and others) shows that $(A \oplus B) \oplus C = A \oplus (B \oplus C)$ for all subsets and then just use that to move the braces and apply $B \oplus B = \emptyset$ and $A \oplus \emptyset = A$.
But as an ad-hoc proof: Suppose $x \in A$.
If $x \in B$ then $x \in A \cap B$ so $x \notin A \oplus B$ but still $x \in B$ so $x \in (A \oplus B) \oplus B$ by definition.
If $x \notin B$ then $x \in A \oplus B$ by definition and as $x \notin B$, $x \in (A \oplus B) \oplus B$ again.
So $A \subseteq (A \oplus B) \oplus B$.
If on the other hand $x \in (A \oplus B) \oplus B$ then either $x \in A \oplus B$ and $x \notin B$ which can only happen if $x \in A$,
or $x \notin A \oplus B$ and $x \in B$. In that case $x \notin A$ is ruled out too, as that would mean $x \in A \oplus B$, quod non. So $x \in A$ and so these two cases imply
$(A \oplus B) \oplus B \subseteq A$ and we are done.