Thanks, Maik, for this report. Yes, our Maxima conversion seems to be
at fault.
sage: var('y')
y
sage: (y==x).log()
log(y == x)
sage: (y==x).log().simplify() # just sends to Maxima and back to Sage
log(y) == log(x)
sage: (y==x).exp()
e^(y == x)
sage: (y==x).exp().simplify() # just sends to Maxima and back to Sage
<boom>
I'll take a look at this, I doubt it will be very hard to fix, as it
just isn't replacing the "=" from Maxima with "==" again -
unfortunately, the Trac server is still not working properly.
- kcrisman
On Aug 5, 3:49 am, MaikB <[email protected]> wrote:
> I just came across that while
>
> sage: (y == x).log().simplify_exp()
> log(y) == log(x)
>
> works fine log's inverse function doesn't
>
> sage: (y == x).exp().simplify_exp()
> ERROR: An unexpected error occurred while tokenizing input
> ...
> TypeError: unable to make sense of Maxima expression 'e^(y=x)' in Sage
>
> Is this a bug?
--
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-support
URL: http://www.sagemath.org