Liste des Groupes | Revenir à c theory |
On 6/14/2024 3:03 PM, Fred. Zwarts wrote:You are using the wrong criterion, because this wrong criterion also also applies to other programs, without a "pathological" part.Op 14.jun.2024 om 21:18 schreef olcott:That is not the problem that is the criterion measure of a solution.On 6/14/2024 2:00 PM, Fred. Zwarts wrote:>Op 14.jun.2024 om 14:49 schreef olcott:>I ran the actual code to verify the facts.>
HH1(DD,DD) does not have a pathological relationship to its input
thus this input terminates normally.
Your terminology is confusing. What you call a "pathological relationship" is that H must simulate itself.
>
*CONVENTIONAL TERMINOLOGY*
For any program H that might determine whether programs halt, a
"pathological" program D, called with some input, can pass its own
source and its input to H and then specifically do the opposite of what
H predicts D will do. No H can exist that handles this case.
https://en.wikipedia.org/wiki/Halting_problem
The problem is that your simulator does not even reach the "pathological" part of D.
_D()Nice try, but completely beside the point.
[00000cfc](01) 55 push ebp
[00000cfd](02) 8bec mov ebp,esp
[00000cff](03) 8b4508 mov eax,[ebp+08]
[00000d02](01) 50 push eax ; push D
[00000d03](03) 8b4d08 mov ecx,[ebp+08]
[00000d06](01) 51 push ecx ; push D
[00000d07](05) e800feffff call 00000b0c ; call H
[00000d0c](03) 83c408 add esp,+08
[00000d0f](02) 85c0 test eax,eax
[00000d11](02) 7404 jz 00000d17
[00000d13](02) 33c0 xor eax,eax
[00000d15](02) eb05 jmp 00000d1c
[00000d17](05) b801000000 mov eax,00000001
[00000d1c](01) 5d pop ebp
[00000d1d](01) c3 ret
Size in bytes:(0034) [00000d1d]
Les messages affichés proviennent d'usenet.