The examples on this page follow a Cartan matrix through several related constructions. Roots, representation dimensions, Weyl-group combinatorics, and cohomology give independent checks on the resulting identities.
The page is organized as a sequence of named examples: the Grassmannian $\mathrm{Gr}(2,6)$; $D_4$ triality; $F_4/P_3$; the $E_8$ dimension identity; affine $A_2^{(1)}$; the chain $E_8\subset E_9\subset E_{10}$; hyperbolic $A_1^{++}$; twisted affine periodicity; and the $B_3$ Borel. Each bold title below begins a self-contained example.
The command decompositionDimension converts a Tally{Irrep => ZZ} into its total dimension relative to a finite Levi Cartan matrix:
|
Start with the type $A_5$ diagram for $\mathfrak{sl}_6$ and remove node $2$. The complementary nodes form a derived Levi of type $A_1\times A_3$. The nilradical has dimension $8$ and is irreducible as a derived-Levi module:
|
|
|
|
|
|
|
|
|
|
The output says $$\mathfrak n=\mathfrak g_1 \cong V_{A_1}(1)\otimes V_{A_3}(0,0,1) \cong \mathbb C^2\otimes(\mathbb C^4)^*,$$ so $\dim\mathfrak n=2\cdot4=8$. The removed simple root has coefficient $1$ in the highest root, so this parabolic is cominuscule. There is no degree-$2$ piece, and its nilradical is abelian.
Kostant cohomology and the minimal coset representatives now recover two familiar rows of numbers independently:
|
|
|
|
|
|
Thus the numbers of Kostant summands are $$(1,1,2,2,3,2,2,1,1),$$ whose sum is $15=\binom62$, the number of Schubert cells in $\operatorname{Gr}(2,6)$. Their total dimensions in each degree are $$(1,8,28,56,70,56,28,8,1) =\left(\binom80,\binom81,\ldots,\binom88\right),$$ exactly as expected from $H^k(\mathfrak n,\mathbb C)\cong\bigwedge^k\mathfrak n^*$. For example, the displayed degree-$2$ output means $$H^2\cong V_{A_1}(0)\otimes V_{A_3}(2,0,0) \oplus V_{A_1}(2)\otimes V_{A_3}(0,1,0),$$ with dimension $10+3\cdot6=28$.
The diagram shows that node $2$ is central. Removing it leaves three interchangeable $A_1$ components:
|
|
|
|
|
|
|
|
|
|
|
|
In ordinary mathematical notation the two graded pieces are $$\mathfrak g_1\cong V(1)\otimes V(1)\otimes V(1),\qquad \mathfrak g_2\cong\mathbb C,$$ of dimensions $8$ and $1$. The three tensor factors make the triality symmetry visible in the output. The nilradical is Heisenberg: $\mathfrak g_2=\mathbb Cz$ is its center and $[x,y]=\omega(x,y)z$ for $x,y\in\mathfrak g_1$, where $\omega$ is a nondegenerate alternating form. The cohomology dimensions are $$(1,8,27,48,42,42,48,27,8,1),$$ a palindrome expressing Poincaré duality. There are $24$ Kostant summands, agreeing with $|W(D_4)|/|W(A_1)^3|=192/8=24$.
This example has four nonzero positive degrees but remains quick enough for an interactive session:
|
|
|
|
|
|
|
|
|
|
|
|
For the derived Levi $A_2\times A_1$, the decomposition is $$\begin{aligned} \mathfrak g_1&\cong V(1,0)\otimes V(1),& \dim\mathfrak g_1&=6,\\ \mathfrak g_2&\cong V(0,1)\otimes V(2),& \dim\mathfrak g_2&=9,\\ \mathfrak g_3&\cong V(0,0)\otimes V(1),& \dim\mathfrak g_3&=2,\\ \mathfrak g_4&\cong V(1,0)\otimes V(0),& \dim\mathfrak g_4&=3. \end{aligned}$$ Consequently $\dim\mathfrak n=6+9+2+3=20$ and $$\dim\mathfrak f_4=52=12+2\cdot20.$$ The computation finds $96$ Kostant summands, as predicted by $|W(F_4)|/(|W(A_2)|\,|W(A_1)|)=1152/(6\cdot2)=96$. In degree $2$ it gives $$H^2\cong V(0,2)\otimes V(0) \oplus V(1,1)\otimes V(3),$$ of total dimension $6+8\cdot4=38$.
The highest root controls the grading depth, while the remaining diagram is $E_7$:
|
|
|
|
|
|
|
|
|
|
|
|
The $120$ positive roots give $8+2\cdot120=248$. The parabolic calculation instead gives $$\mathfrak g_1\cong V_{E_7}(\omega_7),\quad \dim\mathfrak g_1=56,\qquad \mathfrak g_2\cong\mathbb C,$$ and hence the five-step decomposition $$248=1+56+(133+1)+56+1=134+57+57.$$ The root and grading computations give this identity without listing the $696729600$ elements of $W(E_8)$.
Removing the affine node leaves the finite algebra $\mathfrak{sl}_3$. At each positive loop degree, six real-root spaces and the two-dimensional imaginary-root space should assemble into its eight-dimensional adjoint representation:
|
|
|
|
|
|
Each tuple in rootAccounting has the form (degree, real dimension, imaginary dimension, total), so the output $(d,6,2,8)$ appears in degrees $1,2,3$. Each corresponding Levi decomposition is Tally{V(1,1) => 1}. In other words, $$\mathfrak g_d\big|_{\mathfrak{sl}_3} \cong V_{A_2}(1,1)\cong\mathfrak{sl}_3,\qquad d=1,2,3,$$ and the same pattern continues at every positive loop degree.
The standard extension commands preserve the old Cartan matrix as a principal submatrix while moving through all three types:
|
|
|
|
|
|
|
|
|
The first output is $$\{(8,\text{finite},1),(9,\text{affine},0), (10,\text{indefinite},-1)\}.$$ The affine null root is $\delta=(1,2,3,4,6,5,4,3,2)$. After embedding it into $E_{10}$, the root computation gives squared norm $0$ and multiplicity $8$, exactly matching its affine multiplicity.
Here removing node $2$ leaves a disconnected $A_1\times A_1$ Levi. We can compute the dimensions of the first four graded pieces in two unrelated ways: by summing root multiplicities and by summing the dimensions of the irreducible Levi summands.
|
|
|
|
|
|
|
|
|
Both routes give $$(6,10,20,51).$$ For example, the first two decompositions are $$\mathfrak g_1\cong V(1)\otimes V(2),$$ $$\mathfrak g_2\cong V(0)\otimes V(0)\oplus V(2)\otimes V(2),$$ with dimensions $2\cdot3=6$ and $1+3\cdot3=10$. The final true confirms that the root multiplicities and the representation-theoretic decomposition give the same dimensions.
For a twisted affine matrix, imaginary-root multiplicities need not be the constant rank - 1. They are computed from the matrix:
|
|
|
|
|
Here $\delta=(1,1,2,1)$ and $$\operatorname{mult}(k\delta)=2,3,2,3,2,3\qquad(1\leq k\leq6).$$ This alternating pattern shows why the untwisted formula does not apply here. Peterson's recursion computes the multiplicity of each imaginary root from the Cartan matrix.
At the Borel, every node is removed and the number of Kostant summands in degree $k$ is the number of Weyl-group elements of length $k$:
|
|
|
|
|
|
|
|
The coefficients are $$(1,3,5,7,8,8,7,5,3,1),$$ and they sum to $48=|W(B_3)|$. Equivalently, $$P_{W(B_3)}(q) =(1+q)(1+q+q^2+q^3)(1+q+\cdots+q^5),$$ reflecting the exponents $1,3,5$.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:2933:0.