Macaulay2 » Documentation
Packages » KacMoody » Extended examples
next | previous | forward | backward | up | index | toc

Extended examples -- Examples connecting diagrams, roots, Levi modules, Weyl groups, and cohomology

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:

i1 : decompositionDimension(cartanA 2, new Tally from {
         (new Irrep from {{3}}) => 2})

o1 = 8

The Grassmannian Gr(2,6): a complete tour

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:

i2 : A = cartanA 6;

              5       5
o2 : Matrix ZZ  <-- ZZ
i3 : removed = {2};
i4 : print dynkinDiagram A
1 --- 2 --- 3 --- 4 --- 5
i5 : L = leviSubalgebra(A, removed);
i6 : L#"nodes"

o6 = {1, 3, 4, 5}

o6 : List
i7 : print dynkinDiagram (L#"cartanMatrix")
  o  
  1

2 --- 3 --- 4
i8 : tally ((parabolicDegrees(A, removed)) / last)

o8 = Tally{0 => 7}
           1 => 8

o8 : Tally
i9 : numrows nilradicalRoots(A, removed)

o9 = 8
i10 : g1 = leviHighestWeights(A, 1, removed)

o10 = Tally{V(1) ** V(0,0,1) => 1}

o10 : Tally
i11 : decompositionDimension(L#"cartanMatrix", g1)

o11 = 8

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:

i12 : H = kostantLieAlgCohomology(A, removed, toList(5:0));
i13 : H#2

o13 = Tally{V(0) ** V(2,0,0) => 1}
            V(2) ** V(0,1,0) => 1

o13 : Tally
i14 : cellCounts = apply(toList(0..8), k -> sum values H#k)

o14 = {1, 1, 2, 2, 3, 2, 2, 1, 1}

o14 : List
i15 : sum cellCounts == binomial(6,2)

o15 = true
i16 : cohomDims = apply(toList(0..8), k ->
          decompositionDimension(L#"cartanMatrix", H#k))

o16 = {1, 8, 28, 56, 70, 56, 28, 8, 1}

o16 : List
i17 : cohomDims == apply(toList(0..8), k -> binomial(8,k))

o17 = true

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$.

$D_4$ triality: a Heisenberg nilradical

The diagram shows that node $2$ is central. Removing it leaves three interchangeable $A_1$ components:

i18 : A = cartanD 4;

               4       4
o18 : Matrix ZZ  <-- ZZ
i19 : removed = {2};
i20 : print dynkinDiagram A
4 --- 2 --- 3
      |
      1
i21 : L = leviSubalgebra(A, removed);
i22 : print dynkinDiagram (L#"cartanMatrix")
  o  
  1

  o  
  2

  o  
  3
i23 : pieces = apply(toList(1..2), d ->
          leviHighestWeights(A, d, removed))

o23 = {Tally{V(1) ** V(1) ** V(1) => 1}, Tally{V(0) ** V(0) ** V(0) => 1}}

o23 : List
i24 : apply(pieces, T -> decompositionDimension(L#"cartanMatrix", T))

o24 = {8, 1}

o24 : List
i25 : H = kostantLieAlgCohomology(A, removed, toList(4:0));
i26 : H#2

o26 = Tally{V(0) ** V(2) ** V(2) => 1}
            V(2) ** V(0) ** V(2) => 1
            V(2) ** V(2) ** V(0) => 1

o26 : Tally
i27 : d4dims = apply(toList(0..9), k ->
          decompositionDimension(L#"cartanMatrix", H#k))

o27 = {1, 8, 27, 48, 42, 42, 48, 27, 8, 1}

o27 : List
i28 : d4dims == reverse d4dims

o28 = true
i29 : sum apply(toList(0..9), k -> sum values H#k)

o29 = 24

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$.

$F_4/P_3$: a deeper exceptional grading

This example has four nonzero positive degrees but remains quick enough for an interactive session:

i30 : A = cartanF4();

               4       4
o30 : Matrix ZZ  <-- ZZ
i31 : removed = {3};
i32 : print dynkinDiagram A
1 --- 2 =>= 3 --- 4
i33 : L = leviSubalgebra(A, removed);
i34 : print dynkinDiagram (L#"cartanMatrix")
1 --- 2

  o  
  3
i35 : degreeCounts = tally ((parabolicDegrees(A, removed)) / last)

o35 = Tally{0 => 4}
            1 => 6
            2 => 9
            3 => 2
            4 => 3

o35 : Tally
i36 : pieces = apply(toList(1..4), d ->
          leviHighestWeights(A, d, removed))

o36 = {Tally{V(1,0) ** V(1) => 1}, Tally{V(0,1) ** V(2) => 1}, Tally{V(0,0)
      -----------------------------------------------------------------------
      ** V(1) => 1}, Tally{V(1,0) ** V(0) => 1}}

o36 : List
i37 : pieceDims = apply(pieces, T ->
          decompositionDimension(L#"cartanMatrix", T))

o37 = {6, 9, 2, 3}

o37 : List
i38 : sum pieceDims == numrows nilradicalRoots(A, removed)

o38 = true
i39 : H = kostantLieAlgCohomology(A, removed, toList(4:0));
i40 : H#2

o40 = Tally{V(0,2) ** V(0) => 1}
            V(1,1) ** V(3) => 1

o40 : Tally
i41 : sum apply(toList(0..20), k -> sum values H#k)

o41 = 96

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$.

$E_8/P_8$: reconstructing all 248 dimensions

The highest root controls the grading depth, while the remaining diagram is $E_7$:

i42 : A = cartanE 8;

               8       8
o42 : Matrix ZZ  <-- ZZ
i43 : removed = {8};
i44 : print dynkinDiagram A
8 --- 7 --- 6 --- 5 --- 4 --- 3 --- 1
                        |
                        2
i45 : highestRoot A

o45 = {2, 3, 4, 6, 5, 4, 3, 2}

o45 : List
i46 : L = leviSubalgebra(A, removed);
i47 : print dynkinDiagram (L#"cartanMatrix")
7 --- 6 --- 5 --- 4 --- 3 --- 1
                  |
                  2
i48 : degreeCounts = tally ((parabolicDegrees(A, removed)) / last)

o48 = Tally{0 => 63}
            1 => 56
            2 => 1

o48 : Tally
i49 : pieces = apply(toList(1..2), d ->
          leviHighestWeights(A, d, removed))

o49 = {Tally{V(0,0,0,0,0,0,1) => 1}, Tally{V(0,0,0,0,0,0,0) => 1}}

o49 : List
i50 : apply(pieces, T -> decompositionDimension(L#"cartanMatrix", T))

o50 = {56, 1}

o50 : List
i51 : dimFromRoots = numrows A + 2 * numrows cartanPositiveRoots A

o51 = 248
i52 : dimFromGrading = (numrows A + 2 * degreeCounts#0
          + 2 * numrows nilradicalRoots(A, removed))

o52 = 248
i53 : dimFromRoots == dimFromGrading

o53 = true

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)$.

Affine $A_2^{(1)}$: the loop algebra one degree at a time

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:

i54 : A = cartanAffineA 2;

               3       3
o54 : Matrix ZZ  <-- ZZ
i55 : print dynkinDiagram A
1 --- 3 --- 2 --- 1  (cycle)
i56 : S = rootSnapshot(A, 12);
i57 : rootAccounting = apply(toList(1..3), d -> (
          nr := #select(entries(S#"real"), v -> v#0 == d);
          im := sum(select(entries(S#"imag"), v -> v#0 == d),
              v -> (S#"mult")#v);
          (d, nr, im, nr + im)
          ))

o57 = {(1, 6, 2, 8), (2, 6, 2, 8), (3, 6, 2, 8)}

o57 : List
i58 : affinePieces = apply(toList(1..3), d ->
          leviHighestWeights(A, d, {1}))

o58 = {Tally{V(1,1) => 1}, Tally{V(1,1) => 1}, Tally{V(1,1) => 1}}

o58 : List
i59 : weylDimension(cartanA 3, {1,1})

o59 = 8

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.

From $E_8$ to affine $E_9$ to indefinite $E_{10}$

The standard extension commands preserve the old Cartan matrix as a principal submatrix while moving through all three types:

i60 : E8 = cartanE 8;

               8       8
o60 : Matrix ZZ  <-- ZZ
i61 : E9 = cartanExtendUntwisted E8;

               9       9
o61 : Matrix ZZ  <-- ZZ
i62 : E10 = cartanOverExtended E8;

               10       10
o62 : Matrix ZZ   <-- ZZ
i63 : apply({E8,E9,E10}, M -> (numrows M, cartanType M, det M))

o63 = {(8, finite, 1), (9, affine, 0), (10, indefinite, -1)}

o63 : List
i64 : submatrix(E10, toList(1..9), toList(1..9)) == E9

o64 = true
i65 : delta9 = flatten entries ((rootSnapshot(E9, 30))#"delta")

o65 = {1, 2, 3, 4, 6, 5, 4, 3, 2}

o65 : List
i66 : beta10 = prepend(0, delta9);
i67 : S10 = rootSnapshot(E10, 30);
i68 : ((S10#"mult")#beta10, rootNormSquared(E10, beta10))

o68 = (8, 0)

o68 : Sequence

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.

Hyperbolic $A_1^{++}$: root multiplicities versus Levi modules

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.

i69 : A = cartanOverExtended cartanA 2;

               3       3
o69 : Matrix ZZ  <-- ZZ
i70 : print dynkinDiagram A
1 --- 2 === 3
i71 : S = rootSnapshot(A, 16);
i72 : allPositive = entries(S#"real") | entries(S#"imag");
i73 : rootDims = apply(toList(1..4), d ->
          sum(select(allPositive, v -> v#1 == d),
              v -> (S#"mult")#v))

o73 = {6, 10, 20, 51}

o73 : List
i74 : hyperbolicPieces = apply(toList(1..4), d ->
          leviHighestWeights(A, d, {2}))

o74 = {Tally{V(1) ** V(2) => 1}, Tally{V(0) ** V(0) => 1}, Tally{V(1) ** V(0)
                                       V(2) ** V(2) => 1         V(1) ** V(2)
                                                                 V(3) ** V(2)
                                                                             
                                                                             
      -----------------------------------------------------------------------
      => 1}, Tally{V(0) ** V(2) => 2}}
      => 1         V(2) ** V(0) => 2
      => 1         V(2) ** V(2) => 1
                   V(2) ** V(4) => 1
                   V(4) ** V(2) => 1

o74 : List
i75 : a1xA1Dimension = T -> sum(keys T, V ->
          T#V * product(toList V, w -> (toList w)#0 + 1));
i76 : leviDims = apply(hyperbolicPieces, a1xA1Dimension)

o76 = {6, 10, 20, 51}

o76 : List
i77 : rootDims == leviDims

o77 = true

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.

Twisted affine periodicity

For a twisted affine matrix, imaginary-root multiplicities need not be the constant rank - 1. They are computed from the matrix:

i78 : A = transpose cartanAffineB 3;

               4       4
o78 : Matrix ZZ  <-- ZZ
i79 : print dynkinDiagram A
4 =>= 3 --- 2
      |
      1
i80 : S = rootSnapshot(A, 30);
i81 : delta = flatten entries S#"delta";
i82 : apply(toList(1..6), k ->
          (k, (S#"mult")#(apply(delta, x -> k*x))))

o82 = {(1, 2), (2, 3), (3, 2), (4, 3), (5, 2), (6, 3)}

o82 : List

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.

The $B_3$ Borel: Kostant cohomology is the Weyl polynomial

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$:

i83 : A = cartanB 3;

               3       3
o83 : Matrix ZZ  <-- ZZ
i84 : H = kostantLieAlgCohomology(A, {1,2,3}, toList(3:0));
i85 : P = weylLengthGenerating A;
i86 : q = (ring P)_0;
i87 : cohomPoincare = sum for k in keys H list (sum values H#k)*q^k;
i88 : cohomPoincare

       9     8     7     6     5     4     3     2
o88 = q  + 3q  + 5q  + 7q  + 8q  + 8q  + 7q  + 5q  + 3q + 1

o88 : KazhdanLusztigPolynomialRing
i89 : cohomPoincare == P

o89 = true
i90 : sub(cohomPoincare,q=>1) == weylGroupOrder A

o90 = true

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$.

See also


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:2933:0.