msolveLeadMonomials(I)
This functions uses the F4 implementation in the msolve package to compute leading monomials via a Groebner basis, in GRevLex order, of a polynomial ideal with either rational coefficients or finite field coefficients with characteristic less than $2^{31}$. If the input ideal is a polynomial ring with monomial order other than GRevLex a GRevLex basis is returned (and no warning is given). The input ideal may also be given in a ring with integer coefficients, in this case a Groebner basis for the given ideal over the rationals will be computed, denominators will be cleared, and the output will be a Groebner basis over the rationals in GRevLex order with integer coefficients.
First an example over a finite field
|
|
|
|
|
Now the same example over the rationals; note over the rationals msolve first computes over a finite field and when only the leading monomials are asked for the correct leading monomials will be returned but the full Groebner basis over QQ will not be computed. Hence if only degree and dimension are desired this command will often be faster that the Groebner basis command.
|
|
|
|
|
|
|
The object msolveLeadMonomials is a method function with options.