#12151: Bug in global_integral_model for elliptic curves over number fields
-------------------------------+--------------------------------------------
Reporter: johanbosman | Owner: cremona
Type: defect | Status: new
Priority: major | Milestone: sage-4.8
Component: elliptic curves | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by cremona):
This can be fixed by changing
{{{
for P, _ in K.ideal(a.denominator()).factor():
}}}
on line 564 of ell_number_field.py to
{{{
for P in [P for P,e in K.ideal(a).factor() if e<0]:
}}}
or alternatively (I think)
{{{
for P, _ in a.denominator_ideal().factor():
}}}
I checked that the first alternative works.
NB I also think that the line
{{{
pi = K.uniformizer(P,'positive')
}}}
should be
{{{
pi = K.uniformizer(P,'negative')
}}}
since we will divide by a power of pi and want to make sure that the model
stays integral at other primes. This does not matter in the example given
where the class number is 1 so each pi will be an actual generator of the
prime ideal.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12151#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.