# Recursive Functions

First published Thu Mar 24, 2005; substantive revision Fri May 11, 2012

The recursive functions, which form a class of computable functions, take their name from the process of “recurrence” or “recursion”. In its most general numerical form the process of recursion consists in defining the value of a function by using other values of the same function. In this entry, we provide an account of the class of recursive functions, with particular emphasis on six basic kinds of recursion: iteration, primitive recursion, primitive recursion with parameters, course-of-value recursion, and double recursion. We then examine some theorems relating to these types of recursion.

One recurring theme that motivates the present discussion is the question of how the basic ideas and methods used in recursion theory, which is a defining area of logic, derive from, or at least interact with, a wider mathematical and intellectual experience. Though there are some historical references, the entry does not attempt a systematic history of the subject.

## 1. Types of Recursion

The use of recursion goes back to the 19th century. Dedekind  used the notion to obtain functions needed in his formal analysis of the concept of natural number. In logic, recursion appears in Skolem , where it is noted that many basic functions can be defined by simple applications of the method. The modern formalisation and development of the notion is due to a number of people, most notably Gödel , Herbrand, Rózsa Péter  and Kleene . Kleene in 1952 described Péter as “the leading contributor to the special theory of recursive functions”. She presented a paper on the recursive functions at the International Congress of Mathematicians in Zurich in 1932. For more details of the history, see Adams .

### 1.1 The Initial Functions

The recursive functions are characterized by the process in virtue of which the value of a function for some argument is defined in terms of the value of that function for some other (in some appropriate sense “smaller”) arguments, as well as the values of certain other functions. In order to get the whole process started a certain class of functions need to be singled out, whose values do not in turn depend of their values for smaller arguments. These are called the initial functions. The following functions comprise the class of the initial functions:

• The successor function $$\mathbf{s}$$, which when given an argument $$n$$ as an argument returns its immediate successor $$\mathbf{s}(n)$$;
• The constant function $$\mathbf{z}$$, which returns 0 for any argument $$n: \mathbf{z}(n)=0$$;
• The projection functions, one for each pair of integers $$n$$ and $$i$$ (with $$i\le n)$$, where $$\mathbf{p}_{n,i}(k_1,\ldots,k_n) = k_i$$.

For simplicity, we omit the first index on the projection functions, since these can be inferred from the number of argument places. Thus, we abbreviate $$\mathbf{p}_{n,i}(k_1,\ldots,k_n)$$ as $$\mathbf{p}_i (k_1,\ldots,k_n)$$

It is immediate to obtain further functions by combining initial functions, by a process referred to as “composition”. For instance, for each number $$k$$, one can obtain the constant function equal to $$k$$, denoted by $$\mathbf{c}_k$$, by combining $$\mathbf{z}$$ with the appropriate number of $$\mathbf{s}$$: the function $$\mathbf{s}(\mathbf{s}(\mathbf{s}(\mathbf{z}(n)))) = \mathbf{c}_3 (n)$$ always returns value 3 for any input $$n$$.

The operation of composition (or substitution), is formally defined as follows:

If $$g$$ is a function of $$m$$ arguments, and each of $$h_1 ,\ldots ,h_m$$ is a function of $$n$$ arguments, then the function $$f$$ $f(x_1 ,\ldots ,x_n) = g(h_1 (x_1 ,\ldots ,x_n),\ldots , h_m (x_1 ,\ldots ,x_n))$

is definable by composition from $$g$$ and $$h_1 ,\ldots ,h_m$$. We write $$f = [g \circ h_1 ,\ldots ,h_m$$], and in the simple case where $$m=1$$ and $$h_1$$ is designated $$h$$, we write $$f(x) = [g\circ h](x)$$

As an example, consider the function $$f$$ which maps any 3 numbers as argument to the successor of the second argument. We can define this function by composition from initial functions. In this case, let $$g$$ in the above definition be the successor function $$\mathbf{s}$$ and let $$h$$ in the above definition be the projection function $$\mathbf{p}_2$$. Then,

\begin{align*} f(x,y,z) & = [\mathbf{s}\circ \mathbf{p}_2](x,y,z) \\ &= \mathbf{s}(\mathbf{p}_2 (x,y,z)) \\ &= g(h(x,y,z)) \end{align*}

Thus, given this definition of $$f$$, compute its values:

\begin{align*} f(0,0,0) &= 1 \\ f(0,1,0) &= 2 \\ f(0,0,1) &= 1 \\ f(1,0,0) &= 1 \\ f(0,2,0) &= 3 \\ f(1,2,1) &= 3 \\ &\vdots \end{align*}

### 1.2 Iteration

The simplest type of recursion occurs when a given function is iterated. Technically, the $$n$$-th iteration of a function $$f$$ is defined as follows:

\begin{align*} f^{(0)}(x) &= x \\ f ^{(n+1)}(x) &= f(f ^{(n)}(x)). \end{align*}

The first clause is needed to obtain $$f ^{(1)}(x) = f(x)$$ from the second clause. We also have $$f ^{(2)}(x) = f(f(x))$$, etc.

Notice that $$f ^{(n)}(x)$$ is a function of two arguments, $$n$$ and $$x$$. It is possible to “fix” the first argument, thereby obtaining a fixed iteration of a function. So for instance $$\mathbf{s}^{(2)}(x)$$ is the function that returns the successor of the successor of $$x$$; such a function enumerates all the even numbers since its values are $$0,2,4,\ldots$$

One of the earliest examples of iteration comes from the Rhind Papyrus, written about 1700 B.C., which gives as Problem 79 the following:

In each of 7 houses are 7 cats; each cat kills 7 mice; each mouse would have eaten 7 ears of spelt (wheat); each ear of spelt would have produced 7 hekat (half a peck) of grain. How much grain is saved by the 7 house cats?

The solution amounts to computing the sixth term of a geometrical progression with first term 1 and multiplier 7, i.e. $$f ^{(6)}$$(7), with $$f(x) = 7x$$. The papyrus gives not only the correct answer (16,807), but also the sum of the first five terms of the progression (19,607).

A similar use of a geometrical progression comes from a medieval story about the origin of chess:

According to an old tale, the Grand Vizier Sissa Ben Dahir was granted a boon for having invented chess for the Indian King, Shirham.

Sissa addressed the King: “Majesty, give me a grain of wheat to place on the first square of the board, and two grains of wheat to place on the second square, and four grains of wheat to place on the third, and eight grains of wheat to place on the fourth, and so on. Oh, King, let me cover each of the 64 squares of the board.”

“And is that all you wish, Sissa, you fool?” exclaimed the astonished King.

“Oh, Sire,” Sissa replied, “I have asked for more wheat than you have in your entire kingdom. Nay, for more wheat that there is in the whole world, truly, for enough to cover the whole surface of the earth to the depth of the twentieth part of a cubit.” (Reported in Newman )

Some version of the story was known to Dante, since he refers to it in the Paradiso (XXVIII, 92–93) to describe the abundance of Heaven’s lights:

eran tante, che ‘l numero loro
più che ‘l doppiar degli scacchi s’immilla
.

They were so many, that their number
piles up faster than the chessboard doubling.

As in the previous Egyptian problem, the solution amounts to computing the sum of the first 64 terms of a geometrical progression with first term 1 and multiplier 2, i.e.,

\begin{align*} 1 + 2 + 2^2 + \cdots + 2^{63} &= 2^{64} - 1 \\ &= 18{,}446{,}744{,}073{,}709{,}551{,}615. \end{align*}

Coming closer to our times, an interesting use of iteration was made by Church  in the $$\lambda$$-Calculus, which he had concocted as an alternative foundation for mathematics based on the notion of function and application, as opposed to set and membership. Church’s idea was to represent the natural number $$n$$ in the $$\lambda$$-Calculus as the binary operator $$\circ$$ that, when applied to the arguments $$f$$ and $$x$$, produces the $$n$$-th iteration $$f ^{(n)}(x)$$.

Apparently unnoticed by Church, the same idea had been proposed earlier by Wittgenstein , as follows:

6.02 And this is how we arrive at numbers. I give the following definitions \begin{align*} x &= \Omega^{0'} \quad\text{Def.} \\ \Omega '\Omega^{\nu '} &= \Omega^{\nu +1'} \quad\text{Def.} \end{align*}

So, in accordance with these rules, which deal with signs, we write the series

$x, \Omega 'x, \Omega '\Omega 'x, \Omega '\Omega '\Omega 'x,\ldots$

in the following way

$\Omega^{0'}, \Omega^{0+1'}x, \Omega^{0+1+1'}x,\ldots$

[…] And I give the following definitions

\begin{align*} 0 + 1 &= 1 \quad\text{Def.}, \\ 0 + 1 + 1 &= 2 \quad\text{Def.}, \\ 0 + 1 + 1 + 1 &= 3 \quad\text{Def.}, \end{align*}

(and so on)

6.021 A number is the exponent of an operation.

Even earlier, Peano  had suggested the same idea:

Then, if $$b$$ is an $$N$$, by $$a\alpha b$$ we want to indicate what is obtained by executing the operation $$\alpha$$ on $$a, b$$ times in a row. Hence, if $$a$$ is a number, $$a + b$$ represents what is obtained by executing $$b$$ times on $$a$$ the operation +, that is the successor of $$a$$ of order $$b$$, i.e., the sum of $$a$$ and $$b$$. […]

If $$a$$ and $$b$$ indicate two numbers, by their product $$a\times b$$ we will mean what is obtained by executing $$b$$ times on 0 the operation $$+ a$$. […]

If $$a$$ and $$b$$ indicate two numbers, by $$a^b$$ we will mean what is obtained by executing $$b$$ times on 1 the operation $$\times a$$.

Thus Peano, like Church but unlike Wittgenstein, saw that the definition of the numbers as iterators gives for free the representability of a number of functions obtained by iteration.

For those interested, see Mathieu, 1998 and Rodych, 2011, where it is not so clear that Wittgenstein did not have the more general notion of iteration.

### 1.3 Primitive recursion

Primitive recursion is a procedure that defines the value of a function at an argument $$n$$ by using its value at the previous argument $$n - 1$$ (see Odifreddi, 1989, I.1.3). Iteration is obviously a special case of primitive recursion, on the number of iterations. And so is the predecessor function, defined by

$pd(n) = \begin{cases} 0 & \text{if } n=0 \text{ or } n=1 \\ pd(n-1)+1 & \text{otherwise} \end{cases}$

It is not immediate that the predecessor function can be reduced to an iteration, and hence is representable in the $$\lambda$$-Calculus. It was Kleene  who saw how to do this, apparently during a visit to the dentist. Basically, $$pd(n)$$ is the second component of the $$n$$-th iteration of the function on pairs defined as

$f((x, y)) = (x + 1, x),$

started on $$(0, 0)$$.

More generally, it is possible to prove that any primitive recursion can be reduced to an iteration, in the presence of a coding and decoding mechanism (see Odifreddi, 1989, I.5.10). This implies that all primitive recursive functions are actually representable in the $$\lambda$$-Calculus, as proved by Kleene .

In many modern textbooks (for example Boolos & Jeffrey , Cooper , Cutland , Enderton , Epstein & Carnielli , Mendelson ), it has become standard to define the primitive recursive functions as precisely those obtained from the initial functions by means of composition and primitive recursion. We have already given the formal definition of composition. The second operation which forms new primitive recursive functions from initial primitive recursive functions is called ‘primitive recursion’ and is formally defined as follows:

A function $$f$$ is definable by primitive recursion from $$g$$ and $$h$$ if: \begin{align*} f(x,0) &= g(x) \\ f(x,\mathbf{s}(y)) &= h(x, y, f(x,y)) \end{align*}

We write $$f = \mathrm{PR}[g,h]$$ when $$f$$ is definable by primitive recursion from $$g$$ and $$h$$.

As a simple example of a function definable by primitive recursion, consider arithmetic addition. The function $$\mathrm{sum}(x,y)$$ can be defined as follows:

\begin{align*} \mathrm{sum}(x,0) &= x \\ \mathrm{sum}(x,\mathbf{s}(y)) &= \mathbf{s}(\mathrm{sum}(x,y)) \end{align*}

Let us convince ourselves that this shows sum to be definable by recursion. Note here that in the first clause, $$\mathrm{sum}(x,0)$$ can be understood as identified with the unary projection function of $$x$$, namely, $$\mathbf{p}_1 (x)$$. So the first clause in the definition of $$\mathrm{sum}$$ satisfies the first clause in the definition of definable by primitive recursion, by letting $$f(x,0)$$ be $$\mathrm{sum}(x,0)$$ and letting $$g(x)$$ be $$\mathbf{p}_1 (x)$$. To see that the second clause of the definition of definable by primitive recursion is satisfied, note that the definiens can be understood as the function $$h(x, y, f(x,y))$$, where $$h$$ is identified as the composition of the successor function and the projection function $$\mathbf{p}_3$$:

$\mathbf{s}(\mathrm{sum}(x,y)) = [\mathbf{s}\circ \mathbf{p}_3](x,y,\mathrm{sum}(x,y)))$

Thus, the second clause of definition of $$\mathrm{sum}(x,y)$$ has the form required by the definition of definable by primitive recursion. Consequently, $$\mathrm{sum}(x,y)$$ is definable by recursion from the functions $$\mathbf{p}_1 (x)$$ and $$[\mathbf{s}\circ \mathbf{p}_3]$$.

In what follows, we shall replace our definition of $$\mathrm{sum}(x,y)$$ with a definition that uses infix notation and which uses the notation $$x'$$ instead of $$\mathbf{s}(x)$$ to denote the successor of $$x$$:

\begin{align*} x+ 0 &= x \\ x + y' &= (x + y)' \end{align*}

To see how $$\mathrm{sum}$$ works, suppose $$x = 2$$. Thus, by the first clause, $$2 + 0$$ is defined as 2. Moreover,

\begin{align*} 2 + 1 &= 2 + 0' \\ &= (2 + 0)' \\ &= 2' \\ &= 3 \end{align*}

And so on, for $$2 + 2, 2 + 3,\ldots$$.

Here is a series of examples of arithmetic functions which are primitive recursive. We use the simpler infix notation throughout, and leave it as an exercise for the reader to show that, in each case, the function is definable by recursion from other functions:

• Multiplication: \begin{align*} x \cdot 0 & = 0 \\ x \cdot y' & = x + (x \cdot y) \end{align*}
• Exponential: \begin{align*} x^0 &= 1 \\ x^{y'} &= x \cdot (x \cdot x^y) \end{align*}
• Factorial: \begin{align*} 0! &= 1 \\ y' ! &= y' \cdot y! \end{align*}
• Predecessor: \begin{align*} \mathrm{pred}(0) &= 0 \\ \mathrm{pred}(y') &= y \end{align*}
• Truncated subtraction: \begin{align*} x \dotminus 0 &= x \\ x \dotminus y' &= \mathrm{pred}(x \dotminus y) \end{align*}
• Minimum: $\min(x, y) = x \dotminus (x \dotminus y)$

For a variety of other examples, see Boolos & Jeffrey  (84–85), Cooper  (13–16), Cutland  (36–41), and Mendelson  (123).

### 1.4 Primitive recursion with parameters

When defining a function of many variables by primitive recursion, all variables except one are kept fixed. Primitive recursion with parameters relaxes this condition, and it allows substitutions for these variables. Although apparently more general, this notion actually turns out to be reducible to the usual primitive recursion (see Odifreddi, VIII.8.3.a).

One ancient example of a primitive recursion with parameters is the solution to the old problem known as the Towers of Hanoi or the Towers of Brahma:

In the great temple of Benares, beneath the dome which marks the centre of the world, rests a brass-plate in which are fixed three diamond needles, each a cubit high and as thick as the body of a bee. On one of these needles, at the creation, God placed sixty-four disks of pure gold, the largest disk resting on the brass plate, and the others getting smaller and smaller up to the top one. This is the Tower of Brahma. Day and night unceasingly the priests transfer the disks from one diamond needle to another according to the fixed and immutable laws of Brahma, which require that the priest must not move more than one disk at a time and that he must place this disk on a needle so that there is no smaller disk below it. When the sixty-four disks shall have been thus transferred from the needle on which at the creation God placed them to one of the other needles, tower, temple, and Brahmins alike will crumble into dust, and with a thunderclap the world will vanish. (Reported in Rouse Ball )

The natural recursive solution is the following: to move $$n$$ disks from needle $$A$$ to needle $$C$$, first move $$n - 1$$ disks from needle $$A$$ to needle $$B$$, then move one disk from needle $$A$$ to needle $$C$$, and then move $$n - 1$$ disks from needle $$B$$ to needle $$C$$. More concisely:

$move(n,A,C) = move(n-1,A,B) \mathbin{\&} move(n-1,B,C).$

Notice the use of $$move(n-1,A,B)$$ and $$move(n-1,B,C)$$, as opposed to $$move(n-1,A,C)$$, in the computation of $$move(n,A,C)$$, which makes this a primitive recursion with parameters (the value $$move(1,A,C)$$ does not count, being constant).

If we let $$f(n)$$ be the number of moves needed for $$n$$ disks provided by the previous solution, then

\begin{align*} f(1) &= 0 \\ f(n+1) &= 1 + 2f(n) \end{align*}

i.e.,

\begin{align*} f(n) &= 1 + 2 + 2^2 + \cdots + 2^{n-1} \\ &= 2^n - 1, \end{align*}

and it is known that this is the least possible number of moves needed to solve the problem. In particular, according to the previous story, the doomsday will be reached after $$2^{64} - 1$$ moves, i.e. the same number provided by the chessboard problem. If one correct move is made every second, for 24 hours a day and 365 days a year, the time required for the completion of the task would be of approximately 58 billion centuries.

### 1.5 Course-of-values recursion

When defining by primitive recursion a function at a given argument, only the value for the immediately preceeding argument can be used. Course-of-values recursion relaxes this condition, and it allows the use of any number of values for previous arguments. Although apparently more general, this notion actually turns out to be reducible to the usual primitive recursion as well (see Odifreddi, 1989, I.7.1).

An early example of a course-of-values recursion was given by Leonardo da Pisa, also called Fibonacci, in his Liber abaci, written in 1202 and revised in 1228, when discussing the famous rabbit problem (paria coniculorum):

How many pairs of rabbits can be bred in one year from one pair?

A man has one pair of rabbits at a certain place entirely surrounded by a wall. We wish to know how many pairs can be bred from it in one year, if the nature of these rabbits is such that they breed every month one other pair, and begin to breed in the second month after their birth. Let the first pair breed a pair in the first month, then duplicate it and there will be 2 pairs in a month. From these pairs one, namely the first, breeds a pair in the second month, and thus there are 3 pairs in the second month. From these in one month two will become pregnant, so that in the third month 2 pairs of rabbits will be born. Thus there are 5 pairs in this month. From these in the same month 3 will be pregnant, so that in the fourth month there will be 8 pairs. […] In the margin Fibonacci writes the sequence

$1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377$

and continues:

You can see in the margin how we have done this, namely by combining the first number with the second, hence 1 and 2, and the second with the third, and the third with the fourth … At last we combine the 10th with the 11th, hence 144 and 233, and we have the sum of the above-mentioned rabbits, namely 377, and in this way you can do it for the case of infinite numbers of months.

This provides the definition of the Fibonacci sequence:

\begin{align*} f(0) &= 0 \\ f(1) &= 1 \\ f(n+2) &= f(n) + f(n+1). \end{align*}

Notice the use of the two values $$f(n)$$ and $$f(n + 1)$$ in the definition of $$f(n + 2)$$, which makes this a course-of-values recursion.

The earliest record of a Fibonacci sequence is probably a set of weights discovered a few decades ago in Turkey, going back to around 1200 B.C. and arranged into a progression approximately equal to it (Petruso ). The sequence was also known in Egypt and Crete (Preziosi ), and it was used by the ancient and medieval Indians to define the metric laws of sanscrit poetry (Singh ).

### 1.6 Double recursion

Primitive recursion can be used to define functions of many variables, but only by keeping all but one of them fixed. Double recursion relaxes this condition, and it allows the recursion to happen on two variables instead of only one. Although apparently more general, this notion actually turns out to be reducible in many cases (but not all) to the usual primitive recursion (see Odifreddi, 1989, VIII.8.3.b and VIII.8.11).

The first known use of a double recursion was made around 220 B.C. by Archimedes in his Sand Reckoner to solve the following problem:

There are some, King Gelon, who think that the number of the sand is infinite in multitude; and I mean the sand not only which exists about Syracuse and the rest of Sicily, but also that which is found in every region whether inhabited or uninhabited. Again there are some who, without regarding it as infinite, yet think that no number has been named which is great enough to exceed this multitude. And it is clear that they who hold this view, if they imagined a mass made up of sand in other respects as large as the mass of the earth, including in it all the seas and the hollows of the earth filled up to a height equal to that of the highest of the mountains, would be many times further still from recognizing that any number could be expressed which exceeded the multitude of the sand so taken. But I will try to show you by means of geometrical proofs, which you will be able to follow, that, of the numbers named by me and given in the work which I sent to Zeuxippus, some exceed not only the number of the mass of sand equal in magnitude to the earth filled up in the way described, but also that of a mass equal in magnitude to the universe.

(Archimedes is referring here to a work now lost.) To denote his large number, Archimedes fixes a number $$a$$ of units and defines the number $$h_n (x)$$ by a double recursion, on the cycle $$x$$ and the period $$n$$, as follows:

\begin{align*} h_0(x) &= 1 \\ h_{n+1}(0) &= h_n(a) \\ h_{n+1}(x+1) &= a \cdot h_{n+1}(x), \end{align*}

so that

$h_n (x) = (a^x)^n = a^{xn}.$

Then he considers

$h_a (a) = (a^a)^a = a^{(a^2)}$

for the particular value $$a = 10^8$$, i.e., a myriad myriads (the myriad, i.e., 10,000, was the largest number for which the Greeks had a proper name). This takes him up to

$(10^8)^{(10^{16})} = 10^{8 \cdot 10^{16}} \approx 10^{10^{17}},$

which he calls “a myriad myriads units of the myriad-myriadesimal order of the myriad-myriadesimal period”. This number, consisting of 80 million billions ciphers, remained the largest number used in mathematics until Skewes , who needed $$10^{10^{ 10^{34}}}$$ as a bound to the first place where the function $$\pi(x) - \mathrm{li}(x)$$ first changes sign. [Note: $$\pi(x)$$ is the number of primes $$\le x$$, and

$\mathrm{li}(x) \equiv PV \int_0^x \frac{dt}{\ln t}$

where PV is the Cauchy principal value of the function.]

By an evaluation of the sizes of a grain of sand and of the then known universe, Archimedes gets an estimate of $$10^{63}$$ for the number of grains of sand needed to fill the universe, well below the bound above. It may be interesting to note that by using the values for the sizes of an electron $$(10^{-18}$$ meters) and of the currently known universe $$(10^{35}$$ light years), we get an estimate of $$10^{207}$$ for the number of electrons needed to fill the universe, still well below the bound above.

Archimedes’ concludes his work as follows:

I conceive that these things, King Gelon, will appear incredible to the great majority of people who have not studied mathematics, but that to those who are conversant therewith and have given thought to the question of the distances and sizes of the earth, the sun and moon and the whole universe, the proof will carry conviction. And it was for this reason that I thought the subject would not be inappropriate for your consideration.

It is clear from the identity

$h_n (x) = a^{xn}.$

that Archimedes’ double recursion is reducible to primitive recursion. Other forms of double recursion, however, are not so reducible. The primary example of a doubly-recursive function that is not primitive recursive is due to Wilhelm Ackermann. Ackermann’s function is defined by the following three equations:

\begin{align*} \mathbf{a}(0, n) &= n + 1 \\ \mathbf{a}(m + 1, 0) &= \mathbf{a}(m, 1) \\ \mathbf{a}(m +1, n +1) &= \mathbf{a}(m, \mathbf{a}(m +1, n)) \end{align*}

Ackermann’s function grows extremely fast, in fact eventually it grows faster than any primitive recursive function. To see this consider a series of primitive recursive functions $$f_1,f_2,\ldots$$, where $$f_1$$ is the successor function, and each function is obtained from the previous one by primitive recursion. So for instance $$f_2 (x, y)$$ is addition, $$f_3 (x, y)$$ multiplication, $$f_4 (x, y)$$ exponentiation, etc. It is clear that each function in the sequence eventually grows faster than all the previous ones. We can now think of defining a function of three arguments, $$f(x, y, z)$$ defined as follows:

$f(x, y, z) = f_x (y, z)$

A moment’s reflection shows that in this function the argument $$x$$ determines the which function in the sequence $$f_1,f_2,\ldots$$ needs to be used, while $$z$$ is the recursion parameter and $$y$$ is essentially idle. By dropping the middle parameter, then, one essentially obtains Ackermann’s function.

### 1.7 Minimization (least search)

Whereas Ackermann’s function cannot be obtained by means of primitive recursion, it can be obtained by further expanding the class of recursive functions by introducing a “minimization” or “least search” operator $$\mu$$. This operator allows to define, for each 2-place function $$f(x,y)$$ yet another function, $$g(x) = \mu y[f(x,y)=0$$], where $$g(x)$$ returns the smallest number $$y$$ such that $$f(x,y) = 0$$, provided that the following two conditions hold:

1. there actually exists at least one $$z$$ such that $$f(x,z) = 0$$; and
2. for every $$y' \le y$$, the value $$f(x,y')$$ exists and is positive.

If at least one of the two conditions above fails, then $$g(x)$$ fails to return a value and is undefined. Notice that with the introduction of the $$\mu$$ operator for the first time we encounter a recursive function that might fail to be defined for some arguments. Such functions are called partial. Since the $$\mu$$ operator itself can be iterated, and therefore applied to partial functions, we need to require (in condition (2) above) that $$f(x,y')$$ be defined for every $$y' \le y$$. One way to think about $$\mu$$ is in terms of an operator that tries to compute in succession all the values $$f(x,0), f(x,1), f(x,2)$$, ... until for some $$m$$, $$f(x,m)$$ returns 0, in which case such an $$m$$ is returned. This procedure might fail to return a value in two cases, namely if no such $$m$$ exists, or if some of the computations $$f(x,0), f(x,1), f(x,2)$$, ... itself fails to return a value. We have thus generated a class of partial recursive functions, namely those functions that can obtained from the initial functions by means of composition, primitive recursion, and least search. This class turns out to coincide with the class of the Turing-computable functions introduced by Alan Turing as well as with the class of the $$\lambda$$-definable functions introduced by Alonzo Church.

## 2. The First Recursion Theorem

The so-called First Recursion Theorem (Odifreddi, 1989, II.3.15) provides a basic tool to compute values of functions which are solutions to recursive equations, implicitly defining functions by circular definitions involving the function itself.

The procedure is similar to a classical method to compute approximations to real numbers which are solutions to algebraic equations, implicitly defining real numbers by circular definitions involving the number itself. For example, consider the equation

$x = 1 + \frac{1}{x}$

Then $$x$$ can be thought of as a fixed point of the function

$f(x) = 1 + \frac{1}{x}$

in the sense that

$x = f(x).$

To make $$x$$ explicit, we have at least two ways.

For example, we can transform the equation into the equivalent form

$x^2 - x - 1 = 0,$

and use the well-known formula for the solution to the second degree equation that was already known to the Babylonians around 2000 B.C., thus getting

$x = \frac{1 \pm \sqrt{5}}{2} .$

However, this works only for simple functions. Moreover, the solutions are not circular anymore, but are still implicit (the radical $$\sqrt{5}$$ still needs to be evaluated by other methods).

Alternatively, we can perform repeated substitutions of the right-hand-side for $$x$$, thus obtaining a continuous function of the kind introduced in 1572 by Raffaele Bombelli in his Algebra:

$x = 1 + \frac{1}{x} = 1 + \frac{1}{1 + \frac{1}{x}} = \cdots = 1 + \frac{1}{1 + \frac{1}{1 + \frac{1}{1 + \cdots}}}$

The infinite expression is built up as a limit of finite expressions, that provide approximations to the solution. More precisely, if we write

$\frac{f(n + 1)}{f(n)}$

for the $$n$$-th approximation, then

$\frac{f(n+2)}{f(n+1)} = 1 + \frac{1}{\frac{f(n+1)}{f(n)}} = \frac{f(n) + f(n+1)}{f(n+1)}$

i.e.,

$f(n + 2) = f(n) + f(n + 1).$

In other words, $$f$$ is simply the Fibonacci sequence, and the approximations are given by the ratios of its successive terms:

$\frac{2}{1}, \frac{3}{2}, \frac{5}{3}, \frac{8}{5}, \frac{13}{8}, \frac{21}{13}, \cdots$

This iterative method is the same underlying the proof of the First Recursion Theorem, and it has a long history.

### 2.1 Differentiable functions

An early appearance of the method is found in the Indian Sulvasutra, composed between 600 and 200 B.C. To compute numerical approximations to $$\sqrt{2}$$, the following recursive algorithm is proposed.

A first approximation is obtained by dissecting a rectangle of edges 1 and 2 (i.e., of area 2) into two squares of edge 1. One square is cut into two rectangles of short edge 1/2, which are placed along the other square. The square of edge $$1 + 1/2 (= 3/2)$$ has an area that exceeds 2 by a small square of edge 1/2, thus producing an error equal to 1/4.

A second approximation is obtained by subtracting from the square of edge 3/2 giving the first approximation the error, i.e., two rectangular stripes of area 1/8 and short edge $$1/8 \cdot 2/3 = 1/12$$. This produces a square of edge $$3/2 - 1/12 = 17/12$$, whose area differs from 2 by a small square of edge 1/12, thus producing an error equal to 1/144.

A third approximation is obtained by subtracting from the square of edge 17/12 giving the second approximation the error, i.e., two rectangular stripes of area 1/288 and short edge $$1/288 \cdot 12/17 = 1/408$$. This produces a square of edge $$17/12 - 1/408 = 577/408$$, which is the approximation to $$\sqrt{2}$$ given by the Sulvasutra, and is correct to 5 decimal places.

The procedure can be iterated as follows. Given an approximation $$x_n$$, we produce a new approximation

$x_{n +1} = x_n - \frac{x_{n}^2 - 2}{2x_n},$

where $$x_{n}^2 - 2$$ is the error of the $$n$$-th approximation,

$\frac{x_{n}^2 - 2}{2},$

the area of each of the two rectangular stripes, and

$\frac{x_{n}^2 - 2}{2x_n},$

their short edge.

If we let $$f(x) = x^2 - 2$$, then $$f '(x) = 2x$$ and $$f(\sqrt{2}) = 0$$. The previous recursive formula can thus be rewritten as

$x_{n +1} = x_n - \frac{f(x_n)}{f'(x_n)} .$

When generalized to any derivable functions, this becomes Newton’s formula (1669) to approximate a zero of the given function by starting from a point $$x_0$$ sufficiently close to a zero and having a nonzero derivative.

In the case of the $$f$$ considered above, Newton’s formula can be obtained directly by looking for an increment $$h$$ such that

$f(x_n + h) = 0,$

i.e.,

$(x_n + h)^2 - 2 = x_{n}^2 + 2x_n h + h^2 - 2 = 0.$

By disregarding the quadratic term $$h^2$$ (which is the reason for the persistence of an error), we get

$x_{n}^2 + 2x_n h = 2,$

i.e.,

$h = \frac{x_{n}^2 - 2}{2x_n} .$

Similar proofs hold for any polynomial. In general, for an analytical function $$f$$ the increment is obtained from Taylor’s formula (1715):

$f(x+h) = f(x) + \frac{h}{1!} f'(x) + \frac{h^2}{2!} f''(x) + \cdots + \frac{h^n}{n!} f^{(n)}(x) + \cdots$

### 2.2 Contractions

When discussing the problem of consciousness, Royce  observed that an individual must have an infinite mental image of its own mind, since the image must contain an image of the image, which must contain an image of the image of the image, and so on.

Abstracting from the problem of consciousness, Royce presented a paradoxical metaphor that caught the fancy of the writer Jorge Luis Borges, who quoted it at least three times in his work with the following words:

Imagine a portion of the territory of England has been perfectly levelled, and a cartographer traces a map of England. The work is perfect. There is no particular of the territory of England, small as it can be, that has not been recorded in the map. Everything has its own correspondence. The map, then, must contain a map of the map, that must contain a map of the map of the map, and so on to infinity.

The metaphor has been interpreted as a proof by contradiction that a perfect map is impossible, supporting the well-known aphorism of Korzybski : “the map is not the territory”.

Actually, from a mathematical point of view a perfect map that contains a copy of itself is not a contradiction, but rather a contraction, in the sense that it defines a function $$f$$ such that

$\lvert f(x)-f(y) \rvert \le c \cdot \lvert x-y \rvert,$

for some $$c$$ such that $$0 \lt c \lt 1$$. Banach  has proved that a contraction on a complete metric space has a unique fixed point, and the proof is a typical iteration. Indeed, by induction,

$\lvert f ^{(n+1)}(x) - f ^{(n)}(x) \rvert \le c^n \cdot \lvert f(x) - x \rvert .$

By the triangular inequality,

\begin{align*} \lvert f ^{(n+m)}(x) - f ^{(n)}(x) \rvert &\le \sum_{i\lt m} \lvert f ^{(n+i+1)}(x) - f ^{(n+i)}(x) \rvert \\ &\le \left( \sum_{i\lt m} c^{n+i} \right) \cdot \lvert f(x) - x\rvert \end{align*}

Thus the sequence $$\{f ^{(n)}(x)\}_{n\in \omega}$$ converges to a point $$x_0$$, and hence so does the sequence $$\{f ^{(n+1)}(x)\}_{n\in \omega}$$. Since $$f$$ is continuous, the second sequence also converges to $$f(x_0)$$, which must then be equal to $$x_0$$. In other words, $$x_0$$ is a fixed point of $$f$$. Moreover, if $$x_1$$ is another fixed point, then

$\lvert x_0 - x_1 \rvert = \lvert f(x_0) - f(x_1) \rvert \le c \cdot \lvert x_0 - x_1 \rvert .$

Since $$c \lt 1$$, it follows that $$x_0 = x_1$$, i.e., $$x_0$$ is the unique fixed point of $$f$$.

In the case of a perfect map, this means that there must be a point of the territory that coincides with its image on the map. Thus a perfect map is not the territory in general, but it is so in one (and only one) point.

### 2.3 Continuous functions

Banach’s result was obtained as an abstraction of the technique of successive substitution developed in the 19th century by Liouville, Neumann and Volterra to find solutions to integral equations, in which an unknown function appears under an integral sign. A similar technique was used by Peano  to find solutions to systems of linear differential equations. In both cases an appropriate contraction is determined by the usual continuity and Lipschitz conditions, which ensure existence and uniqueness of the solution.

An extension of Banach’s Fixed Point Theorem, for more special spaces but more general maps, was obtained by Brouwer , who proved that a continuous function of a convex compact subset of a Euclidean space on itself has a fixed point.

Brouwer’s original proof determined the existence of a fixed point by contradiction, without actually exhibiting it (this was quite ironical, due to Brouwer’s constructive philosophy). In the special case of a closed disk, Brouwer’s proof amounted to the following. If a continuous function of a closed disk on itself had no fixed point, every point would be moved to a different point. By extending the vector determined by an argument and its image, we could associate to every point on the disk a point on the border. This would determine an impossible continuous deformation of the whole disk into the border.

However, a constructive version of Brouwer’s Fixed Point Theorem for a continuous function on a closed square on itself can be obtained by the iteration technique, as follows. Suppose there is no fixed point on the border. Then the vector determined as above makes a complete turn while the point moves around the border. Divide the square into four equal squares. Either the vector vanishes on a point of the border on one of the squares, thus determining a fixed point of the given function, or there is at least one square on which the vector makes a complete turn while the point moves around the border, and the process can be started again. If no fixed point is found along the way, the process determines a sequence of telescopic squares which uniquely identifies a point. Since any neighborhood of the point contains vectors in every direction, by continuity the vector field must vanish at it, i.e., the process determines a fixed point.

In one dimension Brouwer’s Fixed Point Theorem becomes a version of the Intermediate Value Theorem proved by Bolzano , according to which a continuous function on a closed interval that takes values respectively greater and smaller than $$c$$ on the extremes of the interval, must take value $$c$$ at some point of the interval. In this case, an intermediate value can be found by a bisection method similar to the above.

Even more abstract versions of Banach’s theorem than Brouwer’s were obtained by Knaster  and Tarski , who proved the existence of fixed points for any monotone function on a complete lattice. Abian and Brown  replaced complete lattices by chain-complete partial orderings, in which every chain of elements has a least upper bound. In particular, a chain-complete partial ordering has a least element $$\bot$$, since the empty chain must have a l.u.b.

Given a monotone function $$f$$ on a chain complete partial ordering, consider the following transfinite sequence of elements:

\begin{align*} x_0 &= \bot \\ x_{\alpha +1} &= f(x_{\alpha}) \\ x_{\beta} &= \text{ the l.u.b. of } \{f(x_{\alpha})\}_{\alpha \lt \beta}, \text{ if } \beta \text{ is a limit ordinal.} \end{align*}

Since $$f$$ is monotone, this defines a chain, whose length cannot exceed the maximal length of chains on the given partial ordering. Then there is a largest element $$x_{\alpha}0$$, otherwise the l.u.b. of the chain would be a larger element. And $$f(x_{\alpha}0) = x_{\alpha}0$$, otherwise $$x_{\alpha}0$$ would not be the largest element of the chain. Moreover, $$x_{\alpha}0$$ is the least fixed point, because every element of the chain is below any other fixed point, by induction.

It thus follows that any monotone function on a chain complete partial ordering has a least fixed point. If, moreover, $$f$$ is continuous (in the sense of preserving l.u.b.’s $$\bigsqcup$$), then the fixed point is obtained in at most $$\omega$$ iterations, because

$f(x_{\omega}) = f(\bigsqcup_{n\in \omega} x_n) = \bigsqcup_{n\in \omega} f(x_n) = \bigsqcup_{n\in \omega} x_{n+1} = x_{\omega}.$

As an application, we can sketch a proof of the First Fixed Point Theorem of Kleene . Consider the chain complete partial ordering consisting of the partial functions on the integers, ordered by inclusion. Since a recursive functional is monotone and continuous, it has a least fixed point $$x_{\omega}$$ by the theorem. Moreover, the least fixed point is recursive by the proof.

The fixed point phenomenon appears notably in the denotational semantics of programming languages. See for instance Abramsky and Jung  for the application of the fixed point theorem on complete lattices to the denotational semantics of programming languages.

## 3. The Second Recursion Theorem

The so-called Second Recursion Theorem (see Odifreddi, 1989, II.2.13) provides a basic tool to find explicit solutions to recursive equations, implicitly defining programs of recursive functions by circular definitions involving the program itself.

The procedure is the analogue of a classical method to find explicit definitions for functions implicitly defined by recursive equations. For example, consider the implicit definition of the Fibonacci sequence:

\begin{align*} f(0) &= 0 \\ f(1) &= 1 \\ f(n+2) &= f(n) + f(n+1). \end{align*}

To make $$f$$ explicit, we can use De Moivre’s method (1718) of generating functions, and let

$F(x) = f(0) + f(1) \cdot x + f(2) \cdot x^2 + \cdots + f(n) \cdot x^n + \cdots$

By computing

$F(x) - F(x) \cdot x - F(x) \cdot x^2$

we notice that most terms cancel out, since they have null coefficients of the form $$f(n + 2) - f(n + 1) - f(n)$$. We thus get

$F(x) = \frac{x}{1 - x - x^2}.$

By factoring the denominator, expanding the right-hand-side into a power series and comparing it term by term to $$F(x)$$, we obtain the following explicit description for $$f$$:

$f(n) = \frac{1}{\sqrt{5}}\left[ \left( \frac{1 + \sqrt{5}}{2} \right)^n - \left( \frac{1 + \sqrt{5}}{2} \right)^n \right]$

This result, which uses $$(1\pm \sqrt{5})$$/2 to express the Fibonacci sequence, is the complement of the result proved above, which uses the Fibonacci sequence to approximate $$(1\pm \sqrt{5})$$/2.

Kronecker  generalized the previous example to show that every linear recursive relation determines the coefficients of a power series defining a rational function. Conversely, every rational function can be expressed as a power series with coefficients satisfying a linear recursive relation.

The Second Recursion Theorem serves a similar purpose, by turning recursive programs which define functions by recursive calls, into programs for the same functions without any recursive call.

### 3.1 The diagonal method

The proofs of the Second Recursion Theorem and its variants (see Odifreddi 1989, II.2.10 and II.2.13) are elaborate and abstract forms of the diagonal method, which can be considered the most pervasive tool of Recursion Theory. Its essence is the following.

Given an infinite matrix $$\{a_{ij}\}_{ij}$$, we first transform the elements $$a_{nn}$$ on the diagonal by means of a switching function $$d$$, thus obtaining $$d(a_{nn})$$. If the switching function $$d$$ is never the identity on the elements of the matrix, then the transformed diagonal function is not a row of the matrix. More precisely, it differs on the $$n$$-th element from the $$n$$-th row.

Equivalently, if the transformed diagonal function is a row of the matrix, e.g. the $$n$$-th, then the switching function $$d$$ must be the identity on some element of the matrix. More precisely, it leaves the $$n$$-th element of the $$n$$-th row unchanged. In this form, the diagonal method provides a fixed point of the function $$d$$.

### 3.2 The diagonal

The first ingredient of the diagonal method is the consideration of the elements on the diagonal of an appropriate matrix.

This was done in a nontrivial way already by Archimedes in the Sand Reckoner discussed above, when stepping from the matrix $$\{h_n (x)\}_{n,x}$$ to the diagonal element $$h_a (a)$$.

In modern times, Du Bois Reymond has made a substantial use of diagonalization in his study of orders of infinity, reported in Hardy . Basically, he defines an ordering based on domination (i.e. a function is greater than another if it is above it for almost all arguments), and classifies classes of functions by means of skeletons of fast growing functions obtained by starting with functions $$f$$ greater than the identity, iterating at successor stages, and diagonalizing at limit stages. More precisely, a function $$f$$ such that $$f(x) \ge x$$ for almost all arguments defines the following skeleton:

\begin{align*} f_0 (x) &= f(x) \\ f_{\alpha +1}(x) &= f_{\alpha}^{(x)}(x) \\ f_{\alpha}(x) &= f_{\alpha_x}(x), \end{align*}

where in the last clause $$\alpha$$ is the limit of the ascending sequence of the ordinals $$\alpha_x$$ (the definition obviously depends on the choice of the ascending sequence).

Today these skeletons have become standard in Complexity Theory, to classify complexity classes such as the primitive recursive functions (see Odifreddi 1989, VIII.8.10).

### 3.3 The switching function

The second ingredient of the diagonal method is the use of the switching function on the elements of the diagonal.

This was first done by Cantor , in his historical proof that the sets of natural numbers are more than the numbers themselves. By considering characteristic functions, the proof amounts to the observation that given a sequence $$\{f_n\}_{n\in \omega}$$ of 0,1-valued functions, the function

$d(x) = 1 - f_x (x)$

is 0,1-valued but not in the sequence, since it differs from $$f_n$$ on the argument $$n$$. The switching function, true to its name, is here the function that interchanges 0 and 1.

The same type of argument was used by Russell , to prove his celebrated paradox. This time we consider the set

$R = \{x : \neg(x \in x)\}.$

Then

$x \in R \leftrightarrow \neg(x \in x),$

and thus

$R \in R \leftrightarrow \neg(R \in R),$

contradiction. The switching function is now the negation operator that interchanges the truth values “true” and “false”.

Russell’s paradox was turned into a theorem by Curry , who proved the existence of fixed points for any $$\lambda$$-term in the untyped $$\lambda$$-Calculus, according to the following correspondence:

 Set Theory $$\lambda$$-Calculus element argument set term membership application set formation $$\{ \}$$ $$\lambda$$-abstraction set equality term equality

If the term $$N$$ is supposed to correspond to negation, then the set $$R$$ corresponds to the term

$C = \lambda x . N(xx).$

By the reduction rules of the Lambda Calculus,

$Cx = N(xx),$

and thus

$CC = N(CC).$

However, this is not a contradiction, but rather a proof that $$CC$$ is a fixed point of $$N$$. In other words, in the $$\lambda$$-Calculus there is no switching function, in the sense of a term that always changes its arguments.

Curry’s Fixed Point Theorem is a version of the Recursion Theorems, and together with the representability of the predecessor function quoted above implies the representability of all recursive functions in the $$\lambda$$-Calculus, as proved by Kleene  (see Odifreddi 1989, I.6.6.c).

### 3.4 Self-reference

In the last two arguments above, diagonalization takes the form of a self-reference. Indeed, the conditions “$$x \in x$$” in Russell’s paradox can be read as: “$$x$$ belongs to itself”. Similarly, the condition “$$xx$$” in Curry’s theorem can be read as: “$$x$$ applied to itself”.

Self-Reference is obviously trivial in any language possessing the pronoun “I”. The best known ancient reference is God’s own description in Exodus (3.14): “I am that I am”. However, this kind of self-reference is somewhat indirect, since the pronoun is a linguistic object that refers not to itself, but to the person who is pronouncing it. A better example is a phrase that talks of itself, for example: “This phrase consists of six words”.

The first paradoxical self-reference was probably the Liar paradox, attributed to Eubulides (4th century B.C.) in the form: “I am lying”. A purely linguistic analogue is: “This phrase is false”.

It is not paradoxical, instead, for a Cretan such as Epimenides (6th century B.C.) to say: “All Cretans always lie”. This phrase cannot be true, otherwise Epimenides would be a Cretan who is not always lying. Then it must be false, i.e., some Cretan does not always lie. It does not follow that such a Cretan is Epimenides. Nor would it follow, if he were, that the phrase is one of his truths. So being, the following comment by St. Paul in the Epistle to Titus (1.12) turns out to be even more cretin than it looks at first sight:

For there are many unruly and vain talkers and deceivers, specially they of the circumcision: whose mouths must be stopped, who subvert whole houses, teaching things which they ought not, for filthy lucre’s sake. One of themselves, even a prophet of their own, said, “The Cretans are always liars, evil beasts, slow bellies”. This witness is true.

The Liar paradox had counteless versions in history. In particular, the original one-step self-reference was turned into a two-step one by Philip Jourdain in 1913 (following Buridan of the 14th century), as follows:

The following phrase is false.
The previous phrase is true.

Finite $$n$$-steps versions are obtained in a similar fashion. An infinite diabolical version, as the name suggests, has been proposed by Yablo , :

All the following phrases are false.
All the following phrases are false.

Suppose the first phrase is true. Then all the following ones are false, in particular the second. Moreover, all the remaining phrases are false, and hence the second one is true, contradiction. Then the first phrase is false, i.e., one of the following phrases is true, and a contradiction is reached as for the first. Thus the first phrase is contradictory. Similarly, so are all the remaining ones.

The turning point in these developments came with Gödel , who made an explicit reference to the Liar paradox in his paper. His main result can be stated as follows: given any property $$P$$ weakly representable in a sufficiently strong formal system for Arithmetic, there is a sentence saying of itself that it has the property $$P$$ (see Odifreddi 1989, I.165). For the proof, consider an enumeration $$\{\phi_n\}_{n\in \omega}$$ of the formulas with one free variable, the matrix

$a_{ij} = \text{ the sentence } “\phi_j \text{ has the property expressed by } \phi_i”$

and the switching function

$d(\phi) = \text{ the sentence } “\phi \text{ has the property } P”$

Since $$P$$ is weakly representable, the transformed diagonal sequence is still a row of the matrix, up to provable equivalence. Thus there is a $$\phi$$ such that $$d(\phi)$$ is provably equivalent to $$\phi$$, i.e., $$\phi$$ says of itself that it has the property $$P$$.

A first consequence is that truth cannot be weakly representable in any consistent and sufficiently strong formal system for Arithmetic. Otherwise so would be its negation, and the general result would give a contradictory sentence asserting its own negation, as in the Liar paradox. Though Goedel recognized the unrepresentability of truth in 1931 (as documented by a letter to Zermelo; see Murawski 1998), he did not explicitly prove or publish a theorem involving the concept of truth (possibly because he had concerns about that concept; see Feferman 1984). The result is thus usually attributed to Tarski , .

A second consequence is that, since provability $$is$$ weakly representable in any consistent and sufficiently strong formal system for Arithmetic, the general result gives a sentence asserting its own unprovability. From this one can easily obtain all the epochal results of Gödel , Rosser  and Church  (see CRT, pp. I.166–169).

By the same type of argument we can also prove the Second Recursion Theorem of Kleene , following Owings . Given an effective transformation of programs $$f$$, consider an enumeration $$\{\phi_n\}_{n\in \omega}$$ of the partial recursive unary functions, the matrix

$a_{ij} = \text{ the function with program coded by } \phi_i(j)$

and the switching function

$d(\phi_e) = \text{ the function with program coded by } f(e).$

Since $$f$$ is effective, the transformed diagonal sequence is still a row of the matrix. Thus there is an $$e$$ such that $$d(\phi_e)$$ and $$\phi_e$$ are the same function. Equivalently, the programs coded by $$e$$ and $$f(e)$$ compute the same function.

## Bibliography

• Abian, S., and Brown, A.B., 1961, ‘A theorem on partially ordered sets with applications to fixed-point theorems,’ Canadian Journal of Mathematics, 13: 78–83.
• Abramsky, S., and Jung, A., 1994, ‘Domain theory,’ in Abramsky, S., Gabbay, D. M., Maibaum, T. S. E. (eds.), Handbook of Logic in Computer Science (Volume III), Oxford: Oxford University Press.
• Adams, R., 2011, An Early History of Recursive Functions and Computability from Gödel to Turing, Chestnut Hill: Docent Press.
• Banach, S., 1922, ‘Sur les operations dans les ensembles abstraits et leurs applications aux equations integrales,’ Fundamenta Mathematicae, 3: 7–33.
• Bolzano, B., 1817, Rein analytischer Beweis des Lehrsatzes dass zwischen je zwey Werthen, die ein entgegengesetzes Resultat gewähren, wenigstens eine reelle Wurzel der Gleichung liege, reprinted in Ostwalds Klassiker Der Exakten Wissenschaften (Nr. 153), Leipzig: Engelmann, 1905.
• Boolos, G., and Jeffrey, R., 1974, Computability and Logic, Cambridge: Cambridge University Press.
• Brouwer, L., 1911, ‘Über Abbildungen von Mannigfaltigkeiten,’ Mathematische Annalen, 38(71): 97–115.
• Cantor, G., 1874, ‘Über eine Eigenschaft des Inbegriffes aller reellen algebraischen Zahlen,’ Crelles Journal für Mathematik, 77: 258–262.
• Church, A., 1933, ‘A set of postulates for the foundation of logic,’ (second paper), Annals of Mathematics, 34: 839–864.
• –––, 1936, ‘A note on the Entscheidungsproblem,’ Journal of Symbolic Logic, 1: 40–41.
• Cooper, S.B., 2003, Computability Theory, Boca Raton: Chapman & Hall/CRC.
• Curry, H.B., 1942, ‘The inconsistency of certain formal logics,’ Journal of Symbolic Logic, 7: 115–117.
• Cutland, N.J., 1980, Computability: An introduction to recursive function theory, Cambridge: Cambridge University Press.
• Dedekind, R., 1888. Was sind und was sollen die Zahlen? (What are and what should the numbers be?), Braunschweig: Vieweg.
• Enderton, H.B., 2010, Computability Theory: An Introduction to Recursion Theory, Waltham, MA: Academic Press.
• Epstein, R.L. and Carnielli, W.A., 1999, Computability: Computable Functions, Logic, and the Foundations of Mathematics, Belmont, CA: Wadsworth Publishing.
• Feferman, S., 1984, ‘Kurt Goedel: Conviction and Caution,’ in P. Weingartner and C. Pühringer (eds.), Philosophy of Science, History of Science: A Selection of Contributed Papers of the 7th International Congress of Logic, Methodology and Philosophy of Science, Salzburg: A. Hain.
• Gödel, K., 1931, ‘Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I,’ Monatshefte für Mathematik und Physik, 38: 173–198.
• Hardy, G.H., 1910, Orders of infinity, Cambridge: Cambridge University Press.
• Kleene, S.C., 1935, ‘A theory of positive integers in formal logic,’ American Journal of Mathematics, 57: 153–173, 219–244.
• –––, 1936, ‘$$\lambda$$-definability and recursiveness,’ Duke Mathematics Journal, 2: 340–353.
• –––, 1938, ‘On notations for ordinal numbers,’ Journal Symbolic Logic, 3: 150–155.
• –––, 1952, Introduction to metamathematics, New York: van Nostrand.
• Knaster, B., 1928, ‘Un théorème sur les fonctions d’ensembles,’ Annales de la Societe Polonaise de Mathematique, 6: 133–134.
• Korzybski, A., 1941, Science and sanity: an introduction to non-Aristotelian systems and general semantics, Lancaster, PA: International Non-Aristotelian Library Publishing Company, second edition.
• Kronecker, L., 1881, ‘Zur Theorie der Elimination einer Variablen aus zwei algebraischen Gleichungen,’ Monatsberichte der Königlich Preussischen Akademie der Wissenschaften, pp. 535–600.
• Mathieu, M., 1998, Wittgenstein, Finitism, and the Foundations of Mathematics, Oxford: Clarendon Press.
• Mendelson, E., 1964, An Introduction to Mathematical Logic, New York: D. Van Nostrand.
• Murawski, R., 1998, ‘Undefinability of Truth. The Problem of Priority: Tarski vs. Gödel,’ History and Philosophy of Logic, 19: 153–160.
• Newman, J.R., 1956, The World of Mathematics, New York: Simon & Schuster.
• Odifreddi, P.G., 1989, Classical Recursion Theory, Amsterdam: North Holland; second edition, 1999.
• –––, 1999, Classical Recursion Theory (Volume II), Amsterdam: North Holland.
• Owings, J.C., 1973, ‘Diagonalization and the recursion theorem,’ Notre Dame Journal of Formal Logic, 14: 95–99.
• Peano, G., 1888, ‘Intégration par séries des équations différentielles linéaires,’ Mathematische Annalen, 32: 450–456.
• –––, ,1891, ‘Sul concetto di numero,’ Rivista di Matematica, 1: 87–102 and 256–267.
• Petruso, K.M., 1985, ‘Additive progressions in prehistoric mathematics: a conjecture,’ Historia Mathematica, 12: 101–106.
• Preziosi, D., 1983, Minoan Architectural Design, Berlin, New York: Mouton.
• Rodych, V., ‘Wittgenstein’s Philosophy of Mathematics,’ The Stanford Encyclopedia of Philosophy (Summer 2011 Edition), Edward N. Zalta (ed.), URL <https://plato.stanford.edu/archives/sum2011/entries/wittgenstein-mathematics/>.
• Rosser, B.J., 1936, ‘Extensions of some theorems of Gödel and Church,’ Journal of Symbolic Logic, 1: 87–91.
• Rouse Ball, W.W., 1905, Mathematical Recreations and Essays, 4th edition, London: Macmillan.
• Royce, J., 1900, The world and the individual, First Series, New York: Macmillan; Second Series, New York: Macmillan, 1901.
• Russell, B., 1903, The principles of mathematics, New York: Norton.
• Shashkin, Y., 1991, Fixed Points, Viktor Minachin (trans.), Providence, RI: American Mathematical Society.
• Singh, P., 1985, ‘The socalled Fibonacci numbers in Ancient and Medieval India,’ Historia Mathematica, 12: 229–244.
• Skewes, S., 1933, ‘On the difference $$\pi(x) - \mathrm{li}(x)$$,’ Journal of the London Mathematical Society, 8: 277–283.
• Skolem, T., 1923, “Einige Bemerkungen zur axiomatischen Begründung der Mengenlehre”, Matematikerkongressen i Helsingfors den 4–7 Juli 1922, Den femte skandinaviska matematikerkongressen, Redogörelse, Akademiska-Bokhandeln: Helsinki, pp. 217–232.
• Tarski, A., 1933, Pojęcie prawdy w językach nauk dedukcyjnych, Warszawa: Nakładem Towarzystwa Naukowego Warszawskiego.
• Tarski, A., 1936, ‘Der Wahrheitsbegriff in der formalisierten Sprachen,’ Studia Philosophica, 1: 261–405.
• –––, 1955, ‘A lattice-theoretical fixed-point theorem and its applications,’ Pacific Journal of Mathematics, 5: 285–309.
• Wittgenstein, L., 1921, ‘Logisch-philosophische Abhandlung,’ Annalen der Naturphilosophie, 14: 185–262.
• Yablo, S., 1985, ‘Truth and reflection,’ Journal of Philosophical Logic, 14: 297–349.
• –––, 1993, ‘Paradox without self-reference,’ Analysis, 53: 251-252. How to cite this entry. Preview the PDF version of this entry at the Friends of the SEP Society. Look up this entry topic at the Indiana Philosophy Ontology Project (InPhO). Enhanced bibliography for this entry at PhilPapers, with links to its database.