Opened 3 years ago

Last modified 18 months ago

#22027 new defect

Simplifying 0**x gives 0, with no assumptions on x

Reported by: pelegm Owned by:
Priority: major Milestone: sage-7.5
Component: symbolics Keywords: simplify
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Check this:

sage: simplify(0**x)
0

but

sage: 0**0
1

Change History (2)

comment:1 Changed 3 years ago by rws

That is a Maxima bug.

comment:2 Changed 18 months ago by pelegm

Are we ok with sage returning 1 for 00? This is the case in Python, but in Maxima is it undefined.

Is maxima under active development? Should we report that issue there?

Note that sympy handles this properly:

In [6]: sympy.simplify(0**x)
Out[6]: 0**x
Note: See TracTickets for help on using tickets.