#16959: p-primary bound for Sha can be improved
-------------------------------------+-------------------------------------
Reporter: wuthrich | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: elliptic curves | Resolution:
Keywords: tate-shafarevich, | Merged in:
shark | Reviewers: William Stein
Authors: Chris Wuthrich | Work issues:
Report Upstream: N/A | Commit:
Branch: | 93d45724d5f8451cf3320e1bde08eaf7fae71e67
u/wuthrich/ticket/16959 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by cremona):
I am wondering why Chris removed me from the CC field....in nay case I
received the email when I was added, and now I have written on the ticket
so you cannot get rid of me!
I think this can be fixed by changing lines 66-70 of
sage/libs/cremona/newforms.pyx:
{{{
a1 = new_bigint(int(E.a1()))
a2 = new_bigint(int(E.a2()))
a3 = new_bigint(int(E.a3()))
a4 = new_bigint(int(E.a4()))
a6 = new_bigint(int(E.a6()))
}}}
Here the E.a1() etc are Sage integers, and they need to be converted into
eclib bigints which are exactly NTL ZZs. This should be possible without
going via Python ints. The new_bigint function is defined near the top
of defs.pxi is a long --> ZZ conversion (just NTL's to_ZZ). If nothing
else, I think NTL can convert decimal strings to ZZs so you could try just
replacing "int" with "str" in those 5 lines?
--
Ticket URL: <http://trac.sagemath.org/ticket/16959#comment:18>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.