-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elliptic curve torsion subgroup doesn't know its identity #5065
Comments
comment:3
Here is the reason. the torsion subgroup class is derived from the Abelian group class, which in Sage is always a multiplicative group! So it can coerce in 1 to give the identity 1, but not 0. I produced a lovely patch adding proper additive support to the AbelianGroup class months ago, motivated mainly by situations such as this, but nobody else was interested and it never got in. (To be fair, the patch is on trac labelled "not for review" for some reason). Of course, for this specific group we could easily write a call() function to handle this, but the whole point of my Abeliangroup patch was that if you say that a group is additive on creation then that was all automatic. Sigh. I see that this was reported 3 months ago. Sorry, I never saw it until now! |
comment:6
In 4.5.3.alpha3 this works fine:
thanks to the new Abelian Groups support. So this ticket can be closed as fixed. |
comment:7
I'm setting the resolution to "duplicate" and changing the milestone accordingly. |
The torsion subgroup of an elliptic curve appears to be quite broken -- it barfs when trying to coerce in 0,
further, it returns a mysterious 1 when coercing in a 1
Yet, it's all cool with the original curve.
Component: elliptic curves
Issue created by migration from https://trac.sagemath.org/ticket/5065
The text was updated successfully, but these errors were encountered: