• Re: DD correctly emulated by HHH --- Totally ignoring invalid

    From Muttley@DastardlyHQ.org@21:1/5 to All on Tue Mar 4 14:43:18 2025
    XPost: comp.theory, comp.lang.c++

    On Tue, 4 Mar 2025 08:21:39 -0600
    olcott <polcott333@gmail.com> wibbled:
    On 3/4/2025 4:06 AM, Bonita Montero wrote:
    Am 04.03.2025 um 04:07 schrieb olcott:
    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]

    DD correctly emulated by HHH cannot possibly
    reach its own "ret" instruction and terminate normally.

    The only valid rebuttal is to show all of the steps of
    exactly how DD correctly emulated by HHH reaches its
    own "ret" instruction.


    You're wrong; your program will never stop - like
    your halting problem investigations.

    I am not wrong and no one can show that I wrong

    You're making the assertion, so YOU need to prove the program will halt,
    its not for others to prove that it won't.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fred. Zwarts@21:1/5 to All on Wed Mar 5 10:12:24 2025
    XPost: comp.theory, comp.lang.c++

    Op 04.mrt.2025 om 16:52 schreef olcott:
    On 3/4/2025 8:43 AM, Muttley@DastardlyHQ.org wrote:
    On Tue, 4 Mar 2025 08:21:39 -0600
    olcott <polcott333@gmail.com> wibbled:
    On 3/4/2025 4:06 AM, Bonita Montero wrote:
    Am 04.03.2025 um 04:07 schrieb olcott:
    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]

    DD correctly emulated by HHH cannot possibly
    reach its own "ret" instruction and terminate normally.

    The only valid rebuttal is to show all of the steps of
    exactly how DD correctly emulated by HHH reaches its
    own "ret" instruction.


    You're wrong; your program will never stop - like
    your halting problem investigations.

    I am not wrong and no one can show that I wrong

    You're making the assertion, so YOU need to prove the program will halt,
    its not for others to prove that it won't.



    The code proves that DD correctly emulated by HHH
    cannot possibly reach its own "ret" instruction and
    terminate normally. This proves that HHH(DD) is correct
    to reject its input as non-terminating.


    No, it reports its failure to do a correct simulation.

    If this is incorrect then someone could point out exactly
    how DD correctly emulated by HHH would reach its own "ret"
    instruction.

    If HHH did not fail to reach the 'ret' instruction Olcott could show a
    trace that reaches the 'ret' instruction.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)