Previously, we discussed predicate logic and claimed that it is ubiquitous in mathematics. In this post, we will apply said logic to a naïve notion of set theory.
In a naïve sense, a set is a collection of objects. Formally, we use the Zermelo-Fraenkel axioms to model symbols that behave like what we would expect from collections of objects. In particular, we want to define several properties about sets.
Definition 1. For any set , we call the set
a subset of
, denoted
, to mean the following universally quantified proposition:
This forms the basis of the element-chasing technique in proving subset relations. We illustrate an example below.
Example 1. Define the following sets:
We claim that . The definitions of
are legitimate under axiomatic set theory by the axiom schema of specification. Furthermore, we will rigorously define the elements
of
later on when discussing cartesian products. Fundamentally, it means that
Proof. Fix . Then
and
. This means that
and
. Therefore,
. Since
and
, we must have
. Therefore,
.
Definition 2. Let . We write
to mean the following universally quantified proposition:
More technically, this is formulated precisely using the axiom of extensionality in axiomatic set theory.
This tells us the sets formed by the axiom schema of specification must be unique.
Theorem 1. Let be a predicate on a set
. Then the set defined by
is unique.
Proof. Suppose are subsets of
where
means that
, and
means that
. Then
By the axiom of extensionality, .
This technique also allows us to prove via two-way subset inclusion.
Theorem 2. Let . Then
if and only if
and
.
Proof. Suppose . We first prove that
. Fix
. Since
,
. Since
, we have
This implies that
Since , by modus ponens, we conclude that
. Therefore,
.
The proof that is left as an exercise. (The argument is, quite literally, symmetric.)
Now, on the other hand, suppose and
. Fix
. We need to prove the following two propositions:
.
.
The first statement follows from . The second statement follows from
. Therefore,
This implies that , as required.
The power of this proving technique arises when our calculations are not reversible. We will elaborate on this when discussing sets in detail.
We can even define the complement, intersection, and union of sets rigorously.
Definition 3. Let be a set and
. The complement of
, denoted
, is defined by
The intersection of and
, denoted
, is defined by
The union of and
, denoted
, is defined by
The union is also conceptualised as a consequence of the axiom of union.
Notice that correspond to the logical notions
respectively.
In particular, we can discuss the notion of the empty set.
Theorem 3. For sets ,
.
Proof. Fix . Then
Therefore, by a similar argument
This allows us to define the empty set as for some (in fact, any) set
.
We can even discuss cartesian products, but we will supplement this detail later on. Basically, we want to formalise the notion of ordered pairs. We’ll describe the crucial property that we need in the next post—nested quantifiers.
—Joel Kindiak, 27 Nov 24, 2226H
Leave a comment