Appearance
Towards a more efficient version
We have considered two ways in which the validator
Consider the following algorithm:
- The validator has
, and and wants to know whether . - They sample a random value
. - They check whether
.
Why does this work? Certainly this check is a necessary condition, that is, if the polynomial equality holds, then it also holds when evaluated on a single point. But is it sufficient? In other words, can it be that
Schwartz-Zippel Lemma
Consider two polynomials
In our circuit example, given that the polynomials involved are of degree 3, we get an extremely low probability of an incorrect equality check of at most
Exercise 5
Compute the equality checks for the gate and recursive constraints with the following random values:
python
γ1 = 42
γ2 = 74102
γ3 = 987654321987654321
#Solve here!