<?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>statePolytope -- computes the state polytope of a homogeneous ideal</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_std__Simplex.html">next</a> | <a href="_smooth__Subfan.html">previous</a> | <a href="_std__Simplex.html">forward</a> | <a href="_smooth__Subfan.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>statePolytope -- computes the state polytope of a homogeneous 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> P = statePolytope I</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>I</tt>, <span>an <a href="../../Macaulay2Doc/html/___Ideal.html">ideal</a></span>, which must be homogeneous</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>P</tt>, <span>a <a href="___Polyhedron.html">convex polyhedron</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p/> A <tt>statePolytope</tt> of an Ideal <tt>I</tt> has as normalFan the Groebner fan of the ideal. We use the construction by Sturmfels, see Algorithm 3.2 in <a href="http://math.berkeley.edu/~bernd/index.html">Bernd Sturmfels'</a> <em>Groebner Bases and Convex Polytopes</em>, volume 8 of University Lecture Series. American Mathematical Society, first edition, 1995.<p/> Consider the following ideal in a ring with 3 variables:<table class="examples"><tr><td><pre>i1 : R = QQ[a,b,c] o1 = R o1 : PolynomialRing</pre> </td></tr> <tr><td><pre>i2 : I = ideal (a-b,a-c,b-c) o2 = ideal (a - b, a - c, b - c) o2 : Ideal of R</pre> </td></tr> </table> <p/> The state polytope of this ideal is a triangle in 3 space, because the ideal has three initial ideals:<table class="examples"><tr><td><pre>i3 : statePolytope I o3 = ({| b a |, | c b |, | c a |}, {ambient dimension => 3 }) dimension of lineality space => 0 dimension of polyhedron => 2 number of facets => 3 number of rays => 0 number of vertices => 3 o3 : Sequence</pre> </td></tr> </table> <p/> The generators of the three initial ideals are given in the first part of the result.</div> </div> <div class="waystouse"><h2>Ways to use <tt>statePolytope</tt> :</h2> <ul><li>statePolytope(Ideal)</li> </ul> </div> </div> </body> </html>