A character records the dimensions of the weight spaces of a representation. The term $m e^\mu$ means that the weight $\mu$ occurs with multiplicity $m$. The exponents displayed by FormalCharacter are numerical tuples, and the note beneath the sum tells you which coordinates are being used. We begin with $\mathfrak{sl}_3$, where these tuples are Dynkin labels.
|
|
|
|
This is the character $$e^{(1,0)}+e^{(-1,1)}+e^{(0,-1)}$$ of the standard three-dimensional representation of $\mathfrak{sl}_3$. Each weight space has dimension $1$. The final true says that the character entered by hand agrees at every weight with the character computed by finiteCharacter. A tuple $(a,b)$ gives the evaluations on the two simple coroots; dynkinDiagram D shows their node order.
In a table supplied to formalCharacter, each KMWeight is followed by its integer coefficient. The weights include their root datum, so a tuple is first written as kmWeight(D,tuple). Negative coefficients are allowed in formal differences. Entering a complete finite sum does not, by itself, assert that the sum is the character of an actual representation.
|
|
|
The dimensions $(6,9,9)$ belong respectively to $V\oplus V^*$, $V\otimes V$, and three copies of $V$, where $V$ is the standard representation above. The next outputs are $1$, the character of the trivial representation, and $0$, the character of the zero representation. Addition gives direct sums, multiplication gives tensor products, and C^k gives an ordinary tensor power for a nonnegative integer $k$. Symmetric and exterior powers are computed instead by symmetricPowerCharacter and exteriorPowerCharacter.
We now take a tensor product that has several different irreducible summands, including one that occurs twice. Write $V(a,b)$ for the irreducible representation with highest-weight Dynkin labels $(a,b)$.
|
|
|
The two representations have dimensions $15$ and $8$. The second is the adjoint representation of $\mathfrak{sl}_3$. These characters were computed separately; multiplying them combines their weight spaces into the character of the tensor product.
|
|
|
The tuples in this table are now highest weights of irreducible summands, not the individual weights of $P$. Each number after => gives the number of copies of that summand. Thus the answer is $$V(2,1)\otimes V(1,1)\cong V(0,2)\oplus V(1,0)\oplus V(1,3)\oplus 2V(2,1)\oplus V(3,2)\oplus V(4,0).$$ Their dimensions are respectively $6$, $3$, $24$, $15$, $42$, and $15$, giving $$6+3+24+2\cdot15+42+15=120=15\cdot8.$$
decomposeCharacter finds a maximal remaining weight and subtracts the irreducible character with that highest weight, with its indicated multiplicity. It continues until nothing remains. For a complete finite-type character of a representation, this gives its irreducible decomposition. A formal sum that is not a nonnegative sum of irreducible characters is not accepted as such a decomposition.
|
|
The output (120, true, true) checks more than the dimension: expanding the irreducible summands recovers every weight multiplicity of the product, and decomposing that expansion recovers the same summands. characterFromDecomposition can also be used to enter a representation by giving its irreducible summands rather than all of its weight spaces. For a nonempty table, characterFromDecomposition T obtains the root datum from its highest weights. An empty table requires characterFromDecomposition(D,new Tally) and gives $0$.
Character arithmetic requires a common root datum and compatible weight coordinates; the highest weights need not agree. Equal independently constructed root data are allowed, but a matching Cartan matrix alone does not identify different character lattices or different realizations. In particular, additional central coordinates must not be discarded. Here is a small example with an $A_1$ factor and a one-dimensional center.
|
|
|
|
|
|
|
The answer lists the full highest weights $(1,0)$ and $(1,3)$, each with multiplicity $1$. In these coordinates the first entry is the $A_1$ Dynkin label and the second is the central coordinate. Both summands are two-dimensional as $A_1$ representations, but the center acts differently on them. They therefore remain two distinct summands, and their direct sum has dimension $4$.
Finally, a finite portion of an infinite character is different from a complete finite sum. A Verma module already gives an example in type $A_2$.
|
|
|
|
The ellipsis means that the Verma character continues beyond the displayed terms. Depth=>2 computes all weights $\lambda-b_1\alpha_1-b_2\alpha_2$ with $b_1,b_2\geq0$ and $b_1+b_2\leq2$, where $\lambda=(1,0)$. The output (false, 2) says that the expansion is not complete and that the weight $(0,-1)=\lambda-\alpha_1-\alpha_2$ has multiplicity $2$. The two contributions come from the negative root vector for $\alpha_1+\alpha_2$ and the product of the negative simple-root vectors in a Poincare–Birkhoff–Witt basis.
A coefficient beyond the computed depth is unknown, not zero. characterCoefficient reports an error if that coefficient has not been determined; increase Depth in the original calculation to obtain it. characterDimension and decomposeCharacter do not treat a partial expansion as a complete character. Arithmetic and Weyl actions retain the distinction between known and unknown coefficients. The precise rules for partial expansions, and the full list of character commands, are in Formal and completed characters.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:10653:0.