<?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>kernel(RingMap) -- kernel of a ringmap</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_keys_lp__Hash__Table_rp.html">next</a> | <a href="_kernel_lp__Matrix_rp.html">previous</a> | <a href="_keys_lp__Hash__Table_rp.html">forward</a> | <a href="_kernel_lp__Matrix_rp.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>kernel(RingMap) -- kernel of a ringmap</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>kernel f</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_kernel.html" title="kernel of a ringmap, matrix, or chain complex">kernel</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>f</tt>, <span>a <a href="___Ring__Map.html">ring map</a></span>, <tt>R</tt> --> <tt>S</tt></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="___Ideal.html">ideal</a></span>, an ideal of <tt>R</tt></span></li> </ul> </div> </li> <li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><tt>SubringLimit => </tt><span><span>an <a href="___Z__Z.html">integer</a></span>, <span>default value infinity</span>, stop the computation after this many elements of the kernel have been found</span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre> </td></tr> <tr><td><pre>i2 : S = QQ[s,t];</pre> </td></tr> <tr><td><pre>i3 : F = map(S,R,{s^3, s^2*t, s*t^2, t^3}) 3 2 2 3 o3 = map(S,R,{s , s t, s*t , t }) o3 : RingMap S <--- R</pre> </td></tr> <tr><td><pre>i4 : ker F 2 2 o4 = ideal (c - b*d, b*c - a*d, b - a*c) o4 : Ideal of R</pre> </td></tr> <tr><td><pre>i5 : G = map(S,R,{s^5, s^3*t^2-t, s*t-s, t^5}) 5 3 2 5 o5 = map(S,R,{s , s t - t, s*t - s, t }) o5 : RingMap S <--- R</pre> </td></tr> <tr><td><pre>i6 : ker(G, SubringLimit=>1) 2 10 2 7 2 7 2 2 4 3 5 6 3 3 o6 = ideal(a c + 10a b*c - 5a c + 25a b c + 2a c - 5a*b*c - 5a*b c + ------------------------------------------------------------------------ 6 5 2 3 3 2 2 3 4 2 2 3 2 5a*c - a*b + 10a b c - 15a b*c - 5a*b c - 5a*b + 25a b c - 5a c - ------------------------------------------------------------------------ 5 4 3 2 2 2 c + a - 10a*b + 20a b*c - 10a*b + 5a c - 5a*b - a) o6 : Ideal of R</pre> </td></tr> </table> In the case when everything is homogeneous, Hilbert functions are used to speed up the computations.</div> </div> <div class="single"><h2>Caveat</h2> <div>It should be possible to interrupt the computation and restart it, but this has not yet been implemented.</div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_substitution_spand_spmaps_spbetween_springs.html" title="">substitution and maps between rings</a></span></li> <li><span><a href="_elimination_spof_spvariables.html" title="">elimination of variables</a></span></li> <li><span><a href="_monomial__Curve__Ideal.html" title="make the ideal of a monomial curve">monomialCurveIdeal</a> -- make the ideal of a monomial curve</span></li> </ul> </div> </div> </body> </html>