I have a technical question on commutative algebra. I am not an expert in the subject, and I would like to know if there are "typical conditions" making the following possible.
Let $\varphi:R\to S$ be a surjective ring homomorphisms (rings are commutative with identity). Let $X$ be an $S$-module, and regard it as an $R$-module as well via $\varphi$. I am interested in recovering the $S$-dual $\text{Hom}_S(X,S)$ of $X$ from the $R$-dual $\text{Hom}_R(X,R)$, in a natural way. Do you know of a way to do so, possibly under suitable supplementary hypothesis?
A naive guess that comes to mind is to try and consider $\text{Hom}_R(X,R)\otimes_R S$. How is this module related to $\text{Hom}_S(X,S)$?
I am interested in the very special case where $S$ (resp. $R$) is a order in a product $\prod K_i$ (resp. $\prod K_i\times\prod L_j$) of finitely many number fields, and where $X$ is a torsion free, finitely generated $S$-module such that $X\otimes\mathbf{Q}$ is isomorphic to $\prod K_i^{n_i}$, for some $n_i\geq 1$. Moreover both $S$ and $R$ are Gorenstein.