In mathematical logic, New Foundations (NF) is a non-well-founded, finitely axiomatizable set theory conceived by Willard Van Orman Quine as a simplification of the theory of types of Principia Mathematica.
The well-formed formulas of NF are the standard formulas of propositional calculus with two primitive predicates equality (
=
\in
\{x\mid\phi\}
\phi
A formula
\phi
\phi
x\iny
\phi
x=y
\phi
NF can be finitely axiomatized. One advantage of such a finite axiomatization is that it eliminates the notion of stratification. The axioms in a finite axiomatization correspond to natural basic constructions, whereas stratified comprehension is powerful but not necessarily intuitive. In his introductory book, Holmes opted to take the finite axiomatization as basic, and prove stratified comprehension as a theorem. The precise set of axioms can vary, but includes most of the following, with the others provable as theorems:
A
B
x
x
A
x
B
A=B
x
\iota(x)=\{x\}=\{y|y=x\}
x
A
B
A x B=\{(a,b)|a\inAandb\inB\}
A
B
A x V
V x B
R
R-1=\{(x,y)|(y,x)\inR\}
xR-1y
yRx
R
R\iota=\{(\{x\},\{y\})|(x,y)\inR\}
R
R
dom(R)=\{x|\existsy.(x,y)\inR\}
R
[\subseteq]=\{(x,y)|x\subseteqy\}
[\in]=[\subseteq]\cap(1 x V)=\{(\{x\},y)|x\iny\}
A
Ac=\{x|x\notinA\}
A
A
B
A\cupB=\{x|x\inAorx\inBorboth\}
A
B
V=\{x|x=x\}
x
x\cupxc=V
a
b
a
b
(a,b)
(a,b)=(c,d)
a=c
b=d
\pi1=\{((x,y),x)|x,y\inV\}
\pi2=\{((x,y),y)|x,y\inV\}
[=]=\{(x,x)|x\inV\}
A
cup[A]=\{x|forsomeB,x\inBandB\inA\}
A
R
S
(R|S)=\{(x,y)|forsomez,xRzandzSy\}
R
S
x|y=\{z:\neg(z\inx\landz\iny)\}
xc=x|x
x\cupy=xc|yc
1
\{x|\existsy:(\forallw:w\inx\leftrightarroww=y)\}
R
I2(R)=\{(z,w,t):(z,t)\inR\}
I3(R)=\{(z,w,t):(z,w)\inR\}
S
TL(S)=\{z:\forallw:(w,\{z\})\inS\}
New Foundations is closely related to Russellian unramified typed set theory (TST), a streamlined version of the theory of types of Principia Mathematica with a linear hierarchy of types. In this many-sorted theory, each variable and set is assigned a type. It is customary to write the type indices as superscripts:
xn
\phi(xn)
\{xn\mid\phi(xn)\}n+1
\phi(xn)
\existsAn+1\forallxn[xn\inAn+1\leftrightarrow\phi(xn)]
An+1
\{xn\mid\phi(xn)\}n+1
\phi(xn)
There is a correspondence between New Foundations and TST in terms of adding or erasing type annotations. In NF's comprehension schema, a formula is stratified exactly when the formula can be assigned types according to the rules of TST. This can be extended to map every NF formula to a set of corresponding TST formulas with various type index annotations. The mapping is one-to-many because TST has many similar formulas. For example, raising every type index in a TST formula by 1 results in a new, valid TST formula.
Tangled Type Theory (TTT) is an extension of TST where each variable is typed by an ordinal rather than a natural number. The well-formed atomic formulas are
xn=yn
xm\inyn
m<n
i
s(i)
s
TTT is considered a "weird" theory because each type is related to each lower type in the same way. For example, type 2 sets have both type 1 members and type 0 members, and extensionality axioms assert that a type 2 set is determined uniquely by either its type 1 members or its type 0 members. Whereas TST has natural models where each type
i+1
i
NF with urelements (NFU) is an important variant of NF due to Jensen and clarified by Holmes. Urelements are objects that are not sets and do not contain any elements, but can be contained in sets. One of the simplest forms of axiomatization of NFU regards urelements as multiple, unequal empty sets, thus weakening the extensionality axiom of NF to:
In this axiomatization, the comprehension schema is unchanged, although the set
\{x\mid\phi(x)\}
\phi(x)
However, for ease of use, it is more convenient to have a unique, "canonical" empty set. This can be done by introducing a sethood predicate
set(x)
\forallxy.x\iny\toset(y).
\forallyz.(set(y)\wedgeset(z)\wedge(\forallx.x\iny\leftrightarrowx\inz))\toy=z.
\{x\mid\phi(x)\}
\phi(x)
\existsA.set(A)\wedge(\forallx.x\inA\leftrightarrow\phi(x)).
NF3 is the fragment of NF with full extensionality (no urelements) and those instances of comprehension which can be stratified using at most three types. NF4 is the same theory as NF.
Mathematical Logic (ML) is an extension of NF that includes proper classes as well as sets. ML was proposed by Quine and revised by Hao Wang, who proved that NF and the revised ML are equiconsistent.
This section discusses some problematic constructions in NF. For a further development of mathematics in NFU, with a comparison to the development of the same in ZFC, see implementation of mathematics in set theory.
Relations and functions are defined in TST (and in NF and NFU) as sets of ordered pairs in the usual way. For purposes of stratification, it is desirable that a relation or function is merely one type higher than the type of the members of its field. This requires defining the ordered pair so that its type is the same as that of its arguments (resulting in a type-level ordered pair). The usual definition of the ordered pair, namely
(a, b)K := \{\{a\}, \{a, b\}\}
As an alternative approach, Holmes takes the ordered pair (a, b) as a primitive notion, as well as its left and right projections
\pi1
\pi2
\pi1((a,b))=a
\pi2((a,b))=b
\{x\mid\phi\}
\phi
\pi1=\{((a,b),a)\mida,b\inV\}
The usual form of the axiom of infinity is based on the von Neumann construction of the natural numbers, which is not suitable for NF, since the description of the successor operation (and many other aspects of von Neumann numerals) is necessarily unstratified. The usual form of natural numbers used in NF follows Frege's definition, i.e., the natural number n is represented by the set of all sets with n elements. Under this definition, 0 is easily defined as
\{\varnothing\}
S(A)=\{a\cup\{x\}\mida\inA\wedgex\notina\}.
V
Since inductive sets always exist, the set of natural numbers
N
P(n)
\{n\inN\midP(n)\}
P(n)
Finite sets can then be defined as sets that belong to a natural number. However, it is not trivial to prove that
V
|V|
|V|=n\inN
n=\{V\}
n+1=S(n)=\varnothing
\varnothing
\varnothing\notinN.
It may intuitively seem that one should be able to prove Infinity in NF(U) by constructing any "externally" infinite sequence of sets, such as
\varnothing,\{\varnothing\},\{\{{\varnothing}\}\},\ldots
|V|
|V|
|V|
However, there are some cases where Infinity can be proven (in which cases it may be referred to as the theorem of infinity):
V
V
V x \{0\}
Stronger axioms of infinity exist, such as that the set of natural numbers is a strongly Cantorian set, or NFUM = NFU + Infinity + Large Ordinals + Small Ordinals which is equivalent to Morse–Kelley set theory plus a predicate on proper classes which is a κ-complete nonprincipal ultrafilter on the proper class ordinal κ.[2]
NF (and NFU + Infinity + Choice, described below and known consistent) allow the construction of two kinds of sets that ZFC and its proper extensions disallow because they are "too large" (some set theories admit these entities under the heading of proper classes):
x=x
A\simB
The category whose objects are the sets of NF and whose arrows are the functions between those sets is not Cartesian closed; Since NF lacks Cartesian closure, not every function curries as one might intuitively expect, and NF is not a topos.
\{x\midx\not\inx\}
x\not\inx
The resolution of Russell's paradox is trivial:
x\not\inx
\{x\midx\not\inx\}
V
P(A)
A
A
P(A)
A
A=V
Of course there is an injection from
P(V)
V
V
B=\{x\inA\midx\notinf(x)\}
x
f(x)
B
f:P(V)\toV
x\mapstox
B
This failure is not surprising since
|A|<|P(A)|
P(A)
A
|A|<|P(A)|
The usual way to correct such a type problem is to replace
A
P1(A)
A
|P1(A)|<|P(A)|
|P1(V)|<|P(V)|
x\mapsto\{x\}
|P1(V)|<|P(V)|\ll|V|
|P(V)|
|V|
However, unlike in TST,
|A|=|P1(A)|
A
A=V
A
|A|=|P1(A)|
A
(x\mapsto\{x\})\lceilA
The Burali-Forti paradox of the largest ordinal number is resolved in the opposite way: In NF, having access to the set of ordinals does not allow one to construct a "largest ordinal number". One can construct the ordinal
\Omega
\Omega
To formalize the Burali-Forti paradox in NF, it is necessary to first formalize the concept of ordinal numbers. In NF, ordinals are defined (in the same way as in naive set theory) as equivalence classes of well-orderings under isomorphism. This is a stratified definition, so the set of ordinals
Ord
\alpha\le\beta
R\in\alpha,S\in\beta
S
R
Ord
\Omega\inOrd
\alpha
\alpha
\Omega
However, the statement "
\alpha
\alpha
\beta
R\alpha
\alpha
\alpha
R\alpha=\{(x,y)\midx\ley<\alpha\}
\alpha
(x,y)
\beta=\{S\midS\simR\alpha\}
R\alpha
(x,y)
x
y
\beta
\alpha
To correct such a type problem, one needs the T operation,
T(\alpha)
\alpha
P1(A)
A
W\in\alpha
T(\alpha)
W\iota=\{(\{x\},\{y\})\midxWy\}
The order type of the natural order on the ordinals
<\alpha
T2(\alpha)
T4(\alpha)
T2(\alpha)
\Omega
T2(\Omega)<\Omega
Another (stratified) statement that can be proven by transfinite induction is that T is a strictly monotone (order-preserving) operation on the ordinals, i.e.,
T(\alpha)<T(\beta)
\alpha<\beta
\{\alpha\midT(\alpha)<\alpha\}
\Omega>T2(\Omega)>T4(\Omega)\ldots
One might assert that this result shows that no model of NF(U) is "standard", since the ordinals in any model of NFU are externally not well-ordered. This is a philosophical question, not a question of what can be proved within the formal theory. Note that even within NFU it can be proven that any set model of NFU has non-well-ordered "ordinals"; NFU does not conclude that the universe
V
V
Some mathematicians have questioned the consistency of NF, partly because it is not clear why it avoids the known paradoxes. A key issue was that Specker proved NF combined with the Axiom of Choice is inconsistent. The proof is complex and involves T-operations. However, since 2010, Holmes has claimed to have shown that NF is consistent relative to the consistency of standard set theory (ZFC). In 2024, Sky Wilshaw confirmed Holmes' proof using the Lean proof assistant.[3]
Although NFU resolves the paradoxes similarly to NF, it has a much simpler consistency proof. The proof can be formalized within Peano Arithmetic (PA), a theory weaker than ZF that most mathematicians accept without question. This does not conflict with Gödel's second incompleteness theorem because NFU does not include the Axiom of Infinity and therefore PA cannot be modeled in NFU, avoiding a contradiction. PA also proves that NFU with Infinity and NFU with both Infinity and Choice are equiconsistent with TST with Infinity and TST with both Infinity and Choice, respectively. Therefore, a stronger theory like ZFC, which proves the consistency of TST, will also prove the consistency of NFU with these additions. In simpler terms, NFU is generally seen as weaker than NF because, in NFU, the collection of all sets (the power set of the universe) can be smaller than the universe itself, especially when urelements are included, as required by NFU with Choice.
V\alpha
j(\alpha)<\alpha
The domain of the model of NFU will be the nonstandard rank
V\alpha
V\alpha+1
V\alpha
Vj(\alpha)+1
x\inNFUy\equivdefj(x)\iny\wedgey\inVj(\alpha)+1.
It may now be proved that this actually is a model of NFU. Let
\phi
\phi
\phi1
\phi1
N-i
(\forallx\inV\alpha.\psi(jN-i(x)))
(\forallx\injN-i(V\alpha).\psi(x))
\phi2
\phi
ji-N
\phi3
\{y\inV\alpha\mid\phi3\}
V\alpha+1
\phi
j(\{y\inV\alpha\mid\phi3\})
To see that weak Extensionality holds is straightforward: each nonempty element of
Vj(\alpha)+1
If
\alpha
\alpha
For philosophical reasons, it is important to note that it is not necessary to work in ZFC or any related system to carry out this proof. A common argument against the use of NFU as a foundation for mathematics is that the reasons for relying on it have to do with the intuition that ZFC is correct. It is sufficient to accept TST (in fact TSTU). In outline: take the type theory TSTU (allowing urelements in each positive type) as a metatheory and consider the theory of set models of TSTU in TSTU (these models will be sequences of sets
Ti
P(Ti)
P1(Ti+1)
Ti
Ti+1
T0
T1
T\alpha
Note that the construction of such sequences of sets is limited by the size of the type in which they are being constructed; this prevents TSTU from proving its own consistency (TSTU + Infinity can prove the consistency of TSTU; to prove the consistency of TSTU+Infinity one needs a type containing a set of cardinality
\beth\omega
T\alpha
V\alpha
The automorphism j of a model of this kind is closely related to certain natural operations in NFU. For example, if W is a well-ordering in the nonstandard model (we suppose here that we use Kuratowski pairs so that the coding of functions in the two theories will agree to some extent) which is also a well-ordering in NFU (all well-orderings of NFU are well-orderings in the nonstandard model of Zermelo set theory, but not vice versa, due to the formation of urelements in the construction of the model), and W has type α in NFU, then j(W) will be a well-ordering of type T(α) in NFU.
In fact, j is coded by a function in the model of NFU. The function in the nonstandard model which sends the singleton of any element of
Vj(\alpha)
In 1914, Norbert Wiener showed how to code the ordered pair as a set of sets, making it possible to eliminate the relation types of Principia Mathematica in favor of the linear hierarchy of sets in TST. The usual definition of the ordered pair was first proposed by Kuratowski in 1921. Willard Van Orman Quine first proposed NF as a way to avoid the "disagreeable consequences" of TST in a 1937 article titled New Foundations for Mathematical Logic; hence the name. Quine extended the theory in his book Mathematical Logic, whose first edition was published in 1940. In the book, Quine introduced the system "Mathematical Logic" or "ML", an extension of NF that included proper classes as well as sets. The first edition's set theory married NF to the proper classes of NBG set theory and included an axiom schema of unrestricted comprehension for proper classes. However, J. Barkley Rosser proved that the system was subject to the Burali-Forti paradox. Hao Wang showed how to amend Quine's axioms for ML so as to avoid this problem. Quine included the resulting axiomatization in the second and final edition, published in 1951.
In 1944, Theodore Hailperin showed that Comprehension is equivalent to a finite conjunction of its instances, In 1953, Ernst Specker showed that the axiom of choice is false in NF (without urelements). In 1969, Jensen showed that adding urelements to NF yields a theory (NFU) that is provably consistent. That same year, Grishin proved NF3 consistent. Specker additionally showed that NF is equiconsistent with TST plus the axiom scheme of "typical ambiguity". NF is also equiconsistent with TST augmented with a "type shifting automorphism", an operation (external to the theory) which raises type by one, mapping each type onto the next higher type, and preserves equality and membership relations.
In 1983, Marcel Crabbé proved consistent a system he called NFI, whose axioms are unrestricted extensionality and those instances of comprehension in which no variable is assigned a type higher than that of the set asserted to exist. This is a predicativity restriction, though NFI is not a predicative theory: it admits enough impredicativity to define the set of natural numbers (defined as the intersection of all inductive sets; note that the inductive sets quantified over are of the same type as the set of natural numbers being defined). Crabbé also discussed a subtheory of NFI, in which only parameters (free variables) are allowed to have the type of the set asserted to exist by an instance of comprehension. He called the result "predicative NF" (NFP); it is, of course, doubtful whether any theory with a self-membered universe is truly predicative. Holmes has shown that NFP has the same consistency strength as the predicative theory of types of Principia Mathematica without the axiom of reducibility.
The Metamath database implemented Hailperin's finite axiomatization for New Foundations. Since 2015, several candidate proofs by Randall Holmes of the consistency of NF relative to ZF were available both on arXiv and on the logician's home page. His proofs were based on demonstrating the equiconsistency of a "weird" variant of TST, "tangled type theory with λ-types" (TTTλ), with NF, and then showing that TTTλ is consistent relative to ZF with atoms but without choice (ZFA) by constructing a class model of ZFA which includes "tangled webs of cardinals" in ZF with atoms and choice (ZFA+C). These proofs were "difficult to read, insanely involved, and involve the sort of elaborate bookkeeping which makes it easy to introduce errors". In 2024, Sky Wilshaw formalized a version of Holmes' proof using the proof assistant Lean, finally resolving the question of NF's consistency.[5] Timothy Chow characterized Wilshaw's work as showing that the reluctance of peer reviewers to engage with a difficult to understand proof can be addressed with the help of proof assistants.[6]
V\alpha
\alpha