Skip to content
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

Fix bug with pAutomorphicForms for weights larger than two #22634

Closed
mmasdeu opened this issue Mar 17, 2017 · 11 comments
Closed

Fix bug with pAutomorphicForms for weights larger than two #22634

mmasdeu opened this issue Mar 17, 2017 · 11 comments

Comments

@mmasdeu
Copy link
Sponsor

mmasdeu commented Mar 17, 2017

The following code illustrates the bug:

sage: X = BruhatTitsQuotient(7,2)
sage: H = X.harmonic_cocycles(4,20)
sage: A = X.padic_automorphic_forms(4,20,overconvergent=True)
sage: f = A.lift(H.basis()[0]).modular_form(method='moments')
sage: T.<x> = Qq(7^2,20)
sage: a,b,c,d = X.embed_quaternion(X.get_units_of_order()[1]).change_ring(Qp(7,20)).list()
sage: (c*x + d)^4 * f(x) == f((a*x + b)/(c*x + d)) # Should return True
False

The problem arose because of the way distributions work, which get normalized even when the user wishes they weren't. I propose a fix to this.

CC: @roed314

Component: modular forms

Keywords: Bruhat Tits, Harmonic Cocycles, Overconvergent

Author: Marc Masdeu

Branch/Commit: 66bf400

Reviewer: Peter Graef

Issue created by migration from https://trac.sagemath.org/ticket/22634

@mmasdeu mmasdeu added this to the sage-8.0 milestone Mar 17, 2017
@mmasdeu
Copy link
Sponsor Author

mmasdeu commented Mar 17, 2017

@mmasdeu
Copy link
Sponsor Author

mmasdeu commented Mar 17, 2017

New commits:

21e5565Fixed bug when lifting p-automorphic forms of weight > 2.
ffcc45fAdded doctest to show that bug is fixed.

@mmasdeu
Copy link
Sponsor Author

mmasdeu commented Mar 17, 2017

Commit: ffcc45f

@mmasdeu

This comment has been minimized.

@sagetrac-pgraef
Copy link
Mannequin

sagetrac-pgraef mannequin commented Mar 23, 2017

comment:2

The bug still seems to occur in other cases, for example here

sage: X = BruhatTitsQuotient(7,2)
sage: H = X.harmonic_cocycles(4,20)
sage: A = X.padic_automorphic_forms(4,20,overconvergent=True)
sage: f = A.lift(H.basis()[1]).modular_form(method='moments')
sage: T.<x> = Qq(7^2,20)
sage: a,b,c,d = X.embed_quaternion(X.get_units_of_order()[1]).change_ring(Qp(7,20)).list()
sage: (c*x + d)^4 * f(x) - f((a*x + b)/(c*x + d))
(6*x + 3) + (6*x + 5)*7 + (x + 6)*7^2 + (2*x + 3)*7^3 + (3*x + 2)*7^4 + (6*x + 4)*7^5 + (x + 3)*7^6 + (4*x + 6)*7^7 + (5*x + 1)*7^8 + (6*x + 1)*7^9 + (3*x + 5)*7^10 + (x + 2)*7^11 + (5*x + 2)*7^12 + (5*x + 6)*7^13 + (4*x + 4)*7^14 + 5*7^15 + (4*x + 4)*7^16 + O(7^17)

or here

sage: X = BruhatTitsQuotient(3,5)
sage: H = X.harmonic_cocycles(4,20)
sage: A = X.padic_automorphic_forms(4,20,overconvergent=True)
sage: f = A.lift(H.basis()[0]).modular_form(method='moments')
sage: T.<x> = Qq(3^2,20)
sage: a,b,c,d = X.embed_quaternion(X.get_units_of_order()[1]).change_ring(Qp(3,20)).list()
sage: (c*x + d)^4 * f(x) - f((a*x + b)/(c*x + d))
3^3 + (x + 2)*3^5 + 2*x*3^6 + (x + 1)*3^7 + 2*3^8 + (x + 2)*3^9 + (2*x + 1)*3^10 + (2*x + 2)*3^12 + (x + 2)*3^14 + 2*x*3^15 + x*3^16 + O(3^17)

I tried to track down the problem, but didn't suceed. When evaluating the lift of the harmonic cocycle on random matrices, I just noticed that the values for the higher moments seem to be wrong.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2017

Branch pushed to git repo; I updated commit sha1. New commits:

66bf400Trac 22634: fixed one more bug.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 31, 2017

Changed commit from ffcc45f to 66bf400

@mmasdeu
Copy link
Sponsor Author

mmasdeu commented Mar 31, 2017

comment:4

I tracked the error. I was trying to be extra careful in the lifting step and it turns out that it's not needed. The old code did not have this "functionality" and that's why it worked!

@sagetrac-pgraef
Copy link
Mannequin

sagetrac-pgraef mannequin commented Apr 7, 2017

comment:6

Works exactly as it should, everything looks perfect!

@sagetrac-pgraef
Copy link
Mannequin

sagetrac-pgraef mannequin commented Apr 7, 2017

Reviewer: Peter Graef

@vbraun
Copy link
Member

vbraun commented Apr 8, 2017

Changed branch from u/mmasdeu/22634-fix-bug-pautomorphicform to 66bf400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants