Example. Examples of equal subsets [01DM]

  1. As subsets of \mathbb {N}, {\mathopen {}\left \{x:\mathbb {N}\,\middle \vert \,2\mid x \land \mathsf {isPrime}(x)\right \}\mathclose {}} and {\mathopen {}\left \{2\right \}\mathclose {}} are equal.
  2. For any positive integer m, {\mathopen {}\left \{x:\mathbb {Z}\,\middle \vert \,m\mid x\right \}\mathclose {}} and {\mathopen {}\left \{x:\mathbb {Z}\,\middle \vert \,x\equiv 0 \mod m\right \}\mathclose {}} are equal as subsets of \mathbb {Z}.
  3. As subsets of \mathbb {N}, {\mathopen {}\left \{d:\mathbb {N}\,\middle \vert \,d\mid 0\right \}\mathclose {}} and \mathbb {N} itself are equal.