Re: Can someone please verify the execution trace of this?

Liste des GroupesRevenir à cl c++ 
Sujet : Re: Can someone please verify the execution trace of this?
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.lang.c++ comp.lang.c
Date : 21. May 2024, 15:31:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2i7no$jvcs$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla Thunderbird
On 5/21/2024 2:55 AM, Janis Papanagnou wrote:
On 21.05.2024 05:58, olcott wrote:
[...]
>
I cannot provide the definition for H because I am asking about
the behavior of D simulated by H for the infinite set of H/D pairs.
>
H is required to correctly simulate 1 to N steps of D and this
may or may not involve H simulating itself simulating D in recursive
simulation.
>
I have two fully operational versions of H that run under Windows
and Linux. I am not asking about those.
>
H uses an x86 emulator to emulate the machine code of D and
H is capable of emulating itself emulating D.
>
typedef int (*ptr)();  // ptr is pointer to int function
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 }
>
Correct simulation requires correctly emulating the x86 instructions
of D in the order specified by the machine code of D and may include
correctly emulating the x86 instructions of H in the order specified
by the machine code of H.
>
I need to have experts in these two forums verify that no D correctly
simulated by *pure function* H can possibly reach its own final state
at line 06 and halt in N steps of correct simulation.
 We're not doing your homework for you. Please provide or elaborate
a rationale or explanation for your claim, thought, or theorem, and
folks here may be able and willing to support you, or show you any
possibly existing deficiencies.
 
It is not homework.
I claim that D correctly simulated by H (using an x86 emulator)
never reaches its own final state at line 06 and halts for every
H/D pair matching the above template. Additional details are off-topic.

(Fred Zwarts has, with slightly different wording, already given this
hint to you just 24 hours ago. I notice he just repeated that post.)
 Just ignoring the replies thus far and stupidly repeating your code
is likely considered pathological behavior and may not be honored by
the audience.
 
I do not ignore the replies unless they change the subject.

If you don't understand that it's probably better to just hold your
breath until you turn blue instead of repeating your post without
generating any new insights (on both sides).
 
https://en.wikipedia.org/wiki/Pure_function#
>
I thought it was categorically impossible then Richard found a loophole
using static data. This new *pure function* requirement eliminates that
loophole.
>
>
 
--
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
18 May 24 * Can someone please verify the execution trace of this?136olcott
19 May 24 +- Re: Can someone please verify the execution trace of this?1Richard Damon
19 May 24 +* Re: Can someone please verify the execution trace of this?3Sam
19 May 24 i`* Re: Can someone please verify the execution trace of this?2olcott
19 May 24 i `- Re: Can someone please verify the execution trace of this?1jak
19 May 24 +* Re: Can someone please verify the execution trace of this?128Bonita Montero
19 May 24 i`* Re: Can someone please verify the execution trace of this?127olcott
19 May 24 i +- Re: Can someone please verify the execution trace of this?1Richard Damon
20 May 24 i `* Re: Can someone please verify the execution trace of this?125Bonita Montero
20 May 24 i  `* Re: Can someone please verify the execution trace of this?124olcott
20 May 24 i   +* Re: Can someone please verify the execution trace of this?54Bonita Montero
20 May 24 i   i`* Re: Can someone please verify the execution trace of this?53olcott
20 May 24 i   i +* Re: Can someone please verify the execution trace of this?44Bonita Montero
20 May 24 i   i i`* Re: Can someone please verify the execution trace of this?43olcott
20 May 24 i   i i `* Re: Can someone please verify the execution trace of this?42Bonita Montero
20 May 24 i   i i  `* Re: Can someone please verify the execution trace of this?41olcott
20 May 24 i   i i   `* Re: Can someone please verify the execution trace of this?40Bonita Montero
20 May 24 i   i i    `* Re: Can someone please verify the execution trace of this?39olcott
20 May 24 i   i i     +* Re: Can someone please verify the execution trace of this?2Richard Harnden
20 May 24 i   i i     i`- Re: Can someone please verify the execution trace of this?1olcott
20 May 24 i   i i     `* Re: Can someone please verify the execution trace of this?36Chris M. Thomasson
20 May 24 i   i i      `* Re: Can someone please verify the execution trace of this?35olcott
20 May 24 i   i i       `* Re: Can someone please verify the execution trace of this?34Chris M. Thomasson
20 May 24 i   i i        +* Re: Can someone please verify the execution trace of this?13olcott
20 May 24 i   i i        i`* Re: Can someone please verify the execution trace of this?12Chris M. Thomasson
20 May 24 i   i i        i `* Re: Can someone please verify the execution trace of this?11olcott
20 May 24 i   i i        i  +- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i i        i  +* Re: Can someone please verify the execution trace of this?3Chris M. Thomasson
20 May 24 i   i i        i  i`* Re: Can someone please verify the execution trace of this?2olcott
20 May 24 i   i i        i  i `- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i i        i  `* Re: Can someone please verify the execution trace of this?6Chris M. Thomasson
20 May 24 i   i i        i   `* Re: Can someone please verify the execution trace of this?5olcott
20 May 24 i   i i        i    `* Re: Can someone please verify the execution trace of this?4Chris M. Thomasson
20 May 24 i   i i        i     `* Re: Can someone please verify the execution trace of this?3olcott
20 May 24 i   i i        i      `* Re: Can someone please verify the execution trace of this?2Chris M. Thomasson
20 May 24 i   i i        i       `- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i i        `* Re: Can someone please verify the execution trace of this?20Chris M. Thomasson
20 May 24 i   i i         `* Re: Can someone please verify the execution trace of this?19olcott
20 May 24 i   i i          `* Re: Can someone please verify the execution trace of this?18Chris M. Thomasson
20 May 24 i   i i           `* Re: Can someone please verify the execution trace of this?17olcott
20 May 24 i   i i            `* Re: Can someone please verify the execution trace of this?16Chris M. Thomasson
20 May 24 i   i i             `* Re: Can someone please verify the execution trace of this?15olcott
20 May 24 i   i i              `* Re: Can someone please verify the execution trace of this?14Chris M. Thomasson
20 May 24 i   i i               `* Re: Can someone please verify the execution trace of this?13olcott
20 May 24 i   i i                `* Re: Can someone please verify the execution trace of this?12Chris M. Thomasson
20 May 24 i   i i                 +- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i i                 `* Re: Can someone please verify the execution trace of this?10olcott
20 May 24 i   i i                  `* Re: Can someone please verify the execution trace of this?9Chris M. Thomasson
20 May 24 i   i i                   `* Re: Can someone please verify the execution trace of this?8Chris M. Thomasson
20 May 24 i   i i                    `* Re: Can someone please verify the execution trace of this?7olcott
20 May 24 i   i i                     +* Re: Can someone please verify the execution trace of this?5Chris M. Thomasson
20 May 24 i   i i                     i`* Re: Can someone please verify the execution trace of this?4olcott
20 May 24 i   i i                     i `* Re: Can someone please verify the execution trace of this?3Chris M. Thomasson
20 May 24 i   i i                     i  +- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i i                     i  `- Re: Can someone please verify the execution trace of this?1olcott
20 May 24 i   i i                     `- Re: Can someone please verify the execution trace of this?1Chris M. Thomasson
20 May 24 i   i `* Re: Can someone please verify the execution trace of this?8Fred. Zwarts
20 May 24 i   i  `* Re: Can someone please verify the execution trace of this?7olcott
20 May 24 i   i   +* Re: Can someone please verify the execution trace of this?2Paavo Helde
20 May 24 i   i   i`- Re: Can someone please verify the execution trace of this?1olcott
20 May 24 i   i   `* Re: Can someone please verify the execution trace of this?4Bonita Montero
20 May 24 i   i    `* Re: Can someone please verify the execution trace of this?3olcott
21 May 24 i   i     `* Re: Can someone please verify the execution trace of this?2Fred. Zwarts
21 May 24 i   i      `- Re: Can someone please verify the execution trace of this?1olcott
20 May 24 i   +* Re: Can someone please verify the execution trace of this?37wij
20 May 24 i   i+* Re: Can someone please verify the execution trace of this?5olcott
20 May 24 i   ii`* Re: Can someone please verify the execution trace of this?4wij
20 May 24 i   ii `* Re: Can someone please verify the execution trace of this?3olcott
20 May 24 i   ii  `* Re: Can someone please verify the execution trace of this?2wij
20 May 24 i   ii   `- Re: Can someone please verify the execution trace of this?1olcott
21 May 24 i   i`* Re: Can someone please verify the execution trace of this?31Keith Thompson
21 May 24 i   i +- Re: Can someone please verify the execution trace of this?1Keith Thompson
21 May 24 i   i `* Re: Can someone please verify the execution trace of this?29olcott
21 May 24 i   i  +- Re: Can someone please verify the execution trace of this?1Fred. Zwarts
21 May 24 i   i  `* Re: Can someone please verify the execution trace of this?27Janis Papanagnou
21 May 24 i   i   `* Re: Can someone please verify the execution trace of this?26olcott
21 May 24 i   i    `* Re: Can someone please verify the execution trace of this?25Bonita Montero
21 May 24 i   i     `* Can D correctly simulated by H reach its own line 06 and halt?24olcott
21 May 24 i   i      `* Re: Can D correctly simulated by H reach its own line 06 and halt?23Bonita Montero
21 May 24 i   i       `* Re: Can D correctly simulated by H reach its own line 06 and halt?22olcott
21 May 24 i   i        `* Re: Can D correctly simulated by H reach its own line 06 and halt?21Bonita Montero
21 May 24 i   i         `* Re: Can D correctly simulated by H reach its own line 06 and halt?20olcott
21 May 24 i   i          `* Re: Can D correctly simulated by H reach its own line 06 and halt?19Bonita Montero
21 May 24 i   i           `* Re: Can D correctly simulated by H reach its own line 06 and halt?18olcott
22 May 24 i   i            +* Re: Can D correctly simulated by H reach its own line 06 and halt?7Bonita Montero
22 May 24 i   i            i`* Re: Can D correctly simulated by H reach its own line 06 and halt?6olcott
22 May 24 i   i            i `* Re: Can D correctly simulated by H reach its own line 06 and halt?5Bonita Montero
22 May 24 i   i            i  `* Re: Can D correctly simulated by H reach its own line 06 and halt?4olcott
22 May 24 i   i            i   `* Re: Can D correctly simulated by H reach its own line 06 and halt?3Bonita Montero
22 May 24 i   i            i    `* Re: Can D correctly simulated by H reach its own line 06 and halt?2olcott
22 May 24 i   i            i     `- Re: Can D correctly simulated by H reach its own line 06 and halt?1Bonita Montero
22 May 24 i   i            `* D correctly simulated by H remains stuck in recursive simulation10olcott
22 May 24 i   i             +* Re: D correctly simulated by H remains stuck in recursive simulation8wij
22 May 24 i   i             i+* Re: D correctly simulated by H remains stuck in recursive simulation [good attempt]3olcott
22 May 24 i   i             ii`* Re: D correctly simulated by H remains stuck in recursive simulation [good attempt]2olcott
22 May 24 i   i             ii `- Re: D correctly simulated by H remains stuck in recursive simulation [good attempt]1wij
22 May 24 i   i             i`* Re: D correctly simulated by H remains stuck in recursive simulation4olcott
23 May 24 i   i             i `* Re: D correctly simulated by H remains stuck in recursive simulation3Chris M. Thomasson
23 May 24 i   i             i  `* Re: D correctly simulated by H remains stuck in recursive simulation2olcott
23 May 24 i   i             i   `- Re: D correctly simulated by H remains stuck in recursive simulation1Chris M. Thomasson
22 May 24 i   i             `- Re: D correctly simulated by H remains stuck in recursive simulation1Fred. Zwarts
21 May 24 i   `* Re: Can someone please verify the execution trace of this?32Sam
20 May 24 `* Re: Can someone please verify the execution trace of this?3Marcel Mueller

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal