<?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>cone(ChainComplexMap) -- mapping cone of a chain map</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_conjugate.html">next</a> | <a href="_cone.html">previous</a> | <a href="_conjugate.html">forward</a> | <a href="_cone.html">backward</a> | up | <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> <hr/> <div><h1>cone(ChainComplexMap) -- mapping cone of a chain map</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>cone f</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_cone.html" title="mapping cone of a chain map">cone</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>f</tt>, <span>a <a href="___Chain__Complex__Map.html">chain complex map</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Chain__Complex.html">chain complex</a></span>, the mapping cone of a <tt>f</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = ZZ/101[x,y,z] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : m = image vars R o2 = image | x y z | 1 o2 : R-module, submodule of R</pre> </td></tr> <tr><td><pre>i3 : m2 = image symmetricPower(2,vars R) o3 = image | x2 xy xz y2 yz z2 | 1 o3 : R-module, submodule of R</pre> </td></tr> <tr><td><pre>i4 : M = R^1/m2 o4 = cokernel | x2 xy xz y2 yz z2 | 1 o4 : R-module, quotient of R</pre> </td></tr> <tr><td><pre>i5 : N = R^1/m o5 = cokernel | x y z | 1 o5 : R-module, quotient of R</pre> </td></tr> <tr><td><pre>i6 : C = cone extend(resolution N,resolution M,id_(R^1)) 1 4 9 9 3 o6 = R <-- R <-- R <-- R <-- R <-- 0 0 1 2 3 4 5 o6 : ChainComplex</pre> </td></tr> </table> Let's check that the homology is correct; for example, <tt>HH_0</tt> should be zero.<table class="examples"><tr><td><pre>i7 : prune HH_0 C o7 = 0 o7 : R-module</pre> </td></tr> </table> Let's check that <tt>HH_1</tt> is isomorphic to <tt>m/m2</tt>.<table class="examples"><tr><td><pre>i8 : prune HH_1 C o8 = cokernel {1} | z y x 0 0 0 0 0 0 | {1} | 0 0 0 z y x 0 0 0 | {1} | 0 0 0 0 0 0 z y x | 3 o8 : R-module, quotient of R</pre> </td></tr> <tr><td><pre>i9 : prune (m/m2) o9 = cokernel {1} | z y x 0 0 0 0 0 0 | {1} | 0 0 0 z y x 0 0 0 | {1} | 0 0 0 0 0 0 z y x | 3 o9 : R-module, quotient of R</pre> </td></tr> </table> </div> </div> </div> </body> </html>