Liste des Groupes | Revenir à theory |
On 25/05/2025 16:55, olcott wrote:The requirement for HHH to report on the directOn 5/25/2025 5:19 AM, Richard Heathfield wrote:Its input, as you show by the notation HHH(DDD), is DDD. So it's reporting on DDD.On 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.
> HHH(DDD) does correctly reject
> *ITS INPUT THUS NOT ITS CALLER*
> as non-halting.
But as this code shows:
>> void DDD()
>> {
>> HHH(DDD);
>> return;
>> }
DDD calls HHH. Therefore DDD is HHH's caller.
DDD is HHH's caller AND its input.
Les messages affichés proviennent d'usenet.