Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Primitive recursive function, μ-recursive function, Ackermann function?

Também chamado de: primitive recursive function · mu-recursive function · Ackermann function

Definition 15.5 University Computer Science — Year 3 · Capítulo 15 — Turing Machines and Computability

The primitive recursive functions are the functions on natural numbers built from zero, the successor n↦n+1n \mapsto n + 1 and the projections (x1,…,xk)↦xi(x_1, \ldots, x_k) \mapsto x_i by composition and by primitive recursion: h(0,y⃗)=g(y⃗)h(0, \vec y) = g(\vec y) and h(n+1,y⃗)=s(n,h(n,y⃗),y⃗)h(n + 1, \vec y) = s(n, h(n, \vec y), \vec y). The μ\mu-recursive functions also allow minimisation: μp(y⃗)\mu p(\vec y) is the least nn with p(n,y⃗)=0p(n, \vec y) = 0, undefined if there is none. The Ackermann function is A(0,n)=n+1A(0, n) = n + 1, A(m+1,0)=A(m,1)A(m + 1, 0) = A(m, 1), A(m+1,n+1)=A(m,A(m+1,n))A(m + 1, n + 1) = A(m, A(m + 1, n)).

Ler no capítulo →