Re: Title: A Structural Analysis of the Standard Halting Problem Proof --- Alan Mackenzie

Liste des GroupesRevenir à s logic 
Sujet : Re: Title: A Structural Analysis of the Standard Halting Problem Proof --- Alan Mackenzie
De : NoOne (at) *nospam* NoWhere.com (olcott)
Groupes : comp.theory sci.logic comp.ai.philosophy
Date : 22. Jul 2025, 18:00:13
Autres entêtes
Message-ID : <_gmdnWi5SOQAXuL1nZ2dnZfqlJ-dnZ2d@giganews.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
On 7/21/2025 3:58 PM, Alan Mackenzie wrote:
In comp.theory olcott <polcott333@gmail.com> wrote:
 
typedef void (*ptr)();
int HHH(ptr P);
 
void DDD()
{
   HHH(DDD);
   return;
}
 
int main()
{
   HHH(DDD);
}
 
Not at all. HHH does emulate the x86 machine code
of DDD pointed to by P. That is does this according
to the semantics of the x86 language conclusively
proves that this emulation is correct.
 That's nauseatingly overstretching things into another lie.  Whatever HHH
might do is far short of sufficient "conclusively to prove" that the
emulation is correct.  To prove that is likely impossible in principle,
that's even assuming you could define "correct" coherently.
 
_DDD()
[00002192] 55             push ebp
[00002193] 8bec           mov ebp,esp
[00002195] 6892210000     push 00002192  // push DDD
[0000219a] e833f4ffff     call 000015d2  // call HHH
[0000219f] 83c404         add esp,+04
[000021a2] 5d             pop ebp
[000021a3] c3             ret
Size in bytes:(0018) [000021a3]
To prove (beyond all possible doubt) that HHH
does emulate DDD correctly only requires that
each instruction of DDD is emulated according
to the meaning of that instruction.
When HHH emulates the instruction at machine address
00002192 and it emulates DDD pushing its own ebp onto
its own stack this is proof that this instruction was
emulated correctly. If instead HHH emulated: "push ebp"
as "jmp 000021a3" that would be an incorrect emulation.
What exactly did you mean by "likely impossible in principle"
(please it all over again using different words).
I could make this proof more detailed by providing
the full state of the DDD virtual machine before
and after each emulated instruction.
line 1444 SaveState() Saves 16 register values
line 1469 LoadState() Loads 16 register values
line 1638 DebugStep()
Switch process context from emulator to emulated
Emulate one slave instruction
Switch process context from emulated back to emulator
https://github.com/plolcott/x86utm/blob/master/x86utm.cpp
--
Copyright 2024 Olcott
"Talent hits a target no one else can hit;
  Genius hits a target no one else can see."
  Arthur Schopenhauer

Date Sujet#  Auteur
20 Jul05:58 * Title: A Structural Analysis of the Standard Halting Problem Proof33olcott
20 Jul12:13 `* Re: Title: A Structural Analysis of the Standard Halting Problem Proof32Richard Damon
20 Jul23:06  +- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Richard Damon
20 Jul14:05  +* Re: Title: A Structural Analysis of the Standard Halting Problem Proof9Alan Mackenzie
20 Jul15:53  i+- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
20 Jul16:36  i`* Re: Title: A Structural Analysis of the Standard Halting Problem Proof7olcott
20 Jul17:13  i +* Re: Title: A Structural Analysis of the Standard Halting Problem Proof3Alan Mackenzie
21 Jul14:33  i i+- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
20 Jul17:38  i i`- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
21 Jul14:57  i `* Re: Title: A Structural Analysis of the Standard Halting Problem Proof3olcott
22 Jul09:55  i  +- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Fred. Zwarts
22 Jul14:43  i  `- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
20 Jul15:34  +* Re: Title: A Structural Analysis of the Standard Halting Problem Proof2olcott
20 Jul23:48  i`- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Richard Damon
21 Jul22:49  +* Re: Title: A Structural Analysis of the Standard Halting Problem Proof7olcott
21 Jul23:56  i`* Re: Title: A Structural Analysis of the Standard Halting Problem Proof6Richard Damon
22 Jul04:46  i `* Re: Title: A Structural Analysis of the Standard Halting Problem Proof5olcott
22 Jul09:48  i  +- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Fred. Zwarts
22 Jul16:39  i  `* Re: Title: A Structural Analysis of the Standard Halting Problem Proof3olcott
23 Jul04:15  i   +- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
23 Jul05:11  i   `- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1olcott
22 Jul05:17  +* The error of the standard proof of the halting problem6olcott
22 Jul09:45  i+* Re: The error of the standard proof of the halting problem4Fred. Zwarts
22 Jul17:09  ii`* Re: The error of the standard proof of the halting problem3olcott
22 Jul22:31  ii +- Re: The error of the standard proof of the halting problem1olcott
23 Jul09:20  ii `- Re: The error of the standard proof of the halting problem1Fred. Zwarts
22 Jul17:22  i`- Re: The error of the standard proof of the halting problem1olcott
22 Jul16:49  +* Re: Title: A Structural Analysis of the Standard Halting Problem Proof5olcott
23 Jul04:17  i+* Re: Title: A Structural Analysis of the Standard Halting Problem Proof2olcott
23 Jul09:24  ii`- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Fred. Zwarts
23 Jul05:05  i`* Re: Title: A Structural Analysis of the Standard Halting Problem Proof2olcott
23 Jul09:24  i `- Re: Title: A Structural Analysis of the Standard Halting Problem Proof1Fred. Zwarts
22 Jul18:00  `- Re: Title: A Structural Analysis of the Standard Halting Problem Proof --- Alan Mackenzie1olcott

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal