Let be arbitrary sets. Decide whether
If it is true, prove it by set algebra; otherwise give a counterexample.
Rewrite every difference as an intersection with a complement. The single rule makes the whole statement mechanical:
so is the symmetric difference — the elements in exactly one of , .
Complement the symmetric difference. An element fails to lie in exactly one of precisely when it lies in both or in neither:
This is the structural heart of the proof, and the two pieces on the right of the target identity are already visible here.
Simplify the set being removed. Using ,
So the left-hand side is
Distribute the removal over the union. Set difference distributes over union, , giving
Simplify each piece. For the first, removing from removes exactly the part inside :
For the second, is disjoint from (and hence from ), so removing that set changes nothing:
Conclude. Putting the two pieces back together,
Note that the hypothesis was never needed — the identity holds unconditionally.
Verify by exhaustive membership check. Each element sits in one of regions according to whether it is in , , . Testing all eight: an element in belongs to both sides iff it is outside ; an element outside belongs to both sides always; an element in exactly one of belongs to neither side (it is excluded by the complemented symmetric difference on the left, and it is in neither piece on the right). All eight cases agree, confirming the algebra.
Need to solve a different problem like this? Open the solver →