|   | 1 |  initial version  | 
Hi,
Never believe the symbolic ring as it can answer False when the result is True (hopefully a True is really True). To get the answer to your question, you would better do:
sage: QQbar(5).sqrt() in AA
True
Note: QQbar is the set of algebraic number and AA is the set of real algebraic numbers.
Vincent
|   | 2 |  No.2 Revision  | 
Hi,
Never believe the symbolic ring as it can answer False when the result is True (hopefully a True is really real True). To get the answer to your question, you would better do:
sage: QQbar(5).sqrt() in AA
True
Note: QQbar is the set of algebraic number and AA is the set of real algebraic numbers.
Vincent
 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.
 
                
                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.