-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Zeta functions of hyperelliptic curves giving wrong answers #28789
Comments
comment:1
It looks like this was a bug which was just fixed upstream: I can reproduce the bug in gp version 2.11.1, but I get the correct answer in 2.11.2 (which is what I originally tried). So a simple Pari update should suffice. |
Upstream: Fixed upstream, in a later stable release. |
comment:2
See #28424 for a Pari upgrade ticket that would resolve this issue. |
comment:3
#28424 is somewhat exploratory to check for broken stuff. Of course we have gone on the pari git branch in the past when Jeroen was after new features. But #28424 shouldn't prevent you from making this ticket an upgrade to 2.11.2 to fix your issue. If that make fell you better most sage-on-distros are probably already using 2.11.2 without reported side effects (apart from getting the right answer in the problem pointed out by this ticket - I know I do in sage-on-gentoo). |
comment:4
OK, so let's make this a ticket to upgrade Pari to 2.11.2. Unfortunately, updating an spkg falls outside of my expertise; but it should be trivial for someone more familiar with the build system. |
comment:5
I have made #28840 for the upgrade to pari 2.11.2 |
comment:6
Now that #28840 is in, it would be nice to add the example from this ticket
|
Commit: |
Dependencies: 28840 |
Author: Kiran Kedlaya |
Changed keywords from none to hyperelliptic curves, zeta functions |
comment:8
Agreed! I doctested both New commits:
|
comment:9
ok, good to go. Thanks |
Reviewer: Frédéric Chapoton |
Changed branch from u/kedlaya/zeta_functions_of_hyperelliptic_curves_giving_wrong_answers to |
comment:11
Possibly related problem reported on sage-support with Sage 9.0: |
Changed commit from |
Changed dependencies from 28840 to #28840 |
Example from 9.0.beta5:
This is being computed using Pari, but actually gp gives the correct answer:
Since the
x^7
term is off by3^6
, this is presumably an issue with not enough p-adic precision in the Frobenius matrix we are getting from Pari.Depends on #28840
Upstream: Fixed upstream, in a later stable release.
CC: @roed314
Component: algebraic geometry
Keywords: hyperelliptic curves, zeta functions
Author: Kiran Kedlaya
Branch:
7eb3cd1
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/28789
The text was updated successfully, but these errors were encountered: