-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Frobenius endomorphism creation fail for infinite ring extension #34692
Comments
comment:1
Hi Antoine! I think that to make this works, you need to implement the |
comment:2
I investigated a bit further and, to make your above code work, I think that you simply need to implement the characteristic method for the class def characteristic(self):
return self._backend.characteristic() I cc'ed Xavier here because he implemented extensions of rings and therefore he might know a better way to solve this. |
comment:3
Thank you David for the input. I am happy to do it! A. |
Commit: |
comment:4
Here is a proposal. Let me know what you think. Best, New commits:
|
comment:5
Very minor detail: in the output field you could write instead
Also, I think that sometimes it is acceptable to omit the output field in the documentation when the output is relatively straightforward (but you can keep it like that, it's perfectly fine too). If you are happy with your changes you can put your ticket in "need review". The next step would be to wait for the build actions to finish. |
Author: Antoine Leudière |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Replying to David Ayotte:
I am so stupid.
I think this can help resolve any ambiguities.
Thanks a lot; it was mostly your work (comment [comment:2]). Best, Antoine New commits:
|
comment:9
Maybe, you should also have an example
Also you should add a doctest (in the section TESTS) demonstrating that the bug noticed in this ticket is fixed. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
For the last example, you don't need to create
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Looks good to me. Waiting for the patchbot. |
comment:14
Looks good to me too! The failed doctest of the patchbot is definitely not related to this ticket and all the Github actions passed. |
Reviewer: Xavier Caruso, David Ayotte |
comment:15
Copy that! Thank you for the review. Does that mean I can merge this branch into that of Drinfeld modules? I need the patch to fix some bugs. Or should I wait for something else? Best, Antoine |
comment:16
You can merge it an add this ticket number in the "dependencies" field of your ticket on Drinfeld modules. For more info, see https://doc.sagemath.org/html/en/developer/trac.html#the-ticket-fields |
Changed branch from public/ring-extension-characteristic to |
I wish to instantiate the Frobenius endomorphism of the field
Fq(X)
seen as a ring overFq[X]
. The following raises an exception:Best,
Antoine Leudière
CC: @DavidAyotte @xcaruso
Component: algebra
Author: Antoine Leudière
Branch/Commit:
ab2c211
Reviewer: Xavier Caruso, David Ayotte
Issue created by migration from https://trac.sagemath.org/ticket/34692
The text was updated successfully, but these errors were encountered: