Suppose P is any predicate in one variable that doesn't use the symbol B. Then in the formal language of the Zermelo-Fraenkel axioms, the axiom schema reads:
To understand this axiom schema, note that the set B must be a subset of A. Thus, what the axiom schema is really saying is that, given a set A and a predicate P, we can find a subset B of A whose members are precisely the members of A that satisfy P. We can use the axiom of extensionality to show that this set B is unique. We denote the set B using set-builder notation as {A : P}, or {C ∈ A : P(C)} to be more clear. Thus the essence of the axiom is:
Table of contents |
2 Unrestricted comprehension 3 In NBG class theory 4 In second order logic 5 In Quine's New Foundations |
The axiom schema of specification can almost be derived from the axiom schema of replacement.
First, recall this axiom schema:
Relation to the axiom schema of replacement
for any functional predicate F in one variable that doesn't use the symbol B.
Given a suitable predicate P for the axiom of specification, define the mapping F by F(D) = D if P(D) is true and F(D) = E if P(D) is false, where E is any member of A such that P(E) is true.
Then the set B guaranteed by the axiom of replacement is precisely the set B required for the axiom of specification.
The only problem is if no such E exists. But in this case, the set B required for the axiom of specification is the empty set, so the axiom schema follows in general using also the axiom of empty set.
For this reason, the axiom schema of specification is often left out of modern lists of the Zermelo-Fraenkel axioms. However, it's still important for historical considerations, and for comparison with alternative axiomatisations of set theory, as can be seen for example in the following sections.
The axiom schema of unrestricted comprehension reads:
This axiom schema was tacitly used in the early days of naive set theory, before a strict axiomatisation was adopted.
Unfortunately, it leads directly to Russell's paradox by taking P(C) to be (\C is not in C).
Therefore, no useful axiomatisation of set theory can use unrestricted comprehension, at least not with classical logic.
Accepting only the axiom schema of specification was the beginning of axiomatic set theory.
Most of the other Zermelo-Fraenkel axioms (but not the axiom of extensionality or the axiom of regularity) then became necessary to serve as an additional replacement for the axiom schema of comprehension; each of these axioms states that a certain set exists, and defines that set by giving a predicate for its members to satisfy.
In the von Neumann-Bernays-Gödel axioms of set theory, a distinction is made between sets and classeses.
A class C is a set iff it belongs to some class E.
In this theory, there is a theorem schema that reads:
In second order predicate logic, we can quantify over predicates, and the axiom schema of specification becomes a simple axiom.
This is much the same trick as was used in the NBG axioms of the previous section, where the predicate was replaced by a class that was then quantified over.
In the New Foundations approach to set theory pioneered by W.V.O. Quine, the axiom of comprehension for a given predicate takes the unrestricted form, but the predicates that may be used in the schema are themselves restricted.
The predicate (C is not in C) is forbidden, because the same symbol C appears on both sides of the membership symbol; thus, Russell's paradox is avoided.
However, by taking P(C) to be (C = C), which is allowed, we can form a set of all sets.Unrestricted comprehension
that is:
This set B is again unique, and is denoted {:P} or {C : P(C)}.In NBG class theory
that is:
This theorem schema is itself a restricted form of comprehension, which avoids Russell's paradox because of the requirement that C be a set.
Then specification for sets themselves can be written as a single axiom:
that is:
or even more simply:
In this axiom, the predicate P is replaced by the class D, which can be quantified over.In second order logic
In Quine's New Foundations