On approximating real-world Halting Problems

14Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

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]. © Springer-Verlag Berlin Heidelberg 2005.

Cite

CITATION STYLE

APA

Köhler, S., Schindelhauer, C., & Ziegler, M. (2005). On approximating real-world Halting Problems. In Lecture Notes in Computer Science (Vol. 3623, pp. 454–466). Springer Verlag. https://doi.org/10.1007/11537311_40

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free