1 version of the statement of Local self-duality away from an integer bounding the dual, 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 $E/F$ be an extension of number fields, $\sigma:E\to E$ an $F$-algebra homomorphism, $J\in M_n(E)$, and $L\subseteq E^n$ a finitely generated $\mathcal O_E$-module. Put
$$h(x,y)=\sum_{i,j}\sigma(x_i)J_{ij}y_j.$$
Suppose $h(L,L)\subseteq\mathcal O_E$ and there is $T\ge0$ such that
$$h(L,y)\subseteq\mathcal O_E\quad\Longrightarrow\quad Ty\in L\qquad(y\in E^n).$$
For every nonzero prime $v$ of $\mathcal O_F$ with $T\notin v$, the completed lattice $L_v$ is self-dual for the extended pairing:
$$L_v=\{y\in(F_v\otimes_FE)^n:h_v(L_v,y)\subseteq O_{E,v}\}.$$