#19040: rewrite Expression.__nonzero__()
-------------------------------+--------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.9
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+--------------------------
Comment (by vdelecroix):
Replying to [comment:45 rws]:
> Replying to [comment:44 vdelecroix]:
> > Replying to [comment:43 rws]:
> > > Agreed if we look at equalities. Inequalities can be undecidable if
we know one side has no order relation. I don't know if there could be
other reasons. I haven't decided yet if `__nonzero__` should throw an
exception for this.
> >
> > What do you mean? Do you have an example of such inequality?
> Comparison of real/infinity with complex.
Then I would qualify this as undefined and not undecidable. The latter
introduces confusion with the standard notion related to proofs and
computability.
--
Ticket URL: <http://trac.sagemath.org/ticket/19040#comment:46>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.