Re: Alan Turing's Halting Problem is incorrectly formed
From: Sander Bruggink (bruggink.at.phil.uu.nl_at_no.spam.please)
Date: 06/11/04
- Next message: Sander Bruggink: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Previous message: Acid Pooh: "Re: Goedel - interesting problem?"
- In reply to: Peter Olcott: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Next in thread: Daryl McCullough: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Reply: Daryl McCullough: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Reply: Peter Olcott: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Jun 2004 11:03:39 +0200
Peter Olcott wrote:
>>>This is the absurd part
>>>
>>> if (Halts(ThisProgram))
>>> while(true); // loop forever
>>
>>No, this is not a part of the halting problem. It is a part of the
>>*proof* that the halting problem is unsolvable.
>
>
> Okay fine, then the Halting Problem is solvable because the proof is flawed.
>
Do you even understand logic? Let me spell it out for you once more, in
a clear way, I hope:
(1) Assume the halting problem is solvable. Note that we do not claim
that it is solvable, we just assume it is for the sake of the argument.
(2) Since the halting problem is solvable (by assumption), there must
exist a TM HALT(M,x), which, given a (representation of a TM) M and an
input x, halts with "yes" if M halts on x, and with "no" if it does not.
(3) Given this TM HALT, we can construct a new TM D, which works like:
function D(M, x) {
if HALT(M,x) then while(true);
else return true;
}
Note that we can construct D *if* the TM HALT exists. If HALT does not
exist, it cannot be constructed because it calls HALT. (This is important.)
(4) But now what happens if we run D on (a representation of) itself.
Then D halts if and only if it does not halt. This, of course, is
absurd, as you note yourself.
(5) Now the important step: D obviously cannot exist (as you rightly
claimed yourself). But we can construct D if HALT exists, so HALT cannot
exist either (this is the part you seem to miss). So, there cannot exist
a TM which solves the halting problem. Conclusion: the halting problem
is unsolvable.
Where is the flaw in the proof?
groente
-- Sander
- Next message: Sander Bruggink: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Previous message: Acid Pooh: "Re: Goedel - interesting problem?"
- In reply to: Peter Olcott: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Next in thread: Daryl McCullough: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Reply: Daryl McCullough: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Reply: Peter Olcott: "Re: Alan Turing's Halting Problem is incorrectly formed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|