Macaulay2 » Documentation
Packages » InvariantRing :: invariants(PermutationAction,ZZ)
next | previous | forward | backward | up | index | toc

invariants(PermutationAction,ZZ) -- basis for graded component of invariant ring

Description

This function is provided by the package InvariantRing.

When called on a permutation action and a degree, it computes an additive basis for the invariants of the action in the given degree. The basis is given by the orbit sums in the given degree; for more details, see Proposition 4.12 of M. D. Neusel, Invariant theory, AMS 2007.

The following example recovers the monomial symmetric functions of degree 5 in four variables. The generating permutations can be entered as one-line notation arrays or lists of cycles arrays as in permutationMatrix, and are stored in one-line notation.

i1 : R = QQ[x_1..x_4]

o1 = R

o1 : PolynomialRing
i2 : P = permutationAction({{[1,2]},[2,3,4,1]}, R)

o2 = R <- <[2, 1, 3, 4], [2, 3, 4, 1]>

o2 : PermutationAction
i3 : elapsedTime netList invariants(P,5)
 -- .00581547s elapsed

     +---------------------------------------------------------------------------------------------------------+
     | 5    5    5    5                                                                                        |
o3 = |x  + x  + x  + x                                                                                         |
     | 1    2    3    4                                                                                        |
     +---------------------------------------------------------------------------------------------------------+
     | 4        4    4      4        4      4    4      4      4        4      4      4                        |
     |x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x                         |
     | 1 2    1 2    1 3    2 3    1 3    2 3    1 4    2 4    3 4    1 4    2 4    3 4                        |
     +---------------------------------------------------------------------------------------------------------+
     | 3 2    2 3    3 2    3 2    2 3    2 3    3 2    3 2    3 2    2 3    2 3    2 3                        |
     |x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x  + x x                         |
     | 1 2    1 2    1 3    2 3    1 3    2 3    1 4    2 4    3 4    1 4    2 4    3 4                        |
     +---------------------------------------------------------------------------------------------------------+
     | 3          3          3    3          3      3        3          3        3          3        3        3|
     |x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x |
     | 1 2 3    1 2 3    1 2 3    1 2 4    1 2 4    1 3 4    2 3 4    1 3 4    2 3 4    1 2 4    1 3 4    2 3 4|
     +---------------------------------------------------------------------------------------------------------+
     | 2 2      2   2      2 2    2 2      2 2      2 2      2   2      2 2    2   2    2   2      2 2      2 2|
     |x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x  + x x x |
     | 1 2 3    1 2 3    1 2 3    1 2 4    1 3 4    2 3 4    1 2 4    1 2 4    1 3 4    2 3 4    1 3 4    2 3 4|
     +---------------------------------------------------------------------------------------------------------+
     | 2            2            2            2                                                                |
     |x x x x  + x x x x  + x x x x  + x x x x                                                                 |
     | 1 2 3 4    1 2 3 4    1 2 3 4    1 2 3 4                                                                |
     +---------------------------------------------------------------------------------------------------------+

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/InvariantRing/InvariantsDoc.m2:1147:0.