A.Antonopoulos 18/1/2010

Size: px
Start display at page:

Download "A.Antonopoulos 18/1/2010"

Transcription

1 Class DP Basic orems 18/1/2010

2 Class DP Basic orems 1 Class DP 2 Basic orems

3 Class DP Basic orems TSP Versions 1 TSP (D) 2 EXACT TSP 3 TSP COST 4 TSP (1) P (2) P (3) P (4)

4 DP Class Class DP Basic orems A language L is in the class DP if and only if there are two languages L 1 NP and L 2 conp such that L = L 1 L 2. DP is not NP conp! Also, DP is a syntactic class, and so it has complete problems.

5 DP Class Class DP Basic orems A language L is in the class DP if and only if there are two languages L 1 NP and L 2 conp such that L = L 1 L 2. DP is not NP conp! Also, DP is a syntactic class, and so it has complete problems. SAT-UNSAT Given two Boolean expressions φ, φ, both in 3CNF. Is it true that φ is satisfiable and φ is not?

6 Complete for DP Class DP Basic orems

7 Complete for DP orem SAT-UNSAT is DP-complete. Class DP Basic orems

8 Complete for DP Class DP Basic orems orem SAT-UNSAT is DP-complete. Proof Firstly, we have to show it is in DP. So, let: L 1 ={(φ, φ ): φ is satisfiable}. L 2 ={(φ, φ ): φ is unsatisfiable}. It is easy to see, L 1 NP and L 2 conp, thus L L 1 L 2 DP. For completeness, let L DP. We have to show that L P SAT-UNSAT. L DP L = L 1 L 2, L 1 NP and L 2 conp. SAT NP-complete R 1 :L 1 P SAT and R 2 :L 2 P SAT. Hence, L P SAT-UNSAT,by R(x) = (R 1 (x), R 2 (x))

9 Complete for DP Class DP Basic orems orem EXACT TSP is DP-complete. Proof EXACT TSP DP, by L 1 TSP NP and L 2 TSP COMPLEMENT conp Completeness: we ll show that SAT-UNSAT P EXACT TSP. 3SAT P HP: (φ, φ ) (G, G ) Broken Hamilton Path (2 node-disjoint paths that cover all nodes) Almost Satisfying Truth Assignement (satisfies all clauses except for one)

10 Complete for DP Class DP Basic orems Proof We define distances: 1 If (i, j) E(G) or E(G ): d(i, j) 1 2 If (i, j) / E(G), but i and j V(G): d(i, j) 2 3 Otherwise: d(i, j) 4 Let n be the size of the graph. 1 If φ and φ satisfiable, then optcost = n 2 If φ and φ unsatisfiable, then optcost = n If φ satisfiable and φ not, then optcost = n If φ satisfiable and φ not, then optcost = n + 1 yes instance of SAT-UNSAT optcost = n + 2 Let B n + 2!

11 Other DP-complete problems Class DP Basic orems Also: CRITICAL SAT: Given a Boolean expression φ, is it true that it s unsatisfiable, but deleting any clause makes it satisfiable? CRITICAL HAMILTON PATH: Given a graph, is it true that it has no Hamilton path, but addition of any edge creates a Hamilton path? CRITICAL 3-COLORABILITY: Given a graph, is it true that it is not 3-colorable, but deletion of any node makes it 3-colorable? are DP-complete!

12 Classes P NP and FP NP Class DP Basic orems Alternative DP DP is the class of languages that can be decided by an oracle machine which makes 2 queries to a SAT oracle, and accepts iff the 1st answer is yes, and the 2nd is no. P SAT is the class of languages decided in pol time with a SAT oracle. number of queries Queries computed adaptively SAT NP-complete P SAT =P NP FP NP is the class of functions that can be computed by a pol-time TM with a SAT oracle. Goal: MAX OUTPUT P MAX-WEIGHT SAT P SAT

13 FP NP -complete Class DP Basic orems MAX OUTPUT Given NTM N, with input 1 n, which halts after O(n),with output a string of length n. Which is the largest output,of any computation of N on 1 n?

14 FP NP -complete Class DP Basic orems MAX OUTPUT Given NTM N, with input 1 n, which halts after O(n),with output a string of length n. Which is the largest output,of any computation of N on 1 n?

15 FP NP -complete Class DP Basic orems MAX OUTPUT Given NTM N, with input 1 n, which halts after O(n),with output a string of length n. Which is the largest output,of any computation of N on 1 n? orem MAX OUTPUT is FP NP -complete. Proof MAX OUTPUT FP NP. Let F : Σ Σ FP NP pol-time TM M?, s.t. M SAT (x) = F (x) We ll show: F MAX OUTPUT! Reductions R and S (log space computable) s.t.: x, R(x) is a instance of MAX OUTPUT S(max output of R(x)) F (x)

16 FP NP -complete Class DP Basic orems Proof NTM N: Let n = p 2 ( x ), p( ), is the pol bound of SAT. N(1 n ) generates x on a string. M SAT query state (φ 1 ): If z 1 = 0 (φ 1 unsat), then continue from q NO. If z 1 = 1 (φ 1 sat), then guess assignment T 1 : If test succeeds, continue from q YES. If test fails, output=0 n and halt. (Unsuccessful computation) Continue to all guesses (z i ), and halt, with output= z 1 z }{{} n (Successful computation)

17 FP NP -complete Class DP Basic orems Proof We claim that the successful computation that outputs the largest integer, correspond to a correct simulation: Let j the smallest integer,s.t.: z j = 0, while φ j was satisfiable. n, another successful computation of N, s.t.: z j = 1. computations agree to the first j 1 digits, the 2 nd represents a larger number. S part: F (x) can be read off the end of the largest output of N.

18 FP NP -complete Class DP Basic orems MAX-WEIGHT SAT Given a set of clauses, each with an integer weight, find the truth assignment that satisfies a set of clauses with the most total weight.

19 FP NP -complete Class DP Basic orems MAX-WEIGHT SAT Given a set of clauses, each with an integer weight, find the truth assignment that satisfies a set of clauses with the most total weight. orem MAX-WEIGHT SAT is FP NP -complete. Proof MAX-WEIGHT SAT is in FP NP : By binary search, and a SAT oracle, we can find the largest possible total weight of satisfied clauses, and then, by setting the variables 1-1, the truth assignment that achieves it. MAX OUTPUT MAX-WEIGHT SAT:

20 FP NP -complete Class DP Basic orems Proof NTMN(1 n ) φ(n, m): Any satisfying truth assignment of φ(n, m) legal comp. of N(1 n ) Clauses are given a huge weight (2 n ), so that any t.a. that aspires to be optimum satisfy all clauses of φ(n, m). Add more clauses: (y i ): i = 1,..n with weight 2 n i. Now, optimum t.a. must not represent any legal computation, but this which produces the largest possible output value. S part: From optimum t.a. of the resulting expression (or the weight), we can recover the optimum output of N(1 n ).

21 FP NP -complete Class DP Basic orems And the main result: orem TSP is FP NP -complete.

22 FP NP -complete Class DP Basic orems And the main result: orem TSP is FP NP -complete. Corollary TSP COST is FP NP -complete.

23 FP NP -complete Class DP Basic orems Figure: overall construction (17-2)

24 NP[log n] Class P Class DP Basic orems P NP[logn] is the class of all languages decided by a polynomial time oracle machine, which on input x asks a total of O(log x ) SAT queries. FP NP[logn] is the corresponding class of functions.

25 NP[log n] Class P Class DP Basic orems P NP[logn] is the class of all languages decided by a polynomial time oracle machine, which on input x asks a total of O(log x ) SAT queries. FP NP[logn] is the corresponding class of functions. CLIQUE SIZE Given a graph, determine the size of his largest clique.

26 NP[log n] Class P Class DP Basic orems P NP[logn] is the class of all languages decided by a polynomial time oracle machine, which on input x asks a total of O(log x ) SAT queries. FP NP[logn] is the corresponding class of functions. CLIQUE SIZE Given a graph, determine the size of his largest clique. orem CLIQUE SIZE is FP NP[logn] -complete.

27 Conclusion Class DP Basic orems 1 TSP (D) is NP-complete. 2 EXACT TSP is DP-complete. 3 TSP COST is FP NP -complete. 4 TSP is FP NP -complete. And now, P NP NP NP? Oracles for NP NP?

28 Class DP Basic orems 1 Class DP 2 Basic orems

29 Class DP Basic orems 0 P = Σ 0 P = Π 0 P = P i+1 P = P Σ i P Σ i+1 P = NP Σ i P Π i+1 P = conp Σ i P PH i 0 Σ i P

30 Class DP Basic orems 0 P = Σ 0 P = Π 0 P = P i+1 P = P Σ i P Σ i+1 P = NP Σ i P Π i+1 P = conp Σ i P PH i 0 Σ i P

31 Class DP Basic orems 0 P = Σ 0 P = Π 0 P = P i+1 P = P Σ i P Σ i+1 P = NP Σ i P Π i+1 P = conp Σ i P PH i 0 Σ i P Σ 0 P = P 1 P = P, Σ 1 P = NP, Π 1 P = conp 2 P = P NP, Σ 2 P = NP NP, Π 2 P = conp NP

32 Basic orems Class DP Basic orems orem Let L be a language, and i 1. L Σ i P iff there is a polynomially balanced relation R such that the language {x; y : (x, y) R} is in Π i 1 P and Proof (by Induction) L = {x : y, s.t. : (x, y) R} For i = 1 {x; y : (x, y) R} P,so L = {x y : (x, y) R} NP For i > 1 If R Π i 1 P, we must show that L Σ i P NTM with Σ i 1 P oracle: NTM(x) guesses a y and asks Σ i 1 P oracle whether (x, y) / R.

33 Basic orems Class DP Basic orems Proof If L Σ i P, we must show the existence or R. L Σ i P NTM M K, K Σ i 1 P, which decides L. K Σ i 1 P S Π i 2 P : (z K w : (z, w) S) We must describe a relation R (we know: x L accepting comp of M K (x)) Query Steps: yes z i has a cerfificate w i st (z i, w i ) S. So, R(x) = (x, y) R iff yrecords an accepting computation of M? on x, together with a certificate w i for each yes query z i in the computation. We must show {x; y : (x, y) R} Π i 1 P.

34 Basic orems Class DP Basic orems Corollary Let L be a language, and i 1. L Π i P iff there is a polynomially balanced relation R such that the language {x; y : (x, y) R} is in Σ i 1 P and Corollary L = {x : y, y x k, s.t. : (x, y) R} Let L be a language, and i 1. L Σ i P iff there is a polynomially balanced, polynomially-time decicable (i + 1)-ary relation R such that: L = {x : y 1 y 2 y 3...Qy i, s.t. : (x, y 1,..., y i ) R} where the i th quantifier Q is, if i is even, and, if i is odd.

35 Basic orems Class DP Basic orems orem If for some i 1, Σ i P = Π i P, then for all j > i: Σ j P = Π j P = j P = Σ i P Or, the polynomial hierarchy collapses to the i th level. Proof It suffices to show that: Σ i P = Π i P Σ i+1 P = Σ i P Let L Σ i+1 P R Π i P: L = {x y : (x, y) R} Since Π i P = Σ i P R Σ i P (x, y) R z : (x, y, z) S, S Π i 1 P. Thus, x L y; z : (x, y, z) S, S Π i 1 P, which means L Σ i P.

36 Basic orems Class DP Basic orems Corollary If P=NP, or even NP=coNP, the collapses to the first level.

37 Basic orems Class DP Basic orems Corollary If P=NP, or even NP=coNP, the collapses to the first level. MINIMUM CIRCUIT Given a Boolean Circuit C, is it true that there is no circuit with fewer gates that computes the same Boolean function

38 Basic orems Class DP Basic orems Corollary If P=NP, or even NP=coNP, the collapses to the first level. MINIMUM CIRCUIT Given a Boolean Circuit C, is it true that there is no circuit with fewer gates that computes the same Boolean function

39 Basic orems Class DP Basic orems Corollary If P=NP, or even NP=coNP, the collapses to the first level. MINIMUM CIRCUIT Given a Boolean Circuit C, is it true that there is no circuit with fewer gates that computes the same Boolean function MINIMUM CIRCUIT is in Π 2 P, and not known to be in any class below that. It is open whether MINIMUM CIRCUIT is Π 2 P-complete.

40 Basic orems Class DP Basic orems QSAT i Given expression φ, with Boolean variables partitioned into i sets X i,is φ satisfied by the overall truth assignment of the expression: X 1 X 2 X 3...QX i φ, where Q is if i is odd, and if i is even.

41 Basic orems Class DP Basic orems QSAT i Given expression φ, with Boolean variables partitioned into i sets X i,is φ satisfied by the overall truth assignment of the expression: X 1 X 2 X 3...QX i φ, where Q is if i is odd, and if i is even. orem For all i 1 QSAT i is Σ i P-complete.

42 Basic orems Class DP Basic orems orem If there is a PH-complete problem, then the polynomial hierarchy collapses to some finite level. Proof Let L is PH-complete. Since L PH, i 0 : L Σ i P. But any L Σ i+1 P reduces to L. Since PH is closed under reductions, we imply that L Σ i P, so Σ i P = Σ i+1 P.

43 Basic orems Class DP Basic orems orem If there is a PH-complete problem, then the polynomial hierarchy collapses to some finite level. Proof Let L is PH-complete. Since L PH, i 0 : L Σ i P. But any L Σ i+1 P reduces to L. Since PH is closed under reductions, we imply that L Σ i P, so Σ i P = Σ i+1 P. orem PH PSPACE

44 Basic orems Class DP Basic orems orem If there is a PH-complete problem, then the polynomial hierarchy collapses to some finite level. Proof Let L is PH-complete. Since L PH, i 0 : L Σ i P. But any L Σ i+1 P reduces to L. Since PH is closed under reductions, we imply that L Σ i P, so Σ i P = Σ i+1 P. orem PH PSPACE

45 Basic orems Class DP Basic orems orem If there is a PH-complete problem, then the polynomial hierarchy collapses to some finite level. Proof Let L is PH-complete. Since L PH, i 0 : L Σ i P. But any L Σ i+1 P reduces to L. Since PH is closed under reductions, we imply that L Σ i P, so Σ i P = Σ i+1 P. orem PH PSPACE PH? = PSPACE (Open). If it was, then PH has complete problems, so it collapses to some finite level.

46 Class DP Basic orems orem BPP Σ 2 P Π 2 P Proof Because cobpp = BPP,we prove only BPP Σ 2 P. Let L BPP (L is accepted by clear majority ). For x = n, let A(x) {0, 1} p(n) be the set of accepting computations. We have: x L A(x) 2 p(n) ( n ) x / L A(x) 2 p(n) ( 1 2 n ) Let U be the set of all bit strings of length p(n). For a, b U, let a b be the XOR: a b = c c b = a, so b is 1-1.

47 Class DP Basic orems Proof For t U, A(x) t = {a t : a A(x)} (translation of A(x) by t). We imply that: A(x) t = A(x) If x L, consider a random (drawing p 2 (n) bits) sequence of translations: t 1, t 2,.., t p(n) U. For b U, these translations cover b, if b A(x) t j, j p(n). b A(x) t j b t j A(x) Pr[b / A(x) t j ]= 1 2 n Pr[b is not covered by any t j ]=2 np(n) Pr[ point that is not covered] 2 np(n) U = 2 (n 1)p(n)

48 Class DP Basic orems Proof So,T = (t 1,.., t p(n) ) has a positive probability that it covers all of U. If x / L, A(x) is exp small,and (for large n) there s not T that cover all U. (x L) ( T that cover all U) So, L = {x (T {0, 1} p2 (n) ) (b U) (j p(n)) : b t j A(x)} which is precisely the form of languages in Σ 2 P. last existential quantifier ( (j p(n))...) affects only polynomially many possibilities,so it doesn t count (can by tested in polynomial time by trying all t j s).

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in Oracle Turing Machines Nondeterministic OTM defined in the same way (transition relation, rather than function) oracle is like a subroutine, or function in your favorite PL but each call counts as single

More information

Umans Complexity Theory Lectures

Umans Complexity Theory Lectures Umans Complexity Theory Lectures Lecture 12: The Polynomial-Time Hierarchy Oracle Turing Machines Oracle Turing Machine (OTM): Deterministic multitape TM M with special query tape special states q?, q

More information

Lecture 7: Polynomial time hierarchy

Lecture 7: Polynomial time hierarchy Computational Complexity Theory, Fall 2010 September 15 Lecture 7: Polynomial time hierarchy Lecturer: Kristoffer Arnsfelt Hansen Scribe: Mads Chr. Olesen Recall that adding the power of alternation gives

More information

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006 Introduction to Complexity Theory Bernhard Häupler May 2, 2006 Abstract This paper is a short repetition of the basic topics in complexity theory. It is not intended to be a complete step by step introduction

More information

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 We now embark on a study of computational classes that are more general than NP. As these classes

More information

Theoretical Computer Science 2

Theoretical Computer Science 2 Theoretical Computer Science 2 lecture notes, university of technology Graz Lukas Prokop January 20, 2014 Contents 1 Date. 2nd of Oct 2013 0.1 Structure of this course Evaluations: 2-3 board presentations

More information

CS 151 Complexity Theory Spring Solution Set 5

CS 151 Complexity Theory Spring Solution Set 5 CS 151 Complexity Theory Spring 2017 Solution Set 5 Posted: May 17 Chris Umans 1. We are given a Boolean circuit C on n variables x 1, x 2,..., x n with m, and gates. Our 3-CNF formula will have m auxiliary

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

CS154, Lecture 17: conp, Oracles again, Space Complexity

CS154, Lecture 17: conp, Oracles again, Space Complexity CS154, Lecture 17: conp, Oracles again, Space Complexity Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode: Guess string

More information

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max

More information

: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall October 2007

: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall October 2007 80240233: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall 2007 16 October 2007 Instructor: Andrej Bogdanov Notes by: Jialin Zhang and Pinyan Lu In this lecture, we introduce the complexity

More information

Lecture 20: conp and Friends, Oracles in Complexity Theory

Lecture 20: conp and Friends, Oracles in Complexity Theory 6.045 Lecture 20: conp and Friends, Oracles in Complexity Theory 1 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode:

More information

NP Complete Problems. COMP 215 Lecture 20

NP Complete Problems. COMP 215 Lecture 20 NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst

More information

Theory of Computation Chapter 9

Theory of Computation Chapter 9 0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook

More information

CS 6505, Complexity and Algorithms Week 7: NP Completeness

CS 6505, Complexity and Algorithms Week 7: NP Completeness CS 6505, Complexity and Algorithms Week 7: NP Completeness Reductions We have seen some problems in P and NP, and we ve talked about space complexity. The Space Hierarchy Theorem showed us that there are

More information

conp, Oracles, Space Complexity

conp, Oracles, Space Complexity conp, Oracles, Space Complexity 1 What s next? A few possibilities CS161 Design and Analysis of Algorithms CS254 Complexity Theory (next year) CS354 Topics in Circuit Complexity For your favorite course

More information

Definition: conp = { L L NP } What does a conp computation look like?

Definition: conp = { L L NP } What does a conp computation look like? Space Complexity 28 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode: Guess string y of x k length and the machine accepts

More information

Computational Complexity

Computational Complexity p. 1/24 Computational Complexity The most sharp distinction in the theory of computation is between computable and noncomputable functions; that is, between possible and impossible. From the example of

More information

Lecture 19: Finish NP-Completeness, conp and Friends

Lecture 19: Finish NP-Completeness, conp and Friends 6.045 Lecture 19: Finish NP-Completeness, conp and Friends 1 Polynomial Time Reducibility f : Σ* Σ* is a polynomial time computable function if there is a poly-time Turing machine M that on every input

More information

Approximation Preserving Reductions

Approximation Preserving Reductions Approximation Preserving Reductions - Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM

More information

satisfiability (sat) Satisfiability unsatisfiability (unsat or sat complement) and validity Any Expression φ Can Be Converted into CNFs and DNFs

satisfiability (sat) Satisfiability unsatisfiability (unsat or sat complement) and validity Any Expression φ Can Be Converted into CNFs and DNFs Any Expression φ Can Be Converted into CNFs and DNFs φ = x j : This is trivially true. φ = φ 1 and a CNF is sought: Turn φ 1 into a DNF and apply de Morgan s laws to make a CNF for φ. φ = φ 1 and a DNF

More information

De Morgan s a Laws. De Morgan s laws say that. (φ 1 φ 2 ) = φ 1 φ 2, (φ 1 φ 2 ) = φ 1 φ 2.

De Morgan s a Laws. De Morgan s laws say that. (φ 1 φ 2 ) = φ 1 φ 2, (φ 1 φ 2 ) = φ 1 φ 2. De Morgan s a Laws De Morgan s laws say that (φ 1 φ 2 ) = φ 1 φ 2, (φ 1 φ 2 ) = φ 1 φ 2. Here is a proof for the first law: φ 1 φ 2 (φ 1 φ 2 ) φ 1 φ 2 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 a Augustus DeMorgan

More information

COMPLEXITY THEORY. Lecture 17: The Polynomial Hierarchy. TU Dresden, 19th Dec Markus Krötzsch Knowledge-Based Systems

COMPLEXITY THEORY. Lecture 17: The Polynomial Hierarchy. TU Dresden, 19th Dec Markus Krötzsch Knowledge-Based Systems COMPLEXITY THEORY Lecture 17: The Polynomial Hierarchy Markus Krötzsch Knowledge-Based Systems TU Dresden, 19th Dec 2017 Review: ATM vs. DTM Markus Krötzsch, 19th Dec 2017 Complexity Theory slide 2 of

More information

Ma/CS 117c Handout # 5 P vs. NP

Ma/CS 117c Handout # 5 P vs. NP Ma/CS 117c Handout # 5 P vs. NP We consider the possible relationships among the classes P, NP, and co-np. First we consider properties of the class of NP-complete problems, as opposed to those which are

More information

More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006.

More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006. More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006. Outline A last complete problem for NP conp, conp NP Function problems MAX-CUT A cut in a graph G=(V,E) is a set of nodes S used to partition

More information

CSE 555 HW 5 SAMPLE SOLUTION. Question 1.

CSE 555 HW 5 SAMPLE SOLUTION. Question 1. CSE 555 HW 5 SAMPLE SOLUTION Question 1. Show that if L is PSPACE-complete, then L is NP-hard. Show that the converse is not true. If L is PSPACE-complete, then for all A PSPACE, A P L. We know SAT PSPACE

More information

NP-problems continued

NP-problems continued NP-problems continued Page 1 Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity.

More information

Notes on Complexity Theory Last updated: October, Lecture 6

Notes on Complexity Theory Last updated: October, Lecture 6 Notes on Complexity Theory Last updated: October, 2015 Lecture 6 Notes by Jonathan Katz, lightly edited by Dov Gordon 1 PSPACE and PSPACE-Completeness As in our previous study of N P, it is useful to identify

More information

Lecture 23: Alternation vs. Counting

Lecture 23: Alternation vs. Counting CS 710: Complexity Theory 4/13/010 Lecture 3: Alternation vs. Counting Instructor: Dieter van Melkebeek Scribe: Jeff Kinne & Mushfeq Khan We introduced counting complexity classes in the previous lecture

More information

Formal definition of P

Formal definition of P Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity. In SAT we want to know if

More information

NP-Complete Reductions 2

NP-Complete Reductions 2 x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 447 11 13 21 23 31 33 Algorithms NP-Complete Reductions 2 Prof. Gregory Provan Department of Computer Science University College Cork 1 Lecture Outline NP-Complete

More information

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem. 1 More on NP In this set of lecture notes, we examine the class NP in more detail. We give a characterization of NP which justifies the guess and verify paradigm, and study the complexity of solving search

More information

Limitations of Algorithm Power

Limitations of Algorithm Power Limitations of Algorithm Power Objectives We now move into the third and final major theme for this course. 1. Tools for analyzing algorithms. 2. Design strategies for designing algorithms. 3. Identifying

More information

NP-problems continued

NP-problems continued NP-problems continued Page 1 Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity.

More information

Lecture 9: Polynomial-Time Hierarchy, Time-Space Tradeoffs

Lecture 9: Polynomial-Time Hierarchy, Time-Space Tradeoffs CSE 531: Computational Complexity I Winter 2016 Lecture 9: Polynomial-Time Hierarchy, Time-Space Tradeoffs Feb 3, 2016 Lecturer: Paul Beame Scribe: Paul Beame 1 The Polynomial-Time Hierarchy Last time

More information

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam Limits to Approximability: When Algorithms Won't Help You Note: Contents of today s lecture won t be on the exam Outline Limits to Approximability: basic results Detour: Provers, verifiers, and NP Graph

More information

6.840 Language Membership

6.840 Language Membership 6.840 Language Membership Michael Bernstein 1 Undecidable INP Practice final Use for A T M. Build a machine that asks EQ REX and then runs M on w. Query INP. If it s in P, accept. Note that the language

More information

Introduction to Advanced Results

Introduction to Advanced Results Introduction to Advanced Results Master Informatique Université Paris 5 René Descartes 2016 Master Info. Complexity Advanced Results 1/26 Outline Boolean Hierarchy Probabilistic Complexity Parameterized

More information

Lecture 13, Fall 04/05

Lecture 13, Fall 04/05 Lecture 13, Fall 04/05 Short review of last class NP hardness conp and conp completeness Additional reductions and NP complete problems Decision, search, and optimization problems Coping with NP completeness

More information

Lecture 22: Counting

Lecture 22: Counting CS 710: Complexity Theory 4/8/2010 Lecture 22: Counting Instructor: Dieter van Melkebeek Scribe: Phil Rydzewski & Chi Man Liu Last time we introduced extractors and discussed two methods to construct them.

More information

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT Definition: A language B is NP-complete if: 1. B NP 2. Every A in NP is poly-time reducible to B That is, A P B When this is true, we say B is NP-hard On

More information

The Polynomial Hierarchy

The Polynomial Hierarchy The Polynomial Hierarchy Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach. Ahto Buldas Ahto.Buldas@ut.ee Motivation..synthesizing circuits is exceedingly difficulty. It is even

More information

Lecture 8. MINDNF = {(φ, k) φ is a CNF expression and DNF expression ψ s.t. ψ k and ψ is equivalent to φ}

Lecture 8. MINDNF = {(φ, k) φ is a CNF expression and DNF expression ψ s.t. ψ k and ψ is equivalent to φ} 6.841 Advanced Complexity Theory February 28, 2005 Lecture 8 Lecturer: Madhu Sudan Scribe: Arnab Bhattacharyya 1 A New Theme In the past few lectures, we have concentrated on non-uniform types of computation

More information

SAT, NP, NP-Completeness

SAT, NP, NP-Completeness CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)

More information

Lecture 8: Alternatation. 1 Alternate Characterizations of the Polynomial Hierarchy

Lecture 8: Alternatation. 1 Alternate Characterizations of the Polynomial Hierarchy CS 710: Complexity Theory 10/4/2011 Lecture 8: Alternatation Instructor: Dieter van Melkebeek Scribe: Sachin Ravi In this lecture, we continue with our discussion of the polynomial hierarchy complexity

More information

Lecture 24: Randomized Complexity, Course Summary

Lecture 24: Randomized Complexity, Course Summary 6.045 Lecture 24: Randomized Complexity, Course Summary 1 1/4 1/16 1/4 1/4 1/32 1/16 1/32 Probabilistic TMs 1/16 A probabilistic TM M is a nondeterministic TM where: Each nondeterministic step is called

More information

P = k T IME(n k ) Now, do all decidable languages belong to P? Let s consider a couple of languages:

P = k T IME(n k ) Now, do all decidable languages belong to P? Let s consider a couple of languages: CS 6505: Computability & Algorithms Lecture Notes for Week 5, Feb 8-12 P, NP, PSPACE, and PH A deterministic TM is said to be in SP ACE (s (n)) if it uses space O (s (n)) on inputs of length n. Additionally,

More information

The Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine.

The Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine. The Class NP NP is the problems that can be solved in polynomial time by a nondeterministic machine. NP The time taken by nondeterministic TM is the length of the longest branch. The collection of all

More information

1 From previous lectures

1 From previous lectures CS 810: Introduction to Complexity Theory 9/18/2003 Lecture 11: P/poly, Sparse Sets, and Mahaney s Theorem Instructor: Jin-Yi Cai Scribe: Aparna Das, Scott Diehl, Giordano Fusco 1 From previous lectures

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

NP-Completeness. A language B is NP-complete iff B NP. This property means B is NP hard

NP-Completeness. A language B is NP-complete iff B NP. This property means B is NP hard NP-Completeness A language B is NP-complete iff B NP A NP A P B This property means B is NP hard 1 3SAT is NP-complete 2 Result Idea: B is known to be NP complete Use it to prove NP-Completeness of C IF

More information

Non-Approximability Results (2 nd part) 1/19

Non-Approximability Results (2 nd part) 1/19 Non-Approximability Results (2 nd part) 1/19 Summary - The PCP theorem - Application: Non-approximability of MAXIMUM 3-SAT 2/19 Non deterministic TM - A TM where it is possible to associate more than one

More information

Lecture 18: PCP Theorem and Hardness of Approximation I

Lecture 18: PCP Theorem and Hardness of Approximation I Lecture 18: and Hardness of Approximation I Arijit Bishnu 26.04.2010 Outline 1 Introduction to Approximation Algorithm 2 Outline 1 Introduction to Approximation Algorithm 2 Approximation Algorithm Approximation

More information

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170 UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, 2003 Notes 22 for CS 170 1 NP-completeness of Circuit-SAT We will prove that the circuit satisfiability

More information

Ταουσάκος Θανάσης Αλγόριθμοι και Πολυπλοκότητα II 7 Φεβρουαρίου 2013

Ταουσάκος Θανάσης Αλγόριθμοι και Πολυπλοκότητα II 7 Φεβρουαρίου 2013 Ταουσάκος Θανάσης Αλγόριθμοι και Πολυπλοκότητα II 7 Φεβρουαρίου 2013 Alternation: important generalization of non-determinism Redefining Non-Determinism in terms of configurations: a configuration lead

More information

NP and NP-Completeness

NP and NP-Completeness 0/2/206 Algorithms NP-Completeness 7- Algorithms NP-Completeness 7-2 Efficient Certification NP and NP-Completeness By a solution of a decision problem X we understand a certificate witnessing that an

More information

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal?

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? The conjecture that P is different from NP made its way on to several lists of the most important unsolved problems in Mathematics (never

More information

MTAT Complexity Theory October 20th-21st, Lecture 7

MTAT Complexity Theory October 20th-21st, Lecture 7 MTAT.07.004 Complexity Theory October 20th-21st, 2011 Lecturer: Peeter Laud Lecture 7 Scribe(s): Riivo Talviste Polynomial hierarchy 1 Turing reducibility From the algorithmics course, we know the notion

More information

NP-Completeness. Subhash Suri. May 15, 2018

NP-Completeness. Subhash Suri. May 15, 2018 NP-Completeness Subhash Suri May 15, 2018 1 Computational Intractability The classical reference for this topic is the book Computers and Intractability: A guide to the theory of NP-Completeness by Michael

More information

Quantum Complexity Theory. Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003

Quantum Complexity Theory. Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003 Quantum Complexity Theory Wim van Dam HP Labs MSRI UC Berkeley SQUINT 3 June 16, 2003 Complexity Theory Complexity theory investigates what resources (time, space, randomness, etc.) are required to solve

More information

NP and conp. Theorem. Skoulakis Stratis NP,coNP and Funtion Problems EuroCG 14, Ein-Gedi, Israel 1 / 18

NP and conp. Theorem. Skoulakis Stratis NP,coNP and Funtion Problems EuroCG 14, Ein-Gedi, Israel 1 / 18 NP and conp Theorem Let L NP then there exists a polynomial decidable and balanced relation R L such that for all string x L: there exists a string y such that R L (x, y) if and only if x L. Skoulakis

More information

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1 NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320

More information

Technische Universität München Summer term 2010 Theoretische Informatik August 2, 2010 Dr. J. Kreiker / Dr. M. Luttenberger, J. Kretinsky SOLUTION

Technische Universität München Summer term 2010 Theoretische Informatik August 2, 2010 Dr. J. Kreiker / Dr. M. Luttenberger, J. Kretinsky SOLUTION Technische Universität München Summer term 2010 Theoretische Informatik August 2, 2010 Dr. J. Kreiker / Dr. M. Luttenberger, J. Kretinsky SOLUTION Complexity Theory Final Exam Please note : If not stated

More information

Computational Intractability 2010/4/15. Lecture 2

Computational Intractability 2010/4/15. Lecture 2 Computational Intractability 2010/4/15 Professor: David Avis Lecture 2 Scribe:Naoki Hatta 1 P and NP 1.1 Definition of P and NP Decision problem it requires yes/no answer. Example: X is a set of strings.

More information

Finish K-Complexity, Start Time Complexity

Finish K-Complexity, Start Time Complexity 6.045 Finish K-Complexity, Start Time Complexity 1 Kolmogorov Complexity Definition: The shortest description of x, denoted as d(x), is the lexicographically shortest string such that M(w) halts

More information

CS151 Complexity Theory. Lecture 14 May 17, 2017

CS151 Complexity Theory. Lecture 14 May 17, 2017 CS151 Complexity Theory Lecture 14 May 17, 2017 IP = PSPACE Theorem: (Shamir) IP = PSPACE Note: IP PSPACE enumerate all possible interactions, explicitly calculate acceptance probability interaction extremely

More information

ITCS:CCT09 : Computational Complexity Theory Apr 8, Lecture 7

ITCS:CCT09 : Computational Complexity Theory Apr 8, Lecture 7 ITCS:CCT09 : Computational Complexity Theory Apr 8, 2009 Lecturer: Jayalal Sarma M.N. Lecture 7 Scribe: Shiteng Chen In this lecture, we will discuss one of the basic concepts in complexity theory; namely

More information

Computational Complexity Theory

Computational Complexity Theory Computational Complexity Theory Marcus Hutter Canberra, ACT, 0200, Australia http://www.hutter1.net/ Assumed Background Preliminaries Turing Machine (TM) Deterministic Turing Machine (DTM) NonDeterministic

More information

Lecture 4 : Quest for Structure in Counting Problems

Lecture 4 : Quest for Structure in Counting Problems CS6840: Advanced Complexity Theory Jan 10, 2012 Lecture 4 : Quest for Structure in Counting Problems Lecturer: Jayalal Sarma M.N. Scribe: Dinesh K. Theme: Between P and PSPACE. Lecture Plan:Counting problems

More information

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness Harry Lewis November 19, 2013 Reading: Sipser 7.4, 7.5. For culture : Computers and Intractability: A Guide to the Theory

More information

6-1 Computational Complexity

6-1 Computational Complexity 6-1 Computational Complexity 6. Computational Complexity Computational models Turing Machines Time complexity Non-determinism, witnesses, and short proofs. Complexity classes: P, NP, conp Polynomial-time

More information

Lecture 3: Nondeterminism, NP, and NP-completeness

Lecture 3: Nondeterminism, NP, and NP-completeness CSE 531: Computational Complexity I Winter 2016 Lecture 3: Nondeterminism, NP, and NP-completeness January 13, 2016 Lecturer: Paul Beame Scribe: Paul Beame 1 Nondeterminism and NP Recall the definition

More information

NP-Complete Problems. More reductions

NP-Complete Problems. More reductions NP-Complete Problems More reductions Definitions P: problems that can be solved in polynomial time (typically in n, size of input) on a deterministic Turing machine Any normal computer simulates a DTM

More information

NP Completeness. Richard Karp, 1972.

NP Completeness. Richard Karp, 1972. NP Completeness In this paper we give theorems that suggest, but do not imply, that these problems as well as many others, will remain intractable perpetually. Richard Karp, 1972. Reductions At the heart

More information

Time and space classes

Time and space classes Time and space classes Little Oh (o,

More information

More NP-Complete Problems

More NP-Complete Problems CS 473: Algorithms, Spring 2018 More NP-Complete Problems Lecture 23 April 17, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Recap NP: languages/problems that have

More information

INAPPROX APPROX PTAS. FPTAS Knapsack P

INAPPROX APPROX PTAS. FPTAS Knapsack P CMPSCI 61: Recall From Last Time Lecture 22 Clique TSP INAPPROX exists P approx alg for no ε < 1 VertexCover MAX SAT APPROX TSP some but not all ε< 1 PTAS all ε < 1 ETSP FPTAS Knapsack P poly in n, 1/ε

More information

Lecture 17: Cook-Levin Theorem, NP-Complete Problems

Lecture 17: Cook-Levin Theorem, NP-Complete Problems 6.045 Lecture 17: Cook-Levin Theorem, NP-Complete Problems 1 Is SAT solvable in O(n) time on a multitape TM? Logic circuits of 6n gates for SAT? If yes, then not only is P=NP, but there would be a dream

More information

CS151 Complexity Theory. Lecture 4 April 12, 2017

CS151 Complexity Theory. Lecture 4 April 12, 2017 CS151 Complexity Theory Lecture 4 A puzzle A puzzle: two kinds of trees depth n...... cover up nodes with c colors promise: never color arrow same as blank determine which kind of tree in poly(n, c) steps?

More information

Lecture 59 : Instance Compression and Succinct PCP s for NP

Lecture 59 : Instance Compression and Succinct PCP s for NP IITM-CS6840: Advanced Complexity Theory March 31, 2012 Lecture 59 : Instance Compression and Succinct PCP s for NP Lecturer: Sivaramakrishnan N.R. Scribe: Prashant Vasudevan 1 Introduction Classical Complexity

More information

Logarithmic space. Evgenij Thorstensen V18. Evgenij Thorstensen Logarithmic space V18 1 / 18

Logarithmic space. Evgenij Thorstensen V18. Evgenij Thorstensen Logarithmic space V18 1 / 18 Logarithmic space Evgenij Thorstensen V18 Evgenij Thorstensen Logarithmic space V18 1 / 18 Journey below Unlike for time, it makes sense to talk about sublinear space. This models computations on input

More information

Lecture Notes Each circuit agrees with M on inputs of length equal to its index, i.e. n, x {0, 1} n, C n (x) = M(x).

Lecture Notes Each circuit agrees with M on inputs of length equal to its index, i.e. n, x {0, 1} n, C n (x) = M(x). CS 221: Computational Complexity Prof. Salil Vadhan Lecture Notes 4 February 3, 2010 Scribe: Jonathan Pines 1 Agenda P-/NP- Completeness NP-intermediate problems NP vs. co-np L, NL 2 Recap Last time, we

More information

Lecture 17. In this lecture, we will continue our discussion on randomization.

Lecture 17. In this lecture, we will continue our discussion on randomization. ITCS:CCT09 : Computational Complexity Theory May 11, 2009 Lecturer: Jayalal Sarma M.N. Lecture 17 Scribe: Hao Song In this lecture, we will continue our discussion on randomization. 1 BPP and the Polynomial

More information

The knapsack Problem

The knapsack Problem There is a set of n items. The knapsack Problem Item i has value v i Z + and weight w i Z +. We are given K Z + and W Z +. knapsack asks if there exists a subset S {1, 2,..., n} such that i S w i W and

More information

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement

Lecture 7: The Polynomial-Time Hierarchy. 1 Nondeterministic Space is Closed under Complement CS 710: Complexity Theory 9/29/2011 Lecture 7: The Polynomial-Time Hierarchy Instructor: Dieter van Melkebeek Scribe: Xi Wu In this lecture we first finish the discussion of space-bounded nondeterminism

More information

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München Complexity Theory Jörg Kreiker Chair for Theoretical Computer Science Prof. Esparza TU München Summer term 2010 Lecture 4 NP-completeness Recap: relations between classes EXP PSPACE = NPSPACE conp NP conp

More information

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death Nathan Brunelle Department of Computer Science University of Virginia www.cs.virginia.edu/~njb2b/theory

More information

Stanford University CS254: Computational Complexity Handout 8 Luca Trevisan 4/21/2010

Stanford University CS254: Computational Complexity Handout 8 Luca Trevisan 4/21/2010 Stanford University CS254: Computational Complexity Handout 8 Luca Trevisan 4/2/200 Counting Problems Today we describe counting problems and the class #P that they define, and we show that every counting

More information

Lecture 12: Interactive Proofs

Lecture 12: Interactive Proofs princeton university cos 522: computational complexity Lecture 12: Interactive Proofs Lecturer: Sanjeev Arora Scribe:Carl Kingsford Recall the certificate definition of NP. We can think of this characterization

More information

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4 Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 18, 2012 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial

More information

CSCI 1590 Intro to Computational Complexity

CSCI 1590 Intro to Computational Complexity CSCI 1590 Intro to Computational Complexity NP-Complete Languages John E. Savage Brown University February 2, 2009 John E. Savage (Brown University) CSCI 1590 Intro to Computational Complexity February

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

The Complexity of Optimization Problems

The Complexity of Optimization Problems The Complexity of Optimization Problems Summary Lecture 1 - Complexity of algorithms and problems - Complexity classes: P and NP - Reducibility - Karp reducibility - Turing reducibility Uniform and logarithmic

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 18 February 16, 2018 February 16, 2018 CS21 Lecture 18 1 Outline the complexity class NP 3-SAT is NP-complete NP-complete problems: independent set, vertex cover,

More information

Complexity Classes V. More PCPs. Eric Rachlin

Complexity Classes V. More PCPs. Eric Rachlin Complexity Classes V More PCPs Eric Rachlin 1 Recall from last time Nondeterminism is equivalent to having access to a certificate. If a valid certificate exists, the machine accepts. We see that problems

More information

NP-Completeness I. Lecture Overview Introduction: Reduction and Expressiveness

NP-Completeness I. Lecture Overview Introduction: Reduction and Expressiveness Lecture 19 NP-Completeness I 19.1 Overview In the past few lectures we have looked at increasingly more expressive problems that we were able to solve using efficient algorithms. In this lecture we introduce

More information

1 Reductions and Expressiveness

1 Reductions and Expressiveness 15-451/651: Design & Analysis of Algorithms November 3, 2015 Lecture #17 last changed: October 30, 2015 In the past few lectures we have looked at increasingly more expressive problems solvable using efficient

More information