tensorDecomposition computes the Clebsch-Gordan decomposition $$V(\lambda)\otimes V(\mu) \;=\; \bigoplus_\nu c^\nu_{\lambda,\mu}\,V(\nu)$$ by straightening the shifted weights from the complete character of the smaller tensor factor. A regular shifted weight contributes with the sign of the Weyl element taking it to the dominant chamber; a singular shifted weight contributes zero. The output is a Tally whose keys are Irrep objects and whose values are the multiplicities $c^\nu_{\lambda,\mu}$.
For any of the classical types A, B, C, D the Dynkin-label basis and the partition basis are related by fundamentalToPartition, which detects the classical type and node ordering automatically. With WeightFormat => "Partition" the keys of the decomposition are shown as partitions. In types B and D a "spin" summand appears as a partition with half-integer entries (so {1/2,1/2,1/2} for the 8-dimensional spin representation of $\mathfrak{so}_7$); in type D the second half-spin representation is marked by a negative final entry (so {1/2,1/2,1/2,-1/2} in $\mathfrak{so}_8$).
The $\mathfrak{sl}_3$ standard $\otimes$ dual-standard decomposition is $V(\omega_1)\otimes V(\omega_2)= V(\omega_1+\omega_2) \oplus V(0)$ ($3\otimes\bar 3 = 8+1$), which in partition form is $(1,0,0)\otimes(1,1,0) = (2,1,0)+(0,0,0)$:
|
Thus the two Tally entries translate literally to $$V(1,0,0)\otimes V(1,1,0) \;\cong\; V(2,1,0)\oplus V(0,0,0).$$ The number after => is the multiplicity of that summand; both multiplicities are $1$ here.
For a larger Littlewood-Richardson example in $\mathfrak{sl}_5$, decompose $(3,1,0,0,0)\otimes(3,1,0,0,0)$:
|
For adjoint $\otimes$ adjoint of $\mathfrak{sl}_3$, the adjoint is the partition $(2,1,0)$ of shape $(2,1)$. It appears with multiplicity $2$ in the product ($8\otimes 8 = 27+10+\bar{10}+8+8+1$):
|
Reading the Tally as a direct sum gives $$V(2,1,0)^{\otimes 2}\cong V(4,2,0)\oplus V(3,3,0)\oplus V(3,0,0) \oplus V(2,1,0)^{\oplus 2}\oplus V(0,0,0).$$ In particular, V(2,1,0) => 2 means two copies of the adjoint representation, not a weight with final coordinate $2$.
For $B_3$ ($\mathfrak{so}_7$), $V(\omega_1)\otimes V(\omega_1) = V(2\omega_1)\oplus V(\omega_2)\oplus V(0)$ with $7\otimes 7 = 27+21+1$. Here the invariant symmetric form of $\mathfrak{so}_7$ sits inside $\mathrm{Sym}^2 V$, so $\mathrm{Sym}^2 V = V(2\omega_1)\oplus V(0)$ (traceless symmetric tensors and the invariant, dimensions $27+1=28$) and $\wedge^2 V = V(\omega_2)$ (the adjoint, of dimension $21$). In partition form the three irreducible summands are $(2,0,0)$, $(1,1,0)$, and $()$:
|
Two copies of the $B_3$ spin representation tensor to $8\otimes 8 = 35+21+7+1$. The spin representation of $\mathfrak{so}_7$ is orthogonal self-dual, so the invariant pairing lies in $\mathrm{Sym}^2 (\text{spin})$: $\mathrm{Sym}^2(\text{spin}) = V(2\omega_3)\oplus V(0)$ (dimensions $35+1=36$), and $\wedge^2(\text{spin}) = V(\omega_2)\oplus V(\omega_1)$ (dimensions $21+7=28$). With both inputs in partition form as $(1/2,1/2,1/2)$, the summands are $(1,1,1)$ (traceless $\mathrm{Sym}^2$ of spin, of dimension $35$), $(1,1,0)$ (the adjoint, part of $\wedge^2$, of dimension $21$), $(1,0,0)$ (the vector representation, the other summand of $\wedge^2$, of dimension $7$), and $()$ (the invariant pairing). All integer, since $m_3$ is even on both sides:
|
Tensoring a nonspin representation with a spin representation gives half-integer partitions: $V(\omega_1)\otimes V(\omega_3)= V(\omega_3)\oplus V(\omega_1+\omega_3)$ is $7\otimes 8=8+48$, and partition coordinates express the summands as the half-integer tuples $(1/2,1/2,1/2)$ and $(3/2,1/2,1/2)$:
|
Converting the Dynkin labels of a spin highest weight gives the half-integer output explicitly:
|
|
|
In contrast, for $\mathfrak{sp}_6 = C_3$, $V(\omega_1)\otimes V(\omega_1) = V(2\omega_1)\oplus V(\omega_2)\oplus V(0)$ has $6\otimes 6 = 21+14+1$, but the invariant (symplectic) form now lives inside $\wedge^2 V$, not $\mathrm{Sym}^2 V$. Thus $\mathrm{Sym}^2 V = V(2\omega_1)$ (the adjoint, of dimension $21$) and $\wedge^2 V = V(\omega_2)\oplus V(0)$ (primitive $2$-forms plus the symplectic invariant, dimensions $14+1=15$). In partition form the summands are the same shapes $(2,0,0) + (1,1,0) + ()$ as in the $B_3$ case, but their interpretation is dual:
|
For $D_4$ ($\mathfrak{so}_8$), tensoring the two half-spin representations of opposite chirality gives $V(\omega_3)\otimes V(\omega_4)= V(\omega_1)\oplus V(\omega_3+\omega_4)$, i.e.\ $8\otimes 8 = 8_v+56$. The two half-spinors in partition form are $(1/2,1/2,1/2,\pm 1/2)$ (sign chooses the spinor chirality), and the output summands are the vector partition $(1,0,0,0)$ and the shape $(1,1,1,0)$ (the $56$-dimensional $\wedge^3 V_v$, where $V_v$ is the $8$-dimensional vector of $\mathfrak{so}_8$):
|
Half-spin tensored with itself in $D_4$ (same chirality) stays inside integer partitions, because the parity of $m_{n-1}+m_n$ is preserved by tensor: $V(\omega_4)\otimes V(\omega_4) = V(0) \oplus V(\omega_2)\oplus V(2\omega_4)$, i.e. $8\otimes 8 = 1+28+35$. The half-spin of $\mathfrak{so}_8$ is orthogonal self-dual (with symmetric invariant), so the trivial summand sits inside $\mathrm{Sym}^2$: $\mathrm{Sym}^2(\text{half-spin}) = V(2\omega_4)\oplus V(0)$ (dimensions $35+1$) and $\wedge^2(\text{half-spin}) = V(\omega_2)$ (the adjoint, of dimension $28$):
|
For the exceptional $G_2$, the decomposition of $\mathrm{ad}\otimes\mathrm{ad}$ into irreducibles picks up five summands of dimensions $1 + 14 + 27 + 77 + 77 = 196 = 14^2$:
|
In Dynkin labels, the last output says $$V(0,1)\otimes V(0,1)\cong V(0,0)\oplus V(0,1)\oplus V(2,0)\oplus V(3,0)\oplus V(0,2).$$ The dimensions are respectively $1,14,27,77,77$.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:1300:0.