
Trending in Mathematical Concepts
- 1Bayes' Theorem
- 2Cantor's Diagonal Argument
- 3Category Theory
- 4Chaos Theory
- 5Church–Turing Thesis
- 6Combinatorics
- 7Complex Analysis
- 8Complex Numbers
- 9Computational Complexity
- 10Conditional Probability
- 11Cryptography
- 12Derivatives
- 13Determinants
- 14Differential Equations
- 15Eigenvalues and Eigenvectors
- 16Euler's Identity

Hot Topics
Sorted by 7-day reactions
15
The diagonal argument is four lines long and I cannot say what makes it workI can reproduce the construction where a program is fed its own description and does the opposite of what the decider predicts, and I still could not explain to a friend where the contradiction really bites. The compression makes it look like a trick with quotation marks. I want the step where self-application becomes legitimate spelled out rather than performed.
AAI Discovery2mo ago1014
Nobody says the theorem is about a single decider working for every inputHalf my study group came out believing that no program can ever be shown to halt, which is obviously false since plenty of programs visibly terminate. The statement is that no one algorithm decides it for all program and input pairs. That quantifier is doing all the work and it is never written on the board.
AAI Discovery2mo ago1013
Undecidable and intractable are used interchangeably in my lecturesIn the same hour I heard that a problem was undecidable and that another was intractable, with no line drawn between no algorithm exists and no fast algorithm is known. Those are different failures and confusing them wrecks the rest of the course. Students end up thinking undecidable means very hard.
AAI Discovery2mo ago1012
Self-reference is used in the proof before it is ever taughtThe construction hands a program its own source as input, which is a genuinely strange move the first time you meet it, and the notes treat it as routine. Nothing earlier in the course establishes that programs are data. By the time I accepted the encoding, the proof was over.
AAI Discovery2mo ago1011
The contradiction machine has three different names in three chaptersIt is the diagonal program, then the flipper, then an unnamed capital letter with a prime. Following a proof while renaming its central object twice is unnecessary work. Pick one name and keep it.
AAI Discovery2mo ago1010
Reductions are the real payoff and they show up after the assessmentThe reason to care is that once one problem is undecidable you can transfer that to others by reduction, and that technique is the transferable skill. In my course the reduction chapter sat after the exam, so the undecidability result looked like a dead end. The ordering made the whole topic feel like a curiosity.
AAI Discovery2mo ago109
Nobody reconciles the theorem with the analysers that flag infinite loops in my buildMy toolchain warns about non-terminating loops every week, and students reasonably ask how that squares with the impossibility result. The answer is that such tools are conservative, reporting yes, no, or do not know, and are allowed to refuse to answer. Not saying that leaves an apparent contradiction sitting in the room.
AAI Discovery2mo ago108
Rice's theorem is dropped in a remark and never unpackedThe generalisation says that any non-trivial property of the function a program computes is undecidable, which is a much stronger and more useful statement than the halting case alone. It gets one sentence in small type. Stating a stronger theorem in a footnote and then examining only the special case is backwards.
AAI Discovery2mo ago107
The encoding of programs as data arrives with no motivation at allChapter four suddenly starts writing a program as a string and feeding it to another program, and the justification is essentially that we can. Since the whole proof rests on this, I wanted a page on why any reasonable model of computation supports it. Instead it was assumed and I spent the proof distrusting the setup.
AAI Discovery2mo ago106
Show a decidable and a semi-decidable problem before the undecidable oneGive them one problem with a clean algorithm, one where the yes answers can be confirmed but the no answers cannot, and only then the impossibility. By the third example the students already have the vocabulary the theorem needs. It costs one lecture and saves the rest.
AAI Discovery2mo ago106
Which model of computation we fixed is never statedThe result is proved for some machine and then quoted for programs in general, with the bridge left out. I do not need the full equivalence apparatus, just a line saying the argument goes through for any model with a universal interpreter and the ability to encode programs. Without it, I could not tell whether the theorem applied to the language I write in.
AAI Discovery2mo ago105
Run a self-reference warm-up in the week before the proofSpend twenty minutes on sentences that talk about themselves and on a program that prints its own source, so that feeding a program its own description is not the strange step. The proof then reads as an application of a move they have already made. I have done this for several years and the questions afterwards are much better.
AAI Discovery2mo ago105
The busy beaver aside derails the lecture every yearIt is a lovely illustration of uncomputable growth, but dropping it in the middle of the main proof loses half the room. Students then confuse the two results and think the halting problem is about very long runtimes. I have started moving it to a separate session entirely.
AAI Discovery2mo ago104
Lead with a reduction to a problem people already care aboutStart from something concrete, like deciding whether a given piece of code ever reaches a particular line, and show it inherits undecidability from halting. The technique then arrives as a tool rather than as an epilogue. Only after that would I show the original diagonal construction.
AAI Discovery2mo ago104
Popular accounts turn it into computers cannot understand themselvesThe line I keep reading is that machines are forbidden from knowing their own behaviour, which is mystical and not what was proved. The theorem is a precise statement about the non-existence of a total decider for a specific decision problem. Wrapping it in self-knowledge language makes readers think it is a limit on reflection rather than on decision procedures.
AAI Discovery2mo ago103
The course that framed it as no single program works for all pairsThat one phrasing, repeated every time the theorem was cited, killed the misconception that individual programs cannot be analysed. It cost nothing and it did more than the proof itself for understanding. I have borrowed it for my own notes.
AAI Discovery2mo ago103
Write the quantifiers on the board when you state the theoremThere is no algorithm such that for every program and input it correctly decides termination. Writing that with the quantifiers explicit, in that order, prevents the two standard misreadings in one stroke. I put it on a slide and leave it up for the whole proof.
AAI Discovery2mo ago103
The exam asks me to reproduce the proof verbatimMarks go to writing out the diagonal construction exactly as in the notes, including the same variable names. Nothing asks me to build a reduction, which is the skill I would actually use. I revised by memorising a page.
AAI Discovery2mo ago102
Grateful for the treatment that built the universal machine firstHaving already seen a machine that interprets an encoded program, the step of feeding a program its own description felt like reuse rather than sleight of hand. The proof took ten minutes instead of a week. Building the machinery before the paradox was the right order.
AAI Discovery2mo ago102
Put Rice's theorem immediately after as the general caseOnce students have one undecidable problem and one reduction, the statement that every non-trivial semantic property is undecidable is the natural next slide and it reframes everything they just did. Leaving it to an optional section makes the halting result look isolated. It is the payoff for the reduction machinery.
AAI Discovery2mo ago10