#20737: Use of representative_prime may fail in finding semi-global minimal
models
of elliptic curves
-------------------------------+----------------------------------------
Reporter: cremona | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: elliptic curves | Keywords: global minimal model
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------------+----------------------------------------
When an elliptic curve E defined over a number field has no global minimal
model, the obstruction is a non-trivial ideal class and
E.global_minimal_model(semi_global=True) finds a prime ideal in that class
and returns a model minimal at all primes but that one. However the line
in kraus.py (line 916) does that using {{{P = c.representative_prime()}}
which can fail since by default only primes of norm up to 1000 are tested,
as that is the default value of the parameter norm_bound of
representative_prime().
Example (an elliptic curve with everywhere good reduction over an
imaginary quadratic field of class number 3315):
{{{
sage: K.<a> = NumberField(x^2-x+31821453)
sage: ainvs = (0, 0, 0, -382586771000351226384*a -
2498023791133552294513515, 358777608829102441023422458989
744*a + 1110881475104109582383304709231832166)
sage: E = EllipticCurve(ainvs)
sage: assert E.conductor().norm() == 1
sage: E.global_minimal_model(semi_global=True)
<boom>
RuntimeError: No prime of norm less than 1000 found in class Fractional
ideal class (1569, a + 867)
}}}
Experiment with this example shows that the smallest prime in that class
has norm 23567.
The obvious solution is to keep doubling the bound until success. The
ideal in the error message has norm 1569 and is a product of two primes so
could be used instead but then the model returned would not be "semi-
global" in the above sense.
Whatever is decided, the semi-global=True option (which is not the
default) should not cause a run-time error.
--
Ticket URL: <http://trac.sagemath.org/ticket/20737>
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.