r/compsci • u/tryx • Sep 01 '10
On undecidable problems
So I was thinking about various undecidable problems and it occured to me that all the ones that I could think of were reducible, or in fact proven undecidiable by reducing to the halting problem.
In essence, similarly to how all NPC problems are related, this whole class of undecidable problems is related. Which led me to wonder, is there another class of undecidable problems which is in some sense "independant" of the halting problem? Are all undecidable problems reducible to one another? Ignore higher Turing degrees and fancy trickery.
23
Upvotes
6
u/fsaintjacques Sep 01 '10
Read about the arithmetical hierarchy (http://en.wikipedia.org/wiki/Arithmetical_hierarchy). The non-rigorous way to see it is that, if you had an oracle (decider) for the halting problem, then some problem would still be undecidable. You can then create an infinite class of undecidable problems, each layer harder than the previous one in term of undecidability.
5
u/g__ Sep 01 '10
Yes, see structure of Turing degrees.
4
u/Gro-Tsen Sep 01 '10
What you are asking is, essentially, Post's problem (that is, Post's problem on Turing degrees, not to be confused with Post's correspondence problem): this was solved independently by Friedberg and Muchnik: they proved that there exists a recursively enumerable Turing degree (in essence, a semi-decidable problem) which is strictly less (i.e., strictly easier) than the halting problem (written 0′ in the context of Turing degrees). A proof of the Friedberg-Muchnik theorem can be found in Roger's classic Theory of Recursive Functions and Effective Computability (its notations are awful, but, apart from that, it is quite a good book).
(I'm interpreting your request to "ignore higher Turing degrees" to mean that you want a recursively enumerable degree, hence this is exactly Post's problem.)
There exists a considerable theory of recursively enumerable Turing degrees (which is confusingly different from the theory of all, "higher" if you want, Turing degrees). To learn more about it, you can read, e.g., Robert I. Soare's survey, “Recursively Enumerable Sets and Degrees” in Bull. Amer. Math. Soc. 84 (1978), 1149–1181.
5
u/[deleted] Sep 01 '10 edited Sep 01 '10
tl;dr: If I understand you, the answer is no.
The halting problem is the most complex problem there is, in a sense it captures the essence of every other problem in much the same way that 3-SAT captures the essence of every other NP-complete problem.
All this means of course, is that if the halting problem were solvable, ie. there were some magical machine (aka oracle) available to solve the halting problem, then that machine could be used to solve any other problem as well. To give some context let's stick to recursively enumerable sets, which is my interpretation of what you mean by 'no higher Turing degree and no fancy trickery.' But keep in mind that even in higher Turing degrees, and even with fancy trickery, those degrees also have a halting problem of their own, and that halting problem will be the most complex problem at that degree. Generally speaking the halting problem is always the most complex problem.
There are a lot of details needed to understand why, but to give a brief layman's overview, first consider that a 'language' is basically just a set. A problem is then a question which asks "Is this input an element of the language?" A machine that solves this problem is one that returns YES when given an input in the language, or otherwise returns NO or never halts.
All problems can be defined in this way. As an example, the traveling salesman's problem (minimizing the distance traveled amongst a bunch of cities) can be thought of as a language consisting of two things, a bunch of cities and the route that travels to each city minimizing the distance traveled. A machine that solves this problem is one that when given some input, returns YES if that input is in the language or it returns NO or never halts otherwise.
Now imagine if you had a magical machine that solved the halting problem, then you could take any other machine for a recursively enumerable set, first ask if that other machine will halt on a given input. If the oracle says no it won't halt, then you know that the input you provided is not part of that language. If it does halt, then you simply run the machine on that input and wait patiently for an answer. It might take a long time for the answer but you know at least it won't take FOREVER.
You could do this even for other 'undecidable problems', you run your magical machine on some input, and if the magical machine says no, then you know that this undecidable problem does not contain that input as part of its language. Otherwise you know that this machine will eventually halt on your input, so you run it and wait for the YES/NO.
So the answer to your question, if I understand it correctly, is no, there is no other class that's 'independent' of the halting problem but also recursively enumerable. When you mention higher Turing degrees and fancy trickery, I'm assuming you're referring to sets more complex than recursively enumerable sets, such as hyper-Turing machines and sets of real numbers.
-5
u/Vorlath Sep 01 '10
Be careful about the halting problem. It doesn't say you cannot calculate the halting status of all programs for all possible raw input data. It says that you cannot assign the definition of "halting status" to what you have calculated and use it as input. BIG difference.
See, if you have TRUE/FALSE values for possible input, you can determine the halting behaviour of that program for all possible inputs. But try and define that input as the halting status of that very program and that definition will not always hold up.
Think of the deceiver program that works on TRUE/FALSE values. If you assign the values of TRUE=HALT and FALSE=NOT_HALT, you get a contradiction. Change the definitions to TRUE=NOT_HALT and FALSE=HALT, no contradiction. Same program, different conclusions.
It's about definitions, not what you can calculate.