- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctest for: Positive raised by a positive power is not known to be real #21940
Comments
comment:3
What Sage version is this? With Sage-7.5beta3 I get:
|
comment:4
Replying to @rwst:
Hi, This was tested on 7.5beta3. You've checked |
comment:5
Fixed in pynac git master, see pynac/pynac@e5c6cd2 Please add a doctest to |
Dependencies: pynac-0.7.2 |
Commit: |
New commits:
|
Branch: u/pelegm/21940 |
Author: Peleg Michaeli |
comment:7
Maybe interesting in this regard that fixing this allows Sage to simplify some apparently complex expressions, e.g.
(from a doctest in |
This comment has been minimized.
This comment has been minimized.
comment:9
Is this solving the case sage: assume(x, 'real')
sage: (2**x).is_positive()
True
sage: (2**x).is_real()
False as well? |
comment:10
Right, now that works too. |
Changed dependencies from pynac-0.7.2 to #21963 |
Changed branch from u/pelegm/21940 to u/rws/21940 |
Changed author from Peleg Michaeli to Peleg Michaeli, Ralf Stephan |
Reviewer: Ralf Stephan |
Changed reviewer from Ralf Stephan to Ralf Stephan, Peleg Michaeli |
comment:13
Looks great. |
Changed branch from u/rws/21940 to |
But it is known to be positive...
See the following code:
For comparison, this is how SymPy handles this:
Depends on #21963
CC: @rwst
Component: symbolics
Keywords: is_real, days79
Author: Peleg Michaeli, Ralf Stephan
Branch/Commit:
c883299
Reviewer: Ralf Stephan, Peleg Michaeli
Issue created by migration from https://trac.sagemath.org/ticket/21940
The text was updated successfully, but these errors were encountered: