lugita15 said:
Actually, the recursion theorem is only about functions from N to N, not any functions from N to X.
According to the Wikipedia link, the recursion theorem is about functions from N to an arbitrary nonempty set X. The link you gave also uses an arbitrary nonempty set A.
But even for that limited case, it still requires a considerably harder proof than your purported proof for the N to X case. See pages 4 and 5 of
this link for a proof of the recursion theorem, and see page 2 for an explanation of why your simple proof wouldn't work.
No, the proof I sketched is valid, but I only gave a sketch. It does not use definition by induction. I can spell it out if necessary.
The author of the paper in the link you gave is right that it is important to distinguish between proof by induction and definition by induction, but he is mistaken about the first proof of the Addition Theorem. He is right that we also need to prove the uniqueness of the function p
n for each n, but, as he points out, this is not hard to fix.
But the other flaw he thinks he sees does not exist. He thinks that definition with induction is used, which is not the case (at least not after the uniqueness is fixed). He has actually foreseen the objection and addresses it at page 3:
Leonard Blackburn said:
I know that some readers would object to this by saying that we are, in the course of our proof by induction, assuming that the set pn exists. But this is just an attempt to cleverly disguise a definition by induction.
Of course, just saying that it is an attempt to disguise is no valid argument. He also refers to Henkin and Enderton, and I have not read those papers/books, but the author must have misunderstood them. For the objection is valid, and I will spell it in more detail below, but first I want to address what he calls "further evidence" (p. 3.).
He notes that the postulates "0 not in S(N)" and that S is one-to-one are not used in the attempted proof, and says that the recursion theorem in general is false for systems satisfying the induction postulate, but not the two postulates just mentioned. I agree, but this does not mean that the
addition theorem does not hold for such systems. In fact, it does, and this actually is proved by the attempted (and correct) proof. This is not so surpricing. For example, it holds for the additive group Z
n, with s(n) defined as n+1, for which the induction postulate holds but not "0 not in S(N)".
To see that definition by induction is not used in the attempted proof, we can rephrase it a little. Let R be the binary relation which consists of all ordered pairs (n,A) such that n ε N and such that A is a function from N to N satisfying (i) and (ii), with A instead of p
n, for this n. This is a well defined binary relation.
Now, let E be the set of all n ε N such that there exists a unique A such that (n,A) ε R. It is then meaningful to try to use induction to prove that E=N. That the attempted proof works for the base case n=0 is not an issue.
The induction hypothesis is that n ε E, that is, there exists a unique A such that (n,A) ε R. We must then prove that then, s(n) ε E, that is, there exists a unique A' such that (s(n),A') ε R. We put A' = {(m,r) ε N × N | r = s(A(m))}. This is a well defined relation, and it is clear that A' is function from N to N and that A'(m)=s(A(m)) for all m ε N. This is precisely the same thing as defining p
s(n)(m)=s(p
n(m)), which is therefore perfectly allowed, contrary to what the author says. Just as the author, we now easily check that A' satisfies (i) and (ii), and conclude that (s(n),A') ε R.
We can also prove that this A' is unique by assuming that there are two functions A' and A'' from N to N satisfying (i) and (ii) for s(n), and then use (i) and (ii) to prove that A'(m)=A''(m) for all m ε N. Thus s(n) ε E.
Now, by induction, E=N. This means that to every n ε N, there is a unique A such that (n,A) ε R. But this means that R is actually a
function from N to the set B of all functions from N to N, and we can write R(n)=A instead of (n,A) ε R (n ε N, A ε B). (Actually, R and all the A:s are only
graphs of functions, but this is causes no difficulties here.). We can now define a function p: N × N → N, by p(n,m)=R(n)(m). Then, (A) and (B) clearly holds for this p, and the author already proved that this p is unique.
Nowhere in this proof is definition by induction used, so, the author was mistaken about this, and if you want, I can spell out my alternative proof of the recursion theorem so that we see that there is no definitioin with induction there either (although the author's proof of the recursrion theorem is also OK).
EDIT: I think that the author's (Blackburn) confusion is caused by that he thinks that to write p
s(n)(m)=s(p
n(m)), we must assume that we
already have a function which maps n to p
n for all n ε N, and that would, of course, be circular. It is not so. At this stage of the proof, we only talk about two functions p
n and p
s(n) for some fixed n, we assume nothing about the existence of such functions for other n, and certainly nothing about a function which maps n to p
n for all n ε N.
In fact, if we note that in the proof above, the proof of the uniqueness of each p
n can be broken out from the induction part of the proof and carried through separately, then the above proof is a special case of the following more general scheme:
Let X be an arbitrary nonempty set, and let a ε X, let R be a relation in (that is, a subset of) N × X, and let g: X → X be a function.
Assume that
i) to each n ε N, there is at most one x ε X such that (n,x) ε R,
ii) (0,a) ε R
iii) For all n ε N and x ε X: if (n,x) ε R, then (s(n),g(x)) ε R.
Then there is a unique function f : N → N such that
a) f(0)=a,
b) For all n ε N, f(s(n))=g(f(n)).
Proof: By induction using a) and b), it is easy to prove that such a function f is unique if it exists.
To prove the existence, we prove that R is such a function. If R is a function with domain N, then it follows from ii) and iii) that it satisfies a) and b), so we must prove that R is such function. By i), R is a function, so it suffices to prove that dom(R) = N. This is done by induction:
By i) (0,a) ε R, so 0 ε in dom(R).
Assume that n ε dom R. We must prove that then, s(n) ε dom(R) also holds.
By the induction hypothesis, there is an x ε X such that (n,x) ε R. Hence, by ii), (s(n),g(x)) ε R, so s(n) ε dom(R).
By induction, dom(R) = N, and the proposition is proved.
And there is no definition by induction in this proof, right?