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

Similar documents
Theory of Computer Science to Msc Students, Spring Lecture 2

Lecture 12: Randomness Continued

Lecture 6: Oracle TMs, Diagonalization Limits, Space Complexity

Lecture 23: Alternation vs. Counting

Lecture 22: Counting

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

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

Lecture 24: Approximate Counting

: On the P vs. BPP problem. 30/12/2016 Lecture 12

Pr[X = s Y = t] = Pr[X = s] Pr[Y = t]

Lecture 15: Expanders

Notes on Complexity Theory Last updated: November, Lecture 10

Lecture 5 Polynomial Identity Testing

CMPT 710/407 - Complexity Theory Lecture 4: Complexity Classes, Completeness, Linear Speedup, and Hierarchy Theorems

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

Lecture 3: Reductions and Completeness

Lecture 3 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

Handout 7. and Pr [M(x) = χ L (x) M(x) =? ] = 1.

CS151 Complexity Theory. Lecture 4 April 12, 2017

Randomized Computation

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

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

1 Computational Problems

Notes for Lecture Notes 2

CS 151 Complexity Theory Spring Solution Set 5

MTAT Complexity Theory October 13th-14th, Lecture 6

Notes for Lecture 3... x 4

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

Lecture 4 : Quest for Structure in Counting Problems

Lecture 24: Randomized Complexity, Course Summary

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).

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

Umans Complexity Theory Lectures

Lecture 8: Complete Problems for Other Complexity Classes

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

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

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

CSC 5170: Theory of Computational Complexity Lecture 5 The Chinese University of Hong Kong 8 February 2010

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

1 Randomized Computation

NP, polynomial-time mapping reductions, and NP-completeness

Lecture 59 : Instance Compression and Succinct PCP s for NP

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

conp, Oracles, Space Complexity

Lecture 20: conp and Friends, Oracles in Complexity Theory

CPSC 536N: Randomized Algorithms Term 2. Lecture 9

Notes on Computer Theory Last updated: November, Circuits

Definition: Alternating time and space Game Semantics: State of machine determines who

6-1 Computational Complexity

Randomized Complexity Classes; RP

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

Notes for Lecture 3... x 4

A.Antonopoulos 18/1/2010

P is the class of problems for which there are algorithms that solve the problem in time O(n k ) for some constant k.

Computational Complexity: A Modern Approach. Draft of a book: Dated January 2007 Comments welcome!

Lecture 16: Time Complexity and P vs NP

IITM-CS6845: Theory Toolkit February 3, 2012

1 From previous lectures

1 PSPACE-Completeness

Time and space classes

Finish K-Complexity, Start Time Complexity

Computability Crib Sheet

Lecture 2. 1 More N P-Compete Languages. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz

Approximating MAX-E3LIN is NP-Hard

Handout 5. α a1 a n. }, where. xi if a i = 1 1 if a i = 0.

CS151 Complexity Theory

Lecture 3. 1 Terminology. 2 Non-Deterministic Space Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, 2005.

The Polynomial Hierarchy

Umans Complexity Theory Lectures

Advanced topic: Space complexity

1 Computational problems

Lecture 14 - P v.s. NP 1

6.840 Language Membership

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

CSC 5170: Theory of Computational Complexity Lecture 4 The Chinese University of Hong Kong 1 February 2010

Lecture 4. 1 Circuit Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz

: On the P vs. BPP problem. 30/12/2016 Lecture 11

2 P vs. NP and Diagonalization

Lecture 18: Oct 15, 2014

1 Randomized complexity

Arthur and Merlin as Oracles

Lecture 7: Polynomial time hierarchy

Introduction to Advanced Results

Lecture 8 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

Lecture Examples of problems which have randomized algorithms

Computational Complexity

Lecture 20: Goemans-Williamson MAXCUT Approximation Algorithm. 2 Goemans-Williamson Approximation Algorithm for MAXCUT

Notes on Complexity Theory Last updated: December, Lecture 27

Computational Models Lecture 8 1

2 Evidence that Graph Isomorphism is not NP-complete

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

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

Lecture 5: The Landscape of Complexity Classes

On the Space Complexity of Parameterized Problems

CS294: Pseudorandomness and Combinatorial Constructions September 13, Notes for Lecture 5

CSE200: Computability and complexity Space Complexity

Circuits. Lecture 11 Uniform Circuit Complexity

CSC 2429 Approaches to the P vs. NP Question and Related Complexity Questions Lecture 2: Switching Lemma, AC 0 Circuit Lower Bounds

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

Computational complexity

Transcription:

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 Hierarchy In this section, we will prove that the complexity class BPP is actually contained in PH, more specifically, we will prove that BPP is contained in Σ P 2 ΠP 2. The following sketch illustrates some of the containment relationships about randomized complexity classes we ve learnt so far Theorem 1 BPP Σ P 2 ΠP 2 Proof From the inition of BPP, it s trivial to show that BPP = cobpp. Thus we only have to show that BPP Σ P 2 and get BPP = cobpp ΠP 2 as an immediate corollary. From the inition of BPP, we know that if a language L is in BPP, then there s a PTM M which uses up to m random bits such that Let s ine then the above inition translates to x L Pr y {0,1} m[m(x, y) = 1] 1 1 x / L Pr y {0,1} m[m(x, y) = 1] 1 S x = {y : M(x, y) = 1} x L S x 2 m (1 1 ) x / L S x 2 m 1 If we consider a bitstring u {0, 1} m, we can ine the co-set of S x induced by u to be u S x = {u v : v S x }. Then, intuitively, S x is large if and only if we can cover the 17-1

whole space {0, 1} m with only a small number of co-sets of S x. To make that statement concrete, we claim that x L u 1, u 2,...u m {0, 1} m s.t. m (u i S x ) = {0, 1} m (1) The backward direction of this claim can be trivially proved using a counting argument. Thus we will only prove the forward direction here. We will choose u 1,...,u m independently and uniformly at random from {0, 1} m, and say that Pr u1,...,u m [ r {0, 1} m s.t. r m (u i S x )] < 1 (2) To prove this, consider any r {0, 1} m, let s compute the probability that r is not covered by all those m co-sets of S x. Pr u1,...,u m [r is not covered] = Pr u1,...,u m [ i r u i S x ] = Pr u1,...,u m [ i u i r S x ] = ( 1 )m < 1 2 m Because there re 2 m different r s, by the union bound, we can say that the probability that any of them is not covered is (strictly) less than 1, hence equation (2). This means that there is at least one choice of u 1,...,u m such that the m co-sets of S x induced by u 1,...,u m cover the whole space of {0, 1} m. Further note that the fact that a bitstring r {0, 1} m is covered by a co-set u i S x can be equivalently stated as r u i S x, or M(x, r u i ) = 1. Thus we can rephrase equation (1) as x L u 1,...,u m {0, 1} m s.t. r {0, 1} m m M(x, r u i ) = 1 This matches the alternating quatifiers formulation of Σ P 2 exactly, which means BPP ΣP 2. This concludes the prove. This corollary follows immediately from the above theorem Corollary 2 NP = P BPP = P We don t believe that NP is equal to P, but a lot of people do believe that BPP = P. 17-2

2 Problems about BPP 2.1 Is There a Complete Problem for BPP? A natural question to ask about the BPP class is if there s a problem that is BPP-complete. Unfortunately, we don t know any thus far. One reason for this difficulty is that the ining property of BPTIME machines is semantic, namely, that for every string they either accept with probability at least 2/3 or reject with probability at least 1/3. Given the description of a PTM, even testing whether it has property is undecidable. By contrast, the ining property of an NTM is syntactic: given a string it is easy to determine if it is a valid encoding of an NTM. Completeness seems easier to ine for syntactically ined classes than for semantically ined ones. We do know a language L that is BPP-hard L = { M, x : Pr[M(x) = 1] 2/3} But it is not known to be in BPP. 2.2 Does BPTIME Have a Hierarchy Theorem? Unlike the DTIME and NTIME class families, we don t know about a hierarchy theorem for the BPTIME family, at least for now. The problem is that our proves for the hierarchy theorems we ve known so far are all based on the diagonalization technique, which, in turn, relies on the existence of an enumeration of the corresponding class of machines. But because of the same reason we explained above, it is unlikely that such an enumeration exists. 3 Randomized Reductions Definition 3 We say that there is a randomized reduction from language A to language B if there is a PTM M such that Pr y [x A M(x, y) B] 2 3 And if the PTM runs in polynomial time, we say that A P r B. This inition of randomized reduction is modelled after the complexity class BPP. We can similarly ine randomized reductions modelled after RP, corp. Also note that this kind 17-3

of randomized reduction is analogous to the many-one reductions introduced in previous lectures. People often ine complexity classes based on randomized reductions. For example, the complexity class BP NP is ined as BP NP = {L : L P r 3SAT} we claim that Proposition 4 conp BP NP 4 Randomized Circuits We can also introduce randomized inputs into other computation models, e.g. circuits. The randomzied analogue of the classical NC circuit class, RNC, can be ined as follows Definition 5 A language L is said to be in RNC, if there are three positive constants c, d, r such that L can be decided by a family of circuits {C n } where C n has size O(n c ) and depth O(log d n), and takes, in addition to a length n instance x of L, a random string of length n r as input. And the output of the circuit should be correct with probability at least 2 3 (with respect to a uniform distribution of the random strings) for every instance of L. We know that Proposition 6 RNC non-uniform NC As an example of a problem in the RNC class, let s consider the Perfect Matching problem, abbreviated as PM. This problem is to determine if there is a perfect matching in a given bipartite n by n graph G. It s easy to see that this graph can be represented by a n by n adjacency matrix M = (a i,j ) (i, j [n]). { 1 if the ith vertex on one side is adjacent to the jth vertex on the other side a i,j = 0 otherwise We can construct a new matrix M = (a i,j ) on a set of n2 variables x i,j (i, j [n]) as a i,j = a i,jx i,j. We claim that Claim 7 G has a perfect matching if and only if the determinant of M is a non-zero polynomial. 17-4

Note that Lemma 8 The determinant of a matrix can be computed in NC 2. Also note that the problem of testing if a given polynomial is identically zero can be solved efficiently with random sampling, based on the following result Lemma 9 Given a field F, a non-zero polynomial p of n variables and degree d, and a finite subset of the field S F, we have Pr a1,...,a n S[p(a 1, a 2,...,a n ) = 0] d S Thus we conclude that PM can be solved in RNC. Regarding the relationships between RNC and the previously discussed complexity classes, we don t yet know if RNC is in P, but we do know that RNC is in BPP. 5 Space Bounded Randomization In the previous sections, we mainly talk about time-bounded randomization. In this section, we will start to talk about space bounded randomization. For a function s( ), we say that a PTM uses space s( ) if in the computational tree of this machine on an input string of length n in every computational path, the machine touches no more than s(n) cells on the working tape. every computational path is of length O(2 s(n) ). Now we can ine the complexity classes RL and BPL as the logspace counterparts of the classes BPP and RP we ined in previous lectures. The following sketch summarizes the state of our knowledge about the relationships between related complexity classes We will prove in the following lectures that BPL is actually contained in P. 17-5