Macaulay2 » Documentation
Packages » KacMoody » Reading diagrams and coordinates
next | previous | forward | backward | up | index | toc

Reading diagrams and coordinates -- Node labels, Cartan entries, root coordinates, and parabolic input

Start by printing the Dynkin diagram. Its labels are the labels used by every command that asks for nodes or simple reflections. For example, node $2$ is the central node in the package's $D_4$ labeling:

i1 : A = cartanD 4

o1 = | 2  -1 0  0  |
     | -1 2  -1 -1 |
     | 0  -1 2  0  |
     | 0  -1 0  2  |

              4       4
o1 : Matrix ZZ  <-- ZZ
i2 : print dynkinDiagram A
4 --- 2 --- 3
      |
      1

A parabolic list contains the removed nodes, or equivalently the simple roots assigned degree $1$. The complementary nodes form the Levi diagram. Thus removing node $2$ above leaves the three outer nodes $\{1,3,4\}$, a Levi of type $A_1\times A_1\times A_1$:

i3 : removed = {2};
i4 : L = leviSubalgebra(A, removed);
i5 : L#"nodes"

o5 = {1, 3, 4}

o5 : List
i6 : print dynkinDiagram (L#"cartanMatrix")
  o  
  1

  o  
  2

  o  
  3
i7 : leviHighestWeights(A, 1, removed)

o7 = Tally{V(1) ** V(1) ** V(1) => 1}

o7 : Tally

The last line reads $$\mathfrak g_1\big|_{A_1\times A_1\times A_1} \cong V(1)\otimes V(1)\otimes V(1).$$ The Tally value $1$ is the multiplicity of this tensor-product summand.

L#"nodes" gives the ambient labels. A diagram drawn from L#"cartanMatrix" uses local labels $1,2,3$ in that order, so those local nodes correspond here to ambient nodes $1,3,4$.

Node lists start at 1, exactly as displayed by dynkinDiagram. Macaulay2 matrix positions start at 0. The nodes0 field gives positions for operations such as submatrix; do not pass it to a command expecting node labels:

i8 : L#"nodes"                  -- node labels: {1,3,4}

o8 = {1, 3, 4}

o8 : List
i9 : L#"nodes0"                 -- matrix positions: {0,2,3}

o9 = {0, 2, 3}

o9 : List
i10 : submatrix(A, L#"nodes0", L#"nodes0") == L#"cartanMatrix"

o10 = true

Cartan matrices use rows indexed by coroots: $A_{ij}=\langle\alpha_j,\alpha_i^\vee\rangle$. Mathematical node $i$ therefore corresponds to row and column $i$, while the same entry is addressed in Macaulay2 using position $i-1$. In the following $G_2$ matrix, for example, G_(0,1) is $A_{12}$:

i11 : G = matrix {{2,-3},{-1,2}}

o11 = | 2  -3 |
      | -1 2  |

               2       2
o11 : Matrix ZZ  <-- ZZ
i12 : print dynkinDiagram G
1 #<= 2
i13 : G_(0,1)                    -- <alpha_2, alpha_1^vee> = -3

o13 = -3
i14 : G_(1,0)                    -- <alpha_1, alpha_2^vee> = -1

o14 = -1

Root computations return simple-root coordinates: the list $\{c_1,\ldots,c_r\}$ means $\sum_i c_i\alpha_i$. Representation computations instead use Dynkin labels by default. Convert between the two with toFundamental and toSimple. In particular, column $j$ of $A$ is the Dynkin-label vector of $\alpha_j$:

i15 : simpleRoots G

o15 = | 1 0 |
      | 0 1 |

               2       2
o15 : Matrix QQ  <-- QQ
i16 : toFundamental(G, {1,0})    -- alpha_1: first column of G

o16 = {2, -1}

o16 : List
i17 : toFundamental(G, {0,1})    -- alpha_2: second column of G

o17 = {-3, 2}

o17 : List
i18 : theta = highestRoot G      -- {3,2}, meaning 3 alpha_1 + 2 alpha_2

o18 = {3, 2}

o18 : List
i19 : thetaDynkin = toFundamental(G, theta)

o19 = {0, 1}

o19 : List
i20 : weylDimension(G, thetaDynkin) -- 14, the adjoint representation

o20 = 14

Common outputs can be inspected with ordinary Macaulay2 operations. Root matrices have one root per row, a Tally has irreducibles as keys and multiplicities as values, and the named fields of other outputs are accessed by their documented string keys:

i21 : R = nilradicalRoots(A, removed);

               9       4
o21 : Matrix ZZ  <-- ZZ
i22 : numrows R

o22 = 9
i23 : entries R

o23 = {{0, 1, 0, 0}, {1, 1, 0, 0}, {0, 1, 1, 0}, {0, 1, 0, 1}, {1, 1, 1, 0},
      -----------------------------------------------------------------------
      {1, 1, 0, 1}, {0, 1, 1, 1}, {1, 1, 1, 1}, {1, 2, 1, 1}}

o23 : List
i24 : T = leviHighestWeights(A, 1, removed);
i25 : keys T

o25 = {V(1) ** V(1) ** V(1)}

o25 : List
i26 : values T

o26 = {1}

o26 : List
i27 : L#"cartanMatrix"

o27 = | 2 0 0 |
      | 0 2 0 |
      | 0 0 2 |

               3       3
o27 : Matrix ZZ  <-- ZZ

Most parabolic commands use removed nodes. The two coset commands parabolicCosetReps and parabolicDotImages are exceptions: their argument I is the complementary set of Levi nodes.

See also


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