Functions that cannot be written as functional formulas and the axiom of replacement

axiomslogicmodel-theoryset-theory

A formula $\phi(x, y)$ defined a function on a set X if for each $x \in X$, there is exactly one set y such that $\phi(x,y)$ holds. We then say $\phi$ is a functional formula, in the sense that it defines a function.

Now I wonder, can function in set theory, which is just some special subsets in set theory be written as a functional formula?

In the first answer of this post about well-orderings of the reals, it was mentioned that no formula in the language of set theory defined a well-ordering of the reals. Since a well ordering is just a function $f: \mathfrak{c} \to \mathbb{R}$, and the axiom of choice assumed its existence, does this mean that such a function can never be written as a functional formula?

Now in the axiom of replacement, I saw many places used $\phi(x,y)$, the functional formula. Does this mean some functions can never be used in the axiom of replacement?

Best Answer

There is an important distinction here about whether parameters are allowed in our functional formulas.

If $f$ is a function (i.e. a set of input/output pairs), then $f$ can be trivially defined by a functional formula using $f$ as a parameter: take $\phi(x,y)$ to be the formula $(x,y)\in f$. But there is no reason to expect that an arbitrary $f$ should be definable by a functional formula without parameters.

The axiom schema of replacement, in its usual formulation, applies to functional formulas with parameters. That is, it says "for all $p_1,\dots,p_n$, if $\phi(x,y,p_1,\dots,p_n)$ is a functional formula, then ...". Now it happens that if we assume the axiom schema of replacement for all functional formulas without parameters, we can also prove every instance of it for functional formulas with parameters, but this is non-trivial to prove.

Finally, regarding "no formula in the language of set theory defines a well-ordering of the reals". The same discussion about parameters applies here. In any model of ZFC, since there does in fact exist a well-ordering $\prec$ of $\mathbb{R}$, this well-ordering is trivially definable using $\prec$ as a parameter: again, take $\phi(x,y)$ to be the formula $(x,y)\in {\prec}$. But there is no reason to think that $\prec$ should be definable by a formula without parameters.

The more precise formulation of your quoted statement is that there is no formula $\phi(x,y)$ in the language of set theory (without parameters) such that ZFC proves that $\phi(x,y)$ defines a well-ordering of the reals. In fact, there are formulas $\phi(x,y)$ which define well-orderings of the reals in some models of ZFC, but not in others. Michael Weiss has addressed this in the other answer.

Correspondingly, there is no functional formula $\phi(x,y)$ without parameters such that ZFC proves that $\phi$ defines a bijection between an ordinal and $\mathbb{R}$. But of course there is one if we allow parameters.