Let $X$ be an affine variety defined by polynomials over $\mathbb{Z}$. Reducing the polynomials modulo $p$, we obtain a variety $X_p$ defined over the finite field $\mathbb{F}_p$.
Is it true that the dimension of $X_p$ is larger or equal to the dimension of $X$?
Note: It seems likely to me that the dimension stays the same for all but finitely many primes $p$, and this answers says that it is the case for projective varieties. My question is different: I'm asking about affine varieties, I'm asking about all primes, and I'm only asking for an inequality.
EDIT: To make the second part of the question explicit:
In addition, is it also true that $\dim X_p=\dim X$ for all but finitely many primes $p$?