Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 1945

Macaulay2-1.3.1-8.fc15.i686.rpm

<?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>gin -- the generic initial ideal</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_gin_lp__Ideal_rp.html">next</a> | <a href="___Attempt__Count.html">previous</a> | <a href="_gin_lp__Ideal_rp.html">forward</a> | <a href="___Attempt__Count.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>gin -- the generic initial ideal</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> gin I</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>I</tt>, an <a href="../../Macaulay2Doc/html/___Ideal.html" title="the class of all ideals">Ideal</a> in a polynomial<a href="../../Macaulay2Doc/html/___Ring.html" title="the class of all rings">Ring</a></span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span>an <a href="../../Macaulay2Doc/html/___Ideal.html" title="the class of all ideals">Ideal</a>, the generic initial ideal of <tt>I</tt>.</span></li>
</ul>
</div>
</li>
<li><div class="single"><a href="../../Macaulay2Doc/html/_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><tt>AttemptCount => </tt><span><span>default value 7</span>, sets the number of  random coordinate changes the routine attempts before choosing the potential<tt>gin</tt> .</span></span></li>
<li><span><tt>Modular => </tt><span><span>default value false</span>, if set to be true, computations are performed modulo a large random prime .</span></span></li>
<li><span><tt>MonomialOrder => </tt><span><span>default value null</span>, sets the<tt>Monomial Order </tt> used in the computation of <tt>gin </tt>.</span></span></li>
<li><span><tt>Verbose => </tt><span><span>default value false</span>, provides a summary of the random initial ideals generated and warns if the selected one is not strongly stable.</span></span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><p>Example: a complete intersection of type (3,3) in P^3</p>
<table class="examples"><tr><td><pre>i1 : R = QQ[a..d];</pre>
</td></tr>
<tr><td><pre>i2 : I = ideal(a^3+c^2*d, b^3-a*d^2);

o2 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i3 : gin(I)

             3   2      3   5
o3 = ideal (a , a b, a*b , b )

o3 : Ideal of R</pre>
</td></tr>
</table>
<p>The Stanley-Reisner ideal of RP^2</p>
<table class="examples"><tr><td><pre>i4 : loadPackage "GenericInitialIdeal"

o4 = GenericInitialIdeal

o4 : Package</pre>
</td></tr>
<tr><td><pre>i5 : R = QQ[x0,x1,x2,x3,x4,x5]

o5 = R

o5 : PolynomialRing</pre>
</td></tr>
<tr><td><pre>i6 : M = matrix {{x1*x3*x4, x0*x3*x4, x1*x2*x4, x0*x2*x3, x0*x1*x2, x2*x4*x5, x0*x4*x5, x2*x3*x5, x1*x3*x5, x0*x1*x5}} --Stanley-Reisner ideal of RP^2

o6 = | x1x3x4 x0x3x4 x1x2x4 x0x2x3 x0x1x2 x2x4x5 x0x4x5 x2x3x5 x1x3x5 x0x1x5
     ------------------------------------------------------------------------
     |

             1       10
o6 : Matrix R  &lt;--- R</pre>
</td></tr>
<tr><td><pre>i7 : I=ideal flatten entries M

o7 = ideal (x1*x3*x4, x0*x3*x4, x1*x2*x4, x0*x2*x3, x0*x1*x2, x2*x4*x5,
     ------------------------------------------------------------------------
     x0*x4*x5, x2*x3*x5, x1*x3*x5, x0*x1*x5)

o7 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i8 : J=(ideal{x0,x1,x2})^3

              3    2      2         2                 2    3    2         2 
o8 = ideal (x0 , x0 x1, x0 x2, x0*x1 , x0*x1*x2, x0*x2 , x1 , x1 x2, x1*x2 ,
     ------------------------------------------------------------------------
       3
     x2 )

o8 : Ideal of R</pre>
</td></tr>
<tr><td><pre>i9 : assert(gin(I)==J)</pre>
</td></tr>
</table>
<p>This symbol is provided by the package <a href="index.html" title="">GenericInitialIdeal</a>.</p>
</div>
</div>
<div class="single"><h2>Caveat</h2>
<div>The method <tt> gin</tt> uses a probabilistic algorithm. The returned answer is correct with high probability in characteristic zero and large positive characteristic, but might be wrong in small positive characteristic. For details in this situation it is recommended to use the Verbose option.</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_lexgin.html" title="the generic initial ideal with respect to lexicographical order">lexgin</a> -- the generic initial ideal with respect to lexicographical order</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>gin</tt> :</h2>
<ul><li><span><a href="_gin_lp__Ideal_rp.html" title="the generic initial ideal">gin(Ideal)</a> -- the generic initial ideal</span></li>
<li><span><a href="_gin_lp__Quotient__Ring_rp.html" title="the generic initial ideal">gin(QuotientRing)</a> -- the generic initial ideal</span></li>
</ul>
</div>
</div>
</body>
</html>