#20793: Coefficients of a modular form don't coerce into the Hecke eigenfield
-----------------------------+-------------------------------
Reporter: pbruin | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: modular forms | Keywords:
Merged in: | Authors: Peter Bruin
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-------------------------------
Reported by Kiran Kedlaya on [https://groups.google.com/forum/#!topic
/sage-nt/lDu23r0bAYk sage-nt]:
{{{
sage: N = Newforms(83,2, names="a")
sage: f = N[1]
sage: K = f.hecke_eigenvalue_field()
sage: print K
Number Field in a1 with defining polynomial x^6 - x^5 - 9*x^4 + 7*x^3 +
20*x^2 - 12*x - 8
sage: l = f.coefficients(20)
sage: print l[-1].parent()
Number Field in alpha with defining polynomial x^6 - x^5 - 9*x^4 + 7*x^3 +
20*x^2 - 12*x - 8
sage: K(l[-1])
Traceback (most recent call last):
...
TypeError: No compatible natural embeddings found for Number Field in a1
with defining polynomial x^6 - x^5 - 9*x^4 + 7*x^3 + 20*x^2 - 12*x - 8 and
Number Field in alpha with defining polynomial x^6 - x^5 - 9*x^4 + 7*x^3 +
20*x^2 - 12*x - 8
}}}
This can be fixed by returning the coefficients as number field elements
in the variable name of the Hecke eigenvalue field instead of `alpha`.
--
Ticket URL: <http://trac.sagemath.org/ticket/20793>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.