This is from this video - https://www.youtube.com/watch?v=9VuZvdxFZQo
Bob has a list of length $10^6$. Bob wants to convince Alice that every number in the list is between 1 & 10. Alice needs to verify it with just 2 queries & 99% certainty.
This is the protocol given by Ben
$f$ is polynomial created by interpolating all $10^6$ numbers in the list.
$g$ is any polynomial of degree $10^7 - 10^6$ i.e. any polynomial of degree 9 million
$C(x) = (x-1)(x-2)...(x-10)$
$D(x) = (x-1)(x-2)...(x-10^6)$
Alice chooses random $x_0 \in \{1, 2, ..., 10^9\}$
Let $f(x_0) = \alpha$ & $g(x_0) = \beta$
Alice will believe that all numbers in the list are between 1 & 10, if & only if $C(\alpha) = \beta\cdot D(x_0)$
I don't understand why the last statement is true. He gives the completeness & soundness arguments also which I don't understand.
Here is the completeness argument.
Let $P(X)$ be the interpolant of $f$
Then $C(P(X))$ vanishes on $x_0 \in \{1, 2, ..., 10^6\}$
He goes on beyond this for the completeness argument but the above is what is I didn't first understand.
Why would $C(P(X))$ vanish on $x_0 \in \{1, 2, ..., 10^6\}$?
$P$ vanishes only if $x_0$ is between 1 & 10. But $x_0$ is a random number picked from a huge domain - so with very high probability $P(x_0) \ne 0$ & we don't know the value of $P(x_0)$ also - it can be anything, right? So why would $C(P(X))$ vanish considering it vanishes only at 10 values from 1 to 10?
Also, I think he says this is with 100% probability & not just very high probability, but that's a secondary thing to figure out.
If you do want to look through the video, then you can jump directly to the beginning of this particular protocol at https://www.youtube.com/watch?v=9VuZvdxFZQo&t=765s