算法和计算复杂度 10 Interactive Proofs
Interactive Turing Machine
📖Definition 44 (interactive Turing machine). An interactive TM is a probabilistic TM equipped also with a write-only query tape and a read-only answer tape, and has two new special states, a query state and a continue state. The symbols allowed on the query and answer tape are given by a communication alphabet .
When enters the query state, the contents of the query tape as a message sent by . We say that we send a reply to by performing the following steps: The query tape is reinitialized to a blank tape, the string is placed on the answer tape, and computation of is resumed in the continue state.
Given two interactive TM, consider running both TM on the same input and relaying messages back and forth. In this way we define interactive proof systems having one TM be the verifier , assumed to be Polynomial-time bounded, and the other TM to be the prover , just assume that will always produce a reply to any message received.
Given also a polynomial time interactive TM , denote by the computation of on input where the replies to messages of are determined as follows.
Suppose that enters query states and is the list of all messages sent by . The reply given to the message is .
📖Definition 45 (interactive proof system). Let be a polynomial time interactive Turing machine , , and let . We say that the pair is an interactive proof system for with completeness and soundness error if:
x\in L\Rarr\Pr[(V,P)(x)=yes]\ge c\\ \and\\ x\not\in L\Rarr\Pr[(V,\hat P)(x)=yes]\le s\forall \hat P
Define as the class of all languages that has an interactive proof system with completeness and soundness error . We say that is the verifier and the prover of the interactive proof system .
We can view as a proof system without randomness or interaction other than a single message.
🤔Proposition 14. .
An example of a non-trivial interactive proof system for checking that two graph are not isomorphic ().
GNI 问题:判断两图是否不是同构的。
Given a graph and a permutation . Denote by the graph with vertex set and edge set .
We say that graphs with the same set of vertices are isomorphic, denoted , if there exist a permutation of s.t. .
Problem of :
- Instance: Graphs on the same set of vertices
- Question: Is for all permutations of ?
Clearly, . It is not known whether .
A very interesting property of this proof system is that it is a so-called zero-knowledge proof.
零知识证明,扯到密码学上去
🎯Theorem 48. .
GMW Protocol for :
- Input: .
- Goal: Prove .
: Pick and permutation of uniformly at random. Send to .
: Pick s.t. . Send to .
: Accept if . Otherwise reject.
这个 GMW 协议是什么意思:验证器随机选一个图并将边的编号打乱(记为 ),发送给证明器。证明器从两个原图中随便选一个和 同构的图,将其编号发回验证器。验证器验证同构图编号是否与 对应原图的编号相等。如果不相等的话,那就认为给定的俩图不同构。
Suppose first . In this case has a unique choice of s.t. , which means that making accept with probability . Suppose next that . Then the distribution of is independent of since the composition of a fixed permutation with a uniformly random permutation is again a uniformly random permutation.
Now since chooses based only on we have . It follows that the completeness of the protocol is and the soundness error of the protocol is . The soundness error may be reduced to by iterating protocol times.
It is not known whether .
🤔Proposition 15. .
Hard proof.
The Sumcheck Protocol
How to utilize the power of interactive proofs? Converting Boolean formulas to arithmetic formulas and exploit that polynomials can be evaluated on inputs outside the Boolean cube.
Arithmetization: The process of converting a Boolean formula into an arithmetic formula.
By arithmetization, we can prove that , where is a class capturing the complexity of counting the number of satisfying assignments of a Boolean formula.
A weaker result: .
The method can be generalized to show .
📖Definition 46 (Arithmetization). Let be a formula with classes and variables . We define the arithmetic formula , aka arithmetization of , recursively. For a variable we let , for a negated variable we let . For a clause C_j=(\ell_{j,1}\or\ell_{j,2}\or\ell_{j,3}) we let
Finally, we define .
Expanding into a sum of monomials would take exponential time.
The number of satisfying assignments of :
Then we define an interactive proof for proving , for given . For allow us prove that . The protocol is called Sumcheck protocol:
- Input: Arithmetic formula of total degree , prime , number .
- Goal: Prove .
- Verifier: If , evaluate the arithmetic formula , which only have constants as inputs. Accept it and reject otherwise. If , await message from .
- Prover: Send the uni-variate degree polynomial to Verifier, where is given by .
- Verifier: If , reject. Otherwise, pick uniformly at random. Send to and recursively invoke the protocol for proving that .
🤔Proposition 16. Let be an arithmetic formula of total degree , which is polynomial in , let be a prime of bi-length polynomial in , and let be an integer. The Sumcheck protocol is an interactive proof for the statement
with completeness and soundness error at most .
🤔Corollary 11. .
Show that .
Interactive Proof for Polynomial Space
Consider -complete .
Consider whether is true.
WLOG, quantifiers are strictly alternating, is a formula with variables and clauses.
Note that is true iff
Unbinding outermost summation over is polynomial of exponential degree.
One solution to around the obstacle: limiting the scope of each variable using variable renaming.
Making use of linearization for the same purpose:
📖Definition 47. Let be a polynomial. By binds the variable , at the same time introducing a new variable (reusing the variable name ). Now replace the condition by
The extension of the Sumcheck protocol:
The prover sends a prime and a number s.t. the LHS is .
The LHS is a non-negative integer of magnitude at most , hence is divisible by ay most distinct primes.
By property of prime distribution function, the prime has bit-length .
Each of the operators of the form are unbound one by one, and sends the resulting uni-variate polynomial .
…
🎯Theorem 49. .
Two interesting observation:
- The completeness of the extended Sumcheck protocol is . Any interactive proof system may be converted into an equivalent interactive proof system with completeness .
- The message sent to the Prover by the Verifier may be viewed as just consisting of all random bits read since the last message sent.