Why doesn't Sage evaluate to zero on its own found roots?
g(x) = x^4 - 6*x^2 - 2*sqrt(5)*x + 2*x + 1/2*sqrt(5) - 1/2
g(x).solve(x)
This gave,
[x == -1/2*sqrt(-2*sqrt(5) + 10) - 1, x == 1/2*sqrt(-2*sqrt(5) + 10) - 1, x == -1/2*sqrt(2*sqrt(5) + 6) + 1, x == 1/2*sqrt(2*sqrt(5) + 6) + 1]
But then g(1/2*sqrt(-2*sqrt(5) + 10) -1 ).simplify()
is not zero!
(same for the other roots!)
What is going on!?