Re: Do Write Once TM's Halt?
- From: torbenm@xxxxxxxxxxxxx (Torben Ægidius Mogensen)
- Date: Wed, 21 Feb 2007 10:25:13 +0100
"Russell Easterly" <logiclab@xxxxxxxxxxx> writes:
"Torben "Ægidius" Mogensen" <torbenm@xxxxxxxxxxxxx> wrote in message
news:7zwt2dp54b.fsf@xxxxxxxxxxxxxxxx
"Russell Easterly" <logiclab@xxxxxxxxxxx> writes:
I still don't have a proof the Halting Problem is decidable
for write once TM's, but I have a much better proof that
it is decidable for read only TM's.
A read-only TM is just a two-way finite automaton, so such questions
are trivial.
I know there are proofs for the decidability of the halting problem
for finite state machines, but they don't seem trivial to me.
For bounded tapes, they are trivial: you just enumerate all possible
states. For unbounded tapes, see below.
For example, I described loops in my proof. Loops can have very
complex structures. I also described repeating strings that can be
executed repeatedly in any combination. Again, this can lead
to very complex halting input tapes.
Do finite state machines require finite length input tapes?
I read one paper that says there is a FSM that halts if
the input tape has an even number of 1's.
This would only be possible if the input tape is finite.
My proof applies to infinitely long input tapes.
TM's don't have infinite tapes, they have unbounded tapes. The
important difference is that the tape at all times has finite support,
i.e., that it is blank outside a finite range (the size of which may
change during execution).
If you have a read-only tape, it too must be blank outside a certain
range, but this range doesn't change during execution. It is easy to
see that if a read-only TM with N states ever goes outside this range
by more than N spaces, it will not terminate. Hence, you can reduce
the termination problem to termination on a finite read-only tape,
which is, of course, trivial.
Torben
.
- Follow-Ups:
- Re: Do Write Once TM's Halt?
- From: Russell Easterly
- Re: Do Write Once TM's Halt?
- From: Patricia Shanahan
- Re: Do Write Once TM's Halt?
- References:
- Do Write Once TM's Halt?
- From: Russell Easterly
- Re: Do Write Once TM's Halt?
- From: TheGist
- Re: Do Write Once TM's Halt?
- From: r.e.s.
- Re: Do Write Once TM's Halt?
- From: Russell Easterly
- Re: Do Write Once TM's Halt?
- From: r.e.s.
- Re: Do Write Once TM's Halt?
- From: Chris Smith
- Re: Do Write Once TM's Halt?
- From: Russell Easterly
- Re: Do Write Once TM's Halt?
- From: Torben Ægidius Mogensen
- Re: Do Write Once TM's Halt?
- From: Russell Easterly
- Do Write Once TM's Halt?
- Prev by Date: Re: Worst-case Performance of Insertion Sort
- Next by Date: Re: Do Write Once TM's Halt?
- Previous by thread: Re: Do Write Once TM's Halt?
- Next by thread: Re: Do Write Once TM's Halt?
- Index(es):