Macaulay2 » Documentation
Packages » KacMoody » Command reference » cartanDatum
next | previous | forward | backward | up | index | toc

cartanDatum -- Record a generalized Cartan matrix and its node labels

Description

The convention is $a_{ij}=\langle\alpha_j,\alpha_i^\vee\rangle$. A type name uses Lie-theoretic rank: "A2" has two nodes. A realization or root datum is also accepted, in which case its Cartan datum is returned. Node labels must be chosen at the original construction, not changed on an existing datum. A matrix over a characteristic-zero ring is accepted when its entries are integers and satisfy the generalized Cartan axioms. For example, a constant Cartan matrix over a polynomial ring gives the same datum as its matrix over ZZ. The empty matrix follows the same coefficient-ring convention.

i1 : D = cartanDatum("A2",NodeLabels=>{"left","right"});
i2 : (D#"rank",D#"corank",D#"nodeLabels",datumCartanMatrix D)

o2 = (2, 0, {left, right}, | 2  -1 |)
                           | -1 2  |

o2 : Sequence

The ranks are 2 and 0, the labels are left and right, and the matrix is $\begin{pmatrix}2&-1\\-1&2\end{pmatrix}$. Thus this datum describes type $A_2$ with the indicated order of its simple roots.

When the input is a matrix and no labels are specified, its rows and columns are labeled by their positions, starting at 1.

i3 : D = cartanDatum cartanA 3;
i4 : (D#"nodeLabels",datumCartanMatrix D == cartanA 3)

o4 = ({1, 2}, true)

o4 : Sequence

The labels are $(1,2)$, and the equality is true: the original $A_2$ matrix and its node order have been retained.

See also

Ways to use cartanDatum:

  • cartanDatum(CartanDatum)
  • cartanDatum(Matrix)
  • cartanDatum(Realization)
  • cartanDatum(RootDatum)
  • cartanDatum(String)

For the programmer

The object cartanDatum is a method function with options.


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