18.404/6.5400 Fall 2026
Introduction to the Theory of Computation

Required background. To succeed in this course, you need experience and skill with basic combinatorics, probability, graph theory, logical reasoning, theorems and proofs. If you did well in 18.062, 18.200, or any other substantial, proof-oriented discrete mathematics subject, you should be fine.

The course moves quickly, covering about 90% of the textbook. The problem sets and exams require proving various statements, and creativity in finding proofs is necessary.

Resources

Information, Problem Sets, and Study Materials

Course Staff

Office Hours

Lectures and Recitation Sections

Lectures are held in room 34-101 on Tuesdays and Thursdays from 2:30 to 4pm.
The one-hour recitations meet Fridays at the following times and rooms:

Exams

Course Schedule

  1. 9/10  Introduction, finite automata, regular expressions §1.1
    9/11   Recitation 1
  2. 9/15  Nondeterminism, closure properties, Reg Exprs → FA §1.2-1.3
  3. 9/17  Reg Exprs ← FA, Proving non-regularity via pumping lemma, CFGs §1.4-2.1
    9/18   Recitation 2
  4. 9/22  Context-free languages, Pushdown Automata, CFG ⇆ PDA §2.2
  5. 9/24  Context-free pumping lemma, Turing machines §2.3,3.1 Pset 1 DUE (noon)
    9/25   Recitation 3
  6. 9/29  TM variants, Church-Turing thesis §3.2-3.3
  7. 10/1  Decision problems for automata and grammars §4.1
    10/2   Recitation 4
  8. 10/6  Undecidability §4.2 Evening Quiz (7:30-9pm, Walker)
  9. 10/8  Reducibility §5.1,5.3
    10/9   Recitation 5
    10/13  NO CLASS --- Monday schedule Pset 2 DUE (noon)
  10. 10/15  Computation history method §5.2
    10/16   Recitation 6
  11. 10/20  Recursion theorem, Time complexity §6.1-6.2, §7.1
  12. 10/22  P and NP, SAT, Poly-time reducibility §7.2-7.3 Pset 3 DUE (noon)
    10/23   Recitation 7
  13. 10/27  NP-completeness §7.5
  14. 10/29  Midterm Exam (during regular lecture time, Walker)
    10/30   Recitation 8
  15. 11/3  Cook-Levin theorem §7.4
  16. 11/5  Space complexity, PSPACE §8.1-8.2 Pset 4 DUE (noon)
    11/6   Recitation 9
  17. 11/10  Savitch's theorem, PSPACE-completeness §8.3
  18. 11/12  Games, Generalized geography, L and NL §8.3-8.4
    11/13   Recitation 10
  19. 11/17  NL-completeness, NL = coNL §8.4
  20. 11/19  Hierarchy theorems §9.1 Pset 5 DUE (noon)
    11/20   Recitation 11
  21. 11/24  Provably intractable problems, oracles §9.2
    11/26  NO CLASS --- Thanksgiving
  22. 12/1  Probabilistic computation, BPP §10.2
  23. 12/3  An interesting language in BPP, Arithmetization §10.2 Pset 6 DUE (noon)
    12/4   Recitation 12
  24. 12/8  Interactive proof systems, IP §10.4
  25. 12/10  coNP ⊆ IP §10.4

2020 Lectures

Accessibility