Re: Because I have repeated this same point 500 times in the last three years...

Liste des GroupesRevenir à theory 
Sujet : Re: Because I have repeated this same point 500 times in the last three years...
De : mikko.levanto (at) *nospam* iki.fi (Mikko)
Groupes : comp.theory
Date : 27. Jul 2024, 08:42:47
Autres entêtes
Organisation : -
Message-ID : <v828dn$3a0jc$1@dont-email.me>
References : 1 2 3
User-Agent : Unison/2.2
On 2024-07-26 13:17:19 +0000, olcott said:

On 7/26/2024 3:42 AM, Mikko wrote:
On 2024-07-26 01:49:46 +0000, olcott said:
 
If you understand the x86 language and can't tell how DDD
emulated by HHH differs from DDD emulated by HHH1 by the
following then you are probably lying about understanding
the x86 language.
Any emulation of DDD that differs from DDD is wrong.
If the emulation of DDD by HHH differs from the emulation of DDD by HHH1
then at least one of them differes from DDD and is wrong.

*I did annotate it a little better this time*
 typedef void (*ptr)();
int HHH(ptr P);
int HHH1(ptr P);
 void DDD()
{
   HHH(DDD);
}
 int main()
{
   HHH1(DDD);
}
 *You really don't need to know one damn thing else besides this*
*You really don't need to know one damn thing else besides this*
*You really don't need to know one damn thing else besides this*
 All that you have to know is that HHH and HHH1 are x86 emulators
and that HHH sees that same repeated state (first four lines of DDD)
that anyone knowing the x86 language can see.
No knowledge of x86 is necessary as no x86 code is shown above.
From C semantics it is obvious that DDD returns if and only if
HHH(DDD) returns.
Whther DDD returns can be checked with
int main()
{
   DDD();
}
If this main returns it proves that there is no non-halting pattern in DDD.
If HHH finds one there it is wrong.
--
Mikko

Date Sujet#  Auteur
4 Jul 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal