Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
But an element of $K(X)$ which is algebraic over $k$ is certainly integral over $A$, so it is an element of $K(X)$. Let $k'$ be the separable closure of $k$ in $K(X)$; then we've shown that $X$ is naturally a $k'$-scheme ($k'$ doesn't depend on the choice of affine open), and that it is geometrically irreducible over $k'$ (since $k'$ is separably closed in $K(X)$).
I was surprised by the statement when $X$ is normal, and I couldn't find a proof online, so here's a sketch of the argument I worked out for future reference: We can work affine-locally on $X$, so assume $X = \mathrm{Spec}(A)$ for $A$ an integrally closed domain. It suffices to show that $A \otimes_k \overline{k}$ has a unique minimal prime ideal. Since field extensions are flat and $A$ injects into $K(X)$, it suffices to show that $K(X) \otimes_k \overline{k}$ has a unique minimal prime ideal. This is equivalent to $k$ being separably closed in $K(X)$.
Thanks for the reference. The paper addresses the questions I had in mind, but for the sake of completeness, would you mind clarifying what it means to interpret a formula in the language of set theory in $V^{\mathrm{Sh}(\mathbb{P})}$, and what this has to do with the Kripke-Joyal semantics of the topos?
Great, this feels like the "right" reason. I've never heard of the Shimura correspondence or thought about automorphic forms for the metaplectic group - can you say a little more about how this interpretation goes? Also, why does the theta function have trivial nebentypus? I thought the functional equation involved some power of $i$?