Liste des Groupes | Revenir à c theory |
On 25/05/2025 10:14, Mikko wrote:But the string given *IS* the input to the analyzer. Turing Machines have two parts, the "State Machine", and the "Input String".On 2025-05-24 15:18:57 +0000, olcott said:<snip>
I think 'input string' is ambiguous here.All termination analyzers are required to report on the>
behavior that their input finite string specifies.
To report correctly. Though the input string to a termination analyzer usially is incomlete: the input string usually
specifies different behavours depending on the input that is
not shown to the termination analyzer, and the analyzer's
report must cover all of them.
It would be clearer if people used 'program string' if they mean the program whose halting behaviour is being investigated and reserved 'input string' for when they mean the data - that is:
The analyser must determine whether the program string would terminate if applied to the input string.
Clearer still would be to drop 'string' and set up a couple of unambiguous aliases:But, as PO has pointed out, you can't DIRECTLY give a Turing Machine a "program P", it only tasks as its input, the tape, which has a finite string from a finite alphabet.
The analyser must determine whether program P would terminate if applied to input tape T.
In the above, requoted here:The key point here is that the definiton of a Termination Analyzer is a machine that decides if the program described by its input will halt for ALL posssible inputs to it, thus the only "input string" that it sees is the representation of the program. The various inputs strings to the program are not specified.
> To report correctly. Though the input string to a termination
> analyzer usially is incomlete: the input string usually
> specifies different behavours depending on the input that is
> not shown to the termination analyzer, and the analyzer's
> report must cover all of them.
I can't decide which 'input string' means P and which means T.
Les messages affichés proviennent d'usenet.