-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Implement period_lattice for elliptic curves over RealField, ComplexField, etc. #38474
base: develop
Are you sure you want to change the base?
Conversation
Documentation preview for this PR (built with commit 31441ba; changes) is ready! 🎉 |
The failing test looks unrelated to the changes, I think. |
@JohnCremona Perhaps you might be interested in this. |
I'll look at this next week |
Caveat:
What do you think? One way is to default
|
@JohnCremona Can I get a review? Thanks. |
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.
I am happy with this, assuming that old tests still pass. It is a good idea to change the behavious over number fields with no specified embedding: the choice to use the "first" one was quite random, probably introduced by me when I first did this. Certainly, when there is a default embedding for the number field, that is the one to use.
I think it is up to the original author to fix the failing tests, which do not look serious. My positive review was only in principle, once these things have been sorted out. |
Indeed the failing tests are not serious (it's just one error message over another). I didn't notice the test failure after merging the branch, sorry. Changing the behavior to only use coerce_embedding instead of arbitrarily pick the first embedding sounds like a good idea, I will implement it later. |
I decide to just fix the failing tests by relax the thing being tested for. The part of using canonical embedding feels like a behavioral change ⟹ deprecation period ⟹ etc. and it's probably easiest to handle it in a separate pull request. |
There are still some failing tests being flagged. Do they fail when run locally? |
I… use GitHub Actions to run the tests, sorry. Should really get around to figure out how to run it locally… |
The tests passed now, can someone add the "s: positive review" label? Thanks. |
I will -- but first can you merge with the base branch? |
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
On 32-bit:
|
Looks innocuous --- just add some appropriate I decide to add a lot more Actually I'm more surprised that the existing tests all pass — maybe because pari (or whatever being used) is guaranteed to return result within 0.51 ulp, which will make it deterministic as long as the result doesn't lie at the midpoint. |
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
…ealField, ComplexField, etc. Implement `E.period_lattice()` method for elliptic curves over other fields. (The code is mostly already there, just need minor adaptation.) ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. (not aware of one) - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#38474 Reported by: user202729 Reviewer(s): John Cremona
Implement
E.period_lattice()
method for elliptic curves over other fields.(The code is mostly already there, just need minor adaptation.)
📝 Checklist