Equality of Sets

From ProofWiki
Jump to: navigation, search

Contents

Theorem

Let $S$ and $T$ be sets.


For $S$ and $T$ to be equal, $S$ must be a subset of $T$ and $T$ must be a subset of $S$:

$S = T \iff \left({S \subseteq T}\right) \land \left({T \subseteq S}\right)$


Thus, by definition, the relation is a subset of is antitransitive.


This can also be written as:

$S = T \iff \left({S \subseteq T}\right) \land \left({S \supseteq T}\right)$

or:

$S = T \iff S \subseteq T \subseteq S$


Proof

  • First, suppose $S = T$. Then:
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\) \(\displaystyle S = T\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in S \iff x \in T}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of set equality          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in S \implies x \in T}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Material Equivalence          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle S \subseteq T\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of a subset          


Similarly:

\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\) \(\displaystyle S = T\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in S \iff x \in T}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of set equality          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in T \implies x \in S}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Material Equivalence          
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle T \subseteq S\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of a subset          


Thus we have:

$S = T \implies S \subseteq T \land T \subseteq S$.


  • Now, suppose $S \subseteq T \land T \subseteq S$.

First:

\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\) \(\displaystyle S \subseteq T\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in S \implies x \in T}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of a subset          

Then:

\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\) \(\displaystyle T \subseteq S\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\implies\) \(\displaystyle \left({x \in T \implies x \in S}\right)\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Definition of a subset          


Thus by definition of Material Equivalence:

$\left({S \subseteq T \land T \subseteq S}\right) \implies \left({x \in S \iff x \in T}\right)$.

and so by definition of set equality, $S = T$.


  • So, we have:
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle S = T\) \(\implies\) \(\displaystyle S \subseteq T \land T \subseteq S\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \) \(\displaystyle \) \(\displaystyle S \subseteq T \land T \subseteq S\) \(\implies\) \(\displaystyle S = T\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)                    
\(\displaystyle \) \(\displaystyle \implies\) \(\displaystyle \) \(\displaystyle S = T\) \(\iff\) \(\displaystyle S \subseteq T \land T \subseteq S\) \(\displaystyle \) \(\displaystyle \) \(\displaystyle \)          Material equivalence          


Hence our result $S = T \iff S \subseteq T \land T \subseteq S$.

$\blacksquare$


Also see

The Axiom of Extension can be seen to be equivalent to:

$S = T \iff \left({S \subseteq T}\right) \land \left({T \subseteq S}\right)$


Applications

When determining the equality of sets, a standard technique is to determine whether or not they are subsets of each other.


Sources

Personal tools
Namespaces
Variants
Actions
Navigation
ProofWiki.org
ToDo
Toolbox
Google AdSense