<?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>isSCM -- determines if a (hyper)graph is sequentially 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__S__C__M_lp..._cm_sp__Gins_sp_eq_gt_sp..._rp.html">next</a> | <a href="_is__Perfect.html">previous</a> | <a href="_is__S__C__M_lp..._cm_sp__Gins_sp_eq_gt_sp..._rp.html">forward</a> | <a href="_is__Perfect.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>isSCM -- determines if a (hyper)graph is sequentially 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>b = isSCM H</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>H</tt>, <span>a <a href="___Hyper__Graph.html">hypergraph</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>b</tt>, <span>a <a href="../../Macaulay2Doc/html/___Boolean.html">Boolean value</a></span>, <tt>true</tt> if the <a href="_edge__Ideal.html" title="creates the edge ideal of a (hyper)graph">edgeIdeal</a> of <tt>H</tt> is sequentially Cohen-Macaulay</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><a href="_is__S__C__M_lp..._cm_sp__Gins_sp_eq_gt_sp..._rp.html">Gins => ...</a>, -- use gins inside isSCM</span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>This uses the edge ideal notion of sequential Cohen-Macaulayness; a hypergraph is called SCM if and only if its edge ideal is SCM. The algorithm is based on work of Herzog and Hibi, using the Alexander dual. <tt>H</tt> is SCM if and only if the Alexander dual of the edge ideal of <tt>H</tt> is componentwise linear.</p> <div>There is an optional argument called <a href="___Gins.html" title="optional argument for isSCM">Gins</a> for <tt>isSCM</tt>. The default value is <tt>false</tt>, meaning that <tt>isSCM</tt> takes the Alexander dual of the edge ideal of <tt>H</tt> and checks in all relevant degrees to see if the ideal in that degree has a linear resolution. In characteristic zero with the reverse-lex order, one can test for componentwise linearity using gins, which may be faster in some cases. This approach is based on work of Aramova-Herzog-Hibi and Conca. We make no attempt to check the characteristic of the field or the monomial order, so use caution when using this method.</div> <table class="examples"><tr><td><pre>i1 : R = QQ[a..f];</pre> </td></tr> <tr><td><pre>i2 : G = cycle(R,4) o2 = Graph{edges => {{a, b}, {b, c}, {c, d}, {a, d}}} ring => R vertices => {a, b, c, d, e, f} o2 : Graph</pre> </td></tr> <tr><td><pre>i3 : isSCM G o3 = false</pre> </td></tr> <tr><td><pre>i4 : H = graph(monomialIdeal(a*b,b*c,c*d,a*d,a*e)); --4-cycle with whisker</pre> </td></tr> <tr><td><pre>i5 : isSCM H o5 = true</pre> </td></tr> <tr><td><pre>i6 : isSCM(H,Gins=>true) --use Gins technique o6 = true</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_is__C__M.html" title="determines if a (hyper)graph is Cohen-Macaulay">isCM</a> -- determines if a (hyper)graph is Cohen-Macaulay</span></li> <li><span><a href="_edge__Ideal.html" title="creates the edge ideal of a (hyper)graph">edgeIdeal</a> -- creates the edge ideal of a (hyper)graph</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>isSCM</tt> :</h2> <ul><li>isSCM(HyperGraph)</li> </ul> </div> </div> </body> </html>