complexity theory zooming out
play

Complexity Theory: Zooming Out Eric Price UT Austin CS 331, Spring - PowerPoint PPT Presentation

Complexity Theory: Zooming Out Eric Price UT Austin CS 331, Spring 2020 Coronavirus Edition Eric Price (UT Austin) Complexity Theory: Zooming Out 1 / 14 Class Outline Complexity classes 1 Computability 2 Eric Price (UT Austin)


  1. Complexity Theory: Zooming Out Eric Price UT Austin CS 331, Spring 2020 Coronavirus Edition Eric Price (UT Austin) Complexity Theory: Zooming Out 1 / 14

  2. Class Outline Complexity classes 1 Computability 2 Eric Price (UT Austin) Complexity Theory: Zooming Out 2 / 14

  3. A few complexity classes P: Polynomial time Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  4. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  5. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  6. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  7. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  8. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  9. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  10. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. PSPACE: Polynomial space Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  11. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. PSPACE: Polynomial space NPSPACE: Nondeterministic, polynomial space Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  12. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. PSPACE: Polynomial space NPSPACE: Nondeterministic, polynomial space ◮ NPSPACE = PSPACE: try all proofs. Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  13. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. PSPACE: Polynomial space NPSPACE: Nondeterministic, polynomial space ◮ NPSPACE = PSPACE: try all proofs. EXP: Exponential time Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  14. A few complexity classes P: Polynomial time NP: Nondeterministic polynomial time PP: failure probability < 1 / 2. ◮ Kind of silly: NP ⊆ PP (guess x ; if f ( x ) true, return True; if f ( x ) false, flip a coin) BPP: Probabilistic polynomial time, failure probability at most 1 / 3. BQP: Probabilistic quantum polynomial time, failure probability at most 1 / 3. PSPACE: Polynomial space NPSPACE: Nondeterministic, polynomial space ◮ NPSPACE = PSPACE: try all proofs. EXP: Exponential time NEXP: Nondeterministic exponential time Eric Price (UT Austin) Complexity Theory: Zooming Out 3 / 14

  15. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  16. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Know: P � = EXP , PSPACE � = EXPSPACE . Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  17. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Know: P � = EXP , PSPACE � = EXPSPACE . That’s about it. Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  18. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Know: P � = EXP , PSPACE � = EXPSPACE . That’s about it. P ⊆ BPP ⊆ BQP ⊆ PSPACE Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  19. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Know: P � = EXP , PSPACE � = EXPSPACE . That’s about it. P ⊆ BPP ⊆ BQP ⊆ PSPACE Most people expect: P = BPP , everything else � . Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  20. Relations of complexity classes P ⊆ NP ⊆ PSPACE ⊆ EXP ⊆ NEXP ⊆ EXPSPACE ⊆ . . . Know: P � = EXP , PSPACE � = EXPSPACE . That’s about it. P ⊆ BPP ⊆ BQP ⊆ PSPACE Most people expect: P = BPP , everything else � . Don’t know NP compared to BPP or BQP (or even if one is inside the other). Eric Price (UT Austin) Complexity Theory: Zooming Out 4 / 14

  21. Prototypical examples P: evaluate a function Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  22. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  23. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  24. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  25. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? ◮ Think candy crush: is there any sequence of moves to achieve score X ? Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  26. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? ◮ Think candy crush: is there any sequence of moves to achieve score X ? ◮ Easy to verify once the solution is found. Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  27. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? ◮ Think candy crush: is there any sequence of moves to achieve score X ? ◮ Easy to verify once the solution is found. PSPACE: solve a 2-player game Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  28. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? ◮ Think candy crush: is there any sequence of moves to achieve score X ? ◮ Easy to verify once the solution is found. PSPACE: solve a 2-player game ◮ TQBF: ∃ x 1 ∀ x 2 ∃ x 3 · · · ∀ x n : f ( x ) = 1 Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

  29. Prototypical examples P: evaluate a function ◮ Given a circuit f and input x , what is f ( x )? NP: solve a puzzle ◮ SAT: given f , determine if ∃ x : f ( x ) = 1? ◮ Think candy crush: is there any sequence of moves to achieve score X ? ◮ Easy to verify once the solution is found. PSPACE: solve a 2-player game ◮ TQBF: ∃ x 1 ∀ x 2 ∃ x 3 · · · ∀ x n : f ( x ) = 1 ◮ Think chess: do I have a move, so no matter what you do, I can find a move, so no matter, etc., etc., I end up winning? Eric Price (UT Austin) Complexity Theory: Zooming Out 5 / 14

Recommend


More recommend