Macaulay2 » Documentation
Packages » HookPieri :: Hook algebra quick start
next | previous | forward | backward | up | index | toc

Hook algebra quick start -- from a hook tabloid to its Pieri relation

1. Straighten a tabloid. Enter its rows from top to bottom. Semistandard means weakly increasing along rows and strictly increasing down columns. A diagonal hook consists of a diagonal box and the boxes to its right and below it. In this example the individual diagonal hooks are semistandard, but the assembled tableau is not.

i1 : T = tabloid {{1,2,3},{2,1},{3}}

     +-+-+-+
o1 = |1|2|3|
     |2|1| |
     |3| | |
     +-+-+-+

o1 : HookTabloid
i2 : hookDecomposition T

      +-+-+-+  +-+
o2 = {|1|2|3|, |1|}
      |2| | |  +-+
      |3| | |
      +-+-+-+

o2 : List
i3 : isHookSemistandard T

o3 = false
i4 : nf = hookStraighten T

               +-+-+-+
o4 = HashTable{|1|1|2| => -1}
               |2|3| |
               |3| | |
               +-+-+-+
               +-+-+-+
               |1|1|3| => -1
               |2|2| |
               |3| | |
               +-+-+-+

o4 : HashTable

The hash table gives the following equality in the hook algebra (each bracket denotes the product of the displayed tableau's diagonal hooks): $$\left[\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}\right] =-\left[\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}\right] -\left[\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}\right].$$ Thus each key of nf is a semistandard HookTabloid and its value is its coefficient in this sum. Read a coefficient with nf#U when U is a key of the table; absent keys have coefficient zero. Use sort to order the keys in the total order of tabloids.

i5 : nf#(tabloid {{1,1,2},{2,3},{3}})

o5 = -1

o5 : QQ
i6 : longNF = hookStraighten {{4,5,6},{7,1,2},{8}};
i7 : #longNF

o7 = 14
i8 : first sort keys longNF

     +-+-+-+
o8 = |1|2|4|
     |5|6|7|
     |8| | |
     +-+-+-+

o8 : HookTabloid

The default strategy is the local algorithm of Section 6 of the paper; Strategy => "Cokernel" computes the same normal form by linear algebra on the Pieri cokernel, and the two agree.

i9 : hookStraighten(T, Strategy => "Cokernel") === nf

o9 = true

2. Build a finite hook algebra. Choose the hook types that generate it. The type $(a,b)$ denotes the hook $(a+1,1^b)$, and the first argument is $n=\dim V$, with $V=\mathbb Q^n$ by default. The algebra is the quotient of the hookRing, whose variables are indexed by the semistandard tableaux of the chosen types, by the straighteningIdeal. Here the construction is $$A=\operatorname{Sym}\!\left(V\oplus\mathbf S_{(2,1)}(V) \oplus\mathbf S_{(3,1,1)}(V)\right)/I,\qquad V=\mathbb Q^3,$$ where $I$ imposes the hook multiplication relations. Each generator has degree one: this grading counts hooks, not boxes.

i10 : A = hookAlgebra(3, {{0,0},{1,1},{2,2}})

o10 = A

o10 : QuotientRing
i11 : numgens A, numgens ideal A

o11 = (17, 136)

o11 : Sequence
i12 : hookBasis(A, {2,2})

       +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+
o12 = {|1|1|1|, |1|1|2|, |1|1|3|, |1|2|2|, |1|2|3|, |1|3|3|}
       |2| | |  |2| | |  |2| | |  |2| | |  |2| | |  |2| | |
       |3| | |  |3| | |  |3| | |  |3| | |  |3| | |  |3| | |
       +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+  +-+-+-+

o12 : List

The output $(17,136)$ counts the $3+8+6=17$ basis generators and $136$ quadratic relations. The six tableaux returned by hookBasis(A, {2,2}) form a basis of $\mathbf S_{(3,1,1)}(\mathbb Q^3)$, the third generating summand. Generator indices are zero based. The variables are named z0, z1, ...; refer to generator $i$ as A_i. For example, after use A, z5 names A_5; z_5 is a different indexed symbol. The ring ambient A is the hookRing the algebra was built from. hookVariable returns the variable of a given tableau and tabloid inverts it; hookRelation returns the stored relation of a pair of generators, which is the algebraic version of the first straightening calculation, and relationKind names its kind.

i13 : z = hookVariable(A, {{1,2,3},{2},{3}})

o13 = z4

o13 : A
i14 : tabloid z

      +-+-+-+
o14 = |1|2|3|
      |2| | |
      |3| | |
      +-+-+-+

o14 : HookTabloid
i15 : hookRelation(A, 4, 14)

o15 = z4*z14 + z2*z15 + z1*z16

o15 : QQ[z0, z1, z2, z3, z4, z5, z6, z7, z8, z9, z10, z11, z12, z13, z14, z15, z16]
i16 : relationKind(A, 4, 14)

o16 = straightening

The normal form of a tabloid in the algebra is hookStraighten(Thing,Ring), and tabloidTerms reads an element of the algebra back as a combination of tabloids.

i17 : f = hookStraighten(T, A)

o17 = - z2*z15 - z1*z16

o17 : A
i18 : tabloidTerms f

                +-+-+-+
o18 = HashTable{|1|1|2| => -1}
                |2|3| |
                |3| | |
                +-+-+-+
                +-+-+-+
                |1|1|3| => -1
                |2|2| |
                |3| | |
                +-+-+-+

o18 : HashTable
i19 : use A; z4*z14 == f

o20 = true

These outputs express the same tableau identity as above: $$z_4z_{14}=-z_2z_{15}-z_1z_{16}\quad\text{in }A.$$ The polynomial returned by hookRelation is $z_4z_{14}+z_2z_{15}+z_1z_{16}\in I$; tabloidTerms f reads the normal form of the product $z_4z_{14}$ as tableau coefficients.

3. Inspect the Pieri map. The quadratic relations come from crossed hook Pieri maps. For the hook types $(2,2)$ and $(0,0)$ on three letters, the relevant map is $$\varphi:\bigwedge^3 V\otimes\operatorname{Sym}^3 V \longrightarrow\mathbf S_{(3,1,1)}(V)\otimes V, \qquad V=\mathbb Q^3.$$

i21 : M = pieriMatrix({2,2},{0,0},3);

               18       10
o21 : Matrix QQ   <-- QQ
i22 : (numRows M, numColumns M, rank M)

o22 = (18, 10, 10)

o22 : Sequence
i23 : first pieriSourceBasis M

       +-+  +-+-+-+
o23 = {|1|, |1|1|1|}
       |2|  +-+-+-+
       |3|
       +-+

o23 : List
i24 : pieriImage(M, 0)

                 +-+-+-+  +-+
o24 = HashTable{{|1|1|1|, |1|} => 3}
                 |2| | |  +-+
                 |3| | |
                 +-+-+-+

o24 : HashTable

Thus $M$ has $18$ rows, $10$ columns, and rank $10$: $\varphi$ is injective and its cokernel is $\mathbf S_{(3,2,1)}(V)$ of dimension $8$. The first column says $$\varphi\!\left( \left[\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\\[-2pt] \fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt] \fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array}\right] \otimes\left[\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\end{array}\right]\right) =3\left[\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\!\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\\[-2pt] \fcolorbox{black}{white}{\phantom{|}2\phantom{|}}\\[-2pt] \fcolorbox{black}{white}{\phantom{|}3\phantom{|}}\end{array}\right] \otimes\left[\begin{array}{l}\fcolorbox{black}{white}{\phantom{|}1\phantom{|}}\end{array}\right].$$ pieriSourceBasis and pieriTargetBasis list the pairs of tabloids indexing the columns and the rows, pieriImage expands a column, and pieriPreimage solves for the coordinates of a target pair modulo the complement spanned by the semistandard nested pairs, which is how the relations of Section 4 of the paper are read off the matrix.

i25 : pieriPreimage(M, first pieriTargetBasis M)

                 +-+  +-+-+-+     1
o25 = HashTable{{|1|, |1|1|1|} => -}
                 |2|  +-+-+-+     3
                 |3|
                 +-+

o25 : HashTable

The coefficient $1/3$ is the preimage of the target pair in this equation: applying $\varphi$ to one third of the source gives that target exactly.

4. Check the algorithm. straighteningStep performs one rewrite of the algorithm, verifyTriangularity checks on the specified finite alphabet that every step decreases the running order (so the algorithm terminates on this set), and verifyStraighteningAgainstCokernel compares every normal form with the Pieri-cokernel computation. The two verification functions return a VerificationReport.

i26 : straighteningStep T

                +-+-+-+
o26 = HashTable{|1|1|2| => -1}
                |2|3| |
                |3| | |
                +-+-+-+
                +-+-+-+
                |1|1|3| => -1
                |2|2| |
                |3| | |
                +-+-+-+

o26 : HashTable
i27 : V = verifyTriangularity({3,2}, 3)

      +-----------------+---------------------------------------------------------------+
o27 = |shape            |{3, 2}                                                         |
      +-----------------+---------------------------------------------------------------+
      |restriction      |alphabet                                                       |
      +-----------------+---------------------------------------------------------------+
      |restrictionValue |3                                                              |
      +-----------------+---------------------------------------------------------------+
      |obstruction      |Automatic                                                      |
      +-----------------+---------------------------------------------------------------+
      |engine           |false                                                          |
      +-----------------+---------------------------------------------------------------+
      |tabloids         |45                                                             |
      +-----------------+---------------------------------------------------------------+
      |semistandard     |15                                                             |
      +-----------------+---------------------------------------------------------------+
      |steps            |30                                                             |
      +-----------------+---------------------------------------------------------------+
      |terms            |40                                                             |
      +-----------------+---------------------------------------------------------------+
      |maxTerms         |3                                                              |
      +-----------------+---------------------------------------------------------------+
      |zeroSteps        |7                                                              |
      +-----------------+---------------------------------------------------------------+
      |incomparable     |0                                                              |
      +-----------------+---------------------------------------------------------------+
      |contentViolations|0                                                              |
      +-----------------+---------------------------------------------------------------+
      |violations       |none                                                           |
      +-----------------+---------------------------------------------------------------+
      |firstViolation   |none                                                           |
      +-----------------+---------------------------------------------------------------+
      |seconds          |.0189413                                                       |
      +-----------------+---------------------------------------------------------------+
      |passed           |true                                                           |
      +-----------------+---------------------------------------------------------------+
      |conclusion       |every step strictly decreases the running order: hookStraighten|
      |                 |terminates on this set                                         |
      +-----------------+---------------------------------------------------------------+

o27 : VerificationReport
i28 : V#"passed"

o28 = true
i29 : (verifyStraighteningAgainstCokernel({3,2}, 3))#"passed"

o29 = true

For shape $(3,2)$ on the letters $1,2,3$, the report checks $45$ fillings whose individual hooks are semistandard. Of these, $15$ are already semistandard as whole tableaux and $30$ require a step. The two true values certify the order and cokernel checks on this finite set, not a proof for all shapes and alphabets.

5. Poincaré series. The determinantal Poincaré series are built by genericDetPoincare and its relatives. Here $S=\operatorname{Sym}(V\otimes W)$, $V=W=\mathbb Q^3$, and $R=S/I_2$, where $I_2$ is generated by the $2\times2$ minors. The equivariant series is $$P_R(t,s)=\sum_{i,j}[\operatorname{Tor}^R_i(k,k)_j]t^i s^j.$$ In the output $x_\lambda=[\mathbf S_\lambda(V)]$ and $y_\mu=[\mathbf S_\mu(W)]$; multiplication means tensor product and addition means direct sum. The variables $t,s$ record homological and internal degree. totalBettiNumbers, betti(PoincareSeries,ZZ) and strandBettiTable expand them, and determinantalRing is the ring they describe.

i30 : P = genericDetPoincare(3,3,2)

       9 9                8 8                7 7              
o30 = s t y     x      + s t y     x      + s t y     x      +
           3,3,3 3,3,3        3,3,2 3,3,2        3,2,2 3,3,1  
       6 6              7 7                6 6              
      s t y     x    + s t y     x      + s t y     x      +
           2,2,2 3,3        3,3,1 3,2,2        3,2,1 3,2,1  
       5 5              5 5                4 4              3 3          
      s t y     x    + s t y     x      + s t y     x    + s t y     x  +
           2,2,1 3,2        3,1,1 3,1,1        2,1,1 3,1        1,1,1 3  
       6 6              5 5              4 4            4 4            
      s t y   x      + s t y   x      + s t y   x    + s t y   x      +
           3,3 2,2,2        3,2 2,2,1        2,2 2,2        3,1 2,1,1  
       3 3            2 2          3 3            2 2
      s t y   x    + s t y   x  + s t y x      + s t y x    + s*t*y x  +
           2,1 2,1        1,1 2        3 1,1,1        2 1,1        1 1  
      x
       ()
      -------------------------------------------------------------------
       6 6                4 4                3 3            
      s t y     x      - s t y     x      - s t y     x    -
           2,2,2 2,2,2        2,1,1 2,1,1        1,1,1 2,1  
       3 3              2 2
      s t y   x      - s t y   x    + x
           2,1 1,1,1        1,1 1,1    ()

o30 : PoincareSeries
i31 : totalBettiNumbers(P, 4)

o31 = {1, 9, 45, 181, 684}

o31 : List
i32 : betti(P, 4)

             0 1  2   3   4
o32 = total: 1 9 45 181 684
          0: 1 9 45 181 684

o32 : BettiTally
i33 : strandBettiTable P

             0 1  2 3 4
o33 = total: 1 9 16 9 1
          0: 1 .  . . .
          1: . 9 16 9 .
          2: . .  . . 1

o33 : BettiTally

The first two nonconstant equivariant coefficients are $$\begin{aligned} \operatorname{Tor}^R_1(k,k)_1&=V\otimes W,\\ \operatorname{Tor}^R_2(k,k)_2&= \operatorname{Sym}^2V\otimes\bigwedge^2W \oplus\bigwedge^2V\otimes\operatorname{Sym}^2W \oplus\bigwedge^2V\otimes\bigwedge^2W. \end{aligned}$$ Their dimensions are $9$ and $18+18+9=45$. The list $1,9,45,181,684$ gives $\dim\operatorname{Tor}^R_i(k,k)$ only for $0\le i\le4$; the resolution continues. In contrast, strandBettiTable P gives $\dim\operatorname{Tor}^S_i(R,k)_j$: its totals $1,9,16,9,1$ describe the finite resolution of $R$ over $S$, not that of $k$ over $R$. In either table, column $i$ and row $j-i$ specify the homological and internal degrees.

Continue with weightTruncationIdeal and the Weight option of hookRing for content bounds, fineSegreRing for the generic determinantal models, symDetPoincare and pfaffianPoincare for the other matrix families, or Examples from the paper for the computations in the article.

See also


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/HookPieri/doc.m2:680:0.