BU CS 332 – Theory of Computation
Lecture 20:
- More on NP
- P vs. NP
Reading: Sipser Ch 7.3‐7.5
Mark Bun April 13, 2020
BU CS 332 Theory of Computation Lecture 20: Reading: More on NP - - PowerPoint PPT Presentation
BU CS 332 Theory of Computation Lecture 20: Reading: More on NP Sipser Ch 7.3 7.5 P vs. NP Mark Bun April 13, 2020 Goals of complexity theory Ultimate goal: Classify problems according to their feasibility and inherent computational
Mark Bun April 13, 2020
Ultimate goal: Classify problems according to their feasibility and inherent computational difficulty Decision problems which can be solved efficiently Can we exhibit general classes of problems which are either in
Some problems provably require exponential time! (Chapter 9) : A fundamental and practically important class of problems which have defied classification, but nevertheless exhibits important structure ( completeness)
4/13/2020 CS332 ‐ Theory of Computation 2
4/13/2020 CS332 ‐ Theory of Computation 3
,
4/13/2020 CS332 ‐ Theory of Computation 4
4/13/2020 CS332 ‐ Theory of Computation 5
Deterministic Nondeterministic
accept or reject reject accept
𝒖𝒐
reject accept reject
4/13/2020 CS332 ‐ Theory of Computation 6
𝑥 𝑥 𝑥 𝑥 Finite control 𝑥 ⊔ # 𝑥 𝑥 1 3 3 7 Input 𝑥 to 𝑂 (read‐only) Simulation tape (run 𝑂 on 𝑥 using nondeterministic choices from tape 3) Address in computation tree
4/13/2020 CS332 ‐ Theory of Computation 7
input simulation address
4/13/2020 CS332 ‐ Theory of Computation 8
= · =
4/13/2020 CS332 ‐ Theory of Computation 9
,
4/13/2020 CS332 ‐ Theory of Computation 10
∗
4/13/2020 CS332 ‐ Theory of Computation 11
CS332 ‐ Theory of Computation 12
4/13/2020 CS332 ‐ Theory of Computation 13
. , where
4/13/2020 CS332 ‐ Theory of Computation 14
for some constant
4/13/2020 CS332 ‐ Theory of Computation 15
4/13/2020 CS332 ‐ Theory of Computation 16
4/13/2020 CS332 ‐ Theory of Computation 17
4/13/2020 CS332 ‐ Theory of Computation 18