You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the bug report, and for isolating its location. The problem arises when the monic defining polynomial of the number field has nontrivial denominators in some of its coefficients. As a workaround, you can define the number field with a monic, integral polynomial:
sage: t = var('t')
sage: K.<a> = NumberField(t^4 + 40*t^3 + 560*t^2 + 3200*t + 8000)
sage: EK = EllipticCurve(K,[0,-3/2,0,1/2,0])
sage: print(EK.torsion_subgroup())
Torsion Subgroup isomorphic to Z/2 + Z/2 associated to the Elliptic Curve defined by
y^2 = x^3 + (-3/2)*x^2 + 1/2*x over Number Field in a with defining polynomial
t^4 + 40*t^3 + 560*t^2 + 3200*t + 8000
PS I uploaded a pull request to fix this, but if anyone has a smarter approach, they are welcome to close my PR and open a new one.
Steps To Reproduce
When writing:
Expected Behavior
I expect the code to give back the torsion subgroup over the number field.
Actual Behavior
Sagemath throws the following error:
y^2 = x^3 + 12*x^2 defines a singular curve
It appears that the error occurs at this line.
Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: