We define first what a set is:
We define set A to be any unordered collection of objects. If is an object, we say that x is an element of A or if x lies in the collection. Otherwise
We start with some axioms:
(Sets are objects) If is a set, then is also an object. A side track about "Pure Set Theory" - This theory states that everything in the mathematical universe is a set. We can write 0 as or an empty set, 1 can be written as 0 and 2 as 0,1 and so on. Terence Tao argues that they are the 'cardinalities of the set.'
(Equality of sets) Two sets A and B are equal, A = B, iff every element of A is an element of B. A = B, if and only if every element of of A also belongs to B, and every element of B belongs to A.
(Empty set) There exists a set known as the empty set, which contains no elements.
If
Thus,
For the statement,
Is false both ways, which gives us the result true, which is a contradiction.
Thus we also prove that is unique.
(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 if and only if or , we refer to this set as the pair set formed by and .
(Single choice) is an object, . , y = a
(Pairwise Union)
The two statements are equivalent.
(Axiom Of Specification) A, , let P(x) be a property pertaining to . Then there exists a set called whose elements are precisely the elements in A for which is true.
(Replacement) Let A 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 for which is true. Then there exists a set is true for some
(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 hold.
Russel's Paradox (Axiom Of Universal Specification) Suppose for every we have a property pertaining to , Then there exists a set is true such that for every object :
This is quite a handy axiom, we can even find all the axioms through this axiom, but there's an issue.
Let's say we defined the property And we defined a set for which this property is true. A paradox is created, where we don't know whether belongs in this set or not, it's simultaneously true and untrue. If is not in the set, then it is a set that is not in its own set, thereby being contained in the set. If is in the set, then it's a set that is in itself, therefore it cannot be in the set. To resolve this paradox we have, the next axiom.
There is a similar paradox known as the "Grellig-Nelson paradox" with the words heterological and autological, the word autological means that the word is an example of itself, for example, the word 'word' is a word or 'pronounceable' is pronounceable or a 'noun' is a noun. The word heterological means that the word is not an example of itself. The word 'triangle' is clearly not a and so on. The question arises, is heterological autological or heterological?
The Axiom Of Universal Specification implies the third axiom onwards.
Proof. Proving for each axiom:
For the axiom of null sets,
We can construct null sets in many ways. We can define the set such that:
A property that is not true for any given object. This allows us to then say that, for is true, where then that means which is not true. The third axiom is true.
For the axiom of single choice,
We define the property such that ,
Then for , then
For the axiom of pair sets,
We define the property similarly such that or
For the axiom of pairwise unions,
We take to be or For the axiom of specification,
We define a property is true.
Then we have,
This means that when is true, is true
For the axiom of replacement, We define
For the axiom of infinity, We take the property that is a natural number.
(Axiom Of Regularity) If A is a non-empty set, then there is at least one element of A which is either not a set or is disjoint from A. How exactly does this mitigate the issues that come in from Russel's Paradox?
Show that if A is a set then
A, if
If A and B are two sets then either or
x = A,
So if Then we know that,
Because if it were then we'd have
The axiom of universal specification is equivalent to an axiom postullating the existence of a universal set consisting of all objects (for all objects we have ). Conversely if a universal set exists, then the axiom of universal specification is true
Conversely,
Assuming the universal set exists, we can write
Since every object belongs to the universal set, this gives us the axiom of universal specificiation
Show that the axiom of replacement implies the axiom of specification
Define a proper subset of a set to be a subset of with . Let be a non-empty set. Show that does not have any non-empty proper subsets if and only if is of the form for some object .
Given that,
We must prove that there are no non-empty proper subsets of .
A proper subset of is defined as ,
Suppose there is a non-empty proper subset of
Which would mean,
Which is a contradiction.
For the statement, If A does not have any non-empty proper subsets, then A is of the form ,
Proving by contradiction,
Suppose that A does not have any non-empty proper subsets and A is not singleton.
This means that the only proper subset of has to be .
But we know from Axiom 4, that all sets are built off of singleton sets, which would be a non-empty proper subset of that set .
Thus the statement is true, proven by contradiction
Suppose that ,, , are sets such that and . Show that and
We already know that or if , then . This means, we can say
When we take out the Axiom Of Universal Specification, we have a set of axioms known as "Zermelo- Fraenkel Set Theory".
We will discuss another axiom, known as the "Axiom of choice" in upcoming sessions, which allows us to talk about unions and intersections of sets that aren't countable.
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. Then we define the function defined by P on the domain and the 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
A function is one-to-one (or injective) if different elements map to different elements:
A function is onto if every element in comes from applying to some element in :
For every there exists such that
These functions are extremely important for modelling the real world. We represent bodies as a set of points. And the way we model the real world is by making these sets have a one-to-one mapping with the Euclidean space.
Functions which are both one-one and onto are called bijective.
Let and be two functions such that the codomain fo f is the same set as the domain of . We then define the composition of the two functions and to be the function defined explicitly by the formula
If the codomain of does not match the domain of , we leave the composition undefined.
Two functions are said to be equal when the functions have the same domain, codomain and the functions have the same output for all
Let be a bijective function and let be its inverse. Verify the cancellation laws for all and for all Conclude that is also invertible and has as its inverse thus
If is a function from to , and S is a subset of , we define to be the set
If U Is a subset of , we define the set to be the set,
This leads to the introduction of a new Axiom.
The Power set Axiom.
There exists a set such that all the functions that map from to are contained within it.
Let A 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 A, thos for objects
Similarly, intersections can be described as,
If and are any objects, we define the ordered pair to be a new object, consisting of as its first component and as its second component.
If and are sets, then we define the Cartesian product to be the collection of ordered pairs, whose first component lies in and second component lies in , thus,
An ordered n-typle is a collection of objects , one for every natural number between and ; we refer to as the component of the n-tuple