e01.org

Sudan function

In the theory of computation, the Sudan function is an example of a function that is recursive, but not primitive recursive. This is also true of the better-known Ackermann function. In 1926, David Hilbert conjectured that every computable function was primitive recursive. This was refuted by Gabriel Sudan and Wilhelm Ackermann both his students using different functions that were published in quick succession: Sudan in 1927, Ackermann in 1928. The Sudan function is the earliest published example of a recursive function that is not primitive recursive.

In the theory of computation, the Sudan function is an example of a function that is recursive, but not primitive recursive. This is also true of the better-known Ackermann function. In 1926, David Hilbert conjectured that every computable function was primitive recursive. This was refuted by Gabriel Sudan and Wilhelm Ackermann both his students using different functions that were published in quick succession: Sudan in 1927, Ackermann in 1928. The Sudan function is the earliest published example of a recursive function that is not primitive recursive. ==Definition== \begin{array}{lll} F_0 (x, y) & = x+y \\ F_{n+1} (x, 0) & = x & \text{if } n \ge 0 \\ F_{n+1} (x, y+1) & = F_n (F_{n+1} (x, y), F_{n+1} (x, y) + y + 1) & \text{if } n\ge 0 \\ \end{array} The last equation can be equivalently written as \begin{array}{lll} F_{n+1} (x, y+1) & = F_n(F_{n+1} (x, y), F_0(F_{n+1}(x, y), y + 1)) \\ \end{array} . ==Computation== These equations can be used as rules of a term rewriting system (TRS). The generalized function F(x,y,n) \stackrel{\mathrm{def}}{=} F_n(x,y) leads to the rewrite rules \begin{array}{lll} \text{(r1)} & F(x, y, 0) & \rightarrow x+y \\ \text{(r2)} & F(x, 0, n+1) & \rightarrow x \\ \text{(r3)} & F(x, y+1, n+1) & \rightarrow F(F(x, y, n+1), F(F(x, y, n+1), y + 1,0), n) \\ \end{array} At each reduction step the rightmost innermost occurrence of F is rewritten, by application of one of the rules (r1) - (r3). Calude (1988) gives an example: compute F(2,2,1) \rightarrow_{*} 12 . The reduction sequence is F 0 (x, y) = x + y F 1 (x, y) = 2 y  · (x + 2) − y − 2 ==Notes and references== ==Bibliography== ==External links== OEIS: A260003, A260004

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Sudan function". 1789851641. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1375765029

JSON record · API collection · citation policy