#12322: invalid simplification of complex logarithm
-------------------------+--------------------------------------------------
   Reporter:  mjo        |          Owner:  burcin  
       Type:  defect     |         Status:  new     
   Priority:  major      |      Milestone:  sage-5.0
  Component:  symbolics  |       Keywords:          
Work_issues:             |       Upstream:  N/A     
   Reviewer:             |         Author:          
     Merged:             |   Dependencies:          
-------------------------+--------------------------------------------------
 As pointed out by J.H. Davenport in this sage-support thread,

 http://groups.google.com/group/sage-
 support/browse_thread/thread/f9d2209041775c3e

 the following (invalid) log simplification is made:

 {{{
 sage: t = var('t')
 sage: assume(t, 'complex')
 sage: assumptions()
 [t is complex]
 sage: f = (1/2)*log(2*t) + (1/2)*log(1/t)
 sage: f.full_simplify()
 1/2*log(2)
 }}}

 When, for example, t=-1,

 {{{
 sage: f(t = -1)
 I*pi + 1/2*log(2)
 }}}

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