1 version of the statement of Localization and duality for a Hermitian module, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 1 , first version
Let $R$ be an integral domain with fraction field $K$, equipped with an involution preserving $R$. Let $V$ be a $K$-vector space and let $h:V\times V\to K$ be Hermitian, conjugate-linear in the first variable. For a finitely generated $R$-submodule $L\subseteq V$, define
$$L^\#=\{x\in V:h(y,x)\in R\text{ for every }y\in L\}.$$
For a prime ideal $P\subset R$, put
$$S_P=\{s\in R:s\notin P,\ \bar s\notin P\},\qquad R_P^{\mathrm h}=S_P^{-1}R,\qquad L_P^{\mathrm h}=S_P^{-1}L,$$
and $D_P(L)=\{x\in V:h(L,x)\subseteq R_P^{\mathrm h}\}$. Then
$$(L^\#)_P^{\mathrm h}=D_P(L),\qquad D_P(L_P^{\mathrm h})=D_P(L).$$
Moreover,
$$L^\#=L\quad\Longleftrightarrow\quad D_P(L_P^{\mathrm h})=L_P^{\mathrm h}\text{ for every maximal ideal }P.$$