-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
modular resultants for multivariate polynomials over QQ #12174
Comments
hack of a modular discriminant/resultant algorithm |
This comment has been minimized.
This comment has been minimized.
comment:1
Attachment: disc.sage.gz |
Changed keywords from resultant, discriminant, polynomial, multivariate to resultant, discriminant, polynomial, multivariate, sd35 |
comment:6
See #16749 for a similar issue. |
comment:8
Still slow in 2018 btw. |
Commit: |
Branch: u/chapoton/12174 |
New commits:
|
Author: Frédéric Chapoton |
comment:10
Some timings
|
comment:12
Not extremely convincing, sadly, for smaller polynomials. Maybe I am not doing it the right way ? |
comment:13
Sided note: in the development version of flint there are multivariable polynomials and an implementation of discriminant. |
comment:14
Maybe you want to use |
comment:15
Not sure whether this is interesting, but I get (using the develop branch, that is, without this patch):
|
comment:20
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
comment:21
With pari, for the large example in the ticket description:
so not so good after all. |
comment:23
Tickets still needing working or clarification should be moved to the next release milestone at the soonest (please feel free to revert if you think the ticket is close to being resolved). |
comment:24
Ticket retargeted after milestone closed |
comment:25
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:27
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:28
Setting a new milestone for this ticket based on a cursory review. |
Sage is somewhat slow when computing discriminants of multivariate polynomials:
Sage is relying on singular to compute the resultant of f and the derivative of f. Alternatively, one can compute the determinant of the Sylvester matrix; doing this mod p and using chinese remaindering then is much faster in this example:
I attached the implementation of
modular_discriminant()
. This should not go into sage like this, it's just some experiments I did. I haven't tested it or thought about it too carefully.Btw. Maple 9.5 needs about 4s to compute this; a recent version of Maple was even faster, but I don't have the data here right now.
CC: @burcin @sagetrac-fschulze @videlec @jdemeyer
Component: algebra
Keywords: resultant, discriminant, polynomial, multivariate, sd35
Author: Frédéric Chapoton
Branch/Commit: u/chapoton/12174 @
8952571
Issue created by migration from https://trac.sagemath.org/ticket/12174
The text was updated successfully, but these errors were encountered: