#15571: Doctest: Incorrect zero test of complex symbolic expressions
-------------------------------------+-------------------------------------
       Reporter:  mmezzarobba        |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.5
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:  Karl-Dieter Crisman
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/doctest__incorrect_zero_test_of_complex_symbolic_expressions|  
9974eef85cab383846b82d39a39c7b5d50da1608
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by kcrisman):

 * status:  needs_review => positive_review
 * reviewer:   => Karl-Dieter Crisman


Comment:

 Indeed, one doesn't have to do any assumption at all to get the 'false'
 now.
 {{{
 sage: sage: var('a,x')
 (a, x)
 sage: (a, x)
 (a, x)
 sage: sage: expr = a^(4*x) - (a^4)^x
 sage: sage: expr.is_zero()
 False
 }}}

 If you want to remove the second
 {{{
 +            sage: assume(a, 'complex')
 +            sage: assume(x, 'complex')
 }}}
 and then the `forget()` which I think is all superfluous, that would be
 great, but it's fine this way too.

--
Ticket URL: <http://trac.sagemath.org/ticket/15571#comment:8>
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