Re: [sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread William Stein
On Tue, Apr 20, 2010 at 10:55 PM, Jason Grout wrote: > On 04/20/2010 11:27 PM, William Stein wrote: > > We *really* need to change the maxima(symbolic expression) command to >> return something with all the variables prepended with _SAGE_, and undo >> this when converting back. Is there a ticket

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 11:27 PM, William Stein wrote: We *really* need to change the maxima(symbolic expression) command to return something with all the variables prepended with _SAGE_, and undo this when converting back. Is there a ticket about this already? It would be really easy to implement. I r

Re: [sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread William Stein
On Tue, Apr 20, 2010 at 9:22 PM, Jason Grout wrote: > On 04/20/2010 10:44 PM, Alex Leone wrote: > >> sage: g1 = var('g1') >> sage: g1 >> g1 >> sage: g1.full_simplify() >> (-1)^k*k/(4*k^2 - 1) >> >> >> Where is the k coming from?!! >> >> > Probably from some package that the calculus version of max

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 10:44 PM, Alex Leone wrote: sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! Probably from some package that the calculus version of maxima loads: -

[sage-support] Re: Weird Behavior with var('g1') and full_simplify()

2010-04-20 Thread Jason Grout
On 04/20/2010 10:44 PM, Alex Leone wrote: sage: g1 = var('g1') sage: g1 g1 sage: g1.full_simplify() (-1)^k*k/(4*k^2 - 1) Where is the k coming from?!! - Alex It looks like it happens with variables starting with 'd', 'f', 'g', and 'h': sage: v=var(",".join(['%s1'%i for i in 'abcdefgh