Liste des Groupes | Revenir à theory |
On 4/9/2025 1:58 PM, Fred. Zwarts wrote:Op 09.apr.2025 om 19:29 schreef olcott:On 4/8/2025 10:31 AM, Fred. Zwarts wrote:Op 08.apr.2025 om 17:13 schreef olcott:On 4/8/2025 2:45 AM, Fred. Zwarts wrote:Op 08.apr.2025 om 06:33 schreef olcott:
Such as what actually happens when you run it?If HHH would correctly simulate DD (and the functions called by DD)>Everyone with a little bit of C knowledge understands that if HHH>*Simulating termination analyzer Principle*>
It is always correct for any simulating termination analyzer to
stop simulating and reject any input that would otherwise prevent
its own termination.
In this case there is nothing to prevent, because the finite string
specifies a program that halts.
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
HHH(DD) meets the above: *Simulating termination analyzer Principle*
>
returns with a value 0, then DDD halts.
DDD CORRECTLY SIMULATED BY HHH NOT ANY OTHER DAMN DDD IN THE UNIVERSE
NITWIT.
>
then the simulated HHH would return to DD and DD would halt.
But HHH failed to complete the simulation of the halting program,
HHH is only required to report on the behavior of its own correct
simulation (meaning the according to the semantics of the C programming
language) and would be incorrect to report on any other behavior.
Les messages affichés proviennent d'usenet.