Alan Turing Proved the Halting Problem Is Undecidable

Alan Turing proved in 1937 that the halting problem is undecidable: no general algorithm can correctly decide, for every arbitrary program and input, whether the program will eventually finish running.

Is the halting problem undecidable?

In 1937, Alan Turing proved that the halting problem is undecidable. No general algorithm can correctly decide, for every arbitrary program and input, whether the program will eventually finish running.

Next Random Fact

Explanation

In 1937, Alan Turing proved that the halting problem is undecidable. The halting problem addresses whether an arbitrary program, given an arbitrary input, will eventually finish running. Turing demonstrated that no general algorithm can ever be created that will correctly decide this outcome for every arbitrary program and input.

This conclusion is surprising because it reveals that computation has firm boundaries. One might assume that an algorithm could be designed to inspect any program and input to determine if it will finish running. However, Turing proved that no general algorithm can correctly decide this for every arbitrary case. The halting problem remains fundamentally undecidable.

For an ordinary reader, this means that some questions about programs cannot be solved by any general algorithm. Even though algorithms can process many tasks, Alan Turing proved in 1937 that correctly deciding whether an arbitrary program and input will eventually finish running is impossible for any general algorithm. This establishes that the halting problem is completely undecidable.

Source and verification

Source
Wikipedia: Halting problem Tier B
Last verified
Confidence
90 out of 100
Verified by

How we verify facts

The headline, short answer and explanation on this page were drafted with AI assistance. A human editor checked them against the source before publishing.

Embed this fact

Report a problem with this fact

Used only if the editor needs to ask you about this report.