How to check equations/identities?
So, i got a different cubic formula for the depressed equation than that was there in the standard formula from a book. y3+fy+g=0 has the solution
(−g+√g2/4+f3/27)1/3+(−g−√g2/4+f3/27)1/3
−f3(−12g+16√43f3+9g2)1/3==(−g+√g2/4+f3/27)1/3
How do I check. I want to use sage,not math. In particular the bool() function.