On Wednesday, April 1, 2015 at 10:45:24 AM UTC-7, [email protected] wrote: > > Why "2 < sqrt(2)" just outputs "2 < sqrt(2)"? Of course "bool(2 < > sqrt(2))" returns False, so this is not a problem. Just wondering. > The objects themselves can be handy to keep around, e.g., to pass constraints to an optimization routine. Sage simply doesn't bother to see if a symbolic (in)equality has a constant truth value until pushed to do so. And when you do push it, it will mostly return False for Cannot determine, which isn't ideal but is forced by python's "excluded third" logic.
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
