FACTOID # 17: Senior gentlemen might consider a trip to Russia, where there are two women over 65 for every man.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > IP (complexity)

Contents


Interactive Proof Systems

In computational complexity theory, the class IP is the class of problems solvable by an interactive proof system. The concept of an interactive proof system was first introduced by Goldwasser, et al. in 1985. An interactive proof system consists of two machines, a prover, P, which presents proofs of membership and a verifier, V, that check that the presented proof is correct. The prover is unbound in computation and storage, while the verifier is a probabilistic polynomial-time machine with access to a random bit string whose length is polynomial on the size of the input. Given an input n these two machines exchange a polynomial number, p(n), of messages and once the interaction is completed, the verifier must decide whether or not the presented string is in the language. More formally:


For any language L, function P, and input string w, :

  • w in L Rightarrow Pr[V leftrightarrow P accepts w] ge frac{2}{3}
  • w not in L Rightarrow Pr[V leftrightarrow tilde{P}~ accepts w] le frac{1}{3}

The Arthur-Merlin protocol is similar in nature, except that the random bit string is public to both the prover and the verifier, rather than privately held by the verifier. AM was introduced by Laszlo Babai, and shown to be equivalent to IP by Shafi Goldwasser and Michael Sipser.


In the following section we prove that IP = PSPACE, an important theorem in computational complexity, which demonstrates that an interactive proof system can be used to decide whether a string is a member of a language in polynomial time, even though the traditional PSPACE proof may be exponentially long.


Proof that IP = PSPACE

In order to prove that IP and PSPACE are equal, we show that IP is a subset of PSPACE and also that PSPACE is a subset of IP, and hence the two are equivalent. In order to demonstrate that IP subseteq PSPACE, we present a simulation of an interactive proof system by a polynomial space machine. To prove that PSPACE subseteq IP, we show that the PSPACE-complete language TQBF is in IP. Both parts of the proof are adapted from Sipser.


IP is a subset of PSPACE

Let A be a language in IP. Now, assume that on input w with length n, A's verifier V exchanges exactly p = p(n) messages. We now construct a machine M that simulates V and is in PSPACE. To do this, we define our machine as follows:


Pr[V accepts w] = max_P Pr[V leftrightarrow P accepts w]


By the definition of IP, we have Pr[V accepts w] ge frac{2}{3} if w in A and Pr[V accepts w] le frac{1}{3} if w not in A.


Now, it must be shown that the value can be calculated in polynomial space. Here we take Mj denote to denote this sequence of messages, m_1# ldots #m_j, exchanged by the prover and the verifier, and we generalize the interaction of V and P to start with an arbitrary message stream Mj. We take (V leftrightarrow P)(w,r,M_j) = accept if Mj can be extended with the messages mj + 1 through mp such that:

  • For j leq i < p, where i is even, V(w,r,Mi) = mi + 1
  • For j leq i < p, where i is odd, P(w,r,Mi) = mi + 1
  • The final message mp in the message history is accept

In other words, when i is even, the verifier sends a message, when it is odd, the prover sends a message, and the final message is to accept. The first two rules ensure that the message sequence is valid, and the third ensures that this message sequence leads to an accept.


Next, further generalizing the earlier definitions, and taking a random string r of length p, we define:


Pr[V leftrightarrow P accepts w starting at M_j] = Pr[(V leftrightarrow P)(w,r,M_j) = accept]


Now, we can define:


Pr[V accepts w starting at M_j] = max_P Pr[V leftrightarrow P accepts w starting at M_j]


and for every 0 leq j leq p and every message history Mj, we inductively define the function N_{M_j}:


N_{M_j} = begin{cases} 0: j = p and m_p = reject 1: j = p and m_p = accept max_{m_{j+1}} N_{M_{j+1}}: j < p and j is odd wt-avg_{m_{j+1}} N_{M_{j+1}}: j < p and j is odd end{cases}


where the the term wt-avg_{m_{j+1}}N_{M_{j+1}} is defined as follows:


wt-avg_{m_{j+1}}N_{M_{j+1}} = sum_{m_{j+1}}(Pr_r[V(w,r,M_j)])


where Prr is the probability taken over the random string r of length p. This expression is the average of N_{M_{j+1}}, weighted by the probability that the verifier sent message mj + 1.


Take M0 to be the empty message sequence, here we will show that N_{M_0} can be computed in polynomial space, and that N_{M_0} = Pr[V accepts w]. First, to compute N_{M_0}, an algorithm can recursively calculate the values N_{M_j} for every j and Mj. Since the depth of the recursion is p, only polynomial space is necessary. The second requirement is that we need N_{M_0} = Pr[V accepts w], the value needed to determine whether w is in A. We use induction to prove this as follows.


We must show that for every 0 leq j leq p and every Mj, N_{M_j} = Pr[V accepts w starting at M_j], and we will do this using induction on j. The base case is to prove for j = p. Then we will use induction to go from p down to 0.


The base case (j = p) is fairly simple. Since mp is either accept or reject, if mp is accept, N_{M_p} is defined to be 1 and Pr[V accepts w starting at Mj] = 1 since the message stream indicates acceptance, thus the claim is true. If mp is reject, the argument is very similar.


For the inductive hypothesis, we assume that for some j + 1 leq p and any message sequence Mj + 1, N_{M_{j+1}} = Pr[V accepts w starting at j+1] and then prove the hypothesis for j and any message sequence Mj.


If j is even, mj + 1 is a message from V to P. By the definition of N_{M_j}, N_{M_j} = sum_{m_{j+1}}(Pr_r[V(w,r,M_j)=m_{j+1}] N_{M_{j+1}}). Then, by the inductive hypothesis, we can say this is equal to sum_{m_{j+1}}(Pr_r[V(w,r,M_j)=m_{j+1}] * Pr[V accepts w starting at M_{j+1}]). Finally, by definition, we can see that this is equal to Pr[V accepts w starting at M_j].


If j is odd, mj + 1 is a message from P to V. By definition, N_{M_j} = max_{m_{j+1}} N_{M_{j+1}}. Then, by the inductive hypothesis, this equals max_{m_{j+1}} * Pr[V accepts w starting at M_{j+1}]. This is equal to Pr[V accepts w starting at M_j] since:


max_{m_{j+1}} Pr[V accepts w starting at M_{j+1}] leq Pr[V accepts w starting at M_j]


because the prover on the right-hand side could send the message mj + 1 to maximize the expression on the left-hand side. And:


max_{m_{j+1}} Pr[V accepts w starting at M_{j+1}] geq Pr[V accepts w starting at M_j]


Since the same Prover cannot do any better than send that same message. Thus, this holds whether i is even or odd and the proof that IP PSPACE is complete.


Here we have constructed a polynomial space machine that uses the best prover P for a particular string w in language A. We use this best prover in place of a prover with random input bits because we are able to try every set of random inptut bits in polynomial space. Since we have simulated an interactive proof system with a polynomial space machine, we have shown that IP PSPACE, as desired.



PSPACE is a subset of IP

In order to illustrate the technique that will be used to prove PSPACE subseteq IP, we will first prove a weaker theorem, which was proven by Lund, et al.: #SAT in PSPACE. Then using the concepts from this proof we will extend it to show that TQBF in PSPACE. Since TQBF in PSPACE-Complete, and TQBF in IP then PSPACE IP.


#SAT is a member of IP

We begin by showing that #SAT in IP, where:


#SAT = { langle phi, k rangle mid phi is a cnf-formula with exactly k satisfying assignments }.


First we use arithmetization to map the boolean formula with n variables, φ(b1,b2,...,bn) to a polynomial pφ(x1,x2,...,xn), where pφ mimics φ in that pφ is 1 if φ is true and 0 otherwise provided that the variables of pφ are assigned Boolean values. The Boolean operations vee, wedge, and neg used in φ are simulated in pφ by replacing the operators in φ as shown in the table below.


Arithmetization rules for converting a Boolean formula φ(b1,b2,...,bn)to a polynomial pφ(x1,x2,...,xn)

a wedge b ab
a vee b a*b equiv 1 - (1 - a)(1 - b)
neg a 1 − a

As an example, phi = a wedge b vee neg c would be converted into a polynomial as follows:

  • p_phi = a wedge b vee neg c
  • p_phi = a wedge (1 - (1-b)(1-(1-c)))
  • p_phi = a (1 - (1-b)(1-(1-c))dot)
  • p_phi = a - (ac-abcdot)

The operations ab and a * b each result in a polynomial with a degree bounded by the sum of the degrees of the polynomials for a and b and hence, the degree of any variable is at most the length of φ.


Let fi be a function and F be a finite field with at least q le 2^n, for 0leq ileq m and a_1, ..., a_iin F. Set fi(a1,...,ai) equal to the number of satisfying assignments of φ such that each xj = aj for jleq i. For 0 leq i leq m and for a_1, ..., a_i in F let f_i(a_1, ..., a_i) = Sigma _{a_{i+1}, ..., a_m in {0, 1}} p(a_1, ..., a_m). Note that the value of f0 is still the number of satisfying assignments of φ. Also note that fi is a univariate function, where the ith element is the variable.


Now the protocol for #SAT works as follows:

  • Phase 0:
    The prover P choses a prime q > 2n and computes

f, it then sends q (along with a short proof of q's primality) and f0() to the verifier V. V checks that q is prime and that f0() = k.

  • Phase 1:
    P sends the coefficients of f1(z) as a

polynomial in z. V verifies that the degree of f1 is less than n and that f0 = f1(0) + f1(1). (If not V rejects). V now sends a random number r1 from F to P.

  • Phase i:
    P sends the coefficients of f1(r1,...,ri − 1,z) as a polynomial in z. V verifies that the degree of

f1 is less than n and that fi − 1(r1,...,ri − 1) = fi(r1,...,ri,0) + fi(r1,...,ri,1). (If not V rejects). V now sends a random number ri from F to P.

  • Phase m+1:
    V evaluates p(r1,...,rm) to compare to

the value fm(r1,...,rm). If they are equal V accepts, otherwise V rejects.



If φ has k satisfying assignments, clearly V will accept. If φ does not have k satisfying assignments we assume there is a prover tilde P that tries to convince V that φ does have k satisfying assignments. We show that this can only be done with low probability.


To prevent V from rejecting in phase 0, tilde P has to send an incorrect value tilde f_0() to P. Then, in phase 1, when V chooses a random r1 to send to P, Pr[tilde f_1(r_1) = f_1(r_1)] < n^{-2}, for n geq 10. This is because a polynomial in a single variable of degree at most d can have no more than d roots (unless it always evaluates to 0). So, any two polynomials in a single variable of degree at most d can be equal only in d places. Since F > 2n the chances of r1 being one of these values is at most n / 2n.


Generalizing this idea for the other phases we have for each 1 leq i leq m if tilde f_{i-1}(r_1, ..., r_{i-1}) not=f_{i-1}(r_1, ..., r_{i-1}), then for n geq 10 and for ri chosen randomly from F, Pr[tilde f(r_1, ..., r_i) = f_i(r1, ..., r_i)] leq n^{-2}. There are m phases, so the probability that tilde P is lucky because V selects a convenient ri is at most 1 / n. So, no prover can make the verifier accept with probability greater than 1 / n. We can also see from the definition that the verifier V operates in probabilistic polynomial time. Thus, #SAT in IP.


TQBF is a member of IP

In order to show that PSPACE is a subset of IP, we need to choose an PSPACE-Complete problem and show that it is in IP. Once we show this, then it clear that PSPACE IP. The proof technique demonstrated here is credited to Adi Shamir


We know that TQBF is in PSPACE-Complete. So let ψ be a quantified boolean expression:


ψ = Q1x1Q2x2...Qmxm[φ]


where φ is a CNF formula. Then Qi is a quantified, either exists or forall. Now fi is the same as in the previous proof, but now it also includes quantifiers.


f_i(a_1, ..., a_i) = begin{cases} f_i(a_1, a_2,...a_m) = 1~if~ Q_{i+1}x_{i+1}...Q_mx_m[phi(a_1,a_2...a_i)]~is~true 0~otherwise end{cases}


Here, φ(a1,a2,...,ai) is φ with a1 to ai substituted for x1 to xi. Thus f0() is the truth value of ψ. In order to arithmetize ψ we must add the following identities: Q_{i+1} = forall replace with f_i(a_1,a_2,....a_i) = f_{i+1}(a_1,a_2,...,a_i,0)cdot f_{i+1}(a_1,a_2,...,a_i,1)
Q_{i+1} = exists replace with f_i(a_1,a_2,....a_i) = f_{i+1}(a_1,a_2,...,a_i,0) * f_{i+1}(a_1,a_2,...,a_i,1)


where we define x * y = 1-(1-x)(1-y).


By using the method described in #SAT, we must face a problem that for any fi the degree of the resulting polynomial may double with each quantifier. In order to prevent this, we must introduce a new reduction operator R which will reduce the degrees of the polynomial without changing their behavior on Boolean inputs.
So now before we arithmetize ψ = Q1x1Q2x2...Qmxm[φ] we introduce a new expression:


psi' = Q_1 R_{x_1} Q_2R_{x_2}...Q_mR_{x_m}[phi]


Or written another way:


psi' = S_1 y_1 S_2 y_2...S_m y_m[phi]<br> S_i in { forall ,exists , R} <br> y_i in { x_1,x_2,...x_m}


Now for every i leq k we define the function fi. We also define fk(x1,x2,....xm) to be the polynomial p(x1,x2,...xm) which is obtained by arithmetizing φ. Now in order to keep the degree of the polynomial low, we define fi in terms of fi + 1:


S_{i+1} = forall replace with f_i(a_1,a_2,....a_i) = f_{i+1}(a_1,a_2,....a_i,0)cdot f_{i+1}(a_1,a_2,....a_i,1)
S_{i+1} = exists replace with f_i(a_1,a_2,....a_i) = f_{i+1}(a_1,a_2,....a_i,0) * f_{i+1}(a_1,a_2,....a_i,1)
S_{i+1} = R replace with f_i(a_1,a_2,....a_i,a) = (1-a)f_{i+1}(a_1,a_2,....a_i,0) + a f_{i+1}(a_1,a_2,....a_i,1)


Now we can see that the reduction operation R, doesn't change the degree of the polynomial. Also it is important to see that the Rx operation doesn't change the value of the function on boolean inputs. So f0 is still the truth value of ψ, but the Rx value produces a result that is linear in x. Also after any Qixi we add R_{x_1}...R_{x_i} in ψ' in order to reduce the degree down to 1 after arithmetizing Qi.

Now let's describe the protocol. If n is the length of ψ, all arithmetic operations in the protocol are over a field of size n4 where n is the length of ψ.

  • Phase 0:

: P sends f0 to V. V checks that f0 = 1 and rejects if not.

  • Phase 1:

: P sends f1(z) to V. V uses coefficients to evaluate f1(0) and f1(1). Then it checks that the polynomial is at most n and that the following identities are true:

  • f_{0}() = begin{cases} { f_{1}(0)cdot f_{1}(1) ~if~ S = forall  f_{1}(0) * f_{1}(1) ~if~ S = exists. end{cases}

If either fails then reject.

  • Phase i:

: P sends fi(r1,r2...ri − 1,z) as a polynomial in z. r1 denotes the previously set random values for r1,r2...ri − 1
V uses coefficients to evaluate fi(r1,r2...ri − 1,0) and fi(r1,r2...ri − 1,1). Then it checks that the polynomial degree is at most n and that the following identities are true:

If either fails then reject.
: V picks a random r in F and sends it to P. (If S=R then this r replaces the previous r).
Goto phase i+1 where P must persuade V that fi(r1,...,r) is correct.

  • Phase k+1:

V evaluates p(r1,r2,...,rm). Then it checks if p(r1,r2,...,rm) = = fk(r1,r2,....rm) If they are equal then V accepts, otherwise V rejects.


This is the end of the protocol description.


If ψ is true then V will accept when P follows the protocol. Likewise if is a malicious prover which lies. Then if ψ is false, then will need to lie at phase 0 and send some value for f0. So if at phase i, V has an incorrect value for fi − 1(r1,...) then fi(r1,...0) and fi(r1,...1) must also be incorrect, and so forth. And since the probability for to get lucky on some random r is at most the degree of the polynomial divided by the field size: n / n4. The protocol runs through O(n2) phases, so the probability that gets lucky at some phase is . So if is never lucky, then V will reject at phase k+1.


Since we have now shown that both IP PSPACE and PSPACE IP, we can conclude that IP = PSPACE as desired.



References

1. Babai, L. Trading group theory for randomness. In Proceedings of the 17th ACM Symposium on the Theory of Computation . ACM, New York, 1985, pp. 421-429.

2. Goldwasser, S., Micali, S., Rackoff, C. Theknowledge complexity of interactive proof-systems. In Proceedings of 17th Annual ACM Symposium on Theory of Compution. ACM, New York, 1985, pp. 291-304.

3. Goldwasser, S., Sipser, M. Private coins versus public coins in interactive proof systems. In Proceedings of the 18th Annual ACM Symposium on Theory of Computation. ACM, New York, 1986, pp. 59-68.

4. Lund, C., Fortnow, L.. Karloff, H., Nisan, N. Algebraic methods for interactive proof systems. In Proceedings of 31st Symposium on the Foundations of Computer Science. IEEE, New York, 1990, pp. 2-90.

5. Shamir, A. IP = PSPACE, Journal of the ACM (JACM), v.39 n.4, p.869-877, Oct. 1992.

6. Sipser, Micheal. "Introduction to the Theory of Computation", Boston, 1997, pg. 392-399.


External links

  • / IP Changer and Proxy Tools
  • Complexity Zoo: IP, MIP, IPP, QIP, QIP(2), compIP, frIP


Important complexity classes (more)
P | NP | Co-NP | NP-C | Co-NP-C | NP-hard | UP | #P | #P-C | L | NL | NC | P-C | PSPACE | PSPACE-C
EXPTIME | EXPSPACE | PR | RE | Co-RE | RE-C | Co-RE-C | R | BQP | BPP | RP | ZPP | PCP | IP | PH

  Results from FactBites:
 
Interactive proof system - Wikipedia, the free encyclopedia (1988 words)
The specific nature of the system, and so the complexity class of languages it can recognize, depends on what sort of bounds are put on the verifier, as well as what abilities it is given — for example, most interactive proof systems depend critically on the verifier's ability to make random choices.
The familiar complexity class NP may be viewed as a very simple interactive proof system.
To demonstrate the power of the class IP, consider the graph isomorphism problem, the problem of determining whether it is possible to permute the vertices of one graph so that it is identical to another graph.
Brainstorms: What is Complexity? (3167 words)
The subjectivity of perception of complexity is self-evident and is based on numerous constituents, such as semantic, gnostic, intelligence, sensory, psychological, and other factors.
Complexity is realized from this potential state in accordance with the laws of physics and chemistry.
Complexity is holistic in the respect that there exists mutuality between the levels.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.