There are effectively computable numerical functions which aren’t prim

robertjford80
Messages
388
Reaction score
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: 489
Physics news on Phys.org
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:
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

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