Sujet : Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error
De : news.dead.person.stones (at) *nospam* darjeeling.plus.com (Mike Terry)
Groupes : comp.theory sci.logicDate : 06. Jun 2024, 01:33:42
Autres entêtes
Message-ID : <NLGcnaRSa8xKaP37nZ2dnZfqnPGdnZ2d@brightview.co.uk>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.17
On 05/06/2024 18:25, John Smith wrote:
On 5/06/24 18:49, olcott wrote:
My idea was to have the executed HH pass a portion of what is
essentially its own Turing Machine tape down to the simulated
instances of HH. It does do this now.
In other words, your idea is to have an incorrect simulation.
DD(DD) doesn't get passed a portion of any other machine's tape. If the simulation does, then the simulation is simulating something other than DD(DD). It might be simulating DD(DD,SecretParameter).
The only issue left that seems to not matter is that each simulated
HH needs to see if it must initialize its own tape.
Why shouldn't it always initialize its own tape?
Since this
has no effect on its halt status decision I don't think it makes
any difference.
>
I will double check everything to make sure there is no data passed
from the outer simulations to the inner simulations that can possibly
be used for any halt status decision by these inner simulated
instances of HH.
There are actually two different ways that it's possible to understand your program.
The inner DebugStep doesn't work the same as the outer DebugStep. Depending on which kind of viewpoint we use, we can say that the inner DebugStep is using secret information so it knows to work differently, or we can say that the inner DebugStep is normal (if directly executed), but it simulates differently from its direct execution (an incorrect simulation).
I'd put it like this...
The job of the DebugStep is to simulate 1 instruction of the simulated code. It does that the same for both inner and outer simulations, AFAICT.
So that's instruction-level simulation, but there's more to correct simulation than just correct instructions. Easiest if I give a code example:
---------------------------------------------
// declare Simulate function...
... // omitted to save me thinking about it :)
static int depth = 0;
void Target ()
{
if (depth == 0)
{
printf (" First time here!!\n");
}
else
{
printf (" Been here before!!\n");
}
depth++;
}
void main ()
{
printf ("Direct from main:\n");
Target (); // direct execution
printf ("Simulated:\n");
Simulate (Target);
}
---------------------------------------------
Output:
Direct from main:
First time here!!
Simulated:
Been here before!!
---------------------------------------------
(Rhetorical:) How come the simulation of Target by Simulate (which used DebugStep() internally) produced totally different output to the direct execution? It didn't even simulate the same instructions...
If we examine a trace of all the instructions that DebugStep executed we'll see that every instruction it simulated was simulated correctly. "So I've PROVED the simulation was correct"
says PO. Obviously more is needed, which is that in a simulation environment where all simulations share one single memory space, the functions being simulated need to follow "simulation-compatibility rules", such as "no use of mutable global variables" and so forth.
If I asked "Which DebugStep call was incorrect then?" that would be missing the point. All the DebugSteps are correct at the instruction simulation level - it is the wider environment that PO has created through his design decisions where the problem lies. [Similarly in your post, both the inner and outer DebugStep are correct in terms of each instruction they simulate. But in the wider picture, the inner simulation of HH is obviously Wrong]
Slightly tricky point: PO's larger aim here is to refute the Linz (and similar) proofs which are Turing Machine based. I.e. the subject to which simulation applies is the "machine" (+input). He translates this into a C world, where the his machines /should/ logically become a /program/.
Imagine PO had implemented his simulation more logically by:
1. Creating a totally new 32-bit address space
2. Loading the code to be simulated
3. Setting up initial stack and parameter arguments etc.
4. Stepping the situation as required, within that new environment
Then the Wrong output above would become fine, i.e. We'd see
---------------------------------------------
Output:
Direct from main:
First time here!!
Simulated:
First time here!!
---------------------------------------------
All would be good, and the restrictions on use of mutable global data and similar would not be required. That's because what is being simulated in this case is /the whole program/. That's actually what PO should want for his argument because it relates back to the Linz TMs. But PO has chosen a design with a quirky simulation where the subject of simulation is individual functions within some larger shared context. So he has only himself to blame for the compatibility restrictions...
Still, those restrictions are pretty much common sense if you get the purpose of the simulation, right? And PO would have reasoned up front that appropriate restriction will need to be followed, right? No chance...
Mike.
Date | Sujet | # | | Auteur |
3 Jun 24 | Why does Olcott care about simulation, anyway? | 172 | | immibis |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 2 | | Richard Damon |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 1 | | wij |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 149 | | Mike Terry |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 19 | | olcott |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | Richard Damon |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | immibis |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 16 | | Mike Terry |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 15 | | olcott |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 13 | | Mike Terry |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 12 | | olcott |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 11 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 10 | | olcott |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 3 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 2 | | olcott |
5 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 6 | | Mike Terry |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 5 | | olcott |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 3 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 2 | | olcott |
5 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | Richard Damon |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Mikes Review | 1 | | immibis |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 1 | | wij |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 1 | | wij |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 127 | | Ben Bacarisse |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Ben's Review | 125 | | olcott |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Ben's Review | 1 | | immibis |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Ben's Review | 85 | | Fred. Zwarts |
3 Jun 24 | Mike Terry Reply to Fred Zwarts | 84 | | olcott |
4 Jun 24 | Re: Mike Terry Reply to Fred Zwarts | 82 | | Fred. Zwarts |
4 Jun 24 | Re: Mike Terry Reply to Fred Zwarts | 81 | | Fred. Zwarts |
4 Jun 24 | Re: Mike Terry Reply to Fred Zwarts | 80 | | Mike Terry |
4 Jun 24 | How Partial Simulations correctly determine non-halting ---Mike Terry Error | 79 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 28 | | John Smith |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 27 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 26 | | John Smith |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 25 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 24 | | John Smith |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 5 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 4 | | John Smith |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 3 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | joes |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 18 | | Ben Bacarisse |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting --- Ben's strawman deception | 2 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting --- Ben's strawman deception | 1 | | olcon'tt |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 15 | | Mike Terry |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 14 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 6 | | John Smith |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 2 | | olcott |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | joes |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 3 | | Mike Terry |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error !!! | 2 | | olcott |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error !!! | 1 | | Richard Damon |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 7 | | Mike Terry |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 6 | | olcott |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 5 | | Mike Terry |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 4 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 2 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
5 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 49 | | olcott |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
6 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 47 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 45 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 13 | | Python |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 12 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 7 | | Python |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 6 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 4 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis --- | 2 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis --- | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations incorrectly determine non-halting ---Ben's 10/2022 analysis | 3 | | olcott |
7 Jun 24 | Re: How Partial Simulations incorrectly determine non-halting ---Ben's 10/2022 analysis | 1 | | news2 |
7 Jun 24 | Re: How Partial Simulations incorrectly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 24 | | olcott |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 1 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 22 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 21 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 20 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 19 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 18 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 17 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 16 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 15 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 14 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 13 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 12 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 11 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 10 | | olcott |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 9 | | Richard Damon |
8 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 8 | | olcott |
9 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 7 | | Richard Damon |
9 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 6 | | olcott |
9 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Should I quit Richard at this point? | 5 | | Richard Damon |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Ben's 10/2022 analysis | 6 | | joes |
7 Jun 24 | Re: How Partial Simulations correctly determine non-halting ---Mike Terry Error | 1 | | Richard Damon |
4 Jun 24 | Re: Mike Terry Reply to Fred Zwarts | 1 | | Fred. Zwarts |
4 Jun 24 | Re: Why does Olcott care about simulation, anyway? --- Ben's Review | 1 | | Richard Damon |
4 Jun 24 | Halting Problem is wrong two different ways | 37 | | olcott |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 1 | | Mike Terry |
3 Jun 24 | Re: Why does Olcott care about simulation, anyway? | 20 | | Fred. Zwarts |