Sujet : Re: Every D(D) simulated by H presents non-halting behavior to H ###
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theory sci.logicDate : 18. May 2024, 01:34:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v28t32$2ehk3$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla Thunderbird
On 5/17/2024 6:15 PM, André G. Isaak wrote:
On 2024-05-17 17:00, olcott wrote:
On 5/17/2024 3:02 PM, Alan Mackenzie wrote:
That "program" doesn't compile. It's ill-formed.
>
This does compile under C17 and C11
with Microsoft Visual Studio 2022
>
*Maybe you forgot to take the line numbers out*
*Maybe you forgot to take the line numbers out*
*Maybe you forgot to take the line numbers out*
*Maybe you forgot to take the line numbers out*
>
typedef int (*ptr)();
int H(ptr P, ptr I);
But that's not the code you provide in your numerous previous posts where you insist on
int H(ptr x, ptr x);
Maybe when people point out that there is an error you should actually proofread what you wrote.
[remaining code deleted].
André
typedef int (*ptr)(); // ptr is pointer to int function
00 int H(ptr x, ptr y);
01 int D(ptr x)
02 {
03 int Halt_Status = H(x, x);
04 if (Halt_Status)
05 HERE: goto HERE;
06 return Halt_Status;
07 }
08
09 int main()
10 {
11 H(D,D);
12 return 0;
13 }
When people tell me that I am wrong about the semantics of
that code template I have always known they are wrong because
I have always had empirical proof that D correctly simulated
By H cannot possibly reach its own simulated line 06 and halt.
Of the five or so reviewers of this work in this forum none have
affirmed and several have denied this empirical fact that no D
of every H/D pair correctly simulated by H can possibly reach its
own simulated line 06 and halt.
-- Copyright 2024 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer