22

I've recently heard an interesting analogy which states that Turing's proof of the undecidability of the halting problem is very similar to Russell's barber paradox.

So I got to wonder: mathematicians did eventually manage to make set theory consistent by transitioning from Cantor's naive formulation of the field to a more complex system of axioms (ZFC set theory), making important exclusions (restrictions) and additions along the way.

So would it perhaps be possible to try and come up with an abstract description of general computation that is more powerful and more expressive than Turing machines, and with which one could obtain either an existential proof or maybe even an algorithm for solving the halting problem for an arbitrary Turing-machine?

babou
  • 19,645
  • 43
  • 77
H2CO3
  • 323
  • 2
  • 6

5 Answers5

18

Well, you can always consider a Turing machine equipped with an oracle for the ordinary Turing machine halting problem. That is, your new machine has a special tape, onto which it can write the description of an ordinary Turing machine and its input and ask if that machine halts on that input. In a single step, you get an answer, and you can use that to perform further computation. (It doesn't matter whether it's in a single step or not: it would be enough if it was guaranteed to be in some finite number of steps.)

However, there are two problems with this approach.

  1. Turing machines equipped with such an oracle can't decide their own halting problem: Turing's proof of the undecidability of the ordinary halting problem can easily be modified to this new setting. In fact, there's an infinite hierarchy, known as the "Turing degrees", generated by giving the next level of the hierarchy an oracle for the halting problem of the previous one.

  2. Nobody has ever suggested any way in which such an oracle could be physically implemented. It's all very well as a theoretical device but nobody has any clue how to build one.

Also, note that ZFC is, in a sense, weaker than naive set theory, not stronger. ZFC can't express Russell's paradox, whereas naive set theory can. As such, a better analogy would be to ask whether the halting problem is decidable for weaker models of computation than Turing machines. For example, the halting problem for deterministic finite automata (DFAs) is decidable, since DFAs are guaranteed to halt for every input.

David Richerby
  • 82,470
  • 26
  • 145
  • 239
16

You cannot really compare. Naive set theory had paradoxes that were eliminated by ZFC set theory. The theory has to be improved for consistency, as a basic assumption of scientific work is that consistency is achievable (else reasonning becomes a chancy business). I suppose mathematicians expected it had to be possible, and worked to resolve the issue.

There is no such situation with computation theory and the halting problem. There is no paradox, no inconsistency. It just so happens that there is no Turing machine that can solve the TM halting problem. It is simply a theorem, not a paradox.

So it may be that some breakthrough in our understanding of the universe will lead to computation models beyond what we can envision now. The only such event, in a very weak form, that remains within the TM realm, was possibly quantum computing. Other than this very weak example that touches complexity (how long does it take?) rather than computability (is it feasible?), I doubt anyone on this planet has a clue that computability beyond TM is to be expected.

Furthermore, the halting problem is a direct consequence of the fact that Turing machines are describable by a finite piece of text, a sequence of symbols. This is actually true of all our knowledge (as far as we know), and that is why speech and books are so important. This is true of all our techniques to describe proofs and computations.

So even if we were to find a way to extend the way we compute, say with the T+ machines. Either it would mean that we have found a way of expressing knowledge beyond writing finite document, in which case the whole thing falls out of my jurisdiction (I claim absolute incompetence) and probably anyone else's. Or it would still be expressible in finite documents, in which case it would have its own halting problem for T+ machines. And you would be asking the question again.

Actually that situation does exists in reverse. Some types of machines are weaker than Turing machines, such as Linear Bounded Automata (LBA). They are quite powerful though, but it can be shown exactly as it is done for TM that LBA cannot solve the halting problem for LBA. But TM can solve it for LBA.

Finally, you can imagine more powerful computational models by introducing oracle, that are devices that can give answers to specific problems, and can be called by a TM for answers, but unfortunately do not exists physically. Such oracle-extended TM is an exemple of the T+ machine I considered above. Some of them can solve the TM halting problem (abstractedly, not for real), but cannot solve their own Halting problem, even abstractedly.

babou
  • 19,645
  • 43
  • 77
2

Warning: A philosophical / non-rigor answer

This might get a little bit "philosophical", but I think it fits the spirit of your question.

A non-repeatable machine

A corner stone of the proof of the halting problem is that a Turing machine behaves like a function: For the same input it always gives the same output. If you remove this property, you don't have to deal with the "general" halting problem, in the sense that the machine can discover its own properties. But you also loose a lot of the desirable theoretical properties of such a machine.

Removing properties

It's a little bit like going from set theory to category theory: You loose some of the "paradoxons" by losing the limitations. But the result is much more difficult to handle.

In this case it means: You would have no idea if the machine presents you the "correct" result. As soon as you can always decide which result is correct, you have to deal with some kind of "halting problem" by applying the machine to itself and construct a contradiction. So such a machine would probably not be very useful.

2

The Halting Problem was not formulated to express the limitations of Turing Machines, but rather to express a limitation of all logic systems which can be expressed using a finite number of symbols. Once a logic system has the ability to express the solutions to problems of certain complexity, it will also have the ability to express problems it can't solve. Any extension of a logic system sufficient to express solutions to all of the problems it couldn't solve before will also include the ability to express new problems it can't solve.

Given any particular "Enhanced Turing Machine" specification, it would be possible to specify a "Super-Enhanced Turing Machine" which could examine a program for the ETM and report whether it would halt, but the SETM would only be able to analyze programs for the ETM--it wouldn't be able to analyze SETM programs. There's no way to define a machine that can analyze programs for itself and determine whether they halt because the act of adding new features would create new requirements for a self-analyzer, and there's no way to make the features "catch up" to the requirements.

supercat
  • 1,281
  • 8
  • 11
0

Such machines have been envisioned, and are called super-Turing machines. Several major classes of super-turing machine are

  • Real number machines (i.e. analog computers)
  • Turing machines given infinite time
  • Nondeterministic turing machine

Not all super-turing machines can solve the halting problem (Nondeterminnistic turing machines, in particular, cannot). However, the conceptual machines have been created, at least in thought experiments.

Cort Ammon
  • 3,522
  • 14
  • 16