today story so far alternation as a resource would love
play

Today Story so far Alternation as a resource. Would love to prove - PDF document

Today Story so far Alternation as a resource. Would love to prove NP = P. ATIME vs. DSPACE But Diagonalization cant do this? (Relativization). ASPACE vs. DTIME Circuit complexity may be able to, but The


  1. Today Story so far • Alternation as a resource. • Would love to prove NP � = P. • ATIME vs. DSPACE • But Diagonalization can’t do this? (Relativization). • ASPACE vs. DTIME • Circuit complexity may be able to, but • The Polynomial Hierarchy haven’t succeeded so far. • Hence ... moving away from question. � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 1 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 2 Some Goals DNF Minimization Defn: MinDNF is the language consisting • Try to understand the structure outside NP. of pairs ( φ, k ) , such that φ is a DNF formula such that no DNF formula with fewer than k • E.g., co-NP ... (universal machines). literals is equivalent to φ . Prop: MinDNF is in NPNP. • Look at the power of NP, when relativized with NP. (machines with universal and Proof: Below is an NP oracle machine M existential state, but only one alternation.) that accesses a SAT oracle: • In general, machines with both quantifiers can solve TQBF (and hence PSPACE) in • Guess a formula ψ with fewer than k polytime. literals. • Bounded number of alternations gives • Ask SAT oracle if there exists an what? assignment x such that ψ ( x ) � = φ ( x ) . • Accept if oracle says NO. � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 3 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 4

  2. Note: we get the power to negate the oracles’ Alternation response (or do any other polynomial time computation on it). • Suppose we built this into a Turing machine. • Machine has two special states: ∃ and ∀ , both with two arcs leading out. − ∃ state accepts if one of the two paths leading out accepts. − ∀ state accepts if both paths accept. • Alternation = Resource: write down computation tree: Count max. # times we alternate enter an ∃ node and then a ∀ node. • This is a (valuable) resource! � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 5 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 6 Alternations Alternating complexity classes • Henceforth will consider machines both • Classes: existential and universal states. with − ATIME [ t ] = Languages accepted by three resources restrictions: space, time, ATMs running in time t ( n ) . alternations. − ASPACE [ s ] = Languages accepted by ATMs using space s ( n ) . • Will see ... − (only of technical interest) ATISP [ a, t, s ] − Leads to intriguing recharacterizations of = ... a ( n ) alternations, t ( n ) time, and known classes. s ( n ) space. − Introduces a new hierarchy of classes; • PH: Σ P and a new assumption (the mother of all i = languages accepted by polytime assumptions in complexity theory). bounded ATMs starting in existential state − Leads to a strong lower bound (e.g., and making at most i − 1 alternations. SAT does not have linear size, log-depth uniform circuits). � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 7 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 8

  3. Basic theorems about alternations Theorem 1: ATIME vs. SPACE Thm 1: ATIME ( f ) ⊆ SPACE ( f ) ⊆ ATIME ( f 2 ) . Lemma 1.1: ATIME(s) ⊆ SPACE(s). Thm 1: ASPACE ( f ) = TIME (2 O ( f ) ) . Proof: Straightforward simulation, using one extra tape to record stack of ∃ ’s and ∀ ’s. Lemma 1.2: SPACE(s) ⊆ ATIME ( s 2 ) . Proof: As in proof of Savitch’s theorem. Let TM A use space s on input x. Make Atime( s 2 ) machine M(c1,c2,t) to check if A goes from configuration c1 to c2 in t steps as follows: M(c1,c2,t): GUESS c3 = config at time t/2 FORALL check M(c1,c3,t/2) check M(c3,c2,t/2). Theorem: ATIME(poly) = PSPACE. � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 9 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 10 Theorem 2: ASPACE vs. TIME Theorem 2: ASPACE vs. TIME (contd.) Lemma 2.1: ASPACE(s) in TIME( 2 O ( s ) ) Lemma 2.2: Time( 2 s ) in ASPACE(O(s)) Proof: Make circuit corresponding to Proof: Suffices to build machine M that ASPACE computation: checks if A, on input x, has contents sigma on cell i of configuration after t steps. • Gates = (C,i): C = config, i = time ∈ [1 , 2 s ] . M(i,t,sigma): GUESS r1,r2,r3 contents of cells i-1,i,i+1 at time t-1. • Wires = ( C ′ , i + 1) → ( C, i ) if C has Verify (r1,r2,r3,sigma) is consistent arrow pointing to C ′ . Gates at depth FORALL M(i-1,t-1,r1); 2 s with incoming arrows labelled REJ. M(i,t-1,r2); Gates labelled ACC/REJ if configuration is M(i+1,t-1,r3); accepting/rejecting. Gates label OR/AND depending on their type ∃ / ∀ etc. 2 s • Gives circuit of size - accepts iff computation accepts. � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 11 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 12

  4. Computational philosophy Computational philosophy (contd). Computer scientist’s take: How complex a Comparing candidates for an election: Three language can the system prove membership options: in? • Candidates don’t get to campaign. We Say thesis is x ∈ L ? The masses need to make our own decisions based on our own be convinced. How powerful can L be under information. these scenarios. Model: Masses/audience as polytime • Candidates get to write a (bounded) computation. position paper/single page ad campaign. • Candidates are invited to debate. • Zero input from candidates: L ∈ P . • Fixed input from candidates: L ∈ NP . What is a better system? • Full fledged debate between candidates: L ∈ PSPACE . � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 13 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 14 Debate systems Complexity of Games Use characterization PSPACE = ATIME(poly). • Typical 2-person game: can evaluate if current position is already won or not; but Candidates E ( ∃ ) and U ∀ : hard to guess what will happen if we can E candidate claims x ∈ L . U candidate find optimal strategies. claims x �∈ L . Every time TM comes to ∃ state, E tells us which way to go. ∀ state U • For any such game (where win/loss depends tells us which way to go. Audience watches only on current configuration and not on the debate, and at the end makes its own history), complexity of deciding who can conclusion on whether x ∈ L or not, based win is in PSPACE. on TM’s final state. • For some games (such as GO/Generalized Geog.), deciding who can win is PSPACE complete. (Again proven using ATIME(poly) = PSPACE.) � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 15 � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 16

  5. A PSPACE complete problem TQBF = { φ |∃ x 1 , ∀ x 2 , . . . , Q n x n , φ ( x 1 , x 2 , . . . , x n ) • x i vector of n -variables x i, 1 , . . . , x i,n . • φ - 2CNF formula on n 2 variables. • Q i : alternating quantifiers; Q i = ∃ if i odd, and Q i = ∀ if i even. Proposition: TQBF is PSPACE complete. Proof: Uses ATIME(poly) = PSPACE. � Madhu Sudan, Spring 2003: Advanced Complexity Theory: MIT 6.841/18.405J c 17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend