Recursive and Primitive recursive functions

In summary, the $\mu-$recursive functions can be defined inductively and encompass the primitive recursive functions, but not all primitive recursive functions are $\mu-$recursive. This is because $\mu-$recursive functions allow for unbounded minimalization, unlike primitive recursive functions which have an upper bound on the minimalization operator. This allows for a larger class of effectively computable functions, including the well-known Ackermann's function.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

According to the book that I'm reading, we can define the $\mu-$recursive functions inductively, as follows:
  1. The constant, projection, and successor functions are all $\mu-$recursive.
  2. If $g_1, \dots , g_m$ are $n-$variable $\mu-$recursive functions and $h$ is an $m-$variable $\mu-$recursive function, then the composite function $f=h \circ (g_1, \dots , g_m)$ is also $\mu-$recursive.
  3. If $g$ and $h$ are $n-$ and $(n+2)-$variable $\mu-$recursive functions, then the function $f$ defined from $g$ and $h$ by primitive recursion is also $\mu-$recursive.
  4. If $g$ is a total $(n+1)-$variable $\mu-$recursive function, then the function $f$ defined from $g$ by unbounded minimalization is also $\mu-$recursive.

The definition of a primitive recursive function is the following:

  1. The constant, projection, and successor functions are all primitive recursive functions.
  2. If $g_1, \dots , g_m$ are $n-$variable primitive recursive functions, and if $h$ is an $m-$variable primitve recursive function, then the composite function $h \circ (g_1, \dots , g_m)$ is also a primitive recursive function.
  3. If $g$ and $h$ are $n-$ and $(n+1)-$variable primitive recursive functions, then $(n+1)-$variable function $f$ defined from $g$ and $h$ by primitive recursion is also a primitive recursive function.
All primitve recursive functions are $\mu-$recursive, but the inverse doesn't hold, right??

I got stuck right now... The two definitions are similar and a function that is $\mu-$recursive satisfies $4$ properties and the first $3$ are very similar to the properties of a primitive recusive function. But there are $\mu-$recursive functions that are not primtive recursive. Could you explain to me why this hold?? (Wondering)
 
Physics news on Phys.org
  • #2
Recursive (which is the same as mu-recursive) functions allow minimization in addition to the three constructions of primitive recursive functions you listed. This immediately opens the possibility that a recursive function is not total, since functions obtained by minimization do not have to be defined everywhere. There are also total recursive functions that are not primitive recursive. Kleene's normal form theorem shows that in constructing any recursive function it is sufficient to apply minimization only once.
 
  • #3
The minimization is the following: $$f(x_1, \dots , x_n )=\mu z[g(x_1, \dots , x_n, z)=0]$$ right? Could you explain to me what this means?
 
  • #4
  • #5
In my book there is the following:

Although the class of primitive recursive functions contains a great many functions of practical interest, it does not include all the Turing-computable or effectively computable functions. It does not even include all the effectively computable total functions. It is therefore natural to ask how the class of primitive recursive functions can be extended so as to admit a larger number of effectively computable functions.

One approach is to remove the upper bound from the minimalization operator. The resulting composiition rule leads us to define a new class of effectively computable functions called the $\mu-$recursive functions. With the help of an important technique known as arithmetization, it is possible to show that Ackermann's functionis a $\mu-$recursive function. The same technique can also be used to show that every Turing-computable function is $\mu-$recursive and consequently that the class of $\mu-$recursive functions is identical to the class of Turing-computable functions.
Could you explain to me the part:

"One approach is to remove the upper bound from the minimalization operator."

Does this mean that the primitive functions are bounded above by the minimalization operator??
 
  • #6
The bounded minimization operator is $\mu z\le t.\,[g(x_1, \dots , x_n, z)=0]$. The term $t$ is the upper bound on the search for $z$ such that $g(x_1, \dots , x_n, z)=0$. The class of PRF is closed under this operator. The unbounded minimization operator is $\mu z.\,[g(x_1, \dots , x_n, z)=0]$. The class of PRF is not closed under it.
 

FAQ: Recursive and Primitive recursive functions

What is the difference between recursive and primitive recursive functions?

Recursive functions are those that call themselves within their own definition, allowing for a potentially infinite loop. Primitive recursive functions are a subset of recursive functions that are restricted in their use of recursion, with a finite number of recursive calls allowed.

How do recursive and primitive recursive functions relate to computability?

Recursive and primitive recursive functions are both computable, meaning they can be written as algorithms and solved by a Turing machine. However, not all computable functions are recursive or primitive recursive.

Can all problems be solved using recursive or primitive recursive functions?

No, there are some problems that cannot be solved using recursive or primitive recursive functions. These include undecidable problems, such as the halting problem.

Are there any real-world applications for recursive and primitive recursive functions?

Yes, there are many real-world applications for recursive and primitive recursive functions. These include data processing, image and signal processing, and artificial intelligence algorithms.

How can I determine if a function is primitive recursive?

To determine if a function is primitive recursive, you can use the four primitive recursive operators: the zero function, the successor function, the projection function, and the composition function. If a function can be expressed using only these operators, it is primitive recursive.

Similar threads

Replies
1
Views
2K
Replies
6
Views
2K
Replies
1
Views
5K
Replies
11
Views
4K
Replies
16
Views
2K
Replies
4
Views
3K
Replies
2
Views
1K
Replies
2
Views
2K
Back
Top