Possible workaround:
sage: num
-1/2*(12*r^4*x + 4*r^2*x^3 + 4*r^2*x*y^2 - 4*r^2*x + 4*x^3 +
4*x*y^2)^2/(r^6 + 6*r^4*x^2 + r^2*x^4 + 2*r^4*y^2 + 2*r^2*x^2*y^2 + r^2*y^4
- 2*r^2*x^2 + x^4 + 2*r^2*y^2 + 2*x^2*y^2 + y^4)^2 - 1/2*(4*r^4*y +
4*r^2*x^2*y + 4*r^2*y^3 + 4*r^2*y + 4*x^2*y + 4*y^3)^2/(r^6
I forgot to add, it worked in 8.1 version and it does not work since 8.4
(at least). Adding the option dontfactor=[some variable not involved in h]
it works but much slower.
El miércoles, 24 de julio de 2019, 13:31:08 (UTC+2), Enrique Artal escribió:
>
> I have encountered a problem with factor