Are there problems no computer could ever solve, however fast?
Theory of Computation · about 15 minutes a level
An upper-level undergraduate course on what computers can and cannot do. You study finite automata and regular expressions, context-free grammars and pushdown automata, and the pumping lemmas that show their limits. Then come Turing machines and the Church–Turing thesis, decidability, the halting problem and reductions, and complexity theory: P, NP, NP-completeness and space complexity.
Go deeper, level by level
- Finite automata: Alphabets, strings and languages, Deterministic finite automata, Nondeterminism and the subset construction
- Regular languages: Regular expressions and Kleene's theorem, Closure properties of regular languages, The pumping lemma for regular languages, Minimisation and the Myhill–Nerode theorem
- Context-free languages: Context-free grammars, Chomsky normal form and parsing, Pushdown automata, Limits of context-free languages
- Turing machines: Turing machines, Variants and the Church–Turing thesis, Encodings and the universal Turing machine
- Decidability: Decidable languages, The halting problem and diagonalisation, Reductions and undecidability, Rice's theorem
- Time complexity: Time complexity and the class P, The class NP, NP-completeness and the Cook–Levin theorem, A web of NP-complete problems
- Beyond NP: Space complexity, Hierarchy theorems and logarithmic space, Randomness, approximation and open problems
Every lesson shows its sources and how sure we are, and is checked by Everwhy.