I am working on a problem from Ideas, Varieties, and Algorithms:
Show that if $f \in \mathbb{C} \left[x_1, \dots, x_n \right]$ vanishes at every point of $\mathbb{Z}^n$, then $f$ is the zero polynomial.
My attempt so far:
This proof is by induction on $n$. Let $f \in \mathbb{C}\left[x\right]$ vanish at every point in $\mathbb{Z}$. Then, it must be identically the zero polynomial, as a polynomial of degree $d$ has at most $d$ roots. Hence, $f$ vanishes at every point at $\mathbb{C}$. Now, assume that $g \in \mathbb{C} \left[x_1, \dots, x_{n-1} \right]$ vanishes at every point in $\mathbb{Z}$. We may collect terms and rewrite $f$ as
$$ f(x_1, \dots, x_n) = \sum_{i=0}^m x^i_n g(x_1, \dots, x_{n-1}), $$ for some functions $g_1,\dots,g_n\in \Bbb C[x_1,\dots,x_{n-1}]$.
How do I proceed from here? I was trying to adapt an earlier proof with no success.