Skip to content
Main menu
  • Main page
  • Discover
  • Unexpected connections
  • Topics
  • Random article
  • Search
Your library
  • Saved articles
  • Recent discoveries
  • Rabbit-hole trails
Topic areas
  • Computer Science
  • Mathematics
  • Physics
  • Engineering
  • Biology
  • Economics
  • Curiosities
WikiholeDeeper into Wikipedia
EnglishEN
  • Saved
  • History

  • Article text and media come live from Wikipedia via the official MediaWiki API and are available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply. Each article links to its source and revision.
  • WikiHole is an independent project and is not affiliated with the Wikimedia Foundation.
  • How ranking works
  • All topics
  • Reading history
  • Random article
  • MediaWiki API

Primitive recursive function

  • Article
  • Rabbit hole
  • Read
  • View history
Tools
Actions
  • Read
  • View history
General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
16 min
Topic
Mathematics
Quality
B-class
Views
988 in 14 days
Last edited
27 Oct 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
From Wikipedia, the free encyclopedia
Rabbit hole:
  1. Primitive recursive function

In computability theory, a primitive recursive function is, roughly speaking, a function that can be computed by a computer program whose loops are all "for" loops (that is, an upper bound of the number of iterations of every loop is fixed before entering the loop). Primitive recursive functions form a strict subset of those general recursive functions that are also total functions.

The importance of primitive recursive functions lies in the fact that most computable functions that are studied in number theory (and more generally in mathematics) are primitive recursive. For example, addition and division, the factorial and exponential function, and the function which returns the nth prime are all primitive recursive.1 In fact, for showing that a computable function is primitive recursive, it suffices to show that its time complexity is bounded above by a primitive recursive function of the input size.2 It is hence not particularly easy to devise a that is primitive recursive; some examples are shown in section below.

computable function
not
§ Limitations

The set of primitive recursive functions is known as PR in computational complexity theory.

Loading the rest of the article…

Recent changes

Rabbit hole

Where Primitive recursive function leads. Every connection below has a source: a link in this article, a shared Wikipedia category, or CirrusSearch text similarity. Articles already on your trail are left out.

Contents
  • (Top)
  • Definition
  • Examples
  • Relationship to recursive functions
  • Limitations
  • Variants
  • Finitism and consistency results
  • History
  • See also
  • Notes
  • References
  • Recent changes
  • Rabbit hole
Contents
Contents12 sections
  • (Top)
  • Definition
  • Primitive-recursiveness of vector-valued functions
  • Examples
  • Addition
  • Doubling
  • Multiplication
  • Predecessor
  • Truncated subtraction
  • Converting predicates to numeric functions
  • Predicate "Is zero"
  • Predicate "Less or equal"
  • Predicate "Greater or equal"
  • If-then-else
  • Connectives
  • Equality predicate
  • Other operations on natural numbers
  • Operations on integers and rational numbers
  • Some common primitive recursive functions
  • Relationship to recursive functions
  • Limitations
  • Variants
  • Constant functions
  • Iterative functions
  • Pure recursion
  • Additional primitive recursive forms
  • Computer language definition
  • Finitism and consistency results
  • History
  • See also
  • Notes
  • References
  • Recent changes
  • Rabbit hole
Study aids for Primitive recursive function

Terminology

primitive recursive functions
The primitive recursive functions are the basic functions and those obtained from the basic functions by applying these operations a finite number of times.
iteration rule
One is the so-called iteration rule where the function h does not have access to the parameters xi (in this case, we may assume without loss of generality that the function g is just the identity, as the general case can be obtained by substitution):

Terms the article defines in bold, quoted in context.

Categories:
  • Computability theory
  • Theory of computation
  • Functions and mappings
  • Recursion

3,688 words · 18 references · revision 1382205649 · CC BY-SA 4.0

General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
16 min
Topic
Mathematics
Quality
B-class
Views
988 in 14 days
Last edited
27 Oct 2026

Key concepts

  • For loop3
  • General recursive function2
  • Computable function2
  • Number theory2
  • Computability theory1
  • Computer program1
  • Loop (programming)1
  • Subset1
  • Total function1
  • Addition1

The articles this one links to most, weighted towards the introduction.

Print/export
  • Printable version
In other projects
  • Wikidata item

Definition

A primitive recursive function takes a fixed number of arguments, each a natural number (nonnegative integer: {0, 1, 2, ...}), and returns a natural number. If it takes n arguments, it is called n-ary.

The basic primitive recursive functions are given by these axioms:

  1. Constant functions : For each natural number and every , the k-ary constant function, defined by , is primitive recursive.
  2. Successor function: The 1-ary successor function S, which returns the successor of its argument (see Peano postulates), that is, , is primitive recursive.
  3. Projection functions : For all natural numbers such that , the k-ary function defined by is primitive recursive.

More complex primitive recursive functions can be obtained by applying the operations given by these axioms:

  1. Composition operator (also called the substitution operator): Given an m-ary function and m k-ary functions : For , the ordinary function composition is obtained.
  2. Primitive recursion operator : Given the k-ary function and the -ary function : Interpretation:
    The function acts as a for-loop from up to the value of its first argument. The rest of the arguments for , denoted here with , are a set of initial conditions for the for-loop which may be used by it during calculations but which are immutable by it. The functions and on the right-hand side of the equations that define represent the body of the loop, which performs calculations. The function is used only once to perform initial calculations. Calculations for subsequent steps of the loop are performed by . The first parameter of is fed the "current" value of the for-loop's index. The second parameter of is fed the result of the for-loop's previous calculations, from previous steps. The rest of the parameters for are those immutable initial conditions for the for-loop mentioned earlier. They may be used by to perform calculations but they will not themselves be altered by .

The primitive recursive functions are the basic functions and those obtained from the basic functions by applying these operations a finite number of times.

Primitive-recursiveness of vector-valued functions

A (vector-valued) function5 is primitive recursive if it can be written as

where each component is a (scalar-valued) primitive recursive function.6

Examples

  • is a 1-ary function which returns for every input: .
  • is a 1-ary function which returns for every input: .
  • is a 0-ary function, i.e. a constant: .
  • is the identity function on the natural numbers: .
  • and is the left and right projection on natural number pairs, respectively: and .
  • is a 1-ary function that adds 2 to its input, .
  • is a 1-ary function which returns 1 for every input: . That is, and are the same function: . In a similar way, every can be expressed as a composition of appropriately many and . Moreover, equals , since . For these reasons, some authors7 define only for and .

Addition

A definition of the 2-ary function , to compute the sum of its arguments, can be obtained using the primitive recursion operator . To this end, the well-known equations

are "rephrased in primitive recursive function terminology": In the definition of , the first equation suggests to choose to obtain ; the second equation suggests to choose to obtain . Therefore, the addition function can be defined as . As a computation example,

Doubling

Given , the 1-ary function doubles its argument,

Multiplication

In a similar way as addition, multiplication can be defined by . This reproduces the well-known multiplication equations:

and

Predecessor

The predecessor function acts as the "opposite" of the successor function and is recursively defined by the rules and . A primitive recursive definition is . As a computation example,

Truncated subtraction

The limited subtraction function (also called "monus", and denoted "") is definable from the predecessor function. It satisfies the equations

Since the recursion runs over the second argument, we begin with a primitive recursive definition of the reversed subtraction, . Its recursion then runs over the first argument, so its primitive recursive definition can be obtained, similar to addition, as . To get rid of the reversed argument order, then define . As a computation example,

Converting predicates to numeric functions

In some settings, it is natural to consider primitive recursive functions that take as inputs tuples that mix numbers with (that is, for true, and for false), or that produce truth values as outputs. This can be accomplished by identifying the truth values with numbers in any fixed manner. For example, it is common to identify the truth value with the number , and the truth value with the number . Once this identification has been made, the of a set , which always returns or , can be viewed as a predicate that tells whether a number is in the set . Such an identification of predicates with numeric functions will be assumed for the remainder of this article.

Relationship to recursive functions

The broader class of partial recursive functions is defined by introducing an unbounded search operator. The use of this operator may result in a partial function, that is, a relation which has at most one value for each argument, but which may fail to have a value at some arguments (see domain). An equivalent definition states that a partial recursive function is one that can be computed by a Turing machine. A total recursive function is a partial recursive function that is defined for every input.

Every primitive recursive function is total recursive, but not all total recursive functions are primitive recursive. The Ackermann function A(m,n) is a well-known example of a total recursive function (in fact, provable total), that is not primitive recursive. There is a characterization of the primitive recursive functions as a subset of the total recursive functions using the Ackermann function. This characterization states that a function is primitive recursive if and only if there is a natural number m such that the function can be computed by a Turing machine that always halts within A(m,n) or fewer steps, where n is the sum of the arguments of the primitive recursive function.9

An important property of the primitive recursive functions is that they are a recursively enumerable subset of the set of all total recursive functions (which is not itself recursively enumerable). This means that there is a single recursive function (,) that enumerates the primitive recursive functions, namely:

Limitations

Primitive recursive functions tend to correspond very closely with our intuition of what a computable function must be. Certainly the initial functions are intuitively computable (in their very simplicity), and the two operations by which one can create new primitive recursive functions are also very straightforward. However, the set of primitive recursive functions does not include every possible total computable function—this can be seen with a variant of Cantor's diagonal argument. This argument provides a total computable function that is not primitive recursive. A sketch of the proof is as follows:

The primitive recursive functions of one argument (i.e., unary functions) can be computably enumerated. This enumeration uses the definitions of the primitive recursive functions (which are essentially just expressions with the composition and primitive recursion operations as operators and the basic primitive recursive functions as atoms), and can be assumed to contain every definition once, even though a same function will occur many times on the list (since many definitions define the same function; indeed simply composing by the identity function generates infinitely many definitions of any one primitive recursive function). This means that the -th definition of a primitive recursive function in this enumeration can be effectively determined from . Indeed if one uses some Gödel numbering to encode definitions as numbers, then this -th definition in the list is computed by a primitive recursive function of . Let denote the unary primitive recursive function given by this definition.

Now define the "evaluator function" with two arguments, by . Clearly is total and computable, since one can effectively determine the definition of , and being a primitive recursive function is itself total and computable, so is always defined and effectively computable. However a diagonal argument will show that the function of two arguments is not primitive recursive.

Suppose were primitive recursive, then the unary function defined by would also be primitive recursive, as it is defined by composition from the successor function and . But then occurs in the enumeration, so there is some number such that . But now gives a contradiction.

This argument can be applied to show that the class of total computable functions cannot be enumerated in this way, in particular it shows that cannot be enumerated. Note however that the computable functions (those that need not be defined for all arguments) can be explicitly enumerated, for instance by enumerating Turing machine encodings.

Variants

Constant functions

Instead of , alternative definitions use just one 0-ary zero function as a primitive function that always returns zero, and build the constant functions from the zero function, the successor function and the composition operator.

Iterative functions

Robinson10 considered various restrictions of the recursion rule. One is the so-called iteration rule where the function h does not have access to the parameters xi (in this case, we may assume without loss of generality that the function g is just the identity, as the general case can be obtained by substitution):

He proved that the class of all primitive recursive functions can still be obtained in this way.

Pure recursion

Another restriction considered by Robinson10 is pure recursion, where h does not have access to the induction variable y:

Gladstone11 proved that this rule is enough to generate all primitive recursive functions. Gladstone12 improved this so that even the combination of these two restrictions, i.e., the pure iteration rule below, is enough:

Further improvements are possible: Severin13 prove that even the pure iteration rule without parameters, namely

suffices to generate all unary primitive recursive functions if we extend the set of initial functions with truncated subtraction x ∸ y. We get all primitive recursive functions if we additionally include + as an initial function.

Additional primitive recursive forms

Some additional forms of recursion also define functions that are in fact primitive recursive. Definitions in these forms may be easier to find or more natural for reading or writing. defines primitive recursive functions. Some forms of also define primitive recursive functions.

Finitism and consistency results

The primitive recursive functions are closely related to mathematical finitism, and are used in several contexts in mathematical logic where a particularly constructive system is desired. Primitive recursive arithmetic (PRA), a formal axiom system for the natural numbers and the primitive recursive functions on them, is often used for this purpose.

PRA is much weaker than Peano arithmetic, which is not a finitistic system. Nevertheless, many results in number theory and in proof theory can be proved in PRA. For example, Gödel's incompleteness theorem can be formalized into PRA, giving the following theorem:

If T is a theory of arithmetic satisfying certain hypotheses, with Gödel sentence GT, then PRA proves the implication Con(T)→GT.

Similarly, many of the syntactic results in proof theory can be proved in PRA, which implies that there are primitive recursive functions that carry out the corresponding syntactic transformations of proofs.

In proof theory and set theory, there is an interest in finitistic consistency proofs, that is, consistency proofs that themselves are finitistically acceptable. Such a proof establishes that the consistency of a theory T implies the consistency of a theory S by producing a primitive recursive function that can transform any proof of an inconsistency from S into a proof of an inconsistency from T. One sufficient condition for a consistency proof to be finitistic is the ability to formalize it in PRA. For example, many consistency results in set theory that are obtained by can be recast as syntactic proofs that can be formalized in PRA.

History

Recursive definitions had been used more or less formally in mathematics before, but the construction of primitive recursion is traced back to Richard Dedekind's theorem 126 of his Was sind und was sollen die Zahlen? (1888). This work was the first to give a proof that a certain recursive construction defines a unique function.151617

Primitive recursive arithmetic was first proposed by Thoralf Skolem18 in 1923.

The current terminology was coined by Rózsa Péter (1934) after Ackermann had proved in 1928 that the function which today is named after him was not primitive recursive, an event which prompted the need to rename what until then were simply called recursive functions.1617

See also

  • Grzegorczyk hierarchy
  • Recursion (computer science)
  • Primitive recursive functional
  • Double recursion
  • Primitive recursive set function
  • Primitive recursive ordinal function
  • Tail call

Notes

  1. 1Brainerd & Landweber 1974.
  2. 2Hartmanis 1989.
  3. 3Fachini & Maggiolo-Schettini 1979.
  4. 4Fachini & Maggiolo-Schettini 1982.
  5. 5Also known as "sequence function".34
  6. 6PlanetMath.
  7. 7E.g.: Henk Barendregt (1990), "Functional Programming and Lambda Calculus", in Jan van Leeuwen (ed.), Formal Models and Semantics, Handbook of Theoretical Computer Science, vol. B, Elsevier, pp. 321–364, ISBN 0-444-88074-7 Here: 2.2.6 initial functions, Def.2.2.7 primitive recursion, p.331-332.
  8. 8Kleene 1974, pp. 226–227.
  9. 9This follows from the facts that the functions of this form are the most quickly growing primitive recursive functions, and that a function is primitive recursive if and only if its time complexity is bounded by a primitive recursive function. For the former, see . For the latter, see

References

  • Boolos, George; Burgess, John; Jeffrey, Richard C. (2002), Computability and Logic (4th ed.), Cambridge University Press, ISBN 9780521007580
  • Brainerd, W.S.; Landweber, L.H. (1974), Theory of Computation, Wiley, ISBN 0471095850
  • Fachini, Emanuela; Maggiolo-Schettini, Andrea (1979), "A hierarchy of primitive recursive sequence functions" (PDF), RAIRO Informatique Théorique, 13 (1): 49–67, doi:10.1051/ita/1979130100491
  • Fachini, Emanuela; Maggiolo-Schettini, Andrea (1982), "Comparing Hierarchies of Primitive Recursive Sequence Functions", Zeitschrift für mathematische Logik und Grundlagen der Mathematik, 28 (27–32): 431–445, doi:10.1002/malq.19820282705
  • Gladstone, M. D. (1967), "A reduction of the recursion scheme", The Journal of Symbolic Logic, 32 (4): 505–508, doi:, ,
truth values
8
characteristic function

Predicate "Is zero"

As an example for a primitive recursive predicate, the 1-ary function shall be defined such that if , and otherwise. This can be achieved by defining . Then , and e.g. .

Predicate "Less or equal"

Using the property , the 2-ary function can be defined by . Then if , and otherwise. As a computation example,

Predicate "Greater or equal"

Once a definition of is obtained, the converse predicate can be defined as . Then, is true (more precisely: has value 1) if and only if .

If-then-else

The 3-ary if-then-else operator known from programming languages can be defined by . Then, for arbitrary ,

and

That is, returns the then-part () if the if-part () is true, and the else-part () otherwise.

Connectives

Based on the function, it is easy to define logical connectives. For example, defining , one obtains , that is, is true if and only if both and are true (logical conjunction of and ).

Similarly, and lead to appropriate definitions of disjunction and negation: and .

Equality predicate

Using the above functions , and , the definition implements the equality predicate. In fact, is true if and only if equals .

Similarly, the definition implements the predicate "less-than", and implements "greater-than".

Other operations on natural numbers

Exponentiation and primality testing are primitive recursive. Given primitive recursive functions , , , and , a function that returns the value of when and the value of otherwise is primitive recursive.

Operations on integers and rational numbers

By using Gödel numberings, the primitive recursive functions can be extended to operate on other objects such as integers and rational numbers. If integers are encoded by Gödel numbers in a standard way, the arithmetic operations including addition, subtraction, and multiplication are all primitive recursive. Similarly, if the rationals are represented by Gödel numbers then the field operations are all primitive recursive.

Some common primitive recursive functions

The following examples and definitions are from Kleene 1974, pp. 222–231. Many appear with proofs. Most also appear with similar names, either as proofs or as examples, in Boolos, Burgess & Jeffrey 2002, pp. 63–70 they add the logarithm lo(x, y) or lg(x, y) depending on the exact derivation.

In the following the mark " ' ", e.g. a', is the primitive mark meaning "the successor of", usually thought of as " +1", e.g. a +1 =def a'. The functions 16–20 and #G are of particular interest with respect to converting primitive recursive predicates to, and extracting them from, their "arithmetical" form expressed as Gödel numbers.

  1. Addition: a+b
  2. Multiplication: a×b
  3. Exponentiation: ab
  4. Factorial a! : 0! = 1, a'! = a!×a'
  5. pred(a): (Predecessor or decrement): If a > 0 then a−1 else 0
  6. Proper subtraction a ∸ b: If a ≥ b then a−b else 0
  7. Minimum(a1, ... an)
  8. Maximum(a1, ... an)
  9. Absolute difference: | a−b | =def (a ∸ b) + (b ∸ a)
  10. ~sg(a): NOT[signum(a)]: If a=0 then 1 else 0
  11. sg(a): signum(a): If a=0 then 0 else 1
  12. a | b: (a divides b): If b=k×a for some k then 0 else 1
  13. Remainder(a, b): the leftover if b does not divide a "evenly". Also called MOD(a, b)
  14. a = b: sg | a − b | (Kleene's convention was to represent true by 0 and false by 1; presently, especially in computers, the most common convention is the reverse, namely to represent true by 1 and false by 0, which amounts to changing sg into ~sg here and in the next item)
  15. a < b: sg( a' ∸ b )
  16. Pr(a): a is a prime number Pr(a) =def a>1 & NOT(Exists c)1<c<a [ c|a ]
  17. pi: the i+1th prime number
  18. (a)i: exponent of pi in a: the unique x such that pix|a & NOT(pix'|a)
  19. lh(a): the "length" or number of non-vanishing exponents in a
  20. lo(a, b): (logarithm of a to base b): If a, b > 1 then the greatest x such that bx | a else 0
In the following, the abbreviation x =def x1, ... xn; subscripts may be applied if the meaning requires.
  • #A: A function φ definable explicitly from functions Ψ and constants q1, ... qn is primitive recursive in Ψ.
  • #B: The finite sum Σy<z ψ(x, y) and product Πy<zψ(x, y) are primitive recursive in ψ.
  • #C: A predicate P obtained by substituting functions χ1,..., χm for the respective variables of a predicate Q is primitive recursive in χ1,..., χm, Q.
  • #D: The following predicates are primitive recursive in Q and R:
  • NOT_Q(x) .
  • Q OR R: Q(x) V R(x),
  • Q AND R: Q(x) & R(x),
  • Q IMPLIES R: Q(x) → R(x)
  • Q is equivalent to R: Q(x) ≡ R(x)
  • #E: The following predicates are primitive recursive in the predicate R:
  • (Ey)y<z R(x, y) where (Ey)y<z denotes "there exists at least one y that is less than z such that"
  • (y)y<z R(x, y) where (y)y<z denotes "for all y less than z it is true that"
  • μyy<z R(x, y). The operator μyy<z R(x, y) is a bounded form of the so-called minimization- or mu-operator: Defined as "the least value of y less than z such that R(x, y) is true; or z if there is no such value."
  • #F: Definition by cases: The function defined thus, where Q1, ..., Qm are mutually exclusive predicates (or "ψ(x) shall have the value given by the first clause that applies), is primitive recursive in φ1, ..., Q1, ... Qm:

φ(x) =

  • φ1(x) if Q1(x) is true,
  • . . . . . . . . . . . . . . . . . . .
  • φm(x) if Qm(x) is true
  • φm+1(x) otherwise
  • #G: If φ satisfies the equation:
φ(y,x) = χ(y, COURSE-φ(y; x2, ... xn ), x2, ... xn then φ is primitive recursive in χ. The value COURSE-φ(y; x2 to n ) of the course-of-values function encodes the sequence of values φ(0,x2 to n), ..., φ(y-1,x2 to n) of the original function.
f
m
n
  • For every unary primitive recursive function g, there is an m such that g(n) = f(m,n) for all n, and
  • For every m, the function h(n) = f(m,n) is primitive recursive.
  • Primitive recursive functions with two or more arguments can be encoded as unary primitive recursive functions by using a primitive recursive pairing function with two primitive recursive inverses.

f can be explicitly constructed by iteratively repeating all possible ways of creating primitive recursive functions. Thus, it is provably total. One can use a diagonalization argument to show that f is not recursive primitive in itself: had it been such, so would be h(n) = f(n,n)+1. But if this equals some primitive recursive function, there is an m such that h(n) = f(m,n) for all n, and then h(m) = f(m,m), leading to contradiction.

However, the set of primitive recursive functions is not the largest recursively enumerable subset of the set of all total recursive functions. For example, the set of provably total functions (in Peano arithmetic) is also recursively enumerable, as one can enumerate all the proofs of the theory. While all primitive recursive functions are provably total, the converse is not true.

total Turing machines
partial

Other examples of total recursive but not primitive recursive functions are known:

  • The function that takes m to Ackermann(m,m) is a unary total recursive function that is not primitive recursive.
  • The Paris–Harrington theorem involves a total recursive function that is not primitive recursive.
  • The Sudan function
  • The Goodstein function
Course-of-values recursion
mutual recursion

The functions that can be programmed in the LOOP programming language are exactly the primitive recursive functions. This gives a different characterization of the power of these functions. The main limitation of the LOOP language, compared to a Turing-complete language, is that in the LOOP language the number of times that each loop will run is specified before the loop begins to run.

Computer language definition

An example of a primitive recursive programming language is one that contains basic arithmetic operators (e.g. + and −, or ADD and SUBTRACT), conditionals and comparison (IF-THEN, EQUALS, LESS-THAN), and bounded loops, such as the basic for loop, where there is a known or calculable upper bound to all loops (FOR i FROM 1 TO n, with neither i nor n modifiable by the loop body). No control structures of greater generality, such as while loops or IF-THEN plus GOTO, are admitted in a primitive recursive language.

The LOOP language, introduced in a 1967 paper by Albert R. Meyer and Dennis M. Ritchie,14 is such a language. Its computing power coincides with the primitive recursive functions. A variant of the LOOP language is Douglas Hofstadter's BlooP in Gödel, Escher, Bach. Adding unbounded loops (WHILE, GOTO) makes the language general recursive and Turing-complete, as are all real-world computer programming languages.

The definition of primitive recursive functions implies that their computation halts on every input (after a finite number of steps). On the other hand, the halting problem is undecidable for general recursive functions.

forcing
Linz, Peter (2011), An Introduction to Formal Languages and Automata, Jones & Bartlett Publishers, p. 332, ISBN 9781449615529
Moore, Cristopher; Mertens, Stephan (2011), The Nature of Computation, Oxford University Press, p. 287, ISBN 9780191620805
  • 10Robinson 1947.
  • 11Gladstone 1967.
  • 12Gladstone 1971.
  • 13Severin 2008.
  • 14Meyer, Albert R.; Ritchie, Dennis M. (1967), "The complexity of loop programs", ACM '67: Proceedings of the 1967 22nd national conference, pp. 465–469, doi:10.1145/800196.806014
  • 15Peter Smith (2013), An Introduction to Gödel's Theorems (2nd ed.), Cambridge University Press, pp. 98–99, ISBN 978-1-107-02284-3
  • 16George Tourlakis (2003), Lectures in Logic and Set Theory: Volume 1, Mathematical Logic, Cambridge University Press, p. 129, ISBN 978-1-139-43942-8
  • 17Rod Downey, ed. (2014), Turing's Legacy: Developments from Turing's Ideas in Logic, Cambridge University Press, p. 474, ISBN 978-1-107-04348-0
  • 18Thoralf Skolem (1923) "The foundations of elementary arithmetic" in Jean van Heijenoort, translator and ed. (1967) From Frege to Gödel: A Source Book in Mathematical Logic, 1879-1931. Harvard Univ. Press: 302-33.
  • 10.2307/2270177
    JSTOR
    2270177
    MR
    0224460
    • Gladstone, M. D. (1971), "Simplifications of the recursion scheme", The Journal of Symbolic Logic, 36 (4): 653–665, doi:10.2307/2272468, JSTOR 2272468, MR 0305993
    • Hartmanis, Juris (1989), "Overview of Computational Complexity Theory", Computational Complexity Theory, Proceedings of Symposia in Applied Mathematics, vol. 38, American Mathematical Society, pp. 1–17, ISBN 978-0-8218-0131-4, MR 1020807
    • Kleene, Stephen Cole (1974) [1952], "Chapter XI. General Recursive Functions §57", Introduction to Metamathematics (7th reprint; 2nd ed.), North-Holland Publishing Company, ISBN 0444100881, OCLC 3757798
    • PlanetMath, "primitive recursive vector-valued function", retrieved 2025-07-04
    • Rogers, Hartley Jr. (1987) [1967], Theory of Recursive Functions and Effective Computability (Reprint ed.), MIT Press, ISBN 9780262680523
    • Robinson, Raphael M. (1947), "Primitive recursive functions", Bulletin of the American Mathematical Society, 53 (10): 925–942, doi:10.1090/S0002-9904-1947-08911-4, MR 0022536
    • Severin, Daniel E. (2008), "Unary primitive recursive functions", The Journal of Symbolic Logic, 73 (4): 1122–1138, arXiv:cs/0603063, doi:10.2178/jsl/1230396909, JSTOR 275903221, MR 2467207
    • Soare, Robert I. (1987), Recursively Enumerable Sets and Degrees, Springer-Verlag, ISBN 0-387-15299-7
    • Soare, Robert I. (1996), "Computability and recursion", The Bulletin of Symbolic Logic, 2 (3): 284–321, doi:10.2307/420992, JSTOR 420992, MR 1416870
    Created
    7 Dec 2001
    History
    624 edits
    272 contributors
    1 edit in the last 30 days
    Last edited
    27 Oct 2026

    624 revisions in total · 272 contributors · +10 / 0 bytes across 1 edits by 1 contributor in the last 30 days

    1. 27 Oct 2026, 07:59 UTCJochen Burghardt§ Junctors fix translation of German :de:Junktor+10diff
    2. 7 Oct 2026, 12:02 UTCRodwdab Jan van Leeuwen (computer scientist)+21diff
    3. 3 Oct 2026, 05:43 UTCDavid EppsteinMOS:MATHLINKx2−8diff
    4. 31 Aug 2026, 23:49 UTCListOfAllIrrationalsmClean up clunky wording around old page name that has since been moved.+23diff
    5. 30 Aug 2026, 20:14 UTCHeadbombce−33diff
    6. 8 Jan 2026, 04:25 UTCMikhail Ryazanovm§ Equality predicate fmt., punct.+253diff
    7. 8 Jan 2026, 04:23 UTCMikhail Ryazanovm§ Junctors fmt., punct.+160diff
    8. 8 Jan 2026, 04:21 UTCMikhail Ryazanovm§ If-then-else fmt., punct.+43diff

    View full revision history

    Created
    7 Dec 2001
    History
    624 edits
    272 contributors
    1 edit in the last 30 days
    Last edited
    27 Oct 2026

    Go deeper: linked from this article

    • Linked from the introduction

      Computability theory

      Study of computable functions and Turing degrees

      Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees.

      20 min readGo deeper
    • Linked from the introduction

      Computable function

      Mathematical function that can be computed by a program

      Computable functions are the basic objects of study in computability theory.

      9 min readGo deeper
    • Listed under See also

      Recursion (computer science)

      Use of functions that call themselves

      In computer science, recursion is a method of solving a computational problem where the solution depends on solutions to smaller instances of the same problem.

      26 min readGo deeper
    • Linked from the introduction

      General recursive function

      One of several equivalent definitions of a computable function

      In mathematical logic and computer science, a general recursive function, partial recursive function, or μ-recursive function is a partial function from natural numbers to natural numbers that is "computable" in an intuitive sense – as well as in a formal one.

      7 min readGo deeper
    • Linked from the introduction

      Number theory

      Branch of pure mathematics

      Number theory is a branch of mathematics devoted primarily to the study of the integers and arithmetic functions.

      30 min readGo deeper
    • Linked from the introduction

      Computational complexity theory

      Inherent difficulty of computational problems

      In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and explores the relationships between these classifications.

      19 min readGo deeper
    • Linked from the introduction

      Control flow

      How software progresses through its implementation

      In software, control flow (or flow of control) describes how execution progresses from one command to the next.

      19 min readGo deeper
    • Linked from the introduction

      Factorial

      Product of numbers from 1 to n

      In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.

      27 min readGo deeper
    • Linked from the introduction

      Time complexity

      Estimate of time taken for running an algorithm

      In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm.

      15 min readGo deeper
    • Linked from the introduction

      Partial function

      Function whose actual domain of definition may be smaller than its apparent domain

      In mathematics, a partial function f from a set X to a set Y is a function from a subset S of X (possibly the whole X itself) to Y.

      5 min readGo deeper
    • Listed under See also

      Tail call

      Subroutine call performed as final action of a procedure

      In computer science, a tail call is a subroutine call performed as the final action of a procedure.

      17 min readGo deeper
    • Listed under See also

      Primitive recursive functional

      In mathematical logic, the primitive recursive functionals are a generalization of primitive recursive functions into higher type theory.

      1 min readGo deeper
    • Listed under See also

      Primitive recursive set function

      In mathematics, primitive recursive set functions or primitive recursive ordinal functions are analogs of primitive recursive functions, defined for sets or ordinals rather than natural numbers.

      2 min readGo deeper

    Adjacent: shared categories and similar text

    • Shares category “Computability theory”

      Ackermann function

      Quickly growing function

      In computability theory, the Ackermann function, named after Wilhelm Ackermann, is one of the simplest and earliest-discovered examples of a total computable function that is not primitive recursive.

      23 min readGo deeper