§6 PSPACE and Polynomial Hierarchy

Slides:



Advertisements
Similar presentations
COMPLEXITY THEORY CSci 5403 LECTURE VII: DIAGONALIZATION.
Advertisements

INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
1 Space Complexity. 2 Def: 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)
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Having Proofs for Incorrectness
Alternation Alternation: generalizes non-determinism, where each state is either “existential” or “universal”: Old: existential states New: universal states.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Complexity 12-1 Complexity Andrei Bulatov Non-Deterministic Space.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Computability and Complexity 22-1 Computability and Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 13-1 Complexity Andrei Bulatov Hierarchy Theorem.
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)
March 2, 2015CS21 Lecture 231 CS21 Decidability and Tractability Lecture 23 March 2, 2015.
Computability and Complexity 19-1 Computability and Complexity Andrei Bulatov Non-Deterministic Space.
Complexity ©D.Moshkovits 1 Space Complexity Complexity ©D.Moshkovits 2 Motivation Complexity classes correspond to bounds on resources One such resource.
CS151 Complexity Theory Lecture 12 May 6, CS151 Lecture 122 Outline The Polynomial-Time Hierarachy (PH) Complete problems for classes in PH, PSPACE.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
Submitted by : Estrella Eisenberg Yair Kaufman Ohad Lipsky Riva Gonen Shalom.
Computability and Complexity 20-1 Computability and Complexity Andrei Bulatov Class NL.
Alternating Turing Machine (ATM) –  node is marked accept iff any of its children is marked accept. –  node is marked accept iff all of its children.
CS151 Complexity Theory Lecture 15 May 18, CS151 Lecture 152 Outline IP = PSPACE Arthur-Merlin games –classes MA, AM Optimization, Approximation,
Theory of Computing Lecture 19 MAS 714 Hartmut Klauck.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
PSPACE-Completeness Section 8.3 Giorgi Japaridze Theory of Computability.
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.
Complexity Classes Kang Yu 1. NP NP : nondeterministic polynomial time NP-complete : 1.In NP (can be verified in polynomial time) 2.Every problem in NP.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Space Complexity. Reminder: P, NP classes P NP is the class of problems for which: –Guessing phase: A polynomial time algorithm generates a plausible.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Theory of Computing Lecture 21 MAS 714 Hartmut Klauck.
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,
1 Design and Analysis of Algorithms Yoram Moses Lecture 11 June 3, 2010
Fall 2013 CMU CS Computational Complexity Lecture 7 Alternating Quantifiers, PH, PSPACE. These slides are mostly a resequencing of Chris Umans’
A Problem That Is Complete for PSPACE (Polynomial Space) BY TEJA SUDHA GARIGANTI.
Computability NP complete problems. Space complexity. Homework: [Post proposal]. Find PSPACE- Complete problems. Work on presentations.
Alternation Section 10.3 Giorgi Japaridze Theory of Computability.
Homework 8 Solutions Problem 1. Draw a diagram showing the various classes of languages that we have discussed and alluded to in terms of which class.
Space Complexity. Reminder: P, NP classes P is the class of problems that can be solved with algorithms that runs in polynomial time NP is the class of.
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
Chapter 7 Introduction to Computational Complexity.
 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
NP-Completeness A problem is NP-complete if: It is in NP
Space Complexity Complexity ©D.Moshkovits.
Richard Anderson Lectures NP-Completeness
Theory of Computability
Umans Complexity Theory Lectures
Umans Complexity Theory Lectures
Intro to Theory of Computation
Intro to Theory of Computation
Geography Game Geography. Amy names capital city c of country she is in. Bob names a capital city c' that starts with the letter on which c ends. Amy.
CSC 4170 Theory of Computation Space complexity Chapter 8.
Finite Model Theory Lecture 6
CSC 4170 Theory of Computation The class NP Section 7.3.
Theory of Computability
Umans Complexity Theory Lectures
CS21 Decidability and Tractability
Theory of Computability
Umans Complexity Theory Lectures
The Polynomial Hierarchy Enumeration Problems 7.3.3
CS151 Complexity Theory Lecture 12 May 10, 2019.
Instructor: Aaron Roth
§4 Computational Complexity
LECTURE 2-9 PSPACE-Complete
Intro to Theory of Computation
§5 Structural Complexity: NPc
CS151 Complexity Theory Lecture 4 April 8, 2004.
Presentation transcript:

§6 PSPACE and Polynomial Hierarchy PSPACE-complete problems QBF, 3QBF, GRAPH (Savitch's Theorem: PSPACE = NPSPACE) Polynomial Hierarchy: syntactically / semantically (Baker, Gill & Solovay)

QBF and PSPACE NPc coNP ? 3QBF: Given Boolean term Φ(Y1,…Ym), NP ? does it hold y1 y2 y3 …: Φ(y1,…ym)=1 ? PSPACE Recursively evaluate quantifiers: s(m) = s(m-1) + poly(n) Theorem: QBF is PSPACE-complete. Proof: Let A decide LPSPACE in space s:=poly(n). Encode configurations of A in s bits u=(u1,…us). edge from u to v if v encodes A's unique config after u. G=GA,s digraph with u=start config on input x, w unique accepting config. A accepts x  PG(u,w,s), : "path of length ≤2m from u to w"  v: PG(u,v,s-1)  PG(v,w,s-1)  v s,t: (s=u  t=v)  (s=v  t=w) → PG(s,t,s-1) Draw w u v of length ≤2s SAT: Given Boolean term Φ(Y1,…Yn), does it hold y1,…, yn{0,1}: Φ(y1,… yn)=1 ? NPc

Two-Player Game on Graphs 3QBF: Given Boolean term Φ(X1,…Xm) in 3CNF, does it hold x1 x2 x3 …: Φ(x1,…xm)=1 ? PSPACEc Fix digraph G with start vertex s. Rules: Red (start) and blue player alternatingly mark current vertex, and follow any outgoing edge to a yet unmarked vertex. Who cannot move, loses. Red has a winning strategy if, however blue reacts, red can follow such that, however ……… blue looses. Decision problem: Given (G,s), does red have a winning strategy?

Two-Player Game on Graphs 3QBF: Given Boolean term Φ(X1,…Xm) in 3CNF, does it hold x1 x2 x3 …: Φ(x1,…xm)=1 ? PSPACEc n 7 Proof (reduction from 3QBF): Let Φ = C1  C2  …  Ck See illustration for  = (x1  x2  x3)  (x2  x3  x7)  …  Ck Theorem: The following is PSPACE-complete: Decision problem: Given (G,s), does red have a winning strategy?

Oracle Complexity Theory Fix ON. An OWHILE+ program AO has test instructions "xjO?" Definition: Fix some class C of subsets LN. PC := { LN decided by polytime OWHILE+ AO, OC } NPC := { LN accep. nondet.poly. OWHILE+ AO, OC } Examples: a) MinBF  NPSAT = NPNP  PNPNP b) PP=P, NPP=NP, PSPACEPSPACE=PSPACE c) NP  coNP  PNP; „≠“ unless NP=coNP

Semantic Polynomial Hierarchy : Δ3P Def: Δ0P =Σ0P =Π0P := P Δk+1P := PΣkP Σk+1P := NPΣkP Πk+1P := coNPΣkP PH := ΣkP Lemma: a) ΔkP=co-ΔkP b) ΔkP  ΣkP  ΠkP c) ΣkP  ΠkP  Δk+1P d) PH  PSPACE Σ2PΠ2P = PΠkP NPNP coNPNP = NPΠkP =Σ2P = Π2P = coNPΠkP PNP =Δ2P NPcoNP NP coNP =Σ1P =Π1P P

k+1P = NPkP =NPkP k+1P =coNPΣkP =coNPkP Syntactic Polynomial Hierarchy Abbreviate Nn := { yN : ℓ(y)≤n } Theorem: a) LN belongs to coNP iff L = { x | yNpoly(n) : x,yV } for some VP b) L belongs to k+1 iff L = { x | yNpoly(n) : x,yW } for some Wk or k c) L belongs to k+1 iff L = { x | yNpoly(n) : x,yZ } for some Zk or k d) L belongs to k iff L = { x | y1Npoly(n) y2Npoly(n) y3… QkykNpoly(n) : x,y1,y2,…ykA } for some AP n:=ℓ(x) "" if k odd, "" else k+1P = NPkP =NPkP k+1P =coNPΣkP =coNPkP

Walter Savitch's Theorem Def: For nondecreasing f:N→N, let TIME(f) := { L {0,1}* decidable by WHILE+ program in time f(n) } Similarly NTIME(f), SPACE(f), NSPACE(f): nondet. WHILE+ Theorem: For any polynom. p, NSPACE(p)SPACE(p²) Proof: Let nondet. A accept L in space s:=p(n) Encode configurations of A in s bits u=(u1,…us). edge from u to v if v encodes A's possible config after u. G=GA,s digraph with u=start config on input x, w unique accepting config. A accepts x  PG(u,w,s), : "path of length ≤2m from u to w"  v: PG(u,v,s-1)  PG(v,w,s-1) Recursive algorithm of depth s stores v in s bits: O(s²) Draw u w of length ≤2s SAT: Given Boolean term Φ(Y1,…Yn), does it hold y1,…, yn{0,1}: Φ(y1,… yn)=1 ? v