Liste des Groupes | Revenir à c theory |
On 2/25/2025 10:13 AM, Mikko wrote:This depends entirely on HHH not aborting *in every invocation*.Althogh the subject line has the words "COMPLETE PROOF" there is notypedef void (*ptr)();
proof or pointer to proof below.
int HHH(ptr P);
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
int main()
{
HHH(DD);
}
The above does specify that DD simulated by HHH cannot possibly
terminate normally by reaching its own "return" instruction.
Ignoring the code in main() seemed dishonest.--
Les messages affichés proviennent d'usenet.