Content pfp
Content
@
0 reply
0 recast
0 reaction

Zk pfp
Zk
@risotto
ZK Scholars Assembly Revision 4 - Batch Opening & Vector Commitment In the last KGZ discussion, we are only proving f(x) = y, what if we want to prove many different points are from the same polynomial? Here comes batch opening. f(x) is a N-degree polynomial and interpolates set of point {(xi, yi)} i ∈ [n], define an accumulator polynomial as A(x) = ∏ (x - xi) while i ∈ [n]. And f(x) can be express as: f(x) = A(x) * Q(x) + R(x) A(x): accumulator polynomial Q(x): quotient polynomial R(x): remainder polynomial
1 reply
0 recast
0 reaction

Zk pfp
Zk
@risotto
If A(x) vanishes on the set {xi} i ∈ [n], then the remainder polynomial should satisfy R(xi) = yi for all  i ∈ [n] and R(x) can be define as a Lagrange form of Interpolation Polynomial: R(x) = ∑ yi ⋅ ℓi(x) where i = 0, i < n and each Li(x) is the ith Lagrange basis polynomial: ℓi(x) = ∏ (x - xj) / (xi - xj) where j = 1, j not = i and i < n
2 replies
0 recast
0 reaction