The Depth option of moduleCharacter gives a nonnegative integer $H$. It requests every coefficient at $\lambda-\sum_i b_i\alpha_i$ with $b_i\geq0$ and $\sum_i b_i\leq H$. This is root depth, not homological degree, and in affine type it is not the derivation degree alone.
|
|
|
|
The three displayed weights are $2$, $2-\alpha_1=0$, and $2-2\alpha_1=-2$ in Dynkin coordinates. Thus the answer begins $e^{(2)}+e^{(0)}+e^{(-2)}$ and is complete at depths $0$, $1$, and $2$. Further terms exist; increasing Depth computes them rather than interpreting them as zero.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:18963:0.