Re: Can D simulated by H terminate normally? --- Message-ID provided

Liste des GroupesRevenir à s logic 
Sujet : Re: Can D simulated by H terminate normally? --- Message-ID provided
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theory sci.logic
Date : 18. May 2024, 18:24:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2akn3$2s4fs$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
User-Agent : Mozilla Thunderbird
On 5/1/2024 7:10 PM, Richard Damon wrote:
On 5/1/24 12:11 PM, olcott wrote:
On 5/1/2024 6:23 AM, Richard Damon wrote:
On 5/18/2024 8:13 AM, Richard Damon wrote:
 > (4) Message-id: <v0ulma$2qov4$1@i2pn2.org>
<snip so that lookup by message ID won't truncate>

The first method has been discussed here by Flibble. While the final answer he got to doesn't fit the requirements, the first part of the method DOES show that it is possible for an H to simulate to past line 3.
 THe basic idea is that if H(M,d) finds that its simulation of M(d) get to a call to H(M,d) then rather that your idea of just saying it will get stuck and declair the input invalid, since there ARE a number of possible inputs that there is a "correct" answer that H can give to match the behavior of the direct execution of M(d), what H does is fork its simulation into two threads.
 Thread 1 continues the simulation assuming that the call to H(M,d) will return a 1, and if that simulation reaches a halting state, then 1 is the answer, and thread 2 can be abandoned.
 Thread 2 continues the simulation assuming that the call to H(M,d) will return a 0, and if that simulation reaches a provable non-halting pattern, then 0 is the answer, and thread 1 can be abandoned.
 It may be the case that BOTH answer could be correct, in which case depending on exactly how the forking works and how long it takes each to get to the answer, either answer might be given, but then, both are correct.
 It may be the case that neither answer can be shown correct, if Thread one can prove that it will be non-halting and Thread 2 halts, then the decider has proven the machine to be "contrary" to it. But it might be the case that it never can figure that out, and it just doesn't answer.
 But, in all cases, it gets past the call to H(M,d), so your criteria, that NO H can get there is not meet.
  The second method uses the fact that you have not restricted what H is allowed to do, and thus H can remember that it is simulating, and if a call to H shows that it is currently doing a simulation, just immediately return 0. Thus, H can actually correct simulate the instruction at the call to H, as they will execute just a few instructions testing that condition and returning, and thus not run into the problem you ran into where H just couldn't simulate itself because it got bogged down.
 In this case it is actually true that the direct execution of D(D) differs from the correct simulation of the input by H, as H is no longer a "Computation" per the rules of Computation Theory, but you have admitted that you are abandoning those, so it doesn't matter (of course that make trying to get your results to apply to something similar harder, but that is why you need to try to come up with some actual definitons.)
 So, by the rules of Compuation Theory, your H is not correct, but by your lack of rules, your conclusion that H can not simulate past the call are incorrect, so you proof is also broken.
 
The following only refers to every H/D pair matching the following template where 1 to ∞ steps of D are correctly simulated by H.
*Your words above diverge from this precise specification*
*Your words above diverge from this precise specification*
*Your words above diverge from this precise specification*
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 }
In the above case a simulator is an x86 emulator that correctly
emulates at least one of the x86 instructions of D in the order
specified by the x86 instructions of D.
This may include correctly emulating the x86 instructions of H
in the order specified by the x86 instructions of H thus calling
H(D,D) in recursive simulation.
Execution Trace
Line 11: main() invokes H(D,D);
keeps repeating (unless aborted)
Line 01
Line 02
Line 03: simulated D(D) invokes simulated H(D,D) that simulates D(D)
Simulation invariant:
D correctly simulated by H cannot possibly reach past its own line 03.
The key thing to note is that no D simulated correctly by any H of every
H/D pair specified by the above template ever reaches its own line 06 and halts.
The above is self-evidently true to anyone having sufficient
knowledge of the semantics of the C programming language.
--
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
28 Apr 24 * Can D simulated by H terminate normally?171olcott
28 Apr 24 +* Re: Can D simulated by H terminate normally?34Richard Damon
28 Apr 24 i`* Re: Can D simulated by H terminate normally?33olcott
28 Apr 24 i `* Re: Can D simulated by H terminate normally?32Richard Damon
28 Apr 24 i  `* Re: Can D simulated by H terminate normally?31olcott
28 Apr 24 i   +* Re: Can D simulated by H terminate normally?28Richard Damon
28 Apr 24 i   i`* Re: Can D simulated by H terminate normally?27olcott
28 Apr 24 i   i `* Re: Can D simulated by H terminate normally?26Richard Damon
28 Apr 24 i   i  `* Re: Can D simulated by H terminate normally?25olcott
28 Apr 24 i   i   `* Re: Can D simulated by H terminate normally?24Richard Damon
28 Apr 24 i   i    `* Re: Can D simulated by H terminate normally?23olcott
28 Apr 24 i   i     `* Re: Can D simulated by H terminate normally?22Richard Damon
28 Apr 24 i   i      `* Re: Can D simulated by H terminate normally?21olcott
28 Apr 24 i   i       `* Re: Can D simulated by H terminate normally?20Richard Damon
28 Apr 24 i   i        `* Re: Can D simulated by H terminate normally?19olcott
28 Apr 24 i   i         +* Re: Can D simulated by H terminate normally?13Richard Damon
28 Apr 24 i   i         i`* Re: Can D simulated by H terminate normally?12olcott
28 Apr 24 i   i         i `* Re: Can D simulated by H terminate normally?11Richard Damon
28 Apr 24 i   i         i  `* Re: Can D simulated by H terminate normally? POE10olcott
28 Apr 24 i   i         i   `* Re: Can D simulated by H terminate normally? POE9Richard Damon
28 Apr 24 i   i         i    +* Re: Can D simulated by H terminate normally? POE2olcott
29 Apr 24 i   i         i    i`- Re: Can D simulated by H terminate normally? POE1Richard Damon
29 Apr 24 i   i         i    `* Re: Can D simulated by H terminate normally? POE6olcott
29 Apr 24 i   i         i     `* Re: Can D simulated by H terminate normally? POE5Richard Damon
29 Apr 24 i   i         i      `* Re: Can D simulated by H terminate normally? POE4olcott
29 Apr 24 i   i         i       `* Re: Can D simulated by H terminate normally? POE3Richard Damon
29 Apr 24 i   i         i        `* Re: Can D simulated by H terminate normally? POE2olcott
30 Apr 24 i   i         i         `- Re: Can D simulated by H terminate normally? POE1Richard Damon
28 Apr 24 i   i         `* Re: Can D simulated by H terminate normally?5Richard Damon
28 Apr 24 i   i          `* Re: Can D simulated by H terminate normally?4olcott
28 Apr 24 i   i           `* Re: Can D simulated by H terminate normally?3Richard Damon
28 Apr 24 i   i            `* Re: Can D simulated by H terminate normally?2olcott
28 Apr 24 i   i             `- Re: Can D simulated by H terminate normally?1Richard Damon
28 Apr 24 i   `* Re: Can D simulated by H terminate normally?2olcott
28 Apr 24 i    `- Re: Can D simulated by H terminate normally?1Richard Damon
28 Apr 24 `* Re: Can D simulated by H terminate normally?136olcott
28 Apr 24  `* Re: Can D simulated by H terminate normally?135Richard Damon
28 Apr 24   `* Re: Can D simulated by H terminate normally?134olcott
28 Apr 24    `* Re: Can D simulated by H terminate normally?133Richard Damon
28 Apr 24     `* Re: Can D simulated by H terminate normally?132olcott
28 Apr 24      `* Re: Can D simulated by H terminate normally?131Richard Damon
28 Apr 24       `* Re: Can D simulated by H terminate normally?130olcott
28 Apr 24        `* Re: Can D simulated by H terminate normally?129Richard Damon
28 Apr 24         +* Re: Can D simulated by H terminate normally?104olcott
28 Apr 24         i+* Re: Can D simulated by H terminate normally?96Richard Damon
28 Apr 24         ii`* Re: Can D simulated by H terminate normally?95olcott
28 Apr 24         ii `* Re: Can D simulated by H terminate normally?94Richard Damon
28 Apr 24         ii  `* Re: Can D simulated by H terminate normally?93olcott
29 Apr 24         ii   `* Re: Can D simulated by H terminate normally?92Richard Damon
29 Apr 24         ii    `* Re: Can D simulated by H terminate normally?91olcott
29 Apr 24         ii     `* Re: Can D simulated by H terminate normally?90Richard Damon
29 Apr 24         ii      `* Re: Can D simulated by H terminate normally?89olcott
30 Apr 24         ii       `* Re: Can D simulated by H terminate normally?88Richard Damon
30 Apr 24         ii        `* Re: Can D simulated by H terminate normally?87olcott
30 Apr 24         ii         `* Re: Can D simulated by H terminate normally?86Richard Damon
30 Apr 24         ii          `* Re: Can D simulated by H terminate normally?85olcott
1 May 24         ii           `* Re: Can D simulated by H terminate normally?84Richard Damon
1 May 24         ii            `* Re: Can D simulated by H terminate normally?83olcott
1 May 24         ii             `* Re: Can D simulated by H terminate normally?82Richard Damon
1 May 24         ii              `* Re: Can D simulated by H terminate normally?81olcott
2 May 24         ii               `* Re: Can D simulated by H terminate normally?80Richard Damon
2 May 24         ii                +* Re: Can D simulated by H terminate normally?6olcott
2 May 24         ii                i`* Re: Can D simulated by H terminate normally?5Richard Damon
2 May 24         ii                i `* Re: Can D simulated by H terminate normally?4olcott
2 May 24         ii                i  `* Re: Can D simulated by H terminate normally?3Richard Damon
2 May 24         ii                i   `* Re: Can D simulated by H terminate normally?2olcott
2 May 24         ii                i    `- Re: Can D simulated by H terminate normally?1Richard Damon
18 May 24         ii                +- Re: Can D simulated by H terminate normally?1Richard Damon
18 May 24         ii                +* Re: Can D simulated by H terminate normally? --- Message-ID provided4olcott
18 May 24         ii                i`* Re: Can D simulated by H terminate normally? --- Message-ID provided3Richard Damon
18 May 24         ii                i `* Re: Can D simulated by H terminate normally? --- Message-ID provided2olcott
18 May 24         ii                i  `- Re: Can D simulated by H terminate normally? --- Message-ID provided1Richard Damon
18 May 24         ii                +* Re: Can D simulated by H terminate normally? --- Message_ID Provided7olcott
18 May 24         ii                i+* Re: Can D simulated by H terminate normally? --- Message_ID Provided3Richard Damon
18 May 24         ii                ii`* Re: Can D simulated by H terminate normally? --- Message_ID Provided2olcott
18 May 24         ii                ii `- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
18 May 24         ii                i`* Re: Can D simulated by H terminate normally? --- Message_ID Provided3Richard Damon
18 May 24         ii                i `* Re: Can D simulated by H terminate normally? --- Message_ID Provided2olcott
18 May 24         ii                i  `- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
18 May 24         ii                +* Re: Can D simulated by H terminate normally? --- Message_ID Provided31olcott
18 May 24         ii                i`* Re: Can D simulated by H terminate normally? --- Message_ID Provided30Richard Damon
18 May 24         ii                i +* Re: Can D simulated by H terminate normally? --- Message_ID Provided2olcott
19 May 24         ii                i i`- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
19 May 24         ii                i `* Re: Can D simulated by H terminate normally? --- Message_ID Provided27olcott
19 May 24         ii                i  `* Re: Can D simulated by H terminate normally? --- Message_ID Provided26Richard Damon
19 May 24         ii                i   `* Re: Can D simulated by H terminate normally? --- Message_ID Provided25olcott
19 May 24         ii                i    `* Re: Can D simulated by H terminate normally? --- Message_ID Provided24Richard Damon
19 May 24         ii                i     `* Re: Can D simulated by H terminate normally? --- Message_ID Provided23olcott
19 May 24         ii                i      +* Re: Can D simulated by H terminate normally? --- Message_ID Provided15immibis
19 May 24         ii                i      i+* Re: Can D simulated by H terminate normally? --- Message_ID Provided9olcott
20 May 24         ii                i      ii`* Re: Can D simulated by H terminate normally? --- Message_ID Provided8immibis
20 May 24         ii                i      ii `* Re: Can D simulated by H terminate normally? --- Message_ID Provided7olcott
20 May 24         ii                i      ii  +* Re: Can D simulated by H terminate normally? --- Message_ID Provided3immibis
20 May 24         ii                i      ii  i`* Re: Can D simulated by H terminate normally? --- Message_ID Provided2olcott
21 May 24         ii                i      ii  i `- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
20 May 24         ii                i      ii  `* Re: Can D simulated by H terminate normally? --- Message_ID Provided3Richard Damon
20 May 24         ii                i      ii   `* Re: Can D simulated by H terminate normally? --- Message_ID Provided2olcott
21 May 24         ii                i      ii    `- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
19 May 24         ii                i      i`* Re: Can D simulated by H terminate normally? --- Message_ID Provided5olcott
19 May 24         ii                i      i +- Re: Can D simulated by H terminate normally? --- Message_ID Provided1Richard Damon
20 May 24         ii                i      i `* Re: Can D simulated by H terminate normally? --- Message_ID Provided3immibis
19 May 24         ii                i      `* Re: Can D simulated by H terminate normally? --- Message_ID Provided7Richard Damon
20 May 24         ii                `* Re: Can D simulated by H terminate normally? Message_ID Provided V230olcott
29 Apr 24         i+* Re: Can D simulated by H terminate normally?5Alan Mackenzie
14 May 24         i`* Is Richard a Liar?2olcott
28 Apr 24         +* Re: Can D simulated by H terminate normally?2olcott
28 Apr 24         `* Re: Can D simulated by H terminate normally?22olcott

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal