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

pairing -- Pair a weight-space element with a Cartan-space element

Description

If $x=\sum_j a_j\alpha_j$ and $h=\sum_i b_i\alpha_i^\vee$, the value is $b^{\mathsf T}Aa$. For a weight and coroot it is the scalar product of Dynkin labels with coroot coefficients; for a root and coweight it uses simple-root evaluations. Pairing a weight with a coweight requires their complete realization vectors.

i1 : D = rootDatum "A2";
i2 : (pairing(kmRoot(D,{1,0}),kmCoroot(D,{0,1})),pairing(kmWeight(D,{1,0}),kmCoroot(D,{1,0})))

o2 = (-1, 1)

o2 : Sequence

The output $(-1,1)$ means $\langle\alpha_1,\alpha_2^\vee\rangle=-1$ and $\langle\omega_1,\alpha_1^\vee\rangle=1$. The two inputs with coordinates $(1,0)$ are a root and a weight, so their pairings differ.

See also

Ways to use pairing:

  • pairing(KMRoot,KMCoroot)
  • pairing(KMRoot,KMCoweight)
  • pairing(KMWeight,KMCoroot)
  • pairing(KMWeight,KMCoweight)

For the programmer

The object pairing 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:13494:0.