Schwartz-Zippel Lemma

  • where: - is a non-zero -variate polynomial - is the total degree of - is the finite field size

    Intuition is equal to zero, and has at most roots.

    Only the roots of

    This is the univariate polynomial special case of the Schwartz-Zeppel Lemma.

Applications

Polynomial Comparison

  • to check if
    • let
    • check if

Intuition

If and are distinct polynomials (i.e. ) of total degree at most over , then probability because they will share points only at their common roots of at most , if any.

Zero Testing

  • To check if a polynomial equals 0, one can multiply it out, but it’ll take exponential time
  • Instead, the polynomial can be represented as an arithmetic formula and be tested much more efficiently