Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Undecidable problem

From Wikipedia, the free encyclopedia
Yes-or-no question that cannot ever be solved by a computer
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Undecidable problem" – news ·newspapers ·books ·scholar ·JSTOR
(July 2019) (Learn how and when to remove this message)

Incomputability theory andcomputational complexity theory, anundecidable problem is adecision problem for which it is proved to be impossible to construct analgorithm that always leads to a correct yes-or-no answer. Thehalting problem is an example: it can be proven that there is no algorithm that correctly determines whether an arbitrary program eventually halts when run.[1]

Background

[edit]

A decision problem is a question which, for every input in some infinite set of inputs, requires a "yes" or "no" answer.[2] Those inputs can be numbers (for example, the decision problem "is the input aprime number?") or values of some other kind, such asstrings of aformal language.

The formal representation of a decision problem is a subset of thenatural numbers. For decision problems on natural numbers, the set consists of those numbers that the decision problem answers "yes" to. For example, the decision problem "is the input even?" is formalized as the set of even numbers. A decision problem whose input consists of strings or more complex values is formalized as the set of numbers that, via a specificGödel numbering, correspond to inputs that satisfy the decision problem's criteria.

A decision problemA is called decidable or effectively solvable if the formalized set ofA is arecursive set. Otherwise,A is called undecidable. A problem is called partially decidable, semi-decidable, solvable, or provable ifA is arecursively enumerable set.[nb 1]

Example: the halting problem in computability theory

[edit]

Incomputability theory, thehalting problem is adecision problem which can be stated as follows:

Given the description of an arbitraryprogram and a finite input, decide whether the program finishes running or will run forever.

Alan Turing proved in 1936 that a generalalgorithm running on aTuring machine that solves the halting problem forall possible program-input pairs necessarily cannot exist. Hence, the halting problem isundecidable for Turing machines.

Relationship with Gödel's incompleteness theorem

[edit]
icon
This sectionneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources in this section. Unsourced material may be challenged and removed.(August 2019) (Learn how and when to remove this message)

The concepts raised byGödel's incompleteness theorems 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 an effectiveaxiomatization of the natural numbers that is both complete andsound is impossible. The "sound" part is the weakening: it means that we require the axiomatic system in question to prove onlytrue statements about natural numbers. Since soundness impliesconsistency, this weaker form can be seen as acorollary of the strong form. It is important to observe that the statement of the standard form of Gödel's First Incompleteness Theorem is completely unconcerned with the truth value of a statement, but only concerns the issue of whether it is possible to find it through amathematical proof.

The weaker form of the theorem can be proved from the undecidability of the halting problem as follows.[3] Assume that we have a sound (and hence consistent) and complete effectiveaxiomatization of all truefirst-order logic statements aboutnatural numbers. Then we can build an algorithm that enumerates all these statements. This means that there is an algorithmN(n) that, given a natural numbern, computes a true first-order logic statement about natural numbers, and that for all true statements, there is at least onen such thatN(n) yields that statement. Now suppose we want to decide if the algorithm with representationa halts on inputi. We know that this statement can be expressed with a first-order logic statement, sayH(a,i). Since the axiomatization is complete it follows that either there is ann such thatN(n) =H(a,i) or there is ann such thatN(n) = ¬H(a,i). So if weiterate over alln until we either findH(a,i) or its negation, we will always halt, and furthermore, the answer it gives us will be true (by soundness). 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 sound and complete effective axiomatization of all true first-order logic statements about natural numbers must be false.

Examples of undecidable problems

[edit]
Main article:List of undecidable problems

Undecidable problems can be related to different topics, such aslogic,abstract machines ortopology. Since there areuncountably many undecidable problems,[nb 2] any list, even one ofinfinite length, is necessarily incomplete.

Examples of undecidable statements

[edit]
See also:List of statements independent of ZFC andIndependence (mathematical logic)

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 specifieddeductive system. The second sense is used in relation tocomputability theory and applies not to statements but todecision problems, 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 questionA in the problem either "the answer toA is yes" or "the answer toA is no".

Because of the two meanings of the word undecidable, the termindependent is sometimes used instead of undecidable for the "neither provable nor refutable" sense. The usage of "independent" is also ambiguous, however. It can 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 thetruth 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 variousphilosophical schools.

One of the first problems suspected to be undecidable, in the second sense of the term, was theword problem for groups, first posed byMax Dehn in 1911, which asks if there is a finitely presentedgroup for which no algorithm exists to determine whether two words are equivalent. This was shown to be the case in 1955.[4]

The combined work of Gödel andPaul Cohen has given two concrete examples of undecidable statements (in the first sense of the term): Thecontinuum hypothesis can neither be proved nor refuted inZFC (the standard axiomatization ofset theory), and theaxiom of choice can neither be proved nor refuted inZF (which is all the ZFC axiomsexcept 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, Russian mathematicianYuri Matiyasevich showed thatHilbert'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 theinteger roots of apolynomial in any number of variables with integer coefficients. Since we have only one equation butn variables, infinitely many solutions exist (and are easy to find) in thecomplex plane; however, the problem becomes impossible if solutions are constrained 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.[5]

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 byRice's theorem.

In 1973,Saharon Shelah showed theWhitehead problem ingroup theory is undecidable, in the first sense of the term, in standard set theory.[6]

In 1977, Paris and Harrington proved that theParis-Harrington principle, a version of theRamsey theorem, is undecidable in the axiomatization of arithmetic given by thePeano 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 boundc such that no specific number can be proven in that theory to haveKolmogorov complexity greater thanc. While Gödel's theorem is related to theliar paradox, Chaitin's result is related toBerry's paradox.

In 2007, researchers Kurtz and Simon, building on earlier work byJ.H. Conway in the 1970s, proved that a natural generalization of theCollatz problem is undecidable.[7]

In 2019, Ben-David and colleagues constructed an example of a learning model (named EMX), and showed a family of functions whose learnability in EMX is undecidable in standard set theory.[8][9]

See also

[edit]

Notes

[edit]
  1. ^This means that there exists an algorithm that halts eventually when the answer isyes but may run forever if the answer isno.
  2. ^There are uncountably many subsets of{0,1}{\displaystyle \{0,1\}^{*}}, only countably many of which can be decided by algorithms. However, also only countably many decision problems can be stated in any language.

References

[edit]
  1. ^"Formal Computational Models and Computability".www.cs.rochester.edu. Retrieved2022-06-12.
  2. ^"decision problem".Oxford Reference. Retrieved2022-06-12.
  3. ^Aaronson, Scott (21 July 2011)."Rosser's Theorem via Turing machines".Shtetl-Optimized. Retrieved2 November 2022.
  4. ^Novikov, Pyotr S. (1955), "On the algorithmic unsolvability of the word problem in group theory",Proceedings of the Steklov Institute of Mathematics (in Russian),44:1–143,Zbl 0068.01301
  5. ^Matiyasevich, Yuri (1970).Диофантовость перечислимых множеств [Enumerable sets are Diophantine].Doklady Akademii Nauk SSSR (in Russian).191:279–282.
  6. ^Shelah, Saharon (1974). "Infinite Abelian groups, Whitehead problem and some constructions".Israel Journal of Mathematics.18 (3):243–256.doi:10.1007/BF02757281.MR 0357114.S2CID 123351674.
  7. ^Kurtz, Stuart A.; Simon, Janos,"The Undecidability of the Generalized Collatz Problem", in Proceedings of the 4th International Conference on Theory and Applications of Models of Computation, TAMC 2007, held in Shanghai, China in May 2007.ISBN 3-540-72503-2.doi:10.1007/978-3-540-72504-6_49
  8. ^Ben-David, Shai; Hrubeš, Pavel; Moran, Shay; Shpilka, Amir; Yehudayoff, Amir (2019-01-07)."Learnability can be undecidable".Nature Machine Intelligence.1 (1):44–48.doi:10.1038/s42256-018-0002-3.ISSN 2522-5839.S2CID 257109887.
  9. ^Reyzin, Lev (2019)."Unprovability comes to machine learning".Nature.565 (7738):166–167.Bibcode:2019Natur.565..166R.doi:10.1038/d41586-019-00012-4.ISSN 0028-0836.PMID 30617250.
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Undecidable_problem&oldid=1296417778"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp