We use a double inclusion proof. First, let . If , then , since otherwise . Hence in this case . If , then , since otherwise . Hence in this case . This proves the first set inclusion.
Conversely, an element of belongs to neither nor . An element of also belongs to neither set difference. Thus every element of lies outside , proving the reverse set inclusion. Therefore
For the first set inclusion, take . Membership in the intersection gives and , while the set difference gives . Consequently .
For the reverse set inclusion, an element of belongs to both and and does not belong to . It therefore belongs to . By double inclusion proof,
We prove both set inclusions, as required by a double inclusion proof. If , then and . Thus and , so and . This proves the forward set inclusion.
We prove both set inclusions. If , then and . Since , the latter condition forces , giving . Conversely, if , then and , so . By set extensionality, the two sets are equal. This is a double inclusion proof; the implication involving the set difference uses membership in explicitly.
Set identity 2026-10-31
An equality between sets expressed in terms of arbitrary input sets that holds for every allowed choice of those inputs. A double inclusion proof proves a set identity by proving both set inclusions. Membership equivalences give another proof: the expressions are equal if and only if each element belongs to either both or neither.