Sophie

Sophie

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

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>isCM -- whether a ring or module is Cohen-Macaulay</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_is__Regular__Sequence.html">next</a> | <a href="_depth_lp__Ideal_cm__Ring_rp.html">previous</a> | <a href="_is__Regular__Sequence.html">forward</a> | <a href="_depth_lp__Ideal_cm__Ring_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>isCM -- whether a ring or module is Cohen-Macaulay</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>isCM(A)</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>A</tt>, a <a href="../../Macaulay2Doc/html/___Ring.html" title="the class of all rings">Ring</a> or <a href="../../Macaulay2Doc/html/___Module.html" title="the class of all modules">Module</a></span></li>
</ul>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><a href="../../Macaulay2Doc/html/___Boolean.html" title="the class of Boolean values">Boolean</a></span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>This command merely checks if the depth of <tt>A</tt> equals the Krull dimension of <tt>A</tt>.<table class="examples"><tr><td><pre>i1 : A = ZZ/2[x,y,z];</pre>
</td></tr>
<tr><td><pre>i2 : isCM(A)

o2 = true</pre>
</td></tr>
<tr><td><pre>i3 : A = ZZ/2[x,y]/(x^2,x*y);</pre>
</td></tr>
<tr><td><pre>i4 : isCM(A)

o4 = false</pre>
</td></tr>
<tr><td><pre>i5 : A =  ZZ/101[a_1,a_2,b_1,b_2,c_1]/ideal(a_1*b_1,a_2*b_2,b_1*c_1);</pre>
</td></tr>
<tr><td><pre>i6 : isCM(A)

o6 = false</pre>
</td></tr>
</table>
<p>This symbol is provided by the package <a href="index.html" title="computations involving regular sequences">Depth</a>.</p>
</div>
</div>
<div class="single"><h2>Caveat</h2>
<div>Typically when one thinks of a Cohen-Macaulay ring or module, one is in the local case. Since the local case is not yet implemented into Macaulay 2, we compute over the ideal generated by by <a href="../../Macaulay2Doc/html/_generators_lp__Ring_rp.html" title="the list of generators of a ring">generators(Ring)</a>.</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>isCM</tt> :</h2>
<ul><li>isCM(Module)</li>
<li>isCM(Ring)</li>
</ul>
</div>
</div>
</body>
</html>