Sujet : Re: Termination analyzer defined ---OLCOTT IS WRONG !!!
De : richard (at) *nospam* damon-family.org (Richard Damon)
Groupes : comp.theory sci.logicDate : 16. May 2024, 01:25:47
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <v23jqb$15707$23@i2pn2.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Mozilla Thunderbird
On 5/15/24 10:55 AM, olcott wrote:
On 5/15/2024 2:56 AM, Mikko wrote:
On 2024-05-14 14:18:40 +0000, olcott said:
>
On 5/14/2024 4:34 AM, Mikko wrote:
On 2024-05-13 18:07:37 +0000, Jeff Barnett said:
>
On 5/13/2024 3:06 AM, Mikko wrote:
>
Anyway, if an analyzer can never tell whether a program terminates
with every possible input then it is not a termination analyzer.
>
I don't think the above is true in the way you meant it. Recall that the collection of all Turing machines with blank input tapes is the same set of computations as the collection with arbitrary input tapes. It's always possible to take any specific machine, T, and initial tape, I, and produce machine T' with blank initial input tape that is equivalent: T' initially writes I on its tape (say one character output per state in sequence) then continues with the set of states that comprises T.
>
So it is obvious that a termination analyzer (AKA a halt decider) restricted to blank tape problems will do quite nicely and it is also quite obvious that no such entity exists.
>
You only discuss halting decisions with specific inputs. THerefore you say
nothing about termination analyzers and don't show any mistake in my comment.
>
>
00 int H(ptr x, ptr x) // ptr is pointer to int function
01 int D(ptr x)
02 {
03 int Halt_Status = H(x, x);
04 if (Halt_Status)
05 HERE: goto HERE;
06 return Halt_Status;
07 }
08
09 int main()
10 {
11 H(D,D);
12 }
>
In any case you diverged away form the whole point of this thread.
Richard is wrong when he says that there exists an H/D pair such
that D simulated by H ever reaches past its own line 03.
>
The main topic (per OP) is the definition of "termination analyzer".
Whether someone is wrong about aomeone else is a secondary topic if
a topic at all, and pretty poitless anyway.
>
One can analyze whether a specific program will halt with a specific
input. This is especially important when the received view is that a
specific program cannot possibly handle a specific input correctly.
*I can call such a thing a doodad yet this would be less clear*
*Termination Analyzer H is Not Fooled by Pathological Input D*
is clear that it is only referring to one specific input.
But when you use the WORNG term, it jsut becomes lying.
Remember, the Term-of-the-art meaning for a Termination Analyzer, is a decider that decides if a given program halts on ALL inputs, not just one particlar one.
So, your H is NOT a "Termination Analyszer" per the term-of-the-art definition,