Liste des Groupes | Revenir à theory |
On 3/3/2025 6:46 AM, Mikko wrote:No, it does not. That you can insist that it would indicates thatOn 2025-03-02 19:06:52 +0000, olcott said:The C code proves exactly these things.
On 3/2/2025 12:38 PM, Fred. Zwarts wrote:A C code does not prove. Only a proof would prove.Op 02.mrt.2025 om 15:42 schreef olcott:This C code conclusively proves that HHH does correctlyHHH is an emulating termination analyzer that emulatesOlcott could as well challenge everyone to draw a correct square circle.
the x86 machine code located at the address of a function
using a fully functional x86 emulator.
When HHH recognizes a non-terminating pattern in the
execution trace of its emulated input it aborts this
emulation and returns 0.
typedef void (*ptr)();
int HHH(ptr P);
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
_DD()
[00002133] 55 push ebp ; housekeeping
[00002134] 8bec mov ebp,esp ; housekeeping
[00002136] 51 push ecx ; make space for local
[00002137] 6833210000 push 00002133 ; push DD
[0000213c] e882f4ffff call 000015c3 ; call HHH(DD)
[00002141] 83c404 add esp,+04
[00002144] 8945fc mov [ebp-04],eax
[00002147] 837dfc00 cmp dword [ebp-04],+00
[0000214b] 7402 jz 0000214f
[0000214d] ebfe jmp 0000214d
[0000214f] 8b45fc mov eax,[ebp-04]
[00002152] 8be5 mov esp,ebp
[00002154] 5d pop ebp
[00002155] c3 ret
Size in bytes:(0035) [00002155]
I challenged everyone here to provide the machine address
by machine address (AKA line by line) execution trace
of DD correctly emulated by HHH that reaches its own
"ret" instruction.
No one made any attempt to do this because they know thatNo one will attempt to draw a square circle. Does that imply that it is wrong to say that another failed attempt to draw a square circle is incorrect?
this would prove that they are stupidly wrong to say that
my trace is incorrect.
Similarly, HHH cannot possibly simulate itself correctly.
emulate self emulating DD correctly.
https://github.com/plolcott/x86utm/blob/master/Halt7.c
That you can't even understand that it does proveOne doesn't need much techincal competence to tell the difference
those things shows even less technical competence.
Les messages affichés proviennent d'usenet.