-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
units in polynomial rings with prime power characteristic #11537
Comments
Attachment: units_mod_p.sws.gz |
comment:1
--There are lots of "inverse_of_unit" methods one should implement while they are fixing this the attached notebook shows one way this can be done from prime power characteristic. |
Stopgaps: todo |
Dependencies: #22454 |
New commits:
|
Commit: |
Author: Mark Saaltink |
comment:9
-1 on removing the specialized code that uses Singular; at least I strongly suspect that is faster. You should be able to specify quickly in which cases you should punt up to the generic code. Also, don't use |
comment:10
Re: "-1 on removing the specialized code that uses Singular": Yes, it is fast, but does not get the correct answers. The same goes for libsingular's p_IsUnit. For some reason I am having trouble finding the documentation in libsingular that explains these two functions so do not know if they are even supposed to work in these non-integral domains. I think the safest thing for now is to use the generic code to get the correct answer. I'll look into the latex issue and push something soon. |
comment:11
As I said, I would probably send it up to the generic case when the base ring is not something nice. Probably a good condition is if the domain is known to be an integral domain, then use the specialized code. You should also post a bug report to Singular if using this in general is expected to work (provided you can find such information). |
comment:12
I asked about the Singular functions used here, in the Singular forum, post 2582 (https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2582). The answer (from "hannes") is quite clear:
So I think the specialized code in multi_polynomial_libsingular canniot be relied on, and we should stick with the generic code. The Singular documentation offers no other functions that look useful here. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
I have made the change from |
comment:15
branch does not apply on latest beta |
comment:28
Matrices form a non-commutative ring... you expect your algorithm to work in this case? Anyway, I am not sure it is good idea to use this in tests as it is completely broken
|
comment:29
and doctest failure
|
comment:30
That is strange; the doctest succeeds for me. However, as you point out, it is not good to use a noncommutative base ring. I do not think I then have a test for the condition triggering the |
comment:31
Note that I did the testing on top of beta12 which might explain the changes. |
comment:32
Replying to @sagetrac-msaaltink:
Yes! |
comment:33
When I try to build a complicated base ring, Keep the code the way it is, but merge with beta12 and fix the doctest. |
comment:36
does not apply |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:39
I added a commit to introduce New commits:
|
Changed branch from u/msaaltink/units_in_polynomial_rings_with_prime_power_characteristic to u/vdelecroix/11537 |
comment:40
While this is a straightforward change that makes an additional test case work, I had really hoped for a more comprehensive answer to the problems identified in trac #22514. In my opinion, the right fix is to ensure that the |
comment:41
I would be happy to have it the other way around, but then you should first fix #22514. Your branch attached to this ticket introduces a regression which is not good. |
comment:42
Note that many methods would be simplified if the attribute |
comment:43
I have pushed a proposed fix for #22514; if accepted it will make commit 718b0e2 unnecessary and will allow the test case for constant elements of an |
Depends on #22454
Component: algebra
Stopgaps: todo
Author: Mark Saaltink
Branch/Commit: u/vdelecroix/11537 @
718b0e2
Issue created by migration from https://trac.sagemath.org/ticket/11537
The text was updated successfully, but these errors were encountered: