On approximating real-world Halting Problems

Sven Köhler, Christian Schindelhauer, Martin Ziegler

Research output: Contribution to journalConference articlepeer-review

14 Scopus citations

Abstract

No algorithm can of course solve the Halting Problem, that is, decide within finite time always correctly whether a given program halts on a certain given input. It might however be able to give correct answers for 'most' instances and thus solve it at least approximately. Whether and how well such approximations are feasible highly depends on the underlying encodings and in particular the Gödelization (programming system) which in practice usually arises from some programming language. We consider BrainF*ck (BF), a simple yet Turing-complete real-world programming language over an eight letter alphabet, and prove that the natural enumeration of its syntactically correct sources codes induces a both efficient and dense Gödelization in the sense of [Jakoby&Schindelhauer'99]. It follows that any algorithm M approximating the Halting Problem for BF errs on at least a constant fraction εM > 0 of all instances of size n for infinitely many n. Next we improve this result by showing that, in every dense Gödelization, this constant lower bound ε to be independent of M; while, the other hand, the Halting Problem does admit approximation up to arbitrary fraction δ > 0 by an appropriate algorithm Mδ handling instances of size n for infinitely many n. The last two results complement work by [Lynch'74].

Original languageEnglish
Pages (from-to)454-466
Number of pages13
JournalLecture Notes in Computer Science
Volume3623
DOIs
StatePublished - 2005
Externally publishedYes
Event15th International Symposium on Fundamentals of Computation Theory, FCT 2005 - Lubeck, Germany
Duration: 17 Aug 200520 Aug 2005

Fingerprint

Dive into the research topics of 'On approximating real-world Halting Problems'. Together they form a unique fingerprint.

Cite this