Liste des Groupes | Revenir à c theory |
On 30/04/2025 16:46, Richard Heathfield wrote:What he's basically claiming is that the halting criteria *should* be that H(X,Y) computes what would happen if the code of H was replaced with an unconditional simulator and H(X,Y) is subsequently run.On 30/04/2025 16:15, olcott wrote:It would be (if correct) attacking the common proof for HP theorem as it occurs for instance in the Linz book which PO links to from time to time.On 4/29/2025 5:03 PM, Richard Heathfield wrote:>On 29/04/2025 22:38, olcott wrote:>
>
<snip>
>>>
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
>
HHH is correct DD as non-halting BECAUSE THAT IS
WHAT THE INPUT TO HHH(DD) SPECIFIES.
You're going round the same loop again.
>
Either your HHH() is a universal termination analyser or it isn't.
The domain of HHH is DD.
Then it is attacking not the Halting Problem but the Olcott Problem, which is of interest to nobody but you.
The proof proceeds by assuming H is a halt decider. Then it constructs from H a new TM H^ by modify H in a prescribed manner. The proof shows that H fails to correctly decide input (<H^>,<H^>): if H(<H^>,<H^>) = halts, then H^(<H^>) never halts, while if H(<H^>,<H^>) = neverhalts then H^(<H^>) halts. So H is in fact NOT a halt decider. (Alternatively the proof could be taken as proving that every halt decider H decides at least one input [viz H^] incorrectly.
PO claimed to have constructed a TM H, and its corresponding TM H^, such that H /correctly/ decides input (<H^>,<H^>). Since the Linz (and similar) proof shows H /incorrectly/ decides that input, there would clearly be some problem with proof, assuming PO's claims to be correct.
So PO's H does not need to correctly decide every input - PO does not claim to have a valid halt decider. His claim is that the Linz and similar proofs are invalid, so his H just has to decide that one input (<H^>,<H^>) correctly.
Well by now you must be on the edge of your seat! How did it all turn out? Did PO in fact have the TMs he claimed? What actually happens when you run those TMs???? ! (LOL)
You'll be highly disappointed (but not too surprised) to learn:
1) PO didn't have any TMs, and didn't know what a TM was.
2) PO was trying to make C program analogs of the TMs, but he didn't have those either
(at the time he claimed to have them)
3) Eventually PO did produce some code in the form of his H and H^, but when you ran them:
- H^(<H^>) halts
- H(<H^>,<H^>) decided neverhalts
Exactly in line with the Linz proof. (PO's names differ from what I've used.)
All the current threads are variations of PO trying to claim that H is "correct" in some wacky PO-sense, when it decides neverhalts for input (<H^>,<H^>), despite the acknowledged fact that H^(<H^>) actually halts.
Mike.
Les messages affichés proviennent d'usenet.