m = kostantWeightMultiplicity(D,lambda,mu)Kostant's formula alternates positive-root partition numbers over the Weyl group, evaluated at $w(\lambda+\rho)-(\mu+\rho)$. For $\mu=\lambda$ the answer is $1$, the dimension of the highest-weight line; no Weyl group enumeration is needed. Complete weights are compared in the full realization: a different central character gives multiplicity zero even if Dynkin labels agree. In a nonminimal realization, complete weights and Dynkin-label classes cannot be mixed.
|
|
|
|
The answer $2$ is the dimension of the zero-weight space in the adjoint representation of $A_2$, namely its rank-two Cartan subalgebra.
The object kostantWeightMultiplicity is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:16459:0.