-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
generalize EllipticCurve_field.division_field() to composite orders #35936
generalize EllipticCurve_field.division_field() to composite orders #35936
Conversation
7266f83
to
bb9dc2a
Compare
I am looking at this now... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me -- makes me wonder why Jeroen Demeyer only did the special case originally.
In particular, I like the new version of "my" theorem from back in 2014, and I agree with the formula for the order of GL(2,Z/l^e).
Merge conflict |
bb9dc2a
to
1371efb
Compare
Trivial rebase. |
As far as I can see the Build & test failures are nothing to do with this PR. |
On 32-bit:
|
…ield_to_composite_orders SageMath version 10.2.rc0, Release Date: 2023-11-05
Does the automatic testing inclde 32-bit testing? I hope so. I'll be happy with this once tests pass (and I know that I said that before the necessary fix in 560bf2a). |
Documentation preview for this PR (built with commit dfd4aa5; changes) is ready! 🎉 |
I don't think it does, but from experience it looks like @vbraun will run tests on a 32-bit machine manually. Anyway, if the result consistently matches the one in #35936 (comment) then the updated doctest should definitely pass... |
@vbraun Can you explain the "needs work" tag? |
I interpreted the "needs work" label to be for the failing 32-bit doctest, which should be fixed now. |
…composite orders The `.division_field()` method is currently restricted to prime orders for no serious reason. This patch makes it work for composite orders, generalizing [an observation of @JohnCremona](https://github.com/sagemat h/sage/issues/11905#issuecomment-1417417647) in the process. Note: I'm not sure if this is the optimal approach. I also played around with building the extension as a tower corresponding to the factorization of $n$, but (at least in Sage) it seemed significantly slower than the version here. Fixes sagemath#24340. URL: sagemath#35936 Reported by: Lorenz Panny Reviewer(s): John Cremona
On recent betas (at least 10.3.beta5 and beta6) but not on 10.2:
FWIW, 528238639 is prime. |
That looks like #36832. |
Thanks, I searched |
The
.division_field()
method is currently restricted to prime orders for no serious reason. This patch makes it work for composite orders, generalizing an observation of @JohnCremona in the process.Note: I'm not sure if this is the optimal approach. I also played around with building the extension as a tower corresponding to the factorization of$n$ , but (at least in Sage) it seemed significantly slower than the version here.
Fixes #24340.