In the $R = QQ[x,y,z]/ideal(x^4-y^2, x^4-z^2, x*y, x*z, y*z)$, I am considering the ideals m = ideal(x,y,z); m2 = trim (m*m). I am getting output "ideal (z^2 , x^2 )" for trim (m*m). But in the ring R, we have z^2=x^2*x^2.
So my question is why trim(m*m) is not the ideal(x^2)?
I am attaching a screenshot for your reference. Thanks for your kind help.