#12780: Be more careful about setting the Maxima 'domain'
-------------------------------+--------------------------------------------
       Reporter:  mjo          |         Owner:  burcin      
           Type:  enhancement  |        Status:  needs_review
       Priority:  major        |     Milestone:  sage-5.1    
      Component:  symbolics    |    Resolution:              
       Keywords:               |   Work issues:              
Report Upstream:  N/A          |     Reviewers:              
        Authors:               |     Merged in:              
   Dependencies:  #12845       |      Stopgaps:              
-------------------------------+--------------------------------------------

Comment (by mjo):

 Replying to [comment:6 kcrisman]:
 > > With `simplify_log()`, it's less clear. Right now, if I do,
 > >
 > {{{
 > > sage: f = sqrt(x**2)
 > > sage: f
 > > sqrt(x^2)
 > > sage: f.simplify_log()
 > > abs(x)
 > }}}
 > >
 > > we silently convert the expression to the reals. This isn't a result
 of the log simplification algorithm; it's a side effect of setting the
 domain to real (which provides no other ''tested'' benefits).
 >
 > Hmm, yeah, that seems bad.  So all the "usual" results of `simplify_log`
 are still obtained if we remove the domain business (as you are implying)?
 Then this sounds good.

 Yep, and modulo #12845, the same goes for `simplify_radical()`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12780#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to