There are effectively computable numerical functions which aren’t prim

In summary, Peter Smith's Gödel without tears discusses Theorem 21, which states that there are effectively computable numerical functions that are not primitive recursive. This is proven by effectively enumerating the set of primitive recursive functions and constructing a diagonal function that is effectively computable but not primitive recursive. This is a standard diagonal argument, but may cause difficulty for some individuals.
  • #1
robertjford80
388
0
This is from Peter Smith's Gödel without tears.

Theorem 21 There are effectively computable numerical functions which aren’t primitive recursive.

Proof The set of p.r. functions is effectively enumerable. That is to say, there is an effective way of numbering off functions f0, f1, f2, ..., such that each of the fi is p.r., and each p.r. function appears somewhere on the list.
This holds because, by definition, every p.r. function has a ‘recipe’ in which it is defined by recursion or composition from other functions which are defined by recursion or composition from other functions which are defined ...ultimately in terms of some primitive starter functions.

see attachment


So choose some standard formal specification language for representing these recipes. Then we can effectively generate ‘in alphabetical order’ all possible strings of symbols from this language; and as we go along, we select the strings that obey the rules for being a recipe for a p.r. function. That generates a list of recipes which effectively enumerates the p.r. functions, repetitions allowed.

Now consider our table. Down the table we list off the p.r. functions f0, f1, f2, ... An individual row then gives the values of fn for each argument. Let’s define the corresponding diagonal function, by putting δ(n) = fn(n) + 1.

To compute δ(n), we just run our effective enumeration of the recipes for p.r. functions until we get to the recipe for fn. We follow the instructions in that recipe to evaluate that function for the argument n. We then add one. Each step is entirely mechanical. So our diagonal function is effectively computable, using a step-by-step algorithmic procedure.

By construction, however, the function δ can’t be primitive recursive. For suppose otherwise. Then δ must appear somewhere in the enumeration of p.r. functions, i.e. be the function fd for some index number d.

I don't agree with this.
If it appears in the list of p.r. functions then it is p.r. I don't see why he thinks that if x is in the list of p.r. functions then it is not p.r.


But now ask what the value of δ(d) is. By hypothesis, the function δ is none other than the function fd, so δ(d) = fd(d). But by the initial definition of the diagonal function, δ(d) = fd (d) + 1. Contradiction.
So we have ‘diagonalized out’ of the class of p.r. functions to get a new function δ which is effectively computable but not primitive recursive.
 

Attachments

  • Screen shot 2014-02-11 at 6.02.33 PM.png
    Screen shot 2014-02-11 at 6.02.33 PM.png
    3.5 KB · Views: 454
Physics news on Phys.org
  • #2
robertjford80 said:
I don't agree with this.
If it appears in the list of p.r. functions then it is p.r. I don't see why he thinks that if x is in the list of p.r. functions then it is not p.r.

This is just a standard diagonal argument. It works by saying "Assuming δ were on the list we reach a contradiction. The only other possibility being δ not on the list the desired conclusion follows." For whatever reason this type of argument seems to give some people trouble. You might be one of those people.

Edit: If you are one of those people, then my advice is first use the forum software to search for threads about the Cantor diagonalization argument, because it has been discussed at length on the forum before. After reading those threads, if you still have problems, then come back and ask specific questions.
 
Last edited:

FAQ: There are effectively computable numerical functions which aren’t prim

1. What are effectively computable numerical functions?

Effectively computable numerical functions are mathematical functions that can be computed and solved using an algorithm or a series of steps. These functions are also known as computable functions or recursive functions.

2. How are effectively computable numerical functions different from other functions?

Effectively computable numerical functions are different from other functions in that they can be solved using a finite number of steps. Other functions, such as non-computable functions, may require an infinite number of steps or have no definitive solution.

3. What does it mean for a numerical function to be "effectively computable"?

A numerical function is considered effectively computable if it can be solved using a finite number of steps. This means that there is a clear and definite algorithm or process that can be followed to arrive at a solution for the function.

4. Can all numerical functions be effectively computable?

No, not all numerical functions can be effectively computable. Some functions, such as non-computable functions, may not have a finite solution or may require an infinite number of steps to solve.

5. What is the significance of "prim" in the statement "There are effectively computable numerical functions which aren’t prim"?

"Prim" refers to a type of computable function known as a primitive recursive function. This statement implies that there are effectively computable numerical functions that are not primitive recursive, meaning they cannot be solved using only basic arithmetic operations and recursion.

Similar threads

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