Course or collection
Theory of Computation
MIT OpenCourseWare · 25 catalogue entries
MIT OpenCourseWare · Fall 2020
Original course and syllabus ↗MIT 18.404J Theory of Computation, Fall 2020
Lecture 1: Introduction, Finite Automata, Regular Expressions
Description: Introduction; course outline, mechanics, and expectations. Described finite automata, their formal definition, regular languages, regular operations, and regular expressions. Proved that the class of regular languages is closed under ⋃. Started pr
Lecture 2: Nondeterminism, Closure Properties, Regular Expressions → Finite Automata
Description: Quickly reviewed last lecture. Introduced nondeterministic finite automata (NFA). Proved that NFA and DFA are equivalent in power. Proved that the class of regular languages is closed under ◦, ∗. Showed conversion of regular expressions to NFAs. I
Lecture 3: Regular Pumping Lemma, Finite Automata → Regular Expressions, CFGs
Description: Quickly reviewed last lecture. Showed conversion of DFAs to regular expressions. Gave a method for proving languages not regular by using the pumping lemma and closure properties. Introduced context free grammars (CFGs). Instructor: Prof. Michael
Lecture 4: Pushdown Automata, CFG ↔ PDA
Description: Quickly reviewed last lecture. Defined context free grammars (CFGs) and context free languages (CFLs). Defined pushdown automata (PDA). Gave conversion of CFGs to PDAs. Stated the reverse conversion without proof. Instructor: Prof. Michael Sipser
Lecture 5: CF Pumping Lemma, Turing Machines
Description: Quickly reviewed last lecture. Proved the CFL pumping lemma as a tool for showing that languages are not context free. Defined Turing machines (TMs). Defined TM deciders (halt on all inputs). Instructor: Prof. Michael Sipser
Lecture 6: TM Variants, Church-Turing Thesis
Description: Quickly reviewed last lecture. Showed that various TM variants are all equivalent to the single-tape model. Discussed the Church-Turing Thesis: Turing machines are equivalent to “algorithms” and model-independence. Introduced notation for encoding
Lecture 7: Decision Problems for Automata and Grammars
Description: Quickly reviewed last lecture. Showed the decidability of various problems about automata and grammars: \(A\) DFA , \(A\) NFA , \(E\) DFA , \(EQ\) DFA , and \(A\) CFG . Also showed that \(A\) TM is T-recognizable. Instructor: Prof. Michael Sipser
Lecture 8: Undecidability
Description: Quickly reviewed last lecture. Showed that \(\mathbb{N}\) and \(\mathbb{R}\) are not the same size to introduce the diagonalization method and used it to prove \(A_\bf{TM}\) is undecidable. Introduced the reducibility method to show that \(HALT_\b
Lecture 9: Reducibility
Description: Quickly reviewed last lecture. Discussed the reducibility method to prove undecidability and T-unrecognizability. Defined mapping reducibility as a type of reducibility. Showed that \(E_\bf{TM}\) is undecidable and T-unrecognizable; \(EQ_\bf{TM}\)
Lecture 10: Computation History Method
Description: Quickly reviewed last lecture. Defined configurations and computation histories. Gave the computation history method to prove undecidability. Showed that \(A_\bf{LBA}\) is decidable; \(E_\bf{LBA}\), \(PCP\), and \(ALL_\bf{CFG}\) are undecidable. I
Lecture 11: Recursion Theorem and Logic
Description: Quickly reviewed last lecture. Discussed self-reference and the recursion theorem. Gave various applications. Sketched Gödel’s first incompleteness theorem in mathematical logic. Instructor: Prof. Michael Sipser
Lecture 12: Time Complexity
Description: Quickly reviewed last lecture. Gave an introduction to complexity theory. Discussed limited complexity model-dependence for reasonable models. Defined TIME\((t(n))\) complexity classes and the class P. Showed that \(PATH\) ∈ P. Instructor: Prof. M
Lecture 14: P and NP, SAT, Poly-Time Reducibility
Description: Quickly reviewed last lecture. Defined NTIME\((t(n))\) complexity classes and the class NP. Showed \(COMPOSITES\) ∈ NP. Discussed the P versus NP question. Proved \(A\) CFG ∈ P. Introduced the satisfiability problem \(SAT\) and polynomial-time red
Lecture 15: NP-Completeness
Description: Quickly reviewed last lecture. Covered NP-completeness; \(SAT\) and \(3SAT\); \(3SAT\) ≤\(_P\) \(HAMPATH\); and \(3SAT\) ≤\(_P\) \(CLIQUE\). Discussed a strategy for proving NP-completeness with a reduction from \(3SAT\) by constructing gadgets th
Lecture 16: Cook-Levin Theorem
Description: Quickly reviewed last lecture. Proved Cook-Levin Theorem: \(SAT\) is NP-complete. Also proved \(3SAT\) is NP-complete. Instructor: Prof. Michael Sipser
Lecture 17: Space Complexity, PSPACE, Savitch's Theorem
Description: Quickly reviewed last lecture. Introduced space complexity. Defined SPACE\((f(n))\), NSPACE\((f(n))\), PSPACE, and NPSPACE. Proved \(TQBF\) ∈ PSPACE, \(LADDER_\bf{DFA}\) ∈ NSPACE(\(n\)), and \(LADDER_\bf{DFA}\) ∈ SPACE(\(n^2\)). Instructor: Prof.
Lecture 18: PSPACE-Completeness
Description: Quickly reviewed last lecture. Proved Savitch’s Theorem: NSPACE\((f(n))\) ⊆ SPACE\((f^2 (n))\). Also proved PSPACE-completeness and \(TQBF\) is PSPACE-complete. Instructor: Prof. Michael Sipser
Lecture 19: Games, Generalized Geography
Description: Quickly reviewed last lecture. Discussed a connection between games and quantifiers. Described the formula game and showed that generalized geography is PSPACE-complete. Introduced log space: L and NL. Defined the configuration graph to prove NL ⊆
Lecture 20: L and NL, NL = coNL
Description: Reviewed \(\log\) space: NL ⊆ SPACE\((\log^2n)\) and NL ⊆ P. Introduced log-space transducers and log-space reducibility. Defined NL-completeness. Proved that \(PATH\) is NL-complete and \(\overline{2SAT}\) is NL-complete. Proved the Immerman-Szel
Lecture 21: Hierarchy Theorems
Description: Quickly reviewed last lecture. Finished Immerman-Szelepcsényi theorem: NL = coNL. Introduced and proved the time and space hierarchy theorems. Discussed using the hierarchy theorems to separate certain complexity classes. Instructor: Prof. Michael
Lecture 22: Provably Intractable Problems, Oracles
Description: Quickly reviewed last lecture. Introduced exponential complexity classes and demonstrated a “natural” provably intractable problem. Introduced oracles and relativized computation to suggest that pure diagonalization-based methods cannot separate P
Lecture 23: Probabilistic Computation, BPP
Description: Quickly reviewed last lecture. Defined probabilistic Turing machines and the class BPP. Sketched the amplification lemma. Introduced branching programs and read-once branching programs. Started the proof that \(EQ\) ROBP ∈ BPP. Introduced the arit
Lecture 24: Probabilistic Computation (cont.)
Description: Quickly reviewed last lecture. Simulated read-once branching programs by polynomials. Gave a probabilistic polynomial equality testing method. Concluded proving \(EQ\) ROBP ∈ BPP. Instructor: Prof. Michael Sipser
Lecture 25: Interactive Proof Systems, IP
Description: Quickly reviewed last lecture. Introduced the interactive proof system model. Defined the class IP. Showed \(\overline{ISO}\) ∈ IP. Started showing #\(SAT\) ∈ IP to prove that coNP ⊆ IP. Instructor: Prof. Michael Sipser
Lecture 26: coNP ⊆ IP
Description: Quickly reviewed last lecture. Discussed the arithmetization of Boolean formulas. Finished the theorem: #\(SAT\) ∈ IP and concluded that coNP ⊆ IP. Instructor: Prof. Michael Sipser