Let $\mathcal E$ be a Grothendieck topos and $R$ be a ring object in it. Say $R$ is internally a ring of fractions if $\neg (a=0)\implies a$ is invertible.
I'm trying to prove that in the opposite category of commutative $k$-algebras for $k$ a (commutative unitary) ring, taken with the Zariski topology, the canonical line object $R=\operatorname{Spec}k[x]$ is a ring of fractions. I would like to do this using the internal language, but I'm kind of stuck at the very beginning.
Since $$\mathsf{Hom}(\operatorname{Spec}S,R)\cong \mathsf{Hom}(k[x],S)\cong \mathsf{Hom}(1,US)\cong S$$ it kind of looks like I'm supposed to prove that $S$ is literally a field, which makes no sense. I don't see where I can use the locality of the internal language to restrict to the cover $S_a,S_{1-a}$.
So how can I complete this proof?
Added. This paper by Kock contains as proposition 2.2 a proof of a stronger claim. The author seems to say $\neg(a=0)$ means that given our $a:\operatorname{Spec}S\to R$, if $a\circ b:\operatorname{Spec}T\to R$ is trivial, i.e $b\circ a:k[X]\to T$ is zero, then $T$ is zero. But then, given $a$, just take $b$ to be the natural projection $S\to S/(aX)$. Conclude $S/(aX)$ must be zero, which means $aX$ must be invertible in $S$.
Two things confuse me now:
- Why does this finish the proof? Don't we need to show $a:k[x]\to S$ is an isomorphism?
- I originally wanted to just use the table on pages 7,8 of these notes by Ingo Blechschmidt, and there $U\models\neg \varphi \implies \psi$ is said to mean that for every open $V\subset U$, if $V\models \phi \implies \psi$ then $V=\emptyset$. However, the rings $S,S/(x)$ don't seem to have anything to do with opens of $R$. Can someone explain how to write the proof actually using the internal language, as presented in the table?