Skip to content
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

Points on an elliptic curve over an extension field lie in the wrong point homset #37427

Open
pjbruin opened this issue Feb 22, 2024 · 1 comment

Comments

@pjbruin
Copy link
Contributor

pjbruin commented Feb 22, 2024

In Sagemath 10.3.beta8:

sage: R.<x> = QQ[]
sage: K.<a> = NumberField(x^2 + x - 24)
sage: E = EllipticCurve('37a')
sage: X = E(K)
sage: P = X([3, a])
sage: P in X
False
sage: P.parent() == X
False

This is related to the fact that K is not the base field QQ of the curve, and we do get the correct output for points over QQ:

sage: Q = E(QQ)([0, 0])
sage: Q in E(QQ)
True
@pjbruin
Copy link
Contributor Author

pjbruin commented Feb 22, 2024

There is a difference in the codomains of X and P:

sage: X.codomain()
Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field
sage: P.codomain()
Elliptic Curve defined by y^2 + y = x^3 + (-1)*x over Number Field in a with defining polynomial x^2 + x - 24

There is also a more subtle difference in the domains:

sage: X.domain()
Spectrum of Number Field in a with defining polynomial x^2 + x - 24
sage: P.domain()
Spectrum of Number Field in a with defining polynomial x^2 + x - 24
sage: X.domain() == P.domain()
False

The output False is explained by a difference in base rings:

sage: X.domain().base_ring()
Rational Field
sage: P.domain().base_ring()
Number Field in a with defining polynomial x^2 + x - 24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant