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

Local components bug finding minimal twist #13158

Closed
loefflerd mannequin opened this issue Jun 25, 2012 · 12 comments
Closed

Local components bug finding minimal twist #13158

loefflerd mannequin opened this issue Jun 25, 2012 · 12 comments

Comments

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Jun 25, 2012

The following is from an email of François Brunault:

I got the following error when trying to compute minimal twists in Sage. Here f is the newform attached to the elliptic curve 256a1, and the minimal twist of f has level 64.

Best,
François

sage: f=Newforms(256,names='a')[0]
sage: T=TypeSpace(f,2)
sage: T.is_minimal()
False
sage: T.minimal_twist()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)

/Users/francoisbrunault/<ipython console> in <module>()

/Users/francoisbrunault/Documents/SAGE/sage-5.0.beta13/local/lib/python2.7/site-packages/sage/modular/local_comp/type_space.pyc in minimal_twist(self)
   383             D._set_sign(D.star_eigenvalues()[0])
   384         M = ModularForms(D.group(), D.weight())
--> 385         ff = Newform(M, D, names='a')
   386         return ff
   387

/Users/francoisbrunault/Documents/SAGE/sage-5.0.beta13/local/lib/python2.7/site-packages/sage/modular/modform/element.pyc in __init__(self, parent, component, names, check)
   636                 raise ValueError, "component must be cuspidal"
   637             if not component.is_simple():
--> 638                 raise ValueError, "component must be simple"
   639         extension_field = component.eigenvalue(1,name=names).parent()
   640         if extension_field != parent.base_ring(): # .degree() != 1 and rings.is_NumberField(extension_field):

ValueError: component must be simple

Component: modular forms

Keywords: local components

Author: David Loeffler

Branch: 3577e02

Reviewer: Frédéric Chapoton

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

@loefflerd loefflerd mannequin added this to the sage-5.11 milestone Jun 25, 2012
@loefflerd loefflerd mannequin assigned craigcitro Jun 25, 2012
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@loefflerd
Copy link
Mannequin Author

loefflerd mannequin commented Jun 10, 2015

@loefflerd
Copy link
Mannequin Author

loefflerd mannequin commented Jun 10, 2015

Author: David Loeffer

@loefflerd
Copy link
Mannequin Author

loefflerd mannequin commented Jun 10, 2015

comment:6

Somehow, this sat idle for 3 years despite the fact that the fix is about 2 lines! It turns out that the code relies on the assumption that the trace of the type space down to the minimal level is simple, but if f is of CM type it can be the direct sum of two simple modules of opposite sign.


New commits:

1994692Trac 13158: local components bug finding minimal twist

@loefflerd
Copy link
Mannequin Author

loefflerd mannequin commented Jun 10, 2015

Commit: 1994692

@loefflerd loefflerd mannequin added the s: needs review label Jun 10, 2015
@fchapoton
Copy link
Contributor

@fchapoton
Copy link
Contributor

comment:7

This looks good to me. I have only made minor changes, and allow myself to set to positive review.


New commits:

9ce7fbcMerge branch 'u/davidloeffler/local_components_bug_finding_minimal_twist' into 6.8.b6
3577e02trac #13518 review commit

@fchapoton
Copy link
Contributor

Changed commit from 1994692 to 3577e02

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@loefflerd
Copy link
Mannequin Author

loefflerd mannequin commented Jun 29, 2015

comment:8

Thanks for the review! The patchbot seems a bit confused, but I'm sure it'll catch up shortly :-)

@vbraun
Copy link
Member

vbraun commented Jun 30, 2015

Changed branch from public/ticket/13158 to 3577e02

@jdemeyer
Copy link

Changed author from David Loeffer to David Loeffler

@jdemeyer
Copy link

Changed commit from 3577e02 to none

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

4 participants