test whether an ideal is prime
test whether an ideal is primary
test whether an ideal is maximal
test whether an ideal is proper
(optional) field extension
(optional) ring variables
The IsPrime, IsPrimary, and IsMaximal commands test whether an ideal is prime, primary, or maximal, respectively. An ideal is prime if f⁢g in J implies either f in J or g in J. It is primary if f⁢g in J implies that some power of f or of g is in J, and it is maximal if it is not contained within a larger ideal, other than the entire polynomial ring.
Prime ideals are primary and radical. Maximal ideals are zero-dimensional and prime. By convention, prime, primary, and maximal ideals must also be proper, meaning that they are not the entire polynomial ring. The IsProper command can be used to test this condition separately. An optional second argument allows you to override the ring variables.
Primality tests are performed over the domain implied by the coefficients - usually the rationals or the integers mod p. Additional field extensions can be specified with an optional second argument k, which may be a single RootOf or radical, or a list or set of RootOfs and radicals.
Of particular interest is the fact that any ideal can be decomposed into the finite intersection of primary ideals. The PrimaryDecomposition command can be used to do this. The solution set of a primary ideal is an irreducible affine variety.
The algorithms employed by these commands require polynomials over a perfect field. Infinite fields of positive characteristic are not supported, and over finite fields only zero-dimensional ideals can be handled because the dimension reducing process generates infinite fields.
Note: In contrast with Groebner[IsProper], PolynomialIdeals[IsProper] does not consider the zero ideal 0 to be proper.
J ≔ x2+1,y2−2,z2+2
f ≔ z−x⁢y
g ≔ z+x⁢y
K ≔ x−y⁢z2,y2+z3+1
L ≔ x4−2,y2+z
J ≔ x,x+1
Gianni, P.; Trager, B.; and Zacharias, G. "Grobner bases and primary decompositions of polynomial ideals." J. Symbolic Comput., Vol. 6 (1988): 149-167.
Download Help Document
What kind of issue would you like to report? (Optional)