I'm reading through a proof on central simple algebras and the following seems to be implicitly assumed:
Let $L/K$ be a field extension, $F \in L[X_1, \ldots, X_n]$ a polynomial such that $F(k_1, \ldots, k_n) \in K$ for all $(k_1, \ldots, k_n) \in K^n$. Then the coefficients of $F$ actually lie in $K$.
Is this true in the form stated above, or under additional assumptions? In the proof I am reading, $F$ is homogeneous and $L/K$ is a finite extension.
Take $K$ to be the field with $p$ elements, $p$ a prime, $L$ to be the field with $p^{2}$ elements, and let $\alpha \in L \setminus K$.
The polynomial $$F = \alpha (X^{p} - X)$$ is identically zero for all evaluations of $X$ in $F$. But clearly $F \notin K[X]$.
But then perhaps you are working in characteristic zero? Or, as suggested by user26857, $K$ is infinite?