Hermitian duality of transported Weyl lattices
Let $K$ be a number field with involution $a\mapsto\bar a$, $I$ a finite set, $n\ge0$, and $\lambda_\tau\in\mathbb Z^n$ weakly decreasing for each $\tau\in I$. Let $G_\tau\in M_n(K)$ be invertible Hermitian matrices, and $M_\tau\subseteq K^n$ full $\mathcal O_K$-lattices. With the polynomial spaces, actions and lattices defined below, $$\mathcal N(M)^{\#}=\mathcal D(M^{\#}),\qquad\mathcal D(M)^{\#}=\mathcal N(M^{\#}).$$ Here $M_\tau^{\#}=\{x:\bar y^{\mathsf T}G_\tau x\in\mathcal O_K\text{ for every }y\in M_\tau\}$, and the duals on the left use the pairing $B_G$ below.
For $n>0$ put $d_\tau=\lambda_{\tau,n}$ and $\nu_{\tau,j}=\lambda_{\tau,j}-d_\tau$; for $n=0$ put $d_\tau=0$. Use (Polynomial Weyl modules and row substitutionsDefinition REP.D247) in square $n\times n$ variable blocks $Z_\tau$. Put $V_\tau=\nabla_{\nu_\tau}(K)$, $H_\tau=v_{\nu_\tau}\in K[Z_\tau]$ and $V=\bigotimes_{\tau\in I}V_\tau$, viewed as polynomials in all the blocks.
The standard lattices $N_0,D_0$ are the $\mathcal O_K$-spans of products $\prod_{\tau\in I}f_\tau$ with $f_\tau\in\nabla_{\nu_\tau}(\mathcal O_K)$ and $f_\tau\in\Delta_{\nu_\tau}(\mathcal O_K)$, respectively. The polynomials are included in their respective blocks over $K$ by the coefficient embedding.
For $A=(A_\tau)\in\prod_\tau\operatorname{GL}_n(K)$ define $$\rho(A)f(Z)=\left(\prod_\tau\det(A_\tau)^{d_\tau}\right)f((A_\tau^{\mathsf T}Z_\tau)_\tau).$$ An element $f\in V$ belongs to $\mathcal N(M)$, respectively $\mathcal D(M)$, if for every prime $w$ of $K$ and every family of local basis matrices $A_\tau$ of $(M_\tau)_w$, $\rho(A^{-1})f$ belongs to $(N_0)_w$, respectively $(D_0)_w$.
Use $[\ ,\ ]_{\rm fac}$ from (Bilinear factorial pairing of polynomialsDefinition ALG.D027) over $K$. For a polynomial $f$, let $f^\ast$ be obtained by applying the involution of $K$ to every coefficient. Put $\langle f,g\rangle_F=[f^\ast,g]_{\rm fac}$ and $c=\prod_\tau\langle H_\tau,H_\tau\rangle_F$. The pairing is $$B_G(f,g)=\frac{\prod_\tau\det(G_\tau)^{d_\tau}}{c}\left\langle f,g((G_\tau^{\mathsf T}Z_\tau)_\tau)\right\rangle_F.$$ For a lattice $L\subset V$, $L^{\#}=\{x\in V:B_G(y,x)\in\mathcal O_K\text{ for all }y\in L\}$.