The attached patch implements a generic primality testing method for ideals. It is based on the computation of the associated primes of an ideal, and so at the moment will only work for ideals that have this implemented (e.g. ideals in multivariate polynomial rings that Singular can handle).
There are also a few related methods such as is_primary() and embedded_primes().
Component: commutative algebra
Keywords: prime ideal
Author: Alex Ghitza
Reviewer: Martin Albrecht
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7450
The attached patch implements a generic primality testing method for ideals. It is based on the computation of the associated primes of an ideal, and so at the moment will only work for ideals that have this implemented (e.g. ideals in multivariate polynomial rings that Singular can handle).
There are also a few related methods such as
is_primary()andembedded_primes().Component: commutative algebra
Keywords: prime ideal
Author: Alex Ghitza
Reviewer: Martin Albrecht
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7450