












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Randomized Complexity, Polynomial Hierarchy, BPP, Polynomial Probabilistic Turing Machine, Complexity Classes, Efficient Random Algorithm, Efficient Deterministic Algorithm, Proof, NP-complete, Complexity, Turing Machine, Random Algorithm
Typology: Slides
1 / 20
This page cannot be seen from the preview
Don't miss anything!













Definition ฮฃi is the class of all languages reducible to deciding the satisfiability of a formula of type
โx 1 โx 2 โx 3 ยท ยท ยท R(x 1 , x 2 , x 3 ,.. .)
where there are i alternating quantifiers
Definition The complexity class BPP is the class of all languages L for which there exists a polynomial probabilistic Turing Machine M such that x โ L โ Prob[M(x) = 1 ] โฅ (^23) x โ L โ/ Prob[M(x) = 1 ] < (^13)
It is not known whether or not BPP โ NP. But we are able to show it is contained within ฮฃ 2...
We will use the following (without proof): Lemma If L is in BPP then there is a polynomial probabilistic Turing Machine M such that x โ L โ Prob[M(x) = 1 ] โฅ 1 โ (^31) m x โ L โ/ Prob[M(x) = 1 ] < (^31) m
where m is number of random bits used in the computation M(x).
This says that given an instance x โ L, we can find a set of m strings y 1 ,... , ym, such that given any string z, M will output 1 at least once if run m times with each yi โ z used once as the guess input (and that if x โ L/ we cannot find these strings). We will not show how to find these m strings, but we will show that they must exist. We will show that given a random choice of y 1 ,... , ym the probability that it does not have the required property is less than 1 (if the strings did not exist the probability would be exactly 1).
This says that given an instance x โ L, we can find a set of m strings y 1 ,... , ym, such that given any string z, M will output 1 at least once if run m times with each yi โ z used once as the guess input (and that if x โ L/ we cannot find these strings). We will not show how to find these m strings, but we will show that they must exist. We will show that given a random choice of y 1 ,... , ym the probability that it does not have the required property is less than 1 (if the strings did not exist the probability would be exactly 1).
The probability that a random choice of y 1 ,... , ym is โbadโ is the probability that there exists a string z such that M outputs 0 for every guess input yi โ z, 1 โค i โค m. Let us fix a choice of y 1 ,... , ym. For a particular z and yi , the probability that M outputs 0 with guess input yi โ z is 1/ 3 m (from the Lemma). For a particular z, the probability that M outputs 0 for every guess input yi โ z is (^) ( 3 m^1 )m. The probability that there is not at least one choice of z such that M outputs 0 for every guess input yi โ z is 2 m^ ( 3 m^1 )m. This is less than 1.
The probability that a random choice of y 1 ,... , ym is โbadโ is the probability that there exists a string z such that M outputs 0 for every guess input yi โ z, 1 โค i โค m. Let us fix a choice of y 1 ,... , ym. For a particular z and yi , the probability that M outputs 0 with guess input yi โ z is 1/ 3 m (from the Lemma). For a particular z, the probability that M outputs 0 for every guess input yi โ z is (^) ( 3 m^1 )m. The probability that there is not at least one choice of z such that M outputs 0 for every guess input yi โ z is 2 m^ ( 3 m^1 )m. This is less than 1.
Now we must prove that if x โ L/ , then we cannot find such a y 1 ,... , ym. That is, we must show that for every possible choice, there exists a string z such that M returns 0 on every guess input yi โ z. We prove that a randomly chosen z does not have this property with probability less than 1. So some z does have this property.
Now we must prove that if x โ L/ , then we cannot find such a y 1 ,... , ym. That is, we must show that for every possible choice, there exists a string z such that M returns 0 on every guess input yi โ z. We prove that a randomly chosen z does not have this property with probability less than 1. So some z does have this property.
Let us fix a choice of y 1 ,... , ym and of z. The probability that M outputs 1 with guess input yi โ z is 1 / 3 m (from the Lemma). The probability that M outputs 1 on at least one guess input yi โ z is at most m( 1 / 3 m) = 1 /3. So there must exist some z such that M outputs 0 for every guess input yi โ z.
Let us fix a choice of y 1 ,... , ym and of z. The probability that M outputs 1 with guess input yi โ z is 1 / 3 m (from the Lemma). The probability that M outputs 1 on at least one guess input yi โ z is at most m( 1 / 3 m) = 1 /3. So there must exist some z such that M outputs 0 for every guess input yi โ z.
Now we know P โ ZPP โ RP โ BPP โ ฮฃ 2
In fact, it is widely believed that BPP = P. There is no well-known problem which has an efficient random algorithm, but not an efficient deterministic algorithm.
Now we know P โ ZPP โ RP โ BPP โ ฮฃ 2
In fact, it is widely believed that BPP = P. There is no well-known problem which has an efficient random algorithm, but not an efficient deterministic algorithm.