| 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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.