next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > rings > monomial orderings > RevLex

RevLex -- reverse lexicographic ordering

Description

The reverse lexicographic order is defined by: xA > xB if the LAST non-zero entry of the vector of integers A-B is NEGATIVE. This is a local order, not a global order. Therefore Groebner bases over this ring only give generators over the local ring whose fractions are all elements not in the ideal generated by the variables.
i1 : R = QQ[a..d];
i2 : a^3 + b^2 + b*c + a*c^2 + b^2*c

      3    2       2    2
o2 = a  + b c + a*c  + b  + b*c

o2 : R
Computations of Groebner bases for local orders are done using Mora's algorithm.

See also

For the programmer

The object RevLex is a symbol.