BU CS 332 – Theory of Computation
Lecture 24:
- Final review
Reading: Sipser Ch 7.1‐8.3, 9.1
Mark Bun April 29, 2020
BU CS 332 Theory of Computation Lecture 24: Reading: Final review - - PowerPoint PPT Presentation
BU CS 332 Theory of Computation Lecture 24: Reading: Final review Sipser Ch 7.1 8.3, 9.1 Mark Bun April 29, 2020 Final Topics 5/5/2020 CS332 Theory of Computation 2 Everything from Midterms 1 and 2 Midterm 1 topics: DFAs,
Reading: Sipser Ch 7.1‐8.3, 9.1
Mark Bun April 29, 2020
5/5/2020 CS332 ‐ Theory of Computation 2
pumping lemma, context‐free grammars, pushdown automata, pumping lemma for CFLs
(more detail in lecture 9 notes)
Turing thesis, decidable languages, countable and uncountable sets, undecidability, reductions, unrecognizability, mapping reductions
(more detail in lecture 17 notes)
5/5/2020 CS332 ‐ Theory of Computation 3
time complexity classes (TIME / NTIME)
using single‐tape TMs and know how to analyze the running time overhead
5/5/2020 CS332 ‐ Theory of Computation 4
classes
show that languages are in P / NP
is equivalent to the NTM definition
runtime
how to show that search problems can be solved in poly‐time
5/5/2020 CS332 ‐ Theory of Computation 5
completeness
(don’t need to know its proof)
and the relevant reductions: SAT, 3SAT, CLIQUE, INDEPENDENT‐SET, VERTEX‐COVER, HAMPATH, SUBSET‐ SUM
5/5/2020 CS332 ‐ Theory of Computation 6
space complexity classes (SPACE / NSPACE)
algorithms (including SAT, NFA analysis)
5/5/2020 CS332 ‐ Theory of Computation 7
Theorem)
complete language TQBF, or to show that any specific language is PSPACE‐complete
5/5/2020 CS332 ‐ Theory of Computation 8
and that PSPACE ≠ EXPSPACE
time/space hierarchy theorems, but should understand how they generalize the above statements
5/5/2020 CS332 ‐ Theory of Computation 9
hierarchy)
https://cs‐people.bu.edu/mbun/courses/535_F20/
5/5/2020 CS332 ‐ Theory of Computation 10
5/5/2020 CS332 ‐ Theory of Computation 11
5/5/2020 CS332 ‐ Theory of Computation 12
running time and/or space usage
…
5/5/2020 CS332 ‐ Theory of Computation 13
algorithm, analysis of running time
5/5/2020 CS332 ‐ Theory of Computation 14
To show a language is NP‐complete: 1) Show is in NP (follow guidelines from previous two slides) 2) Show is NP‐hard (usually) by giving a poly‐time reduction
iff for your reduction ?
5/5/2020 CS332 ‐ Theory of Computation 15
5/5/2020 CS332 ‐ Theory of Computation 16
5/5/2020 CS332 ‐ Theory of Computation 17
5/5/2020 CS332 ‐ Theory of Computation 18
5/5/2020 CS332 ‐ Theory of Computation 19
5/5/2020 CS332 ‐ Theory of Computation 20
5/5/2020 CS332 ‐ Theory of Computation 21
5/5/2020 CS332 ‐ Theory of Computation 22
5/5/2020 CS332 ‐ Theory of Computation 23
5/5/2020 CS332 ‐ Theory of Computation 24
5/5/2020 CS332 ‐ Theory of Computation 25
5/5/2020 CS332 ‐ Theory of Computation 26
5/5/2020 CS332 ‐ Theory of Computation 27
5/5/2020 CS332 ‐ Theory of Computation 28
5/5/2020 CS332 ‐ Theory of Computation 29
5/5/2020 CS332 ‐ Theory of Computation 30
5/5/2020 CS332 ‐ Theory of Computation 31
5/5/2020 CS332 ‐ Theory of Computation 32
5/5/2020 CS332 ‐ Theory of Computation 33
CS332 ‐ Theory of Computation 34
Consider the inheritance problem from HW9, except Alice and Bob now take turns drawing bags from boxes. Alice’s goal is to assemble a complete collection of marbles, and Bob’s is to thwart her. Prove that determining whether Alice has a winning strategy is in PSPACE.
5/5/2020 CS332 ‐ Theory of Computation 35
5/5/2020 CS332 ‐ Theory of Computation 36
5/5/2020 CS332 ‐ Theory of Computation 37