Re: functions that halt

From: Stephan Schulz (schulz_at_sunbroy2.informatik.tu-muenchen.de)
Date: 04/09/04


Date: Fri, 9 Apr 2004 12:51:35 +0000 (UTC)

In article <4071ec2c$0$16965$afc38c87@news.optusnet.com.au>, |-|erc wrote:
>
>
> thats conjecture. noone in industry what so ever writes programs
> that don't halt.
> why are mathematicians allowed this freedom?

Well, if you are very finicky, all our computers are just finite
automata, and the Halting Problem is decidable. Even in that case:

Counterexample 1: Any UNIX d(a)emon.

If you allow for the usual abstraction (unlimited resources), you get
better counterexamples:

Counterexample 2: Any program that tries to find special solutions to
generally undecidable programs, e.g. theorem provers for first or
higher-order logic (plug: check www.eprover.org) or model finders.

Note that there is no (computable) syntactic characterisation for the
class of all programs that always halt (simple diagonalisation
proof).

Bye,

    Stephan

-- 
-------------------------- It can be done! ---------------------------------
   Please email me as schulz@informatik.tu-muenchen.de (Stephan Schulz)
----------------------------------------------------------------------------


Relevant Pages

  • Re: functions that halt
    ... > Well, if you are very finicky, all our computers are just finite ... and the Halting Problem is decidable. ... > Counterexample 2: Any program that tries to find special solutions to ... In practice they have a stop button and halt. ...
    (comp.theory)
  • Re: Its HOW MANY TIME again sci.matht !
    ... when x and y are such that the UTM does not halt on ... down, down, and NEVER hit any bottom of anything? ... of such pits on the planet, as well as an infinite number ... We are NOT TALKING about computers. ...
    (sci.logic)
  • Re: Its HOW MANY TIME again sci.matht !
    ... > row,col then UTMIS meaningless. ... > arguments WHERE IT DOESN'T HALT. ... > You can't TELL where the blanks are in utm! ... because the real world is not like that, computers are not like that, and ...
    (sci.logic)
  • Re: Halting Problem
    ... Now, even if you assume infinite time and wearless computers, our ... computers are not Turing Machines: they don't have infinite memory. ... You can easily prove that if it will ever halt, it halts in less than N ...
    (comp.programming)
  • Re: Ginas multiplication problem - what I got out of it
    ... > Peter believes 'All has to be knowable' which means that he believes ... > 'All proofs of unknowability must be wrong'. ... The counterexample is just a 'screwing-up' of Halt, ...
    (sci.logic)

Loading