T = tensorDecomposition(A, lambda, mu)T = tensorDecomposition(A, lambda, mu, WeightFormat => fmt)Computes the decomposition by Racah–Speiser straightening. For each weight $\eta$ of the factor of smaller dimension, with multiplicity $m(\eta)$, move $\lambda' + \eta + \rho$ to the dominant chamber, where $\lambda'$ is the larger factor. A singular shifted weight contributes zero; a regular one contributes $\operatorname{sgn}(w)m(\eta)$ to $V(w(\lambda'+\eta+\rho)-\rho)$. Summing these signed contributions gives the multiplicity of each irreducible summand. The character and decomposition are retained for later calls; exchanging lambda and mu reuses the same result.
With Dynkin coordinates, $A$ may also be a disconnected finite-type Cartan matrix. Each key then has one Irrep factor per connected component. For a connected matrix it therefore prints as V(...). The WeightFormat => "Partition" option interprets lambda and mu as partition-form highest weights (via partitionToFundamental) and also converts the output summands to partition form (via fundamentalToPartition). It works for any of the classical types $A$, $B$, $C$, $D$; in type $B$ or $D$, spin (half-integer) inputs and summands appear as partitions with rational entries.
|
The output Tally{V(0,1) => 1, V(2,0) => 1} is the decomposition $$V(1,0)\otimes V(1,0)\cong V(2,0)\oplus V(0,1).$$ A Tally key names a summand and the integer after => gives its multiplicity. Equivalently, $$\mathbb C^3\otimes\mathbb C^3\cong \operatorname{Sym}^2\mathbb C^3\oplus \bigwedge^2\mathbb C^3,$$ with dimensions $6+3=9$.
|
Similarly, this reads $$V(1,0)\otimes V(0,1)\cong V(1,1)\oplus V(0,0) =\mathfrak{sl}_3\oplus\mathbb C.$$
|
|
In direct-sum notation, the displayed partition-form Tally means $$\mathbb C^7\otimes\mathbb C^7\cong V(2,0,0)\oplus V(1,1,0)\oplus V(0,0,0),$$ with dimensions $27+21+1=49$.
|
|
|
The object tensorDecomposition 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:5776:0.