#17700: wrong symbolic results in case the answer is not known
----------------------------+----------------------------
   Reporter:  jakobkroeker  |            Owner:
       Type:  defect        |           Status:  new
   Priority:  critical      |        Milestone:  sage-6.5
  Component:  symbolics     |         Keywords:
  Merged in:                |          Authors:
  Reviewers:                |  Report Upstream:  N/A
Work issues:                |           Branch:
     Commit:                |     Dependencies:
   Stopgaps:  todo          |
----------------------------+----------------------------
 A failing example is taken from

 http://ask.sagemath.org/question/10388/testing-inequalities-in-sage/
 {{{

 var('a','b')
 bool( abs(a+b) <= abs(a) + abs(b) ) # False, expected True or 'Unknown'
 assert (not False == bool( abs(a+b) <= abs(a) + abs(b) ) ) #fails
 }}}

 see also discussion at
 https://groups.google.com/d/msg/sage-devel/vNxnHSeRBW4/0OpeL0yv9YUJ

 In that thread the exception variant is preferred in case of 'don't know'

 Please also take into consideration Tristate variants
 ( A sandbox for a Tristate class:
 https://github.com/jakobkroeker/Tristate.py )

--
Ticket URL: <http://trac.sagemath.org/ticket/17700>
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.

Reply via email to