A semistable majorant of a self-dual Hermitian lattice
Let $K$ be a number field with an involution $c$ inducing complex conjugation under every embedding $\sigma:K\hookrightarrow\mathbb C$. Let $S\in\operatorname{Mat}_r(K)$ be $c$-Hermitian and let $L\subseteq K^r$ be a finitely generated $\mathcal O_K$-module spanning $K^r$, self-dual for $h_S(x,y)=c(x)^{\mathsf T}Sy$. There are positive definite Hermitian matrices $H_\sigma$ with $$H_\sigma\sigma(S)^{-1}H_\sigma=\sigma(S),\qquad H_{\bar\sigma}=\overline{H_\sigma},$$ such that $L$ has degree zero and every $\mathcal O_K$-submodule $B\subseteq L$ has degree at most zero for these metrics. Moreover, if $N\in\operatorname{Mat}_r(K)$ preserves $L$ and $$u^*\sigma(N)^*H_\sigma\sigma(N)u<u^*H_\sigma u\qquad(\sigma:K\hookrightarrow\mathbb C,\ u\ne0),$$ then $N=0$.
Self-duality means $h_S(L,L)\subseteq\mathcal O_K$ and every $x$ pairing integrally with $L$ belongs to $L$. For any $K$-basis $b_1,\ldots,b_t$ of the span of $B$ with $b_i\in B$, its degree is $$\log[B:\textstyle\sum_i\mathcal O_Kb_i]-\frac12\sum_\sigma\log\det\bigl(\sigma(b_i)^*H_\sigma\sigma(b_j)\bigr)_{i,j}.$$ The degree assertions quantify over every such choice of basis, including the empty basis for the zero submodule.