next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Kronecker :: decomposeModule

decomposeModule -- decompose a module into a direct sum of simple modules

Synopsis

Description

This function decomposes a module into a direct sum of simple modules, given some fairly strong assumptions on the ring which acts on the ring which acts on the module. This ring must only have two variables, and the square of each of those variables must kill the module.
i1 : Q = ZZ/101[x,y]

o1 = Q

o1 : PolynomialRing
i2 : R = Q/(x^2,y^2)

o2 = R

o2 : QuotientRing
i3 : M = coker random(R^5, R^8 ** R^{-1})

o3 = cokernel | 7y       27x+3y   -42x-42y -23x-41y -20x-35y 39x+6y   23x+31y  -47x+16y |
              | -26x+29y -34x+50y 21x-15y  -18x+26y -39x-43y -17x+43y 41x+5y   47x+44y  |
              | -29x-23y 8x-42y   -38x-4y  -40x-48y 41x-16y  -32x+3y  -17x-42y -14x-12y |
              | -10x-6y  -44x+34y -4x+31y  -38x+42y 45x+50y  -31x-27y 11x+20y  -5x-48y  |
              | 22x+3y   -31x-48y 19x-2y   34x+44y  -8x-21y  -22x+9y  46x-15y  13x-39y  |

                            5
o3 : R-module, quotient of R
i4 : (N,f) = decomposeModule M

o4 = (cokernel | y x 0 0 0 0 0 0 |, | -42 50  42  -30 -23 |)
               | 0 0 x 0 y 0 0 0 |  | -9  -36 -34 -23 43  |
               | 0 0 0 y x 0 0 0 |  | -29 28  -35 13  -47 |
               | 0 0 0 0 0 x 0 y |  | 31  -43 -11 37  -45 |
               | 0 0 0 0 0 0 y x |  | 1   0   0   0   0   |

o4 : Sequence
i5 : components N

o5 = {cokernel | y x |, cokernel | x 0 y |, cokernel | x 0 y |}
                                 | 0 y x |           | 0 y x |

o5 : List
i6 : ker f == 0

o6 = true
i7 : coker f == 0

o7 = true

Ways to use decomposeModule :