Re: Halting Problem Final Conclusion

From: Robert Low (mtx014_at_linux.services.coventry.ac.uk)
Date: 09/06/04


Date: 6 Sep 2004 14:08:50 GMT

G. Frege <no_spam@aol.com> wrote:
>On 6 Sep 2004 13:13:15 GMT, mtx014@linux.services.coventry.ac.uk (Robert
>Low) wrote:
>> There is an easy algorithm that never gives a wrong answer, but also
>> never gives a useful one [...].
>>
>Right.
>
>On the other hand I can present an algorithm which is able to give a
>answer which is slightly more useful.

Your algorithm is a variation on what I was thinking
about and characterizing as 'never useful'. You can
tell just by looking at the code that a program
whose only iterative structures are for
loops with a fixed number of repetitions will halt.
This is completely bleeding obvious.

>> I'd be surprised if he had anything even that good
>> to offer. (Pleasantly surprised, but surprised.)
>See?!

I don't see PO offering anything better than what
somebody with twenty-five minutes exposure to programming
constructs would come up with. In fact, I haven't
seen him yet offer anything that useful. I'm sure
that there *are* things more useful than that
to be found; there are, after all, standard strategies
for showing that while loops terminate (well, when
they do) it I'm sure it's possible to make a useful
algorithm for guessing/finding loop invariants and so
on. But where's the Olcott contribution to this
endeavour?

-- 
Rob.  http://www.mis.coventry.ac.uk/~mtx014/


Relevant Pages

  • Re: A Symbol- Abstracted Al
    ... What did the algorithm you used look like. ... Except the loops must be optimized ... I was making a DES cracker example and had Visual C6.0 default to ... The basic code is the correct and functional code, ...
    (sci.crypt)
  • Re: Spatial Optimization Algorithm Help
    ... > Are you using a formal pseudocode or your own notation? ... > which you correctly addressed in your algorithm). ... subset" loops, which enumerate combinations. ... an algorithm with your favourite search engine (search for something like ...
    (comp.programming)
  • Re: APL Efficiency (Project Euler #12)
    ... and especially ones that do not need loops that are fast an effecient. ... place to obtain the same information faster in APL? ... number of divisors algorithm. ...
    (comp.lang.apl)
  • APL Efficiency (Project Euler #12)
    ... I am feeling more comfortable in APL now, and most things are beginning to make sense, though some of the best practices still elude me. ... Ignoring the issue of composition at the moment, which I will address in another message if I ever formulate things well enough, I have found that it is easy to write both inefficient looping code and very memory intensive/inefficient code without loops. ... At first, I could not do a brute force algorithm because of space, so I settled for a loop. ... This basically did a naive prime factorization and number of divisors algorithm. ...
    (comp.lang.apl)
  • Re: APL Efficiency (Project Euler #12)
    ... and especially ones that do not need loops that are fast an effecient. ... my APL implementation. ... number of divisors algorithm. ... What is the value of the first triangle number ...
    (comp.lang.apl)