x = rootInnerProduct(A, v, w)The package normalizes each connected component of the symmetrizer independently by setting its first entry to $1$; hence simple root $\alpha_i$ has squared length $2D_{ii}$, and scales across disconnected components are unrelated. In type $G_2$ this gives long roots length$^2$ $=6$ and short roots length$^2=2$; in type $B_n$ the long roots have length$^2=2$ and short roots length$^2=1$. This form also determines rootNormSquared and enters Peterson's recursion for the root multiplicities in indefiniteRootSnapshot.
This first-node normalization is not the finite representation-theoretic convention used by quadraticCasimir. For that purpose, normalizedInvariantForm rescales every finite simple component so that its long roots have squared norm $2$. The two forms differ only by a positive scalar on each connected component, but that scalar matters when quoting an absolute Casimir eigenvalue.
|
|
|
|
|
|
The $G_2$ outputs are $-3$, $2$, and $6$. They are $(\alpha_1,\alpha_2)$, $(\alpha_1,\alpha_1)$, and $(\alpha_2,\alpha_2)$, respectively, so the long root has three times the squared length of the short root. The $B_3$ outputs $1$ and $2$ give the short and long squared lengths in that type.
The object rootInnerProduct is a function closure.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:4689:0.