Ask Your Question

Finding Cremona label for Tunnell's y^2-x^3-n^2x

asked 2012-07-02 11:20:30 +0100

memory13 gravatar image

When I enter

E = EllipticCurve([-n^2,0]); E;E.label()

Sage gives an error that I have an unsupported operand type. I assume the problem is that I have not defined the variable 'n', which is a square free integer, but how does one do this? Any help would be greatly appreciated!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-12-10 05:43:44 +0100

John Cremona gravatar image

E.label() only works if E is defined over Q and has conductor within the range of the database (currently up to 300,000, but you have to install an optional spkg to get conductors over 10000).

In your case you wanted to treat n as a variable, so your E is (perhaps) defined over the function field Q(n); such a curve does not have a "Cremona label" -- I should know!

edit flag offensive delete link more


Haha! Though I bet eventually someone will name something after you that you won't have known of!

kcrisman gravatar imagekcrisman ( 2013-12-10 13:36:01 +0100 )edit

Personally, I am trying to move towards using LMFDB labels instead since there is at least a logical explanation for the ordering used: see

John Cremona gravatar imageJohn Cremona ( 2013-12-15 10:39:33 +0100 )edit

answered 2012-07-02 11:28:33 +0100

kcrisman gravatar image

Correct; n is indeed a builtin thing in Sage, but it's for numerical approximation.

sage: var('n')
sage: E = EllipticCurve([-n^2,0]); E
Elliptic Curve defined by y^2 = x^3 + (-n^2)*x over Symbolic Ring

but there is no E.label(), as you'll find if you try it.

edit flag offensive delete link more


Thank you!

memory13 gravatar imagememory13 ( 2012-07-02 19:15:31 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-02 11:20:30 +0100

Seen: 388 times

Last updated: Dec 10 '13