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
L-series attached to modular forms has a major bug in how it computes the sign of the functional equation #5262
Comments
comment:1
I already opened #5247 for this as I mentioned in the email, but I am closing that one as a dupe since this ticket has the better description. This is not a ReST ticket, so bumping it to 3.4.1. Cheers, Michael |
patch against 3.4.2.rc0 |
comment:3
Attachment: trac_5262.patch.gz Turns out there were actually two separate bugs: one for level 1 forms (which came up whenever the weight was not a multiple of 4) and one for forms of higher level. I've fixed both, and added doctests to check that they're fixed. |
comment:4
So I think this patch looks pretty good by eye ... but I tried to apply it to a clean 3.4.2.rc0 tree, and I got some merge failures. David, could you just check to make sure you've got the right version posted and I'll go ahead and review this? (The merge failures don't seem too hard to sort out, but it'll probably still be faster for David than me.) |
comment:5
The merge failures are because the patch depends on my patch for #4357; I forgot to mention this in the description. Sorry. (This was because I independently implemented an "atkin_lehner_eigenvalue" function for newforms as part of fixing 4357, and then realised that this could be used to fix this one as well.) |
comment:7
Two thumbs up! I don't even see anything to nitpick about. Merge away! |
comment:8
Merged in Sage 4.0.alpha0. Cheers, Michael |
Author: David Loeffler |
Reviewer: Craig Citro |
Merged: 4.0.alpha0 |
This is wrong:
This is because the Atkin-Lehner sign is computed wrong in sage/modular/modform/element.py. In fact, there one finds the code:
Notice that m has absolutely nothing to do with the modular form!
The right fix is to implement an atkin_lehner_eigenvalue(...) function for modularforms, and that should in turn be implemented correctly, and should be called from the cuspform_lseries command.
Component: modular forms
Author: David Loeffler
Reviewer: Craig Citro
Merged: 4.0.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/5262
The text was updated successfully, but these errors were encountered: