Set Difference with Empty Set is Self

From ProofWiki
Jump to navigation Jump to search

Theorem

The set difference between a set and the empty set is the set itself:

$S \setminus \O = S$


Proof

From Set Difference is Subset:

$S \setminus \O \subseteq S$

From the definition of the empty set:

$\forall x \in S: x \notin \O$


Let $x \in S$.

Thus:

\(\ds x\) \(\in\) \(\ds S\)
\(\ds \leadsto \ \ \) \(\ds x\) \(\in\) \(\ds S \land x \notin \O\) Rule of Conjunction
\(\ds \leadsto \ \ \) \(\ds x\) \(\in\) \(\ds S \setminus \O\) Definition of Set Difference
\(\ds \leadsto \ \ \) \(\ds S\) \(\subseteq\) \(\ds S \setminus \O\) Definition of Subset


Thus we have:

$S \setminus \O \subseteq S$

and:

$S \subseteq S \setminus \O$

So by definition of set equality:

$S \setminus \O = S$

$\blacksquare$


Also see


Sources