-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
symbolic modular integers still broken #18787
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Thanks for isolating the problem. |
This comment has been minimized.
This comment has been minimized.
comment:5
Thanks very much to both for reporting and simplifying this. |
comment:6
A different issue, but it might be related:
so there seems to be something fishy with symbolic multiplication involving integers and elements of Z/n in general. It's not just a zero-divisor problem. It's not just powers either:
The last one is correct, since the terms with x6, x20 and x13 are really missing from G. This illustrates why mixing characteristics in SR is always going to be a mess (even if non-zero characteristic works properly otherwise). |
comment:7
It seems to be a pynac/ginac issue, right ? So what should we do on our side ? Add a stopgap during conversion/coercion Zmod(n) -> SR ? |
comment:8
(Or even just disallow it?) |
comment:9
This is working in pynac-0.4.1 (but not 0.3.9.1). EDIT: I meant the original case. |
comment:10
Replying to @nbruin:
This is different in 0.4.1:
EDIT: Added |
comment:11
Correction: this is not pynac-0.4.1 but pynac master. Narrowing down the reponsible change... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dependencies: pynac-0.3.9.2 |
comment:14
The following patch works for these two examples, just to point at the direction further completion is needed:
The relevant ticket would be pynac/pynac#77. |
Upstream: Reported upstream. Developers acknowledge bug. |
Author: Ralf Stephan |
Changed upstream from Reported upstream. Developers acknowledge bug. to none |
New commits:
|
Commit: |
Changed dependencies from pynac-0.3.9.2 to none |
comment:17
With Sage-6.8.rc0:
|
Changed branch from u/rws/bug_with_products_of_symbolic_variables_with_modular_integers to none |
Changed author from Ralf Stephan to none |
comment:34
Made dependent on #21391 to prevent merge conflicts. New commits:
|
Commit: |
Author: Ralf Stephan |
Dependencies: #21391 |
comment:35
Do the people on this ticket agree that #24072 solves this ticket as is claimed there? |
comment:36
Agree. |
Reviewer: Ralf Stephan |
Changed author from Ralf Stephan to none |
...
TypeError: unsupported operand parent(s) for '+': 'Ring of integers modulo 7' and 'Ring of integers modulo 9'
Depends on #21391
CC: @kcrisman @slel
Component: symbolics
Branch/Commit: u/rws/symbolic_modular_integers_still_broken @
be9ec4e
Reviewer: Ralf Stephan
Issue created by migration from https://trac.sagemath.org/ticket/18787
The text was updated successfully, but these errors were encountered: