Who here understands that the last paragraph is Necessarily True?

Liste des GroupesRevenir à l c 
Sujet : Who here understands that the last paragraph is Necessarily True?
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.lang.c comp.lang.c++
Date : 13. Jul 2024, 22:41:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6uoqb$3o4oh$2@dont-email.me>
User-Agent : Mozilla Thunderbird
*Pure function HHH is a simulating termination analyzer*
DDD is correctly simulated by HHH until HHH correctly
determines that it must abort its simulation of DDD
to prevent its own non-termination.
typedef void (*ptr)();
int HHH(ptr P);
void Infinite_Loop()
{
   HERE: goto HERE;
}
void Infinite_Recursion()
{
   Infinite_Recursion();
}
void DDD()
{
   HHH(DDD);
}
int main()
{
   HHH(Infinite_Loop);
   HHH(Infinite_Recursion);
   HHH(DDD);
}
Any input that must be aborted to prevent the non
termination of HHH necessarily specifies non-halting
behavior or it would never need to be aborted.
https://www.researchgate.net/publication/369971402_Simulating_Termination_Analyzer_H_is_Not_Fooled_by_Pathological_Input_D
--
Copyright 2024 Olcott "Talent hits a target no one else can hit; Genius
hits a target no one else can see." Arthur Schopenhauer

Date Sujet#  Auteur
13 Jul 24 o Who here understands that the last paragraph is Necessarily True?1olcott

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal