Structured proof · Unit 148
lemma Filling.gram_linkMatrix_mul
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,\gamma'\in G(S,E), finite \sigma,\tau and matrices t (columns \sigma), t' (columns \tau) over E with rows the basis of V (implicit), if the columns of t are orthogonal to X+\gamma X (h) and those of t' to X+\gamma'X (h'), then for a,c\in E: (
linkMatrix(\gamma)t){}^{H}\cdot\operatorname{diag}(\mathtt{aT},-\mathtt{cT})\cdot(\mathtt{linkMatrix}(\gamma')t')=a\cdot(t^{H}Jt')-c\cdot(t^{H}J(\gamma\gamma'^{-1})t'),J= ratGram(S).The argument in briefEntrywise; vectors orthogonal to X are determined, for h, by their middle parts.
Entrywise at (i,j): the e^{*}-coordinates of the columns t_i and \gamma^{-1}t_i vanish, and so do those of t_j' and \gamma'^{-1}t_j' (
isotropicFramePair_mulVec_eq_zero_iff).The (i,j) entry, written as hermitian products of the middle parts.
Lean states
star (_ *ᵥ _) ᵥ* _ ⬝ᵥ _ *ᵥ _ = a * _ ᵥ* _ ⬝ᵥ _ - c * star (t · i) ᵥ* _ ⬝ᵥ _ *ᵥ _For vectors with zero e^{*}-parts, h is T on the middle parts; and h(\gamma^{-1}t_i,\gamma'^{-1}t_j')=h(t_i,\gamma\gamma'^{-1}t_j') (\gamma^{-1} is unitary). So the entry is a\cdot h(t_i,t_j')-c\cdot h(t_i,\gamma\gamma'^{-1}t_j').
Uses
U.unit 29,form_mulVec_mulVec splitGram_mulVecunit 148,dotProduct_mulVec,fromBlocks_mulVec,neg_mulVec,mul_add,Finset.mul_sum