A = hookAlgebra(n, types)A = hookAlgebra(n, MaxArm => a, MaxLeg => b)A = hookAlgebra RFor $V=\mathbf k^n$ and the chosen set $\mathcal T$ of hook types, with no content bound this constructs the subalgebra $A_{\mathcal T}\subseteq\mathcal H(V)$. In characteristic zero, its representation decomposition is $$A_{\mathcal T}\cong\bigoplus_\lambda\mathbf S_\lambda(V), \qquad \deg\mathbf S_\lambda(V)=(r(\lambda),|\lambda|),$$ where the sum is over partitions whose every diagonal hook has type in $\mathcal T$ and which have at most $n$ rows. The empty partition supplies the unit. Here $r(\lambda)$ is the number of diagonal boxes, and $|\lambda|$ is the number of boxes. The grading used by the returned ring and its Hilbert series is $r(\lambda)$: each hook generator has degree $1$. A content bound instead gives a quotient retaining only the allowed weight spaces of these summands; it need not carry the full $\mathrm{GL}(V)$-action.
The algebra is presented as the quotient of the polynomial ring on the semistandard hook tableaux (see hookRing) by the straightening relations (see straighteningIdeal). With the paper order, each nonsemistandard product is the leading term of its relation, so the standard monomials are the semistandard hook tabloids. The standard operations ideal, ambient, hilbertSeries and dim apply to this quotient ring. A product of generators is reduced to its normal form by the Groebner basis. Repeated calls with the same hook ring return the same quotient ring.
|
|
|
This first call chooses $V=\mathbb Q^2$ and the types $(0,0),(1,1)$, that is, the shapes $(1),(2,1)$. Its graded pieces are $$A_0=\mathbb Q,\qquad A_1=V\oplus\mathbf S_{(2,1)}(V),\qquad A_2=\mathbf S_{(2,2)}(V),\qquad A_i=0\ (i>2).$$ Their dimensions are $1,4,1$, explaining $1+4T+T^2$. The generator $z_1z_2+z_0z_3$ of the displayed ideal means $z_1z_2=-z_0z_3$ in $A$; the displayed monomial generators are products that vanish.
The algebra of Example 1.2.2 of the paper, on three letters with the types $(0,0)$, $(1,1)$, $(2,2)$: $17$ generators, $136$ relations, Hilbert series $1 + 17q + 17q^2 + q^3$. The generators are read as tabloids with hookBasis and tabloid, the relations with hookRelation and relationKind, and a product in the algebra is a normal form whose tabloids tabloidTerms lists.
|
|
|
|
|
|
|
The last two outputs express the same identity $z_4z_{14}=-z_2z_{15}-z_1z_{16}$, first as a polynomial normal form and then in tableau notation. Interpreting each tableau as the product of its diagonal hook generators, the latter is $$ \begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array} =-\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array} -\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\\[-2pt]\fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array}. $$ The two coefficients $-1$ in the hash table are precisely those in this equality; its keys are basis vectors, not lists of relations.
The option Weight => w truncates to the weight spaces at most $w$. For the squarefree bound $(1,1,1,1)$ the truncation generated by the types $(0,0)$ and $(1,1)$ has Hilbert series $1 + 12q + 2q^2$ and a quadratic Groebner basis, so it is Koszul; the bound $(3,3,2)$ on the three diagonal types has one cubic relation.
|
|
|
|
Thus the squarefree truncation has dimension $1+12+2=15$. The last tally instead describes a different presentation: $123$ quadratic generators of its ideal and one cubic.
Coefficients lie in the field given by CoefficientRing. The straightening formulas divide by integers determined by the hook sizes and solve elimination systems. In positive characteristic these divisions or solves can fail; the error identifies the integer or system and the pair of generators being straightened. No such failure occurs when the characteristic is $0$ or exceeds $|\lambda|$ for every shape $\lambda$ straightened.
|
|
|
hookAlgebra R presents a hook ring built earlier, with the guards of the presentation as options.
|
|
The generators are A_i or, after use A, z5 (not z_5). In the quotient ring a product of generators is already reduced; take the monomial in ambient A when the product itself is wanted, for instance for tabloid.
The object hookAlgebra is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/HookPieri/doc.m2:6484:0.