A KMRoot is an integral element of the root lattice, recorded together with its RootDatum. In kmRoot(D,b) the entries of b are coefficients of the simple roots, not Dynkin labels. The constructor does not assert that this lattice element is a root of the Lie algebra; rootMultiplicity can test that question within a computed root range.
|
|
|
The first tuple denotes $\beta=\alpha_1+\alpha_2$. Converting to a weight gives Dynkin labels $(1,1)$, since $\langle\beta,\alpha_1^\vee\rangle= \langle\beta,\alpha_2^\vee\rangle=1$. The coordinate lists happen to agree here; they describe different bases and need not agree in general.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:18170:0.