Sujet : Re: Hypothetical possibilities --- Sipser approved criteria
De : polcott333 (at) *nospam* gmail.com (olcott)
Groupes : comp.theoryDate : 29. Jul 2024, 17:25:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v88fpn$i7kl$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 7/28/2024 3:21 AM, Mikko wrote:
On 2024-07-27 14:59:34 +0000, olcott said:
On 7/27/2024 9:50 AM, Alan Mackenzie wrote:
olcott <polcott333@gmail.com> wrote:
On 7/27/2024 1:54 AM, Mikko wrote:
>
If a simulator correctly simulates a finite number of instructions
where x86 program specifies an execution of an infinite number of
instructions then the simulation deviates from x86 semantics at the
point where the simulation stops but the x86 semantics specify
countinuation.
>
I paraphrase this as the requirement for a termination analyzer
to never terminate. That *is* a ridiculously stupid requirement.
>
I think you would do better to "paraphrase" it that a correct simulator
cannot always be a termination analyser. The two are different things.
>
>
*When you say if backwards (like that) it makes less sense*
A correct termination analyzer can always be based on a correct simulator using this criteria:
>
<MIT Professor Sipser agreed to ONLY these verbatim words 10/13/2022>
If simulating halt decider H correctly simulates its input D
until H correctly determines that its simulated D would never
stop running unless aborted then
>
H can abort its simulation of D and correctly report that D
specifies a non-halting sequence of configurations.
</MIT Professor Sipser agreed to ONLY these verbatim words 10/13/2022>
The quoted criterion requires a partial simulation that discontinues the
simulation in a situation where the input specifies that the execution
must be continued.
It also requires that the analyzer must be able to determine whithout
simulation whether the unsimulated behaviour ever terminates.
void Infinite_Recursion()
{
Infinite_Recursion();
}
_Infinite_Recursion()
[0000215a] 55 push ebp ; 1st line
[0000215b] 8bec mov ebp,esp ; 2nd line
[0000215d] e8f8ffffff call 0000215a ; 3rd line
[00002162] 5d pop ebp
[00002163] c3 ret
Size in bytes:(0010) [00002163]
Begin Local Halt Decider Simulation Execution Trace Stored at:113934
[0000215a][00113924][00113928] 55 push ebp ; 1st line
[0000215b][00113924][00113928] 8bec mov ebp,esp ; 2nd line
[0000215d][00113920][00002162] e8f8ffffff call 0000215a ; 3rd line
[0000215a][0011391c][00113924] 55 push ebp ; 1st line
[0000215b][0011391c][00113924] 8bec mov ebp,esp ; 2nd line
[0000215d][00113918][00002162] e8f8ffffff call 0000215a ; 3rd line
Local Halt Decider: Infinite Recursion Detected Simulation Stopped
If you cannot see that the above x86 machine code proves that
it will never halt then you can't possibly understand what I
have been saying.
It is like you reject mathematical induction as a wild guess.
In some
cases this is determinable but no analyzer can determine it in all
cases. Your attempt does it right in some cases but gets wrong the
case that many consider the most interesting.
-- Copyright 2024 Olcott "Talent hits a target no one else can hit; Geniushits a target no one else can see." Arthur Schopenhauer