You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2023-02-07-R1CSQAP.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,11 +272,13 @@ This has 6 left polynomials, one in each row.
272
272
273
273
Our solution vector $S = [1, out, x, var1, var2, var3]$ also has 6 elements. So we can do a dot product of $S\cdot Lm$ whose output again will be a polynomial. Likewise for the other 2 polynomial matrices.
So by taking a dot product of $S$ with each of $Lm$, $Rm$ and $Om$, we created 3 polynomials $Lx$, $Rx$ and $Ox$
295
+
So by taking a dot product of $S$ with each of $Lm$, $Rm$ and $Om$, we created 3 polynomials $L(x)$, $R(x)$ and $O(x)$
294
296
295
-
We can define a new polynomial $T = Lx * Rx - Ox$.
297
+
We can define a new polynomial $T(x) = L(x) * R(x) - O(x)$.
296
298
297
299
~~~ruby
298
300
....: # New Polynomial T
@@ -322,7 +324,7 @@ T(4) = 0
322
324
However, the Verifier doesn't know the polynomial $T$, nor can he compute it since he doesn't know the solution vector. So the Prover has to prove it to the Verifier that $T$ is zero at $x=1, x=2, x=3,x=4$.
323
325
If $T$ is zero at $x=1, x=2, x=3,x=4$, then it means these are all roots of $T$. So we create a new polynomial $Z$ known by both the Prover & the Verifier.
324
326
325
-
$Z = (x-1)(x-2)(x-3)(x-4)$
327
+
$Z(x) = (x-1)(x-2)(x-3)(x-4)$
326
328
327
329
If $T$ is divided by $Z$, then it will be perfectly divisible & will leave no remainder i.e. there must exist a Polynomial $H$ such that $T(x) = H(x) \cdot Z(x)$
0 commit comments