Re: A modern view of the halting problem
- From: "T.M. Sommers" <tms@xxxxxx>
- Date: Mon, 23 Oct 2006 00:20:55 -0400
Alex McDonald wrote:
T.M. Sommers wrote:Alex McDonald wrote:T.M. Sommers wrote:Frank Kotler wrote:Herbert Kleebauer wrote:
A closed, finite digital system can by definition only be in one of N
different states. To decide whether a program halts or not, you
only have to execute it N clock cycles, either it halts within this time
or it never will halt.
Hmmm... Can we guarantee to hit all N states in N clock cycles? Doesn't
"seem right" to me, but I don't know much about it.
If you assume:
1) no input or other external influences (so the user doesn't say
no N+1 times when asked if he wants to quit); and
2) the next state depends solely on the current state (which
really includes #1); and
3) one state change per clock and one clock per state change,
then if you have not hit all N states in N clocks you must have
hit one state twice, which implies a loop that will endlessly repeat.
The method is not practical, except for trivially small N.
Who said anything about practical? I was just trying to point
out the underlying assumptions of the claim, with the expectation
that the impracticality would be then be even more obvious.
My apologies. I find it is safest to assume nothing on ala.
No apology necessary. No offense was taken. Although it maybe didn't sound like that.
--
Thomas M. Sommers -- tms@xxxxxx -- AB2SB
.
- References:
- A modern view of the halting problem
- From: Charles A. Crayne
- Re: A modern view of the halting problem
- From: Herbert Kleebauer
- Re: A modern view of the halting problem
- From: randyhyde@xxxxxxxxxxxxx
- Re: A modern view of the halting problem
- From: Herbert Kleebauer
- Re: A modern view of the halting problem
- From: Frank Kotler
- Re: A modern view of the halting problem
- From: T.M. Sommers
- Re: A modern view of the halting problem
- From: Alex McDonald
- Re: A modern view of the halting problem
- From: T.M. Sommers
- Re: A modern view of the halting problem
- From: Alex McDonald
- A modern view of the halting problem
- Prev by Date: Re: A modern view of the halting problem
- Next by Date: Re: 12 Misconceptions
- Previous by thread: Re: A modern view of the halting problem
- Next by thread: Re: A modern view of the halting problem
- Index(es):
Relevant Pages
|