Continue where you left off ×
The Question No Computer Can Answer
The Question No Computer Can Answer · Open board
Stages this as a scene: a judge who claims to always deliver a straight verdict, a troll built for the sole purpose of making that verdict wrong, and a contradiction that arrives back at the judge’s own door.
Before you start. You don’t need to know how to program, or anything about computers beyond this: a program is a fixed list of instructions, and running it on some input either finishes, or it doesn’t. That’s the whole vocabulary this lesson needs.
The idea in 30 seconds
Hilbert wanted one fixed procedure to settle any yes-or-no math question; Turing answered him by inventing an imaginary machine simple enough to reason about precisely.
The sharp version of the question is the halting problem: can a checker always say, correctly, whether some machine ever stops?
No. And undecidable doesn’t mean hard: it means no checker exists, at any speed, with any memory, ever.
The proof is a Troll built entirely out of a Judge’s own claimed correctness, then handed its own rulebook, whichever way the Judge answers, the Troll does the opposite.
Rice’s theorem says this isn’t a one-off: almost any real question about what a program does, rather than what it looks like, is exactly as impossible.
Read the story
Lesson 11 of 73 in Mind Blown
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year .
See plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson 1928: Hilbert’s dream, one machine to settle every yes-or-no question in math 1936: an imagined machine that never runs out of moves The question Turing actually asked: will this ever stop? The answer, and the three ways people get it wrong The judge and the troll It gets worse: Rice’s theorem Undecidable is not the same as “hard” Rice’s theorem, precisely The trilemma every real tool is built around Where it actually bites The objection that real computers have finite memory Terms it explains: Turing machine, the halting problem, Undecidable, diagonalization, semi-decidable, Open problem, Intractable (NP-hard), Yes, No: proven, Non-trivial, Semantic, Syntactic properties, Bounded behavioural properties, sound, complete, terminating, 8 steps, 16 steps, 19 steps, nothing, yes, answerable, no general checker exists, With Python,, Mind Blown.
Review Mind Blown
Mark as read Saved in this browser, and to your account when you sign in.