What it saysFor filling data S (over a CM number field E with its CM type, for a shape \mathfrak{s}; E and \mathfrak{s} implicit), \gamma\in G(S,E) (implicit) and a pair p of middle vectors over E (implicit): the link of \gamma is Lagrangian for \operatorname{diag}(T,-T),T=\operatorname{diag}(1,\ldots,1,-N): p\in\operatorname{link}(\gamma) iff \overline{q}^{T}\cdotlinkForm(S)\cdot p=0 for every q\in\operatorname{link}(\gamma).
The argument in brief\Rightarrow: h(s,t)=h(\gamma^{-1}s,\gamma^{-1}t) and for vectors orthogonal to X only the middle parts count. \Leftarrow: an annihilator argument produces the vector t.
\Rightarrow (the link is isotropic): for p=(t_{\mathrm{mid}},(\gamma^{-1}t)_{\mathrm{mid}}) and q=(s_{\mathrm{mid}},(\gamma^{-1}s)_{\mathrm{mid}}) with s,t\bot X+\gamma X,h(s,t)=h(\gamma^{-1}s,\gamma^{-1}t) (\gamma is unitary), and for vectors with zero e^{*}-parts h reduces to T on the middle parts; so \overline{q}^{T}\operatorname{diag}(T,-T)p=T(s_{\mathrm{mid}},t_{\mathrm{mid}})-T((\gamma^{-1}s)_{\mathrm{mid}},(\gamma^{-1}t)_{\mathrm{mid}})=0.
\Leftarrow (the link is maximal isotropic): suppose p is orthogonal to the whole link. By exists_mulVec_eq_of_annihilator (for the matrices 1 and \gamma, free e-coordinates, targets (0,p_1,0) and (0,p_2,0)) it suffices to check l(0,p_1,0)=l(\gamma(0,p_2,0)) for every linear form l vanishing on the e-columns of 1 and of \gamma. Writing l=h(t,\cdot) (exists_star_vecMul_eq) and moving \gamma across (J\gamma^{-1}=\gamma^{H}J), these conditions say t\bot X and \gamma^{-1}t\bot X, so (t_{\mathrm{mid}},(\gamma^{-1}t)_{\mathrm{mid}}) lies in the link and the orthogonality of p to it is the required equality. The vectors obtained exhibit p\in\operatorname{link}(\gamma).