An element integral over two polynomial rings is algebraic
Assume that for every field extension $L'/k'$, every $t'\in L'$ transcendental over $k'$, and every $x'\in L'$ integral over $k'[t']$, the minimal polynomial of $x'$ over $k'(t')$ has all its coefficients in $k'[t']$.
Let $L/k$ be a field extension and $t\in L$ transcendental over $k$. If $x\in L$ is integral over both $k[t]$ and $k[t^{-1}]$, then $x$ is integral over $k$.