# Is the set of undecidable problems decidable?

I would like to know if the set of undecidable problems (within ZFC or other standard system of axioms) is decidable (in the same sense of decidable). Thanks in advance, and I apologize if the question is too basic.

-
I think that this was addressed somewhere on math.stackexchange.com however, I cannot find it. –  Asaf Karagila Nov 20 '11 at 16:27
Perhaps it is worth clarifying that the term "undecidable" refers to "independece in ZFC", while the term "decidable" refers to "computable (also called recursive)" –  boumol Nov 20 '11 at 16:59
This set in non-computable. Why? Let us suppose that the set of independent statements is computable. Then, so is its complement, i.e., the set of formulas $\varphi$ such that either $ZFC \vdash \varphi$ or $ZFC \vdash \neg \varphi$. Using this it easily follows that the set of consequences of ZFC is decidable, which is well-known to be false. –  boumol Nov 20 '11 at 17:04

No, in fact the situation is even worse than that. The set $T$ of all (Gödel codes for) sentences that are provable from ZFC is computably enumerable; the set $F$ of all sentences that refutable from ZFC is also computably enumerable. These two sets $T$ and $F$ form an inseparable pair: $T \cap F = \varnothing$ but there is no computable set $C$ such that $T \subseteq C$ and $F \cap C = \varnothing$.

In other words, there is no finite algorithm that can reliably tell whether a sentence is "not provable" or "not refutable." This is much weaker than asking for an algorithm to tell us whether a sentence is independent or not (in which case we could determine whether it is provable or refutable by waiting until it enters $T$ or $F$).

This remains true if ZFC is replaced by PA and some still weaker theories.

-

I believe that one can expand on boumol's answer, as follows.

The spirit of the OP's question attempts to regain Eden after the Turing-Godel expulsion.

One might attempt to repair the OP's attempt in a more general way by adjusting the mathematician's aim from settling questions (with a proof of either yes or no) to resolving questions (say, with proof of yes, or no, or independence (relative to consisistency), independence of independence, etc). One can even allow, in many different ways, stronger and stronger reasonable axioms (iterated consistency or reflection principles) as one pursues all these statements of iterated independence.

Trouble always ensues because a programmer can always dovetail a countable number of uniformly specified computer searches, making the program terminate if any one of those searches turns out successful.

Then having every formula in the theory fall into one class or another again makes the set of consequences of ZFC decidable, contradiction.

-
For every consistent recursively axiomatizable theory $T$ (one of which $ZFC$ is widely believed to be) there exists an integer number $K$ such that the following Diophantine equation (where all letters except $K$ are variables) has no solutions over non-negative integers, but this fact cannot be proved in $T$:
The set of numbers with this property is not recursively enumerable (let alone decidable). But curiously enough, one can effectively construct an infinite sequence of such numbers from the axioms of $T$.