<?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>reduceHilbert -- reduce a Hilbert series expression</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_register__Finalizer.html">next</a> | <a href="___Reduce.html">previous</a> | <a href="_register__Finalizer.html">forward</a> | <a href="___Reduce.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>reduceHilbert -- reduce a Hilbert series expression</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>reduceHilbert H</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>H</tt>, <span>a <a href="___Divide.html">divide expression</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Divide.html">divide expression</a></span>, the Hilbert series reduced by removing common factors</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>This function is used to reduce the rational expression given by the command <a href="_hilbert__Series.html" title="compute the Hilbert series">hilbertSeries</a>. It is not automatically reduced, but sometimes it is useful to write it in reduced form. For instance, one might not notice that the series is a polynomial until it is reduced.</p> <table class="examples"><tr><td><pre>i1 : R = ZZ/101[x, Degrees => {2}];</pre> </td></tr> <tr><td><pre>i2 : I = ideal x^2; o2 : Ideal of R</pre> </td></tr> <tr><td><pre>i3 : s = hilbertSeries I 4 1 - T o3 = -------- 2 (1 - T ) o3 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i4 : reduceHilbert s 2 1 + T o4 = ------ 1 o4 : Expression of class Divide</pre> </td></tr> </table> <p>The reduction is partial, in the sense that the explicit factors of the denominator are cancelled entirely or not at all.</p> <table class="examples"><tr><td><pre>i5 : M = R^{0,-1} 2 o5 = R o5 : R-module, free, degrees {0, 1}</pre> </td></tr> <tr><td><pre>i6 : hilbertSeries M 1 + T o6 = -------- 2 (1 - T ) o6 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i7 : f = reduceHilbert oo 1 + T o7 = -------- 2 (1 - T ) o7 : Expression of class Divide</pre> </td></tr> <tr><td><pre>i8 : gcd( value numerator f, value denominator f ) o8 = 1 + T o8 : ZZ[T]</pre> </td></tr> </table> </div> </div> <div class="waystouse"><h2>Ways to use <tt>reduceHilbert</tt> :</h2> <ul><li>reduceHilbert(Divide)</li> </ul> </div> </div> </body> </html>