This is a cross-post! For the original post on SE (9 upvotes, no answer) see:


<https://math.stackexchange.com/questions/4475853/is-a-complex-algebraic-set-with-a-zariski-dense-subset-of-algebraic-points-alrea>


Let $X$ be a complex algebraic set, i.e. the (not necessarily irreducible) vanishing set of some polynomials in $\mathbb{C}[X\_1,\ldots,X\_n]$. If $X$ contains a Zariski dense subset of points with coordinates in the algebraric numbers $\bar{\mathbb{Q}}$, is it true that $X$ is defined over $\bar{\mathbb{Q}}$, i.e. that $X$ can be defined as the vanishing set of some polynomials in $\bar{\mathbb{Q}}[X\_1,\ldots,X\_n]$?


It seems to be the case that the converse of this stament holds, as discussed [here](https://math.stackexchange.com/questions/504766/are-the-algebraic-valued-points-of-a-variety-dense-in-complex-valued-points?noredirect=1&lq=1). I read that the implication in my question follows from Lagrange interpolation, but it is not clear to me how Lagrange interpolation works in the present multivariable case and how it can be used to answer my question.


For context: I try to understand a proof of Mann's theorem in [this](https://math.berkeley.edu/%7Escanlon/papers/csp.pdf) survey on applications of o-minimality (from mathematical logic) to diophantine geometry. We want to prove the following:


**Theorem.** Let $Y\subseteq\mathbb{C}^n$ be an algebraic set and consider $\mathbb{G}=(\mathbb{C}^\times)^n$, the $n$th power of the multiplicative group of units in $\mathbb{C}$. Then the set $Y\cap\mathbb{G}^\mathrm{tor}$ of points on $Y$ such that each coordinate is a root of unity is a finite union of cosets of subgroups of $\mathbb{G}$.


At some point on page 15, we want to use bounds from Galois theory and need to reduce to the case that $Y$ is defined over a number field. In the paragraph in paranthesis on p. 15, the following argument is sketched: From basic properties of the Zariski topology using that $\mathbb{G}$ is open, we can see that $Y\cap\mathbb{G}^\mathrm{tor}=\overline{Y\cap\mathbb{G}^\mathrm{tor}}\cap\mathbb{G}^\mathrm{tor}$, and may thus assume that $Y=\overline{Y\cap\mathbb{G}^\mathrm{tor}}$. Then $Y$ contains a dense set of points with algebraic coordinates, since the elements of $\mathbb{G}^\mathrm{tor}$ have algebraic coordinates. Now the author Scanlon claims that it follows from Lagrange interpolation that $Y$ is defined over $\bar{\mathbb{Q}}$. The fact that $Y$ is defined over a number field then just follows from Noetherianess of $\bar{\mathbb{Q}}[X\_1,\ldots,X\_n]$.


A similar reduction also seems to work in the case of torsion points on abelian varieties defined over $\mathbb{C}$. I would also be grateful for details or references regarding this case.


Thanks for your help!



Is a complex algebraic set with a Zariski dense subset of algebraic points already defined over the algebraic numbers?
More is true. Let $K/F$ be a field extension. Let $X$ be the vanishing set of some polynomials in $K[X\_1,\dots, X\_n]$. If $X$ contains a Zariski dense set of points with coordinates in $F$, then $X$ is the vanishing set of some polynomials in $F$.


Proof: Choose a basis $\alpha\_i$ for $K/F$. Every polynomial in $K[X\_1,\dots, X\_n]$ vanishing on $X$ can be written as a (finite) combination $\sum\_i \alpha\_i f\_i$ with $f\_i \in F[X\_1,\dots, X\_n]$, by decomposing every coefficient in this basis.


For $x\_1,\dots, x\_n\in F$, if $ \sum\_i \alpha\_i f\_i(x\_1,\dots, x\_n)=0$ then $f\_i (x\_1,\dots, x\_n)=0$ for each $i$, by the definition of basis. So the $f\_i$ are polynomials vanishing on a Zariski dense set of points in $X$ and thus vanish on $X$.


Thus the vanishing locus of the $f\_i$, for all the polynomials $\sum\_i \alpha\_i f\_i$ in a set of polynomials defining $X$, is $X$, so $X$ is defined over $F$.


