There are two main ways to find the radical of an ideal. The first is to use the function radical and the second is to find the intersection of the minimal prime ideals. On some large examples the second method is faster.
i1 : S = ZZ/101[x,y,z] |
i2 : I = ideal(x^3-y^2,y^2*z^2) |
i3 : radical I |
i4 : intersect decompose I |