test for ideal membership
test for ideal containment
IdealContainment(J, K, ...)
f in J
J subset K
list or set of polynomials
The IdealMembership command tests elements for membership in an ideal. If the first argument is a list or set of polynomials, IdealMembership returns true if and only if all of the elements f are members of the ideal. The criterion for ideal membership is Groebner[NormalForm](f, J) = 0.
The IdealContainment command tests whether ideals are contained within one another, and can test sequences of containments from left to right. It returns true if and only if all containments are valid. For example, IdealContainment(J, K, L) tests whether J is contained in K and K is contained in L.
A particularly useful form of the IdealContainment command is IdealContainment(J, K, J), which tests whether the ideals J and K are equal.
The functionality of these commands is also available through the in and subset operators, see PolynomialIdeals[Operators] for more information.
J ≔ x2−y,y2−x
K ≔ x4−y2,y3−x3
f ≔ expand⁡x2−1⁢x2−y−x⁢y−1⁢y2+x
L ≔ −y2+y8,x⁢y2−y7,−y3+x3
Download Help Document