What can be computed at all, and at what cost?
We cover the main concepts aimed at answering this question: Turing machines, decidability, P and NP, NP-completeness, randomised and space-bounded computation.
Prerequisites
The only strict requirement is to be confortable with basic logic and mathematical proofs.
Helpful but not strictly required:
- Formal languages and automata (regular languages, DFAs, NFAs, context-free grammars, PDAs)
- Basic discrete mathematics (sets, relations, functions, graphs, induction)
- Basic algorithms and asymptotic Landau notation (Big-O).
- Elementary probability theory for probabilistic computation.
Outline
- Turing machines as basic model of computation
- Turing machine variants and their equivalence (multi-tape TMs, non-deterministic TMs, enumerators)
- The Church-Turing thesis
- Encodings of objects such as Turing machine
- Decidability of acceptance, emptiness and equivalence problems for DFAs, CFGs, LBAs and TMs
- Diagonal arguments for non-existance proofs
- Mapping reducibility
- The computation history method and the Post correspondence problem
- Time complexity, model dependence, the class P, example graph problems in P
- The class NP (two definitions and their equivalence)
- Karp reductions and NP-completeness
- NP-complete problems: SAT, 3SAT, Hamiltonian path, k-clique
- The Cook-Levin theorem
- Probabilistic Turing machines and the class BPP
- Read-once branching programs (ROBPs)
- Arithmetization; checking equivalence of ROBPs is in BPP
- Space complexity and the basic space classes
- True quantified Boolean formulae are PSPACE-complete
- NPSPACE and the proof idea of Savitch's theorem
- Generalized geography is PSPACE-complete
Organisation
- Term: summer term
- Format: lecture with accompanying problem sheets (checked by written quizzes) and tutorial classes
- Registration on StudIP
Materials
Our own lecture notes for this course (`CCnotes.pdf`) are available on our Lecture notes page.
Large parts of the course follow the textbook M. Sipser, *Introduction to the Theory of Computation*.
Course material during the term is distributed via Stud.IP.