[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread William Stein
2009/9/3 Golam Mortuza Hossain : > > Hi, > > On Thu, Sep 3, 2009 at 5:00 PM, William A. Stein wrote: sage: var('i') i sage: a = i^2 sage: a.simplify_full() -1 >> I think my email must have not been clear.  I think it's an instance >> of a *HUGE BUG* in Sage.  No more, no l

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread Golam Mortuza Hossain
Hi, On Thu, Sep 3, 2009 at 5:00 PM, William A. Stein wrote: >>> sage: var('i') >>> i >>> sage: a = i^2 >>> sage: a.simplify_full() >>> -1 > I think my email must have not been clear.  I think it's an instance > of a *HUGE BUG* in Sage.  No more, no less.    It's a bug, because > irregardless of a

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread Jason Grout
William Stein wrote: > Hi Sage-Devel, > > What do you think of this: I think you are right that this is a huge bug in our interface to maxima. Jason -- Jason Grout --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread William A. Stein
On Sep 3, 2009, at 12:49 PM, kcrisman wrote: > > > > On Sep 3, 2:28 pm, William Stein wrote: >> Hi Sage-Devel, >> >> What do you think of this: >> >> sage: var('x, i') >> sage: solve(x^2 + i == 0, x) >> [x == -sqrt(-I), x == sqrt(-I)] >> >> Basically, I make a purely symbolic variable which I h

[sage-devel] Re: symbolic variable treated as sqrt(-1) when it shouldn't be

2009-09-03 Thread kcrisman
On Sep 3, 2:28 pm, William Stein wrote: > Hi Sage-Devel, > > What do you think of this: > > sage: var('x, i') > sage: solve(x^2 + i == 0, x) > [x == -sqrt(-I), x == sqrt(-I)] > > Basically, I make a purely symbolic variable which I happen to call > "i", and it gets treated somewhere (presumably