Axiomatic set theory

Set theory is a branch of mathematics created principally by the German mathematician Georg Cantor at the end of the 19th century. Initially controversial, set theory has come to play the role of a foundational theory in modern mathematics, in the sense of a theory invoked to justify assumptions made in mathematics concerning the existence of mathematical objects (such as numbers or functions) and their properties. Formal versions of set theory also have a foundational role to play as specifying a theoretical ideal of mathematical rigor in proofs. At the same time the basic concepts of set theory are used throughout mathematics, the subject is pursued in its own right as a specialty by a comparatively small group of mathematicians and logicians. It should be mentioned that there are also mathematicians using and promoting different approaches to the foundations of mathematics.
The basic concepts of set theory are set and membership. A set is thought of as any collection of objects, called the members (or elements) of the set. In mathematics, the members of sets are any mathematical objects, and in particular can themselves be sets. Thus one speaks of the set N of natural numbers { 0, 1, 2, 3, 4, ... }, the set of real numbers, and the set of functions from the natural numbers to the natural numbers; but also, for example, of the set { 0, 2, N } which has as members the numbers 0 and 2 and the set N.
Initially, what is now known as "naive" or "intuitive" set theory was developed. (See naive set theory). As it turned out, assuming that one could perform any operations on sets without restriction led to paradoxes such as Russell's paradox. To address these problems, set theory had to be reconstructed, this time using an axiomatic approach.
Contents 
The origins of rigorous set theory
The important idea of Cantor's, which got set theory going as a new field of study, was to define two sets A and B to have the same number of members (the same cardinality) when there is a way of pairing off members of A exhaustively with members of B. Then the set N of natural numbers has the same cardinality as the set Q of rational numbers (they are both said to be countably infinite), even though N is a proper subset of Q. On the other hand, the set R of real numbers does not have the same cardinality as N or Q, but a larger one (it is said to be uncountable). Cantor gave two proofs that R is not countable, and the second of these, using what is known as the diagonal construction, has been extraordinarily influential and has had manifold applications in logic and mathematics.
Cantor went right ahead and constructed infinite hierarchies of infinite sets, the ordinal and cardinal numbers. This was controversial in his day, with the opposition led by the finitist Leopold Kronecker, but there is no significant disagreement among mathematicians today that Cantor had the right idea.
Cantor's development of set theory was still "naïve" in the sense that he didn't have a precise axiomatization in mind. In retrospect, we can say that Cantor was tacitly using the axiom of extensionality, the axiom of infinity, and the axiom schema of (unrestricted) comprehension. However, the last of these leads directly to Russell's paradox, by constructing the set S := {A : A is not in A} of all sets that don't belong to themselves. (If S belongs to itself, then it does not, giving a contradiction, so S must not belong to itself. But then S would belong to itself, giving a final and absolute contradiction.) Therefore, set theorists were forced to abandon either classical logic or unrestricted comprehension, and the latter was far more reasonable to most. (Although intuitionism had a significant following, the paradox still goes through with intuitionistic logic. There is no paradox in Brazilian logic, but that was almost completely unknown at the time.)
In order to avoid this and similar paradoxes, Ernst Zermelo put forth a system of axioms for set theory in 1908. He included in this system the axiom of choice, a truly controversial axiom that he needed to prove the wellordering theorem. This system was later refined by Adolf Fraenkel and Thoralf Skolem, giving the axioms used today.
Axioms for set theory
The axioms for set theory now most often studied and used, although put in their final form by Skolem, are called the ZermeloFraenkel set theory (ZF). Actually, this term usually excludes the axiom of choice, which was once more controversial than it is today. When this axiom is included, the resulting system is called ZFC.
An important feature of ZFC is that every object that it deals with is a set. In particular, every element of a set is itself a set. Other familiar mathematical objects, such as numbers, must be subsequently defined in terms of sets.
The ten axioms of ZFC are listed below. (Strictly speaking, the axioms of ZFC are just strings of logical symbols. What follows should therefore be viewed only as an attempt to express the intended meaning of these axioms in English. Moreover, the axiom of separation, along with the axiom of replacement, is actually an infinite schema of axioms, one for each formula.) Each axiom has further information in its own article.
 Axiom of extensionality: Two sets are the same if and only if they have the same elements.
 Axiom of empty set: There is a set with no elements. We will use {} to denote this empty set.
 Axiom of pairing: If x, y are sets, then so is {x,y}, a set containing x and y as its only elements.
 Axiom of union: Every set has a union. That is, for any set x there is a set y whose elements are precisely the elements of the elements of x.
 Axiom of infinity: There exists a set x such that {} is in x and whenever y is in x, so is the union y U {y}.
 Axiom of separation (or subset axiom): Given any set and any proposition P(x), there is a subset of the original set containing precisely those elements x for which P(x) holds.
 Axiom of replacement: Given any set and any mapping, formally defined as a proposition P(x,y) where P(x,y) and P(x,z) implies y = z, there is a set containing precisely the images of the original set's elements.
 Axiom of power set: Every set has a power set. That is, for any set x there exists a set y, such that the elements of y are precisely the subsets of x.
 Axiom of regularity (or axiom of foundation): Every nonempty set x contains some element y such that x and y are disjoint sets.
 Axiom of choice: (Zermelo's version) Given a set x of mutually disjoint nonempty sets, there is a set y (a choice set for x) containing exactly one element from each member of x.
The axioms of choice and regularity are still controversial today among a minority of mathematicians. Other axiom systems for set theory are Von NeumannBernaysGödel set theory (NBG), the KripkePlatek set theory (KP), KripkePlatek set theory with urelements (KPU) and MorseKelley set theory.
Independence in ZFC
Many important statements are independent of ZFC. The independence is usually proved by forcing, that is it is shown that every countable transitive model of ZFC (plus, occasionally, large cardinal axioms) can be expanded to satisfy the statement in question, and (through a different expansion) its negation. An independence proof by forcing automatically proves independence from arithmetical statements, other concrete statements, and large cardinal axioms. Some statements independent of ZFC can be proven to hold in particular inner models, such as in the constructible universe. However, some statements that are true about constructible sets are not consistent with hypothesised large cardinal axioms.
Here are some statements whose independence is provable by forcing:
 Continuum hypothesis
 Diamond principle
 Suslin hypothesis
 Kurepa hypothesis
 Martin's Axiom (Note despite the name this is NOT an axiom of ZFC)
 Axiom of Constructibility (V=L) (also not an axiom of ZFC)
Note: Consistency of V=L is not provable by forcing, but is provable through inner models: Every model of ZF can be trimmed to be a model of ZFC+V=L.
Note: The Diamond Principle implies the Continuum Hypothesis and the negation of the Suslin Hypothesis.
Martin's axiom plus the negation of the Continuum Hypothesis implies the Suslin Hypothesis.
The constructible universe satisfies the Generalized Continuum Hypothesis, the Diamond Principle, Martin's Axiom and the Kurepa Hypothesis.
A variation on the method of forcing can also be used to demonstrate the consistency and necessity of the axiom of choice, i.e., that the axiom of choice is independent of ZF. The consistency of choice can be (relatively) easily verified by proving the inner model L satisfies choice (thus every model of ZF contains a submodel of ZFC hence Con(ZF) implies Con(ZFC)). Since forcing preserves choice we cannot directly produce a model contradicting choice from a model satisfying choice. However, we can use forcing to create a model which contains a suitable submodel, namely one which satisfies ZF but not C. In particular the model constructed by adding a cohen generic and then considering only the hereditarily ordinal definable sets in that model satisfies ZF but not choice.
Forcing is perhaps the most useful method of proving independence results but not the only method. In particular Godel's 2nd incompleteness theorem which asserts that no sufficiently complex recursively axiomatizable system can prove its own consistency can be used to prove independence results. In this approach it is demonstrated that a particular statement in set theory can be used to prove the existence of a set model of ZFC and thereby demonstrate the consistency of ZFC. Since we know that Con(ZFC) (the sentence asserting the consistency of ZFC in the language of set theory) is unprovable in ZFC no statement allowing such a proof can itself be provable in ZFC. For instance this method can be used to demonstrate the existence of large cardinals is not provable in ZFC (but it has yet to be shown they are consistent).
Set theory (ZFC) foundations for mathematics
From these initial axioms for sets one can construct all other mathematical concepts and objects: number  discrete and continuous, order, relation, function , etc.
For example, whilst the elements of a set have no intrinsic ordering it is possible to construct models of ordered lists. The essential step is to be able to model the ordered pair ( a, b ) which represents the pairing of two objects in this order. The defining property of an ordered pair is that ( a, b ) = ( c, d ) if and only if a = c and b = d. The approach is basically to specify the two elements and additionally note which one is the first using the construction:
( a, b ) = { { a, b }, { a } }.
Ordered lists of greater length can be constructed inductively:
( a, b, c ) = ( ( a, b ), c ) ( a, b, c, d ) = ( ( a, b, c ), d ) ...
For another example, there is a minimalist construction for the natural numbers, principally drawing on the axiom of infinity, due to von Neumann. We require to produce an infinite sequence of distinct sets with a 'successor' relation as a model for the Peano Axioms. This provides a canonical representation for the number N as being a particular choice of set containing precisely N distinct elements.
We proceed inductively:
0 = {} 1 = { 0 } = { {} } 2 = { 0, 1 } = { {}, { {} } } 3 = { 0, 1, 2 } = { {}, { {} }, { {}, { {} } } } ...
At each stage we construct a new set with N elements as being the set containing the (already defined) elements 0, 1, 2, ..., N  1. More formally, at each step the successor of N is { N ∪ { N } }. Remarkably this produces a suitable model for the entire collection of natural numbers  from the barest of materials.
Since relations, and most specifically functions, are defined to be sets of ordered pairs, and there are wellknown constructions progressively building up the integers, rational, real and complex numbers from sets of the natural numbers we are able to model essentially all of the usual infrastructure of daily mathematical practice.
It is often asserted that axiomatic set theory is thus an adequate foundation for current mathematical practice, in the sense that in principle all proofs produced by the mathematical community could be written formally in set theory terms. It is also generally believed that no serious advantage would come from doing that, in almost all cases: the axiomatic foundations normally used are sufficiently closely aligned to the underlying set theory, that full axiomatic translation yields only a little extra, compared to argument in the usual, traditional informal style. One area where a gap can appear between practice and easy formalisation is in category theory, where for example a concept like 'the category of all categories' requires more careful settheoretic handling.
Wellfoundedness and hypersets
In 1917, Dmitry Mirimanov (also spelled Mirimanoff) introduced the concept of wellfoundedness:
 a set, x0, is wellfounded iff it has no infinite descending membership sequence:
 · · · <math> \in x_2 \in x_1 \in x_0. <math>
In ZFC, there is no infinite descending ∈sequence by the axiom of regularity (for a proof see Axiom of regularity). In fact, the axiom of regularity is often called the foundation axiom since it can be proved within ZFC (that is, ZFC without the axiom of regularity) that wellfoundedness implies regularity.
In variants of ZFC without the axiom of regularity, the possibility of nonwellfounded sets arises. When working in such a system, a set that is not necessarily wellfounded is called a hyperset. Clearly, if A ∈ A, then A is a nonwellfounded hyperset.
The theory of hypersets has been applied in computer science (process algebra and final semantics), linguistics (situation theory), and philosophy (work on the Liar Paradox).
Three distinct antifoundation axioms are wellknown:
 AFA (‘AntiFoundation Axiom’) — due to M. Forti and F. Honsell;
 FAFA (‘Finsler’s AFA’) — due to P. Finsler;
 SAFA (‘Scott’s AFA’) — due to Dana Scott.
The first of these, AFA, is based on accessible pointed graphs (apg) and states that two hypersets are equal if and only if they can be pictured by the same apg. Within this framework, it can be shown that the socalled Quine atom, formally defined by Q={Q}, exists and is unique.
It is worth emphasizing that hyperset theory is an extension of classical set theory rather than a replacement: the wellfounded sets within a hyperset domain conform to classical set theory.
Objections to set theory
Since its inception, there have been some mathematicians who have objected to using set theory as a foundation for mathematics, claiming that it is just a game which includes elements of fantasy. Notably, Henri Poincaré is supposed to have said "set theory is a disease from which mathematics will one day recover", (this quotation is part of the folklore of mathematics; the original source is unknown) and Errett Bishop dismissed set theory as God's mathematics, which we should leave for God to do.
The most frequent objection to set theory is the constructivist view that mathematics is loosely related to computation and that naive set theory is being formalised with the addition of noncomputational elements.
Topos theory has been proposed as an alternative to traditional axiomatic set theory.
See also
 List of set theory topics
 ZermeloFraenkel set theory
 Simple theorems in the algebra of sets
 Naive set theory
 CantorBernsteinSchroeder theorem
 Zorn's lemma
 Cantor's theorem
 Cantor's diagonal argument
 Model theory
 Internal set theory
 KripkePlatek set theory with urelements
External links
 Metamath  the foundations of mathematics explored (http://metamath.planetmirror.com/)
For information on the history of the notation see
 Earliest uses of symbols of set theory and logic (http://members.aol.com/jeff570/set.html)
 An overview of set theory including philosophical issues (http://plato.stanford.edu/entries/settheory/)
 Bibliography for alternative set theories allowing a universal set (http://math.boisestate.edu/~holmes/holmes/setbiblio.html)
 Quine's New Foundations Axioms (http://math.boisestate.edu/~holmes/holmes/nf.html)
ca:Teoria de conjunts de:Mengenlehre eo:Arteorio fr:Théorie axiomatique des ensembles ja:公理的集合論 nl:Verzamelingenleer pl:Teoria mnogoÅ›ci sv:mängdteori he:תורת הקבוצות האקסיומטית