March 2, 2015CS21 Lecture 231 CS21 Decidability and Tractability Lecture 23 March 2, 2015.

Slides:



Advertisements
Similar presentations
Part VI NP-Hardness. Lecture 23 Whats NP? Hard Problems.
Advertisements

Complexity Theory Lecture 6
1 Nondeterministic Space is Closed Under Complement Presented by Jing Zhang and Yingbo Wang Theory of Computation II Professor: Geoffrey Smith.
CS151 Complexity Theory Lecture 3 April 6, CS151 Lecture 32 Introduction A motivating question: Can computers replace mathematicians? L = { (x,
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Umans Complexity Theory Lectures Lecture 2a: Reductions & Completeness.
Having Proofs for Incorrectness
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
The diagonalization method The halting problem is undecidable Decidability.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
P and NP Sipser (pages ). CS 311 Fall Polynomial time P = ∪ k TIME(n k ) … P = ∪ k TIME(n k ) … TIME(n 3 ) TIME(n 2 ) TIME(n)
CS151 Complexity Theory Lecture 3 April 6, Nondeterminism: introduction A motivating question: Can computers replace mathematicians? L = { (x,
CS21 Decidability and Tractability
CS21 Decidability and Tractability
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY Read sections 7.1 – 7.3 of the book for next time.
CS151 Complexity Theory Lecture 12 May 6, CS151 Lecture 122 Outline The Polynomial-Time Hierarachy (PH) Complete problems for classes in PH, PSPACE.
CS151 Complexity Theory Lecture 13 May 11, CS151 Lecture 132 Outline Natural complete problems for PH and PSPACE proof systems interactive proofs.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture NP-Completeness Jan Maluszynski, IDA, 2007
February 20, 2015CS21 Lecture 191 CS21 Decidability and Tractability Lecture 19 February 20, 2015.
Computability and Complexity 17-1 Computability and Complexity Andrei Bulatov Strong NP-Completeness.
Complements of Languages in NP Osama Awwad Department of Computer Science Western Michigan University July 13, 2015.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Definition: Let M be a deterministic Turing Machine that halts on all inputs. Space Complexity of M is the function f:N  N, where f(n) is the maximum.
The Complexity of Primality Testing. What is Primality Testing? Testing whether an integer is prime or not. – An integer p is prime if the only integers.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
Lecture 22 More NPC problems
CS151 Complexity Theory Lecture 13 May 11, Outline proof systems interactive proofs and their power Arthur-Merlin games.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CS151 Complexity Theory Lecture 12 May 6, QSAT is PSPACE-complete Theorem: QSAT is PSPACE-complete. Proof: 8 x 1 9 x 2 8 x 3 … Qx n φ(x 1, x 2,
Fall 2013 CMU CS Computational Complexity Lecture 7 Alternating Quantifiers, PH, PSPACE. These slides are mostly a resequencing of Chris Umans’
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
Additional Classes: co-NP class Krishna Mahesh Deevela Murali.
Lecture 25 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
Umans Complexity Theory Lectures Lecture 1c: Robust Time & Space Classes.
NPC.
Fall 2013 CMU CS Computational Complexity Lecture 2 Diagonalization, 9/12/2013.
CSCI 2670 Introduction to Theory of Computing December 2, 2004.
CSCI 2670 Introduction to Theory of Computing December 7, 2005.
Complexity Classes Karl Lieberherr. Source From riptive_complexity.html.
Complexity ©D.Moshkovitz 1 Our First NP-Complete Problem The Cook-Levin theorem A B C.
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
 2005 SDU Lecture15 P,NP,NP-complete.  2005 SDU 2 The PATH problem PATH = { | G is a directed graph that has a directed path from s to t} s t
 2005 SDU Lecture14 Mapping Reducibility, Complexity.
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
Lecture 2-2 NP Class.
Part VI NP-Hardness.
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
CS21 Decidability and Tractability
Umans Complexity Theory Lectures
CS21 Decidability and Tractability
Summary.
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Richard Anderson Lecture 25 NP-Completeness
Computability & Complexity I
CS21 Decidability and Tractability
CS21 Decidability and Tractability
CS21 Decidability and Tractability
Umans Complexity Theory Lectures
CS21 Decidability and Tractability
CS21 Decidability and Tractability
CS21 Decidability and Tractability
CS21 Decidability and Tractability
Umans Complexity Theory Lectures
CS151 Complexity Theory Lecture 12 May 10, 2019.
Instructor: Aaron Roth
Theory of Computability
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
CS151 Complexity Theory Lecture 4 April 12, 2019.
Intro to Theory of Computation
Presentation transcript:

March 2, 2015CS21 Lecture 231 CS21 Decidability and Tractability Lecture 23 March 2, 2015

Outline the class co-NP the class NP Å coNP the class PSPACE –a PSPACE-complete problem –PSPACE and 2-player games March 2, 2015CS21 Lecture 232

March 2, 2015CS21 Lecture 233 coNP Is NP closed under complement? q accept q reject x  L x  L q accept q reject x  Lx  L Can we transform this machine: into this machine?

March 2, 2015CS21 Lecture 234 coNP language L is in coNP iff its complement (co-L) is in NP it is believed that NP ≠ coNP note: P = NP implies NP = coNP –proving NP ≠ coNP would prove P ≠ NP –another major open problem…

March 2, 2015CS21 Lecture 235 coNP canonical coNP-complete language: UNSAT = {φ : φ is an unsatisfiable 3-CNF formula} –proof?

March 2, 2015CS21 Lecture 236 coNP another example 3-DNF-TAUTOLOGY = {φ : φ is a 3-DNF formula and for all x, φ(x) =1} –proof? another example: EQUIV-CIRCUIT = {(C 1, C 2 ) : C 1 and C 2 are Boolean circuits and for all x, C 1 (x) = C 2 (x)} –proof? Disjunctive Normal Form = OR of ANDs

March 2, 2015CS21 Lecture 237 Quantifier characterization of coNP recall that a language L is in NP if and only if it is expressible as: L = {x | 9 y, |y| ≤ |x| k, (x, y)  R } where R is a language in P. Theorem: language L is in coNP if and only if it is expressible as: L = { x |  y, |y| ≤ |x| k, (x, y)  R } where R is a language in P.

March 2, 2015CS21 Lecture 238 Proof interpretation of coNP What is a proof? Good formalization comes from NP: L = {x | 9 y, |y| ≤ |x| k, (x, y)  R }, and R  P NP languages have short proofs of membership co-NP languages have short proofs of non- membership coNP-complete languages are least likely to have short proofs of membership “proof”“proof verifier”“short” proof

March 2, 2015CS21 Lecture 239 coNP what complexity class do the following languages belong in? –COMPOSITES = {x : integer x is a composite} –PRIMES = {x : integer x is a prime number} –GRAPH-NONISOMORPHISM = {(G, H) : G and H are graphs that are not isomorphic} –EXPANSION = {(G = (V,E),  > 0): every subset S  V of size at most |V|/2 has at least  |S| neighbors}

March 2, 2015CS21 Lecture 2310 coNP Picture of the way we believe things are: decidable languages NP P EXP coNP NP  coNP

March 2, 2015CS21 Lecture 2311 NP  coNP Might guess NP  coNP = P by analogy with RE (since RE  coRE = DECIDABLE) Not believed to be true. A problem in NP  coNP not believed to be in P: L = {(x, k): integer x has a prime factor p < k} (decision version of factoring)

March 2, 2015CS21 Lecture 2312 NP  coNP Theorem: This language is in NP Å coNP: L = {(x, k): integer x has a prime factor p < k} Proof: –In NP (why?) –In coNP (what certificate demonstrates that x has no small prime factor?) –Use this claim: PRIMES is in NP: PRIMES = {x :  1 < y < x, y does not divide x}

March 2, 2015CS21 Lecture 2313 PRIMES in NP Theorem: (Pratt 1975) PRIMES is in NP. PRIMES = {x :  1 < y < x, y does not divide x} Proof outline: –Step 1: give “  ” characterization of PRIMES –Step 2: this ) short certificate of primality –Step 3: certificate checkable in poly time (we will skip, because…) Theorem: (M. Agrawal, N. Kayal, N. Saxena 2002) PRIMES is in P.

March 2, 2015CS21 Lecture 2314 Summary Picture of the way we believe things are: decidable languages NP P EXPcoNP NP  coNP (decision version of ) FACTORING

March 2, 2015CS21 Lecture 2315 Space complexity Definition: the space complexity of a TM M is a function NN f:N → N where f(n) is the maximum number of tape cells M scans on any input of length n. “M uses space f(n),” “M is a f(n) space TM”

March 2, 2015CS21 Lecture 2316 Space complexity Definition: SPACE(t(n)) = {L : there exists a TM M that decides L in space O(t(n))} PSPACE =  k ≥ 1 SPACE(n k )

March 2, 2015CS21 Lecture 2317 PSPACE NP  PSPACE, coNP  PSPACE (proof?) PSPACE  EXP (proof?) containments believed to be proper PSPACE NP P EXP coNP decidable languages