We take the notion of set and the membership relation as primitive. For sets inside an ambient set :
- inclusion: when ; equality when and ;
- union , intersection , difference , complement ;
- the empty set , contained in every set;
- the power set : the set of all subsets of ;
- the product : the set of ordered pairs with , .
Examples
Example 1.17 (Getting used to the power set)
For :
four elements — and note the type discipline: but ; the statements and are both false as written (the second would require to be a subset of ). Iterating from nothing: has one element, has two, the next has four — sets of sets are ordinary sets, and Chapter 2 will confirm the doubling pattern: . Keeping the levels (, , ) straight is half the battle in exercises like Exercises 1.11 and 1.12.
Example 1.27 (Point (2) is sharp)
In Proposition 1.26 (2), one cannot upgrade the conclusions: bijective does not force surjective or injective. Take , , with and : then is bijective, yet misses the element and collapses both elements. The moral is a precise bookkeeping rule: composition information flows to the inner map for injectivity and to the outer map for surjectivity, never the other way. (Exercise 1.9 builds the same phenomenon with infinite sets, where it is the engine behind one-sided inverses.)
Example 1.32
On , congruence modulo ( when divides ) is an equivalence relation; its classes are the sets of integers with a given remainder upon division by . This example becomes the ring in Chapter 7.