Sujet : Re: DDD correctly emulated by HHH is correctly rejected as non-halting.
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theoryDate : 11. Jul 2024, 15:10:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6op4h$2fuva$4@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 7/11/2024 1:25 AM, Mikko wrote:
On 2024-07-10 17:53:38 +0000, olcott said:
On 7/10/2024 12:45 PM, Fred. Zwarts wrote:
Op 10.jul.2024 om 17:03 schreef olcott:
typedef void (*ptr)();
int HHH(ptr P);
>
void DDD()
{
HHH(DDD);
}
>
int main()
{
HHH(DDD);
}
>
Unneeded complexity. It is equivalent to:
>
int main()
{
return HHH(main);
}
>
>
>
Every time any HHH correctly emulates DDD it calls the
x86utm operating system to create a separate process
context with its own memory virtual registers and stack,
thus each recursively emulated DDD is a different instance.
However, each of those instances has the same sequence of instructions
that the x86 language specifies the same operational meaning.
*That is counter-factual*
When DDD is correctly emulated by HHH according to the
semantics of the x86 programming language HHH must abort
its emulation of DDD or both HHH and DDD never halt.
When DDD is correctly emulated by HHH1 according to the
semantics of the x86 programming language HHH1 need not
abort its emulation of DDD because HHH has already done this.
The behavior of DDD emulated by HHH1 is identical to the
behavior of the directly executed DDD().
-- Copyright 2024 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer