b = isLeviRoot(P,beta)For an actual root this is precisely membership in the Levi root system. On an arbitrary root-lattice vector the command only checks that the sum of the removed-node coefficients is zero; it neither tests root membership nor demands that every removed coefficient vanish separately.
|
|
|
The output $(\mathrm{true},\mathrm{false})$ identifies $\alpha_1$ as a Levi root, but not $\alpha_1+\alpha_2$. Both inputs here are actual positive roots, so the degree test has the asserted root-system interpretation.
The object isLeviRoot 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:14155:0.