In set theory, a field of mathematics, the Burali-Forti paradox demonstrates that constructing "the set of all ordinal numbers" leads to a contradiction and therefore shows an antinomy in a system that allows its construction. It is named after Cesare Burali-Forti, who in 1897 published a paper proving a theorem which, unknown to him, contradicted a previously proved result by Cantor. Bertrand Russell subsequently noticed the contradiction, and when he published it in his 1903 book "Principles of Mathematics", he stated that it had been suggested to him by Burali-Forti's paper, with the result that it came to be known by Burali-Forti's name.

Stated in terms of von Neumann ordinals

We will prove this by reductio ad absurdum.

1. Let ${\displaystyle \Omega }$ be a set that contains all ordinal numbers.
2. ${\displaystyle \Omega }$ is transitive because for every element ${\displaystyle x}$ of it (which is an ordinal number and can be any ordinal number) and every element ${\displaystyle y}$ of ${\displaystyle x}$ (i.e. under the definition of Von Neumann ordinals, for every ordinal number ${\displaystyle y), we have that ${\displaystyle y}$ is an element of ${\displaystyle \Omega }$ because any ordinal number only contains ordinal numbers, by the definition of this ordinal construction.
3. ${\displaystyle \Omega }$ is well ordered by the membership relation because all its elements are also well ordered by this relation.
4. So, by steps 2 and 3, we have that ${\displaystyle \Omega }$ is an ordinal class and also, by step 1, an ordinal number, because all ordinal classes that are sets are also ordinal numbers.
5. This implies that ${\displaystyle \Omega }$ is an element of ${\displaystyle \Omega }$.
6. Under the definition of Von Neumann ordinals, ${\displaystyle \Omega <\Omega }$ is the same as ${\displaystyle \Omega }$ being an element of ${\displaystyle \Omega }$. This latter statement is proven by step 5.
7. But we have that no ordinal class is less than itself, including ${\displaystyle \Omega }$ because of step 4 (${\displaystyle \Omega }$ is an ordinal class), i.e. ${\displaystyle \lnot \Omega <\Omega }$.

We've deduced two contradictory propositions (${\displaystyle \Omega <\Omega }$ and ${\displaystyle \lnot \Omega <\Omega }$) from the sethood of ${\displaystyle \Omega }$ and, therefore, disproved that ${\displaystyle \Omega }$ is a set.

Stated more generally

The version of the paradox above is anachronistic, because it presupposes the definition of the ordinals due to John von Neumann, under which each ordinal is the set of all preceding ordinals, which was not known at the time the paradox was framed by Burali-Forti. Here is an account with fewer presuppositions: suppose that we associate with each well-ordering an object called its order type in an unspecified way (the order types are the ordinal numbers). The order types (ordinal numbers) themselves are well-ordered in a natural way, and this well-ordering must have an order type ${\displaystyle \Omega }$. It is easily shown in naïve set theory (and remains true in ZFC but not in New Foundations) that the order type of all ordinal numbers less than a fixed ${\displaystyle \alpha }$ is ${\displaystyle \alpha }$ itself. So the order type of all ordinal numbers less than ${\displaystyle \Omega }$ is ${\displaystyle \Omega }$ itself. But this means that ${\displaystyle \Omega }$, being the order type of a proper initial segment of the ordinals, is strictly less than the order type of all the ordinals, but the latter is ${\displaystyle \Omega }$ itself by definition. This is a contradiction.

If we use the von Neumann definition, under which each ordinal is identified as the set of all preceding ordinals, the paradox is unavoidable: the offending proposition that the order type of all ordinal numbers less than a fixed ${\displaystyle \alpha }$ is ${\displaystyle \alpha }$ itself must be true. The collection of von Neumann ordinals, like the collection in the Russell paradox, cannot be a set in any set theory with classical logic. But the collection of order types in New Foundations (defined as equivalence classes of well-orderings under similarity) is actually a set, and the paradox is avoided because the order type of the ordinals less than ${\displaystyle \Omega }$ turns out not to be ${\displaystyle \Omega }$.

Modern axiomatic set theory such as ZF and ZFC circumvents this antinomy by simply not allowing construction of sets with unrestricted comprehension terms like "all sets with the property ${\displaystyle P}$", as it was for example possible in Gottlob Frege's axiom system. New Foundations uses a different solution. Rosser (1942) showed that in the original version of "Mathematical Logic" (ML), an extension of New Foundations, it is possible to derive the Burali-Forti paradox, showing that this system is contradictory.