Skip to main content

Polynomial commitments

A polynomial commitment is a scheme that allows you to commit to a polynomial (i.e. to its coefficients). Later, someone can ask you to evaluate the polynomial at some point and give them the result, which you can do as well as provide a proof of correct evaluation.

Polynomial commitments

Schwartz-Zippel lemma

TODO: move this section where most relevant

Let f(x)f(x) be a non-zero polynomial of degree dd over a field F\mathbb{F} of size nn, then the probability that f(s)=0f(s)=0 for a randomly chosen ss is at most dn\frac{d}{n}.

In a similar fashion, two distinct degree dd polynomials g(X)g(X) and h(X)h(X) can at most intersect in dd points. This means that the probability that g(s)=h(s)g(s) = h(s) on a random sFs\leftarrow \mathbb{F} is dF\frac{d}{|\mathbb{F}|}. This is a direct corollary of the Schwartz-Zipple lemma, because it is equivalent to the probability that f(s)=0f(s) = 0 with f(X)=g(X)h(X)f(X) = g(X) - h(X).