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: Expression.is_positive/negative fixed #18630
Comments
Changed upstream from Not yet reported upstream; Will do shortly. to Fixed upstream, but not in a stable release. |
comment:1
Parts of this are fixed in pynac/pynac#66 (will be pynac-0.3.9.1/0.4.1) |
Dependencies: pynac-0.3.9.1 |
comment:2
While products are okay already, sums with negative terms are not and will not be for some time. Correct handling depends on pynac/pynac#67 and pynac/pynac#68 and affects #12588 too, for example. |
This comment has been minimized.
This comment has been minimized.
Changed upstream from Fixed upstream, but not in a stable release. to Reported upstream. Developers acknowledge bug. |
Changed dependencies from pynac-0.3.9.1 to none |
comment:4
Since everything apart from sums works now, let's look at what is possible with sums containing exact I'm therefore just adding the doctests here to resolve the ticket. |
Changed upstream from Reported upstream. Developers acknowledge bug. to none |
New commits:
|
Commit: |
Author: Ralf Stephan |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Docbuild error: |
Changed branch from u/rws/expression_is_positive_negative_incomplete to u/rws/18630 |
New commits:
|
comment:11
Would be nice to also have some less trivial examples
And the following are other failing examples
|
comment:12
And I don't understand why the following is ok
while not these ones
|
comment:13
Replying to @videlec:
They are not failing. The result False simply means "I don't know.". |
comment:14
Replying to @videlec:
One logic for |
comment:16
See also pynac/pynac#293 for progress on what is completely implemented as internal Pynac flag. |
Dependencies: #24497 |
Changed branch from u/rws/18630 to u/rws/18630-1 |
New commits:
|
comment:21
Seems like the first test still fails: sage: (1-pi).is_negative()
False Do we want to merge it as is? |
comment:22
Yes, see comment:15. |
Reviewer: Peleg Michaeli, Vincent Delecroix |
Changed branch from u/rws/18630-1 to |
The two functions that query Pynac expressions'
info::flags
only work withnumeric
s andsymbol
s with domain. The rest simply returnsFalse
:UPDATE: everything above but the first works now.
Depends on #24497
CC: @kcrisman @pelegm
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
8e446e6
Reviewer: Peleg Michaeli, Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/18630
The text was updated successfully, but these errors were encountered: