1 | initial version |
The operation
real(p) == real(q)
creates an "inequality". As you can check, the output prints as
>> real(p) == real(q)
0 == (1/2)
You know that the above is false but it is not automatically evaluated within Sage. If you want to force the evaluation you need to run
>>> bool(real(p) == real(q))
False