Groebner
IsBasis
test for a Groebner basis
Calling Sequence
Parameters
Description
Examples
Compatibility
IsBasis(G, T)
IsBasis(G, T, characteristic=p)
G
-
set or list of polynomials
T
MonomialOrder or ShortMonomialOrder
p
(optional) characteristic
IsBasis(G, T) outputs true if G is a Groebner basis for the ideal I generated by G with respect to the monomial order T and false otherwise.
The test applies Buchberger's S-polynomial criterion which states that G is a Groebner basis for I if and only if the S-polynomial of each pair of polynomials in G when divided by G has 0 remainder. Note, this test can take longer than the time it takes to compute the Groebner basis.
The argument T is a monomial order. For a list of available monomial orders, see the Monomial Orders help page.
An optional argument characteristic=p can be used to specify the ring characteristic. The default value is zero.
withGroebner:
G≔x2+1,y2+x+1
Our example shows that whether G is not a Groebner basis or not depends on the monomial ordering.
IsBasisG,grlexx,y
true
IsBasisG,plexx,y
false
s≔SPolynomialG1,G2,plexx,y
s≔−xy2−x+1
NormalForms,G,plexx,y
y4+2y2+2
Now we compute a (reduced) Groebner basis for the ideal generated by G in the lexicographical monomial ordering with y<x.
H≔BasisG,plexx,y
H≔y4+2y2+2,y2+x+1
IsBasisH,plexx,y
The Groebner[IsBasis] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
Basis
Monomial Orders
MonomialOrder
NormalForm
SPolynomial
Download Help Document