<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>free resolutions of modules</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_extracting_spinformation_spfrom_spchain_spcomplexes.html">next</a> | <a href="_chain_spcomplexes.html">previous</a> | <a href="_extracting_spinformation_spfrom_spchain_spcomplexes.html">forward</a> | backward | <a href="_chain_spcomplexes.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="_chain_spcomplexes.html" title="">chain complexes</a> > <a href="_free_spresolutions_spof_spmodules.html" title="">free resolutions of modules</a></div> <hr/> <div><h1>free resolutions of modules</h1> <div>The function <a href="_resolution.html" title="projective resolution">resolution</a> (also called <tt>res</tt>), can be used to produce a free resolution of a module.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y];</pre> </td></tr> <tr><td><pre>i2 : m = ideal vars R o2 = ideal (x, y) o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : M = m/m^3 o3 = subquotient (| x y |, | x3 x2y xy2 y3 |) 1 o3 : R-module, subquotient of R</pre> </td></tr> <tr><td><pre>i4 : C = resolution M 2 5 3 o4 = R <-- R <-- R <-- 0 0 1 2 3 o4 : ChainComplex</pre> </td></tr> </table> The default display for a chain complex shows the modules and the number of the stage at which they appear. See the documentation of <a href="_resolution.html" title="projective resolution">resolution</a> for details on the options that can be used to control the computation.<p/> The same function, applied to a map <tt>f</tt>, will produce a map from a free resolution of the source of <tt>f</tt> to a free resolution of the target of <tt>f</tt>.<table class="examples"><tr><td><pre>i5 : h = resolution inducedMap(M, m^2/m^4) 2 3 o5 = 0 : R <----------------- R : 0 {1} | x y 0 | {1} | 0 0 y | 5 7 1 : R <------------------------- R : 1 {2} | 0 y 0 0 0 0 0 | {3} | 0 0 x y 0 0 0 | {3} | 0 0 0 0 0 0 0 | {3} | 0 0 0 0 x y 0 | {3} | 0 0 0 0 0 0 y | 3 4 2 : R <------------------- R : 2 {4} | 0 y 0 0 | {4} | 0 x 0 0 | {4} | 0 0 0 y | 3 : 0 <----- 0 : 3 0 o5 : ChainComplexMap</pre> </td></tr> </table> </div> </div> </body> </html>