Liste des Groupes | Revenir à c theory |
On 2025-05-15 21:11:35 +0000, olcott said:void DDD()
On 5/15/2025 3:59 PM, Mr Flibble wrote:A partial simulation is possible. But at some point HHH discontinues the simulation and returns a guessed answer.On Thu, 15 May 2025 15:47:16 -0500, olcott wrote:
>I overcome the proof of undecidability of the Halting Problem in that>
the code that "does the opposite of whatever value that HHH returns"
becomes unreachable to DD correctly simulated by HHH.
>
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
>
HHH simulates DD that calls HHH(DD) to simulate itself again over and
over until HHH sees this repeating pattern and aborts or both HHH and DD
crash due to OOM error.
It is not possible for HHH to simulate DD because we are already inside DD
when we call HHH:
Les messages affichés proviennent d'usenet.