Liste des Groupes | Revenir à c theory |
On 2025-05-25 15:55:42 +0000, olcott said:_DDD()
On 5/25/2025 5:19 AM, Richard Heathfield wrote:If the caller is DDD then the input specifies a halting behaviour becauseOn 24/05/2025 17:13, olcott wrote:>No HHH can report on the behavior of its caller>
From Halt7.c:
>
void DDD()
{
HHH(DDD);
return;
}
>
Since (as you say) no HHH can report on the behaviour of its caller, and since (as your code shows) DDD is HHH's caller, we deduce that HHH cannot report on DDD.
>
So HHH is not (according to you) a halt analyser for DDD.
>
I'm not sure you've left anything to discuss, have you?
HHH(DDD) does correctly reject
*ITS INPUT THUS NOT ITS CALLER*
as non-halting.
DDD calls HHH with an input that specifies a halting behavour. But HHH
cannot correctly reject a halting input as non-halting.
The requirements of a halting decider cannot be met if the decider reports
differently dependig on who calls it. Consequently, HHH is required to
return true also when the following FFF calls it:
void FFF(void) {
HHH(DDD);
return;
}
Les messages affichés proviennent d'usenet.