Liste des Groupes | Revenir à c theory |
On 2024-07-27 14:59:34 +0000, olcott said:void Infinite_Recursion()
On 7/27/2024 9:50 AM, Alan Mackenzie wrote:The quoted criterion requires a partial simulation that discontinues theolcott <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>
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.
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.
Les messages affichés proviennent d'usenet.