If $A$ and $B$ are integral domains and they have isomorphic fraction fields, is there any relation between $A$ and $B$?
The question arises from the particular case in which $A$ is a finite type $B$-algebra. For this case I worked the following out, but I am not very comfortable with my argument, specially when switching between ring and algebra morphisms (I don't have much background on commutative algebra).
Let $A$ and $B$ be integral domains such that $A$ is a (non-zero) finite type $B$-algebra and $A_{(0)} \cong_{Ring} B_{(0)}$. Then $A_{(0)} \cong_{B\text{-algebra}} B_{(0)}$.
The $B$-algebra morphism \begin{equation} B \to B[X_{1},...,X_{n}] \twoheadrightarrow A=\frac{B[X_{1},...,X_{n}]}{I} \hookrightarrow A_{(0)}=B_{(0)} \end{equation} sends \begin{equation} 1 \mapsto 1 \mapsto 1+I \mapsto 1 \end{equation} and therefore, since it is a $B$-algebra morphism (this is the part that I couldn't quite work out without leaving the category of rings) \begin{equation} b \mapsto b \mapsto b+I \mapsto b \end{equation} From injectivity of the last arrow we deduce
- For all $b\in B\setminus \{ 0\}$ we have $b\notin I$, as $b\neq 0$ in $B_{(0)}$.
- For all $i$, if $X_{i}\notin I$ then $X_{i} + I \mapsto \frac{p_{i}}{q_{i}} \neq 0$ in $B_{(0)}$. Thus $q_{i}X_{i}-p_{i}\in I$.
Therefore $A=B[\frac{p_{1}}{q_{1}},...,\frac{p_{n}}{q_{n}}]=B_q$ where $q$ is the product of the $q_{i}$.
So $A \cong_{B\text{-algebra}} B_{q}$ and in particular $A \cong_{Ring} B_{q}$.
Is this proof correct? Can I change between categories like that?
I've never seen anyone doing it, so that suggests that I can't. And further questions:
Is there a proof of this using only the category of rings?
I feel like there should be a nice easy diagram to prove it using just the epimorphisms involved here, but I could't find it.
Back to the more general question, can we weaken the assumptions somehow? What is the most general statement we can get in this situation?
I've tried Atiyah-Macdonald, Matsumura and Google. The closest thing I could find was this question on StackExchange, but it doesn't really help my case.


