# List of undecidable problems

In computability theory, an **undecidable problem** is a type of computational problem that requires a yes/no answer, but where there cannot possibly be any computer program that always gives the correct answer; that is, any possible program would sometimes give the wrong answer or run forever without giving any answer. More formally, an undecidable problem is a problem whose language is not a recursive set; see the article Decidable language. There are uncountably many undecidable problems, so the list below is necessarily incomplete. Though undecidable languages are not recursive languages, they may be subsets of Turing recognizable languages: i.e., such undecidable languages may be recursively enumerable.

Many, if not most, undecidable problems in mathematics can be posed as word problems: determining when two distinct strings of symbols (encoding some mathematical concept or object) represent the same object or not.

For undecidability in axiomatic mathematics, see List of statements undecidable in ZFC.

## Contents

## Problems in logic[edit]

- Hilbert's Entscheidungsproblem.
- Type inference and type checking for the second-order lambda calculus (or equivalent).
^{[1]} - Determining whether a first-order sentence in the logic of graphs can be realized by a finite undirected graph.
^{[2]} - Trakhtenbrot's theorem - Finite satisfiability is undecidable.
- Satisfiability of first order Horn clauses

## Problems about abstract machines[edit]

- The halting problem (determining whether a Turing machine halts on a given input) and the mortality problem (determining whether it halts for every starting configuration).
- Determining whether a Turing machine is a busy beaver champion (i.e., is the longest-running among halting Turing machines with the same number of states).
- Rice's theorem states that for all nontrivial properties of partial functions, it is undecidable whether a given machine computes a partial function with that property.
- The halting problem for a Minsky machine: a finite-state automaton with no inputs and two counters that can be incremented, decremented, and tested for zero.
- Universality of a Nondeterministic Pushdown automaton: determining whether all words are accepted.

## Problems about matrices[edit]

- The mortal matrix problem: determining, given a finite set of
*n*×*n*matrices with integer entries, whether they can be multiplied in some order, possibly with repetition, to yield the zero matrix. This is known to be undecidable for a set of six or more 3 × 3 matrices, or a set of two 15 × 15 matrices.^{[3]} - Determining whether a finite set of upper triangular 3 × 3 matrices with nonnegative integer entries generates a free semigroup.
- Determining whether two finitely generated subsemigroups of
*M*_{n}(**Z**) have a common element.

## Problems in combinatorial group theory[edit]

- The word problem for groups.
- The conjugacy problem.
- The group isomorphism problem.

## Problems in topology[edit]

- Determining whether two finite simplicial complexes are homeomorphic.
- Determining whether a finite simplicial complex is (homeomorphic to) a manifold.
- Determining whether the fundamental group of a finite simplicial complex is trivial.

## Problems in analysis[edit]

- For functions in certain classes, the problem of determining: whether two functions are equal, known as the zero-equivalence problem (see Richardson's theorem);
^{[4]}the zeroes of a function; whether the indefinite integral of a function is also in the class.^{[5]}Of course, some subclasses of these problems are decidable. For example, there is an effective decision procedure for the elementary integration of any function which belongs to a field of transcendental elementary functions, the Risch algorithm.) - "The problem of deciding whether the definite contour multiple integral of an elementary meromorphic function is zero over an everywhere real analytic manifold on which it is analytic", a consequence of the MRDP theorem resolving Hilbert's tenth problem.
^{[5]}

## Other problems[edit]

- The Post correspondence problem.
- The problem of determining if a given set of Wang tiles can tile the plane.
- The problem whether a tag system halts.
- The problem of determining the Kolmogorov complexity of a string.
- Hilbert's tenth problem: the problem of deciding whether a Diophantine equation (multivariable polynomial equation) has a solution in integers.
- Determining if a context-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.
- Determining whether a given initial point with rational coordinates is periodic, or whether it lies in the basin of attraction of a given open set, in a piecewise-linear iterated map in two dimensions, or in a piecewise-linear flow in three dimensions.
^{[6]} - Determining whether a λ-calculus formula has a normal form.
- Conway's Game of Life on whether given an initial pattern and another pattern, can the latter pattern ever appear from the initial one.
- Rule 110 - most questions involving can property "X" appear later is undecidable.
- The problem of determining whether a quantum mechanical system has a spectral gap.
^{[7]}

## See also[edit]

## Notes[edit]

**^**Wells, J. B. (1993). "Typability and type checking in the second-order lambda-calculus are equivalent and undecidable".*Tech. Rep. 93-011*. Comput. Sci. Dept., Boston Univ. CiteSeerX 10.1.1.31.3590.**^**Trahtenbrot, B. A. (1950). "The impossibility of an algorithm for the decision problem for finite domains".*Doklady Akademii Nauk SSSR (N.S.)*.**70**: 569–572. MR 0033784.**^**Cassaigne, Julien; Halava, Vesa; Harju, Tero; Nicolas, Francois (2014). "Tighter Undecidability Bounds for Matrix Mortality, Zero-in-the-Corner Problems, and More". arXiv:1404.0644 [cs.DM].**^**Keith O. Geddes, Stephen R. Czapor, George Labahn,*Algorithms for Computer Algebra*, ISBN 0585332479, 2007, p. 81ff- ^
^{a}^{b}Stallworth, Daniel T. and Fred W. Roush An Undecidable Property of Definite Integrals*Proceedings of the American Mathematical Society*Volume 125, Number 7, July 1997, Pages 2147-2148 **^**Moore, Cristopher (1990), "Unpredictability and undecidability in dynamical systems" (PDF),*Physical Review Letters*,**64**(20): 2354–2357, Bibcode:1990PhRvL..64.2354M, doi:10.1103/PhysRevLett.64.2354, PMID 10041691.**^**Cubitt, Toby S.; Perez-Garcia, David; Wolf, Michael M. (2015). "Undecidability of the spectral gap".*Nature*.**528**(7581): 207–211. arXiv:1502.04135. Bibcode:2015Natur.528..207C. doi:10.1038/nature16059. PMID 26659181.

## Bibliography[edit]

- Brookshear, J. Glenn (1989).
*Theory of Computation: Formal Languages, Automata, and Complexity*. Redwood City, California: Benjamin/Cummings Publishing Company, Inc. Appendix C includes impossibility of algorithms deciding if a grammar contains ambiguities, and impossibility of verifying program correctness by an algorithm as example of Halting Problem. - Halava, Vesa (1997). "Decidable and undecidable problems in matrix theory". TUCS technical report.
**127**. Turku Centre for Computer Science. CiteSeerX 10.1.1.31.5792. - Moret, B. M. E.; H. D. Shapiro (1991).
*Algorithms from P to NP, volume 1 - Design and Efficiency*. Redwood City, California: Benjamin/Cummings Publishing Company, Inc. Discusses intractability of problems with algorithms having exponential performance in Chapter 2, "Mathematical techniques for the analysis of algorithms." - Weinberger, Shmuel (2005).
*Computers, rigidity, and moduli*. Princeton, NJ: Princeton University Press. Discusses undecidability of the word problem for groups, and of various problems in topology.

## Further reading[edit]

- Poonen, Bjorn (2 April 2012),
*Undecidable problems: a sampler*, arXiv:1204.0299, Bibcode:2012arXiv1204.0299P