Liste des Groupes | Revenir à theory |
On 2025-02-07 23:13:04 +0000, olcott said:Show the execution trace of that.
Experts in the C programming language will know that DDWrong, they understand that nothing below exludes the possibility that
correctly simulated by HHH cannot possibly reach its own
"if" statement.
HHH is a program that can correctly simulate DD to its "if" statement.
The code of HHH might exlude that but that is not sohwn below.>> int Halt_Status = HHH(DD); // line 3 of DD
The finite string DD specifies non-terminating recursiveNo, it does not. DD as quoted below pecifies nothing about the behaviour
simulation to simulating termination analyzer HHH.
of HHH, only its argument types and return type.
line 1354 through 1360This makes HHH necessarily correct to reject its input asNo, it does not. It is not correct to reject the input to HHH as non- halting
non-halting.
unless it really is non-halting.
typedef void (*ptr)();
int HHH(ptr P);
>
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
>
int main()
{
HHH(DD);
}https://github.com/plolcott/x86utm/blob/master/Halt7.cNo, it has not. There is no DD there.
has fully operational HHH and DD
Les messages affichés proviennent d'usenet.