Sujet : Re: D correctly simulated by pure function H cannot possibly reach its, own line 06 ---
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theory sci.logicDate : 26. May 2024, 19:26:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2vrcl$3gakv$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
User-Agent : Mozilla Thunderbird
On 5/26/2024 12:16 PM, Richard Damon wrote:
On 5/26/24 1:01 PM, olcott wrote:
On 5/26/2024 11:31 AM, Richard Damon wrote:
On 5/26/24 10:13 AM, olcott wrote:
On 5/26/2024 6:43 AM, Richard Damon wrote:
>
typedef int (*ptr)(); // ptr is pointer to int function in C
00 int H(ptr p, ptr i);
01 int D(ptr p)
02 {
03 int Halt_Status = H(p, p);
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 }
>
>
Because, as I have said, the answer and reasoning changes depending on what you acknowledged are the implications of your stipulations. For instance, if your actual understanding of being a "Pure Function" is that the program is the equivalent of a Turing Machine, then we need to add a strictness to the definition that isn't normally used for just "Pure Functions", like accessing value of registers like the program counter or stack pointer might not be allowed in some cases. (which breaks you H).
>
>
Since we can see (and you already agreed) that D correctly simulated
by pure simulator H remains stuck in infinite recursive simulation then
we also know that D never reaches its own line 06 and halts in less
than an infinite number of correctly simulated steps.
>
But it depends on what H actually does, which you refuse to agree to.
>
>
When I specify that D is correctly simulated by pure function H, that
means that H is a pure simulator that stops simulating D after some
finite number of correctly simulated steps. There is absolutely nothing
else that needs to be known about H besides this.
>
And, do you accept that this exact description means that H is NOT the computational equivalent of a Turing Machine, and that this simulation doesn't prove that its input is not a non-halting program?
In other words you are saying that it is 100% totally impossible to
adapt an actual UTM so that it stops simulating after a finite number of
steps.
When we see that D correctly simulated by pure simulator H would remain
stuck in recursive simulation then we also know that D never reaches its
own line 06 and halts in less than an infinite number of correctly
simulated steps.
This means that D correctly simulated by pure function H also never
reaches it own line 06 and halts.
Failure to acknowledge this means that you don't understand the meaning of the terms you used, and that you accept the implications.
I am not the one saying that it is 100% impossible to adapt an ordinary
UTM so that it stops simulating after a finite number of steps.
-- Copyright 2024 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer