Let T be a first-order theory (
with equality) and \phi(y,x_1,\dots,x_n) a formula of T such that y, x_1, ..., x_n are distinct and include the variables free in \phi(y,x_1,\dots,x_n). Assume that we can prove :\forall x_1\dots\forall x_n\exists !y\phi(y,x_1,\dots,x_n) in T, i.e. for all x_1, ..., x_n, there exists a unique
y such that \phi(y,x_1,\dots,x_n). Form a new first-order theory T' from T by adding a new n-ary
function symbol f, the logical axioms featuring the symbol f and the new axiom :\forall x_1\dots\forall x_n\phi(f(x_1,\dots,x_n),x_1,\dots,x_n), called the
defining axiom of f. Let \psi be any atomic formula of T'. We define formula \psi^\ast of T recursively as follows. If the new symbol f does not occur in \psi, let \psi^\ast be \psi. Otherwise, choose an occurrence of f(t_1,\dots,t_n) in \psi such that f does not occur in the terms t_i, and let \chi be obtained from \psi by replacing that occurrence by a new variable z. Then since f occurs in \chi one less time than in \psi, the formula \chi^\ast has already been defined, and we let \psi^\ast be : \forall z(\phi(z,t_1,\dots,t_n)\rightarrow\chi^\ast) (changing the bound variables in \phi if necessary so that the variables occurring in the t_i are not bound in \phi(z,t_1,\dots,t_n)). For a general formula \psi, the formula \psi^\ast is formed by replacing every occurrence of an atomic subformula \chi by \chi^\ast. Then the following hold: • \psi\leftrightarrow\psi^\ast is provable in T', and • T' is a
conservative extension of T. The formula \psi^\ast is called a
translation of \psi into T. As in the case of relation symbols, the formula \psi^\ast has the same meaning as \psi, but the new symbol f has been eliminated. The construction of this paragraph also works for constants, which can be viewed as 0-ary function symbols. ==Extensions by definitions==