Macaulay2 » Documentation
Packages » Macaulay2Doc :: minimalPresentation(Module)
next | previous | forward | backward | up | index | toc

minimalPresentation(Module) -- minimal presentation of a module

Synopsis

Description

If the Module M is graded then the module N is a minimal presentation of M. If not, then an attempt is made to improve the presentation of M. An example follows.
i1 : R = ZZ/32003[a..d];
i2 : M = coker matrix {{a,1,b},{c,3,b+d}}

o2 = cokernel | a 1 b   |
              | c 3 b+d |

                            2
o2 : R-module, quotient of R
i3 : N = minimalPresentation M

o3 = cokernel | b+16001d a-10668c |

                            1
o3 : R-module, quotient of R
i4 : peek N.cache

o4 = CacheTable{cache => MutableHashTable{}}
                pruningMap => | -10668 |
                              | 0      |
i5 : g = N.cache.pruningMap

o5 = | -10668 |
     | 0      |

o5 : Matrix M <-- N
i6 : g^-1

o6 = | -3 1 |

o6 : Matrix N <-- M

See also

Ways to use this method: