- Written
- Published
- Updated
Set Theory
3.1 Fundamentals
3.1.1 (Informal) Set Definition
We define a set to be any unordered collection of objects, e.g., is a set.
We first clarify one point: we consider sets themselves to be a type of object.
Axiom 3.1 (Sets are objects)
If is a set, then is also an object.
Axiom 3.2 (Equality of sets)
Two sets and are equal, , iff every element of is an element of and vice versa.
Axiom 3.3 (Empty set)
There exists a set , known as the empty set, which contains no elements, i.e., for every object we have .
The empty set is also denoted .
Lemma 3.1.5 Single choice
Let be a non-empty set. Then there exists an object such that .
Axiom 3.4 (Singleton sets and pair sets)
If is an object, then there exists a set whose only element is , i.e., for every object , we have if and only if ; we refer to as the singleton set whose element is . Furthermore, if and are objects, then there exists a set whose only elements are and ; we refer to this set as the pair set formed by and .
Axiom 3.5 (Pairwise union)
Given any two sets , there exists a set , called the union of and , which consists of all the elements which belong to or or both. In other words, for any object ,
Lemma 3.1.12
If and are objects, then . If are sets, then the union operation is commutative (i.e., ) and associative (i.e., ). Also, we have A.
Proof:
If , then or by axiom 3.5 and axiom 3.4, . Then if , we can get or , so . If , we divide into two cases. If , then by axiom 3.5 . Similarly, we can prove the other direction.
3.1.14 Subset
Let be sets. We say that is a subset of , denoted , iff every element of is also an element of , i.e.,
We say that is a proper subset of , denoted , if and .
3.1.17 Sets are partially ordered by set inclusion
Let be sets. If and then . If and , then . Finally, if and then .
Axiom 3.6 (Axiom of specification)
Let be a set, and for each , let be a property pertaining to (i.e., for each is either a true statement or a false statement). Then there exists a set, called (or simply for short), whose elements are precisely the elements in for which is true. In other words, for any object ,
This axiom is also known as the axiom of separation.
3.1.22 Intersections
The intersection of two sets is defined to be the set
3.1.26 Difference sets
Given two sets and , we define the set or to be the set with any elements of removed:
3.1.27 (Sets form a boolean algebra)
Let be sets, and let be a set containing as subsets.
(a) (Minimal element) and
(b) (Maximal element) We have and .
(c) (Identity) We have and .
(d) (Commutativity) We have and .
(e) (Associativity) We have and .
(f) (Distributivity) We have and .
(g) (Partition) We have and .
(h) (De Morgan laws) We have and .
Proof:
(f) Suppose . This implies and or . We divide into two case. If and , then . So . Similarly, if and , then . Overall, .
Suppose . In the same way, if which means and . And thus . And if , also we have . Therefore .
Finally by 3.1.17, we complete the proof.
(h) Suppose which means and and . And which means and . By the definition of difference sets, this means and and . And this implies the equation is true.
Axiom 3.7 (Replacement)
Let be a set. For any object , and any object , suppose we have a statement pertaining to and , such that for each there is at most one y for which is true. Then there exists a set , such that for any object ,
Axiom 3.8 (Infinity)
There exists a set , whose elements are called natural numbers, as well as an object in , and an object assigned to every natural number , such that the Peano axioms (Axioms 2.1–2.5) hold.
3.2 Russell’s Paradox (Optional)
To be read.
3.3 Functions
3.3.1 Functions
Let be sets, and let be a property pertaining to an object and an object , such that for every , there is exactly one for which is true (this is sometimes known as the vertical line test). Then we define the function defined by on the domain and codomain to be the object which, given any input , assigns an output , defined to be the unique object for which is true. Thus, for any and ,
Functions are also referred to as maps or transformations, depending on the context.
3.3.8 Equality of functions
Two functions are said to be equal if their domains and codomains agree (i.e., and ) and furthermore that for all .
3.3.13 Composition
3.3.15 Composition is associative
3.3.17 One-to-one (injective) functions
3.3.20 Onto (surjective) functions
3.3.23 Bijective functions
Exercise 3.3.2
Let and be functions. Show that if and are both injective, then so is ; similarly, show that if and are both surjective, then so is .
3.4 Images and Inverse Images
3.4.1 Images of sets
If is a function from to , and is a subset of , we define to be the set
3.4.5 Inverse images
If is a subset of , we define the set to be the set
Axiom 3.11 Power set axiom
Let and be sets. Then there exists a set, denoted , which consists of all the functions from to , thus
Lemma 3.4.10
Let be a set. Then the set
is a set.
Proof:
By Axiom 3.11, we can construct some functions , Then the set
And by using Replacement Axiom, we can construct is that is true iff is a set, and . Done.
Axiom 3.12 Union
Let be a set, all of whose elements are themselves sets. Then there exists a set whose elements are precisely those objects which are elements of the elements of , thus for all objects
3.5 Cartesian Products
3.5.1 Ordered pair
3.5.4 Cartesian product
3.5.5 Finite choice
In other words, if each is non-empty, then the set is also non-empty.
Use the induction on .
Remark 3.5.12
It is intuitively plausible that this lemma should be extended to allow for an infinite number of choices, but this cannot be done automatically; it requires an additional axiom, the axiom of choice. See Section 8.4.
3.6 Cardinality of Sets
3.6.1 Equal cardinality
We say that two sets and have equal cardinality iff there exists a bijection from to .
3.6.4
The cardinality is self-reflexive and transitive.
Definition 3.6.5
Let be a natural number. A set is said to have cardinality , iff it has equal cardinality with . We also say that has n elements iff it has cardinality .
3.6.8 Uniqueness of cardinality
Let be a set with some cardinality . Then cannot have any other cardinality, i.e., cannot have cardinality for any .
Proof:
Use Lemma 3.6.9 and induct on .
Lemma 3.6.9
Suppose that , and has cardinality . Then is non-empty, and if is any element of , then the set (i.e., with the element removed) has cardinality .
Easy to prove.
3.6.10 Finite sets
A set is finite iff it has cardinality for some natural number ; otherwise, the set is called infinite. If is a finite set, we use to denote the cardinality of .
Theorem 3.6.12
The set of natural numbers is infinite
Comments
No approved comments yet.
Your display name and plain-text comment become public only after owner approval. No account or email is required.