<< Chapter < Page | Chapter >> Page > |
More formally, we say that if or if and . Since the partial ordering by degree and the lexicographic ordering both have the property that
the graded lexicographic order has this property as well. Since any graded order (an order in which degree is used first and then something else is used as a tie-breaker) satisfies well-ordering automatically (because there are only finitely many monomials of each degree), we see that grlex is a term order.
Example: Graded reverse lexicographic order
Perhaps one of the most frequently used term orders in practice (because it tends to result in faster computations) is graded reverse lexicographic or grevlex order. This one is perhaps a little more confusing. As the name suggests, graded reverse lexicographic order uses degree first, and uses “reverse lexicographic order” to break ties.
If we reverse the lexicographic order however, so that if , the result isn't a monomial ordering. It fails well-ordering, because there are infinite descending sequences, e.g. in revlex order we have
However, the reverse of an order preserved under multiplication by is at least still preserved under multiplication by , so while reverse lexicographic order isn't a monomial order by itself, we can still use it to break ties in a graded order (for which well-ordering is automatic).
There's one final issue to defining grevlex: when we reverse the lex order, it reverses the order of the variables, but we still want to get an order with in the end. Thus we start with a lex order with , so that when we reverse it we get a reverse lexicographic order with . We then say that if or if and .
For example, in the graded reverse lexicographic order on with , we have
Basically, we order by degree first, and break ties by saying a monomial is bigger if it has a smaller power of the least significant variable. More formally, we say that if or if and in the vector difference , the rightmost non-zero entry is negative.
Exercises
Notification Switch
Would you like to follow the 'The art of the pfug' conversation and receive update notifications?