Liste des Groupes | Revenir à c theory |
On 9/2/2024 12:52 PM, Fred. Zwarts wrote:Only id HHH never aborts, which is NOT what your HHH does, or it fails to be a decider.Op 02.sep.2024 om 18:38 schreef olcott:DDD has itself and the emulated HHH stuck in recursive emulation.A halt decider is a Turing machine that computes>
the mapping from its finite string input to the
behavior that this finite string specifies.
>
If the finite string machine string machine
description specifies that it cannot possibly
reach its own final halt state then this machine
description specifies non-halting behavior.
>
A halt decider never ever computes the mapping
for the computation that itself is contained within.
>
Unless there is a pathological relationship between
the halt decider H and its input D the direct execution
of this input D will always have identical behavior to
D correctly simulated by simulating halt decider H.
>
*Simulating Termination Analyzer H Not Fooled by Pathological Input D*
https://www.researchgate.net/ publication/369971402_Simulating_Termination_Analyzer_H_is_Not_Fooled_by_Pathological_Input_D
>
A correct emulation of DDD by HHH only requires that HHH
emulate the instructions of DDD** including when DDD calls
HHH in recursive emulation such that HHH emulates itself
emulating DDD.
Indeed, it should simulate *itself* and not a hypothetical other HHH with different behaviour.
If HHH includes code to see a 'special condition' and aborts and halts, then it should also simulate the HHH that includes this same code and
void DDD()Of course it can. and it must if the emulating HHH aborts its emulation to return an answer.
{
HHH(DDD);
return;
}
When HHH emulates itself emulating DDD the emulated
HHH cannot possibly return because each DDD keeps
calling HHH to emulate itself again until the outer
executed HHH kills the whole emulated process at
the very first emulated DDD before it ever reaches
its own second line.
Les messages affichés proviennent d'usenet.