To test a conjecture on monomial ideals of a certain type, one typically makes a computation on each one. If the computation is costly, and the result is invariant under a group G of permutations of the variables, it may be more efficient to choose orbit representatives first.
Applying the ring automorphisms and then comparing the ideals can be slow. In the routine orbitRepresentatives, the monomial ideals are first turned into lists of exponent vector, and the normalForms operations are done on these using "normalFormsLis" instead of on the original ideals. The conversions to and from monomialIdeals and lists of lists are done with toLis and fromLis.
|
|
|
|
There are 6545 ideals in 4 variables generated by 3 monomials of degree 4
|
|
|
|
But only 333 orbits, a 19-fold reduction.
The object normalForms is a method function.