Math · Advanced · Lesson 4 of 7
The Halting Problem
A question no program can answer
An interactive lesson with 8 steps, about 7 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- The halting problem asks whether a program will ever stop.
- Turing proved (1936) that no program can solve it for all programs.
- Many questions about program behaviour are undecidable in general.
Steps
- Will it ever stop?
- Will these halt?
- Turing’s proof
- The diagonal trap
- What it means
- Gödel’s shadow
- Will it reach 1?
- A halting oracle for mathematics