- Undecidable problem
In
computability theory andcomputational complexity theory , an undecidable problem is adecision problem for which it is impossible to construct analgorithm that leads to a yes-or-no answer - the problem is not decidable.A "decision problem" is any arbitrary yes-or-no question on an infinite set of inputs. Because of this, it is traditional to define the decision problem equivalently as: the set of inputs for which the problem returns "yes".
These inputs can be natural numbers, but also other values of some other kind, such as strings of a
formal language . Using some encoding, such asGödel number s, the strings can be encoded as natural numbers. Thus, a decision problem informally phrased in terms of a formal language is also equivalent to a set ofnatural numbers . To keep the formal definition simple, it is phrased in terms of subsets of the natural numbers.Formally, a decision problem is a subset of the natural numbers. The corresponding informal problem is that of deciding whether a given number is in the set.
A decision problem "A" is called decidable or effectively solvable if "A" is a
recursive set . A problem is called partially decidable, semidecidable, solvable, or provable if "A" is arecursively enumerable set . Partially decidable problems and any other problems that are not decidable are called undecidable.The undecidable problem in computability theory
In computability theory, the halting problem is a
decision problem which can be stated as follows::"Given a description of a program and a finite input, decide whether the program finishes running or will run forever, given that input."
Alan Turing proved in 1936 that a generalalgorithm running on aTuring machine that solves the halting problem for "all" possible program-input pairs necessarily cannot exist. Hence, we say that the halting problem is "undecidable" over Turing machines.Relationship with Gödel's incompleteness theorem
The
concept s raised byGödel's incompleteness theorem s are very similar to those raised by the halting problem, and the proofs are quite similar. In fact, a weaker form of the First Incompleteness Theorem is an easy consequence of the undecidability of the halting problem. This weaker form differs from the standard statement of the incompleteness theorem by asserting that a complete, consistent and soundaxiomatization of all statements about natural numbers is unachievable. The "sound" part is the weakening: it means that we require the axiomatic system in question to prove only "true" statements about natural numbers (it's very important to observe that the statement of the standard form of Gödel's First Incompleteness Theorem is completely unconcerned with the question of truth, but only concerns the issue of whether it can be proven).The weaker form of the theorem can be proved from the undecidability of the halting problem as follows. Assume that we have a consistent and complete
axiomatization of all truefirst-order logic statements aboutnatural number s. Then we can build an algorithm that enumerates all these statements. This means that there is an algorithm "N"("n") that, given a natural number "n", computes a true first-order logic statement about natural numbers such that, for all the true statements, there is at least one "n" such that "N"("n") yields that statement. Now suppose we want to decide if the algorithm with representation "a" halts on input "i". We know that this statement can be expressed with a first-order logic statement, say "H"("a", "i"). Since the axiomatization is complete it follows that either there is an "n" such that "N"("n") = "H"("a", "i") or there is an "n" such that "N"("n") = ¬ "H"("a", "i"). So if weiterate over all "n" until we either find "H"("a", "i") or its negation, we will always halt. This means that this gives us an algorithm to decide the halting problem. Since we know that there cannot be such an algorithm, it follows that the assumption that there is a consistent and complete axiomatization of all true first-order logic statements about natural numbers must be false.List of undecidable problems
In
computability theory , an undecidable problem is a problem whose language is not arecursive set . More informally, such problems cannot be solved in general by computers; see decidability. This is a list of undecidable problems. Note that there are uncountably many undecidable problems, so this list is necessarily incomplete. Though undecidable languages are not recursive languages, they may be asubset of Turing recognizable languages.Problems related to
abstract machine s* The
halting problem (determining whether a specified machine halts or runs forever).
* Thebusy beaver problem (determining the length of the longest halting computation among machines of a specified size).
*Rice's theorem states that for all non-trivial properties of partial functions, it is undecidable whether a machine computes a partial function with that property.Other problems
* The
Post correspondence problem .
* Theword problem for groups .
* The word problem for certainformal languages .
* The problem of determining if a given set ofWang tile s can tile the plane.
* The problem whether aTag system halts.
* The problem of determining theKolmogorov complexity of a string.
* Determination of the solvability of a Diophantine equation, known asHilbert's tenth problem
* Determining whether two finitesimplicial complex es are homeomorphic
* Determining whether thefundamental group of a finite simplicial complex is trivial
* Determining if acontext-free grammar generates all possible strings, or if it is ambiguous.
* Given two context-free grammars, determining whether they generate the same set of strings, or whether one generates a subset of the strings generated by the other, or whether there is any string at all that both generate.Examples of undecidable statements
There are two distinct senses of the word "undecidable" in contemporary use. The first of these is the sense used in relation to Gödel's theorems, that of a statement being neither provable nor refutable in a specified
deductive system . The second sense is used in relation tocomputability theory and applies not to statements but todecision problem s, which are countably infinite sets of questions each requiring a yes or no answer. Such a problem is said to be undecidable if there is nocomputable function that correctly answers every question in the problem set. The connection between these two is that if a decision problem is undecidable (in the recursion theoretical sense) then there is no consistent, effectiveformal system which proves for every question "A" in the problem either "the answer to "A" is yes" or "the answer to "A" is no".Because of the two meanings of the word undecidable, the term independent is sometimes used instead of undecidable for the "neither provable nor refutable" sense. The usage of "independent" is also ambiguous, however. Some use it to mean just "not provable", leaving open whether an independent statement might be refuted.
Undecidability of a statement in a particular deductive system does not, in and of itself, address the question of whether the truth value of the statement is well-defined, or whether it can be determined by other means. Undecidability only implies that the particular deductive system being considered does not prove the truth or falsity of the statement. Whether there exist so-called "absolutely undecidable" statements, whose truth value can never be known or is ill-specified, is a controversial point among various philosophical schools.
One of the first problems suspected to be undecidable, in the second sense of the term, was the
word problem for groups , first posed byMax Dehn in 1911, which asks if there is a finitely presented group for which no algorithm exists to determine whether two words are equivalent. This was shown to be the case in 1952.The combined work of Gödel and Paul Cohen has given two concrete examples of undecidable statements (in the first sense of the term): The
continuum hypothesis can neither be proved nor refuted inZFC (the standard axiomatization ofset theory ), and theaxiom of choice can neither be proved nor refuted in ZF (which is all the ZFC axioms "except" the axiom of choice). These results do not require the incompleteness theorem. Gödel proved in 1940 that neither of these statements could be disproved in ZF or ZFC set theory. In the 1960s, Cohen proved that neither is provable from ZF, and the continuum hypothesis cannot be proven from ZFC.In 1970, Soviet mathematician
Yuri Matiyasevich showed that Hilbert's Tenth Problem, posed in 1900 as a challenge to the next century of mathematicians, cannot be solved. Hilbert's challenge sought an algorithm which finds all solutions of aDiophantine equation . A Diophantine equation is a more general case ofFermat's Last Theorem ; we seek the integer roots of apolynomial in any number of variables with integer coefficients. Since we have only one equation but "n" variables, infinitely many solutions exist (and are easy to find) in thecomplex plane ; the problem becomes difficult (impossible) by constraining solutions to integer values only. Matiyasevich showed this problem to be unsolvable by mapping a Diophantine equation to arecursively enumerable set and invoking Gödel's Incompleteness Theorem. [Enumerable sets are Diophantine, cite book |date=1970 |title= Doklady Akademii Nauk SSSR|author=Yuri Matiyasevich|pages=279-82]In 1936,
Alan Turing proved that thehalting problem —the question of whether or not aTuring machine halts on a given program—is undecidable, in the second sense of the term. This result was later generalized toRice's theorem .In 1973, the
Whitehead problem ingroup theory was shown to be undecidable, in the first sense of the term, in standard set theory.In 1977, Paris and Harrington proved that the Paris-Harrington principle, a version of the
Ramsey theorem , is undecidable in the axiomatization of arithmetic given by the Peano axioms but can be proven to be true in the larger system ofsecond-order arithmetic .Kruskal's tree theorem , which has applications in computer science, is also undecidable from the Peano axioms but provable in set theory. In fact Kruskal's tree theorem (or its finite form) is undecidable in a much stronger system codifying the principles acceptable on basis of a philosophy of mathematics called predicativism.Goodstein's theorem is a statement about theRamsey theory of the natural numbers that Kirby and Paris showed is undecidable in Peano arithmetic.Gregory Chaitin produced undecidable statements inalgorithmic information theory and proved another incompleteness theorem in that setting. Chaitin's theorem states that for any theory that can represent enough arithmetic, there is an upper bound "c" such that no specific number can be proven in that theory to haveKolmogorov complexity greater than "c". While Gödel's theorem is related to theliar paradox , Chaitin's result is related toBerry's paradox .Douglas Hofstadter gives a notable alternative proof of incompleteness, inspired by Gödel, in his bookGödel, Escher, Bach .References
Wikimedia Foundation. 2010.