theta = highestRoot AIn the simple-root basis, the highest root $\theta$ of $A_n$ is $(1,1,\dots,1)$ (sum of all simple roots); of $E_8$ it is $(2,3,4,6,5,4,3,2)$, the marks of the extended Dynkin diagram. Given a Lie algebra rather than a Cartan matrix, highestRoot gives the highest root in fundamental-weight coordinates. The Dynkin labels of $\theta$ give the highest weight of the adjoint representation:
|
|
|
The first tuple $(1,1,1)$ means $\theta=\alpha_1+\alpha_2+\alpha_3$ in $A_3$. The $E_8$ tuple similarly gives the coefficients of its highest root, one coefficient for each displayed Dynkin node. The final $(1,0,0,1)$ describes the highest root of $A_4$ in Dynkin labels, hence the highest weight of its adjoint representation.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:4908:0.