<?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>Singular Book 1.5.10 -- realization of rings</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Singular_sp__Book_sp1.6.13.html">next</a> | <a href="___Singular_sp__Book_sp1.4.9.html">previous</a> | <a href="___Singular_sp__Book_sp1.6.13.html">forward</a> | <a href="___Singular_sp__Book_sp1.4.9.html">backward</a> | <a href="___M2__Singular__Book.html">up</a> | <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> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="_basic_spcommutative_spalgebra.html" title="">basic commutative algebra</a> > <a href="___M2__Singular__Book.html" title="Macaulay2 examples for the Singular book">M2SingularBook</a> > <a href="___Singular_sp__Book_sp1.5.10.html" title="realization of rings">Singular Book 1.5.10</a></div> <hr/> <div><h1>Singular Book 1.5.10 -- realization of rings</h1> <div>We define the rings of example 1.5.3, in the Singular book.<table class="examples"><tr><td><pre>i1 : (n,m) = (2,3);</pre> </td></tr> <tr><td><pre>i2 : A1 = QQ[x_1..x_n,y_1..y_m,MonomialOrder=>{n, RevLex=>m},Global=>false];</pre> </td></tr> <tr><td><pre>i3 : f = x_1*x_2^2 + 1 + y_1^10 + x_1*y_2^5 + y_3 2 5 10 o3 = x x + x y + 1 + y + y 1 2 1 2 3 1 o3 : A1</pre> </td></tr> <tr><td><pre>i4 : 1_A1 > y_1^10 o4 = true</pre> </td></tr> </table> <p/> The second monomial order has the first block local, and the second block polynomial.<table class="examples"><tr><td><pre>i5 : A2 = QQ[x_1..x_n,y_1..y_m,MonomialOrder=>{RevLex=>n, m},Global=>false];</pre> </td></tr> <tr><td><pre>i6 : substitute(f,A2) 10 5 2 o6 = y + y + 1 + x y + x x 1 3 1 2 1 2 o6 : A2</pre> </td></tr> <tr><td><pre>i7 : x_1*y_2^5 < 1_A2 o7 = true</pre> </td></tr> </table> <p/> The third example has three blocks of variables.<table class="examples"><tr><td><pre>i8 : A3 = QQ[x_1..x_n,y_1..y_m,MonomialOrder=>{n, RevLex=>2, m-2},Global=>false];</pre> </td></tr> <tr><td><pre>i9 : substitute(f,A3) 2 5 10 o9 = x x + x y + y + 1 + y 1 2 1 2 3 1 o9 : A3</pre> </td></tr> </table> </div> </div> </body> </html>