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

No canonical conversion from ℚ to ‾𝔽ₚ? #38373

Open
2 tasks done
user202729 opened this issue Jul 15, 2024 · 1 comment
Open
2 tasks done

No canonical conversion from ℚ to ‾𝔽ₚ? #38373

user202729 opened this issue Jul 15, 2024 · 1 comment

Comments

@user202729
Copy link
Contributor

user202729 commented Jul 15, 2024

Steps To Reproduce

p = 2**127 - 1
F = GF(p)

F.algebraic_closure()(F(5/2))  # okay
F.algebraic_closure()(5/2)  # error?

Expected Behavior

The last line also works.

Actual Behavior

The last line errors out.

Side note, the motivation is the following.

p = 2**5-1
F = GF(p)
E = EllipticCurve(F, [0, 6, 0, 1, 0])
E.change_ring(F.algebraic_closure()).isogenies_prime_degree(5)  # errors?

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
@JohnCremona
Copy link
Member

I agree that there should be a conversion from QQ to any field of characteristic p which works for rationals with non-negative valuation, i.e. with denominator prime to p.

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

3 participants