-
-
Notifications
You must be signed in to change notification settings - Fork 637
Limit the use of RingExtensions in Drinfeld modules #40421
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
Open
xcaruso
wants to merge
2
commits into
sagemath:develop
Choose a base branch
from
xcaruso:ore_not_extension
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failing test unrelated to this contribution; PR accepted. |
kryzar
approved these changes
Jul 16, 2025
This was referenced Jul 17, 2025
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jul 18, 2025
sagemathgh-40421: Limit the use of RingExtensions in Drinfeld modules Behaviour before this PR: If `phi` is a Drinfeld module, the method `phi.ore_polring()` used to return an Ore polynomial ring with coefficients in `RingExtension`. This causes a lot of headache because currently an instance of `RingExtension` does not always belong to the appropriate category and, consequently, does not implement all relevant methods and/or is not recognized as what it actually is (e.g. a finite field). In this PR, we propose a simple fix: we let `phi.ore_polring()` return an Ore polynomial ring over the underlying regular field. This only changes the way things are printed, but does not alter the user interface. We will maybe come back later to the original implementation when `RingExtension` will be fixed (which does not seem to be straightforward). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40421 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jul 18, 2025
sagemathgh-40430: Use the variable name τ instead of t for Drinfeld modules In the theory of Drinfeld module, the classical name of the noncommutative variable is `τ`. However, in Sage, we currently use `t`, which might conflict with other standard notations (often the variable name of the underlying function ring is denoted by `t`). In this PR, we propose to shift to the notation `τ`. It just changes how the outputs are printed (by default), not the interface. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies sagemath#40420, sagemath#40421 URL: sagemath#40430 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jul 20, 2025
sagemathgh-40421: Limit the use of RingExtensions in Drinfeld modules Behaviour before this PR: If `phi` is a Drinfeld module, the method `phi.ore_polring()` used to return an Ore polynomial ring with coefficients in `RingExtension`. This causes a lot of headache because currently an instance of `RingExtension` does not always belong to the appropriate category and, consequently, does not implement all relevant methods and/or is not recognized as what it actually is (e.g. a finite field). In this PR, we propose a simple fix: we let `phi.ore_polring()` return an Ore polynomial ring over the underlying regular field. This only changes the way things are printed, but does not alter the user interface. We will maybe come back later to the original implementation when `RingExtension` will be fixed (which does not seem to be straightforward). ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40421 Reported by: Xavier Caruso Reviewer(s): Antoine Leudière
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Behaviour before this PR:
If
phi
is a Drinfeld module, the methodphi.ore_polring()
used to return an Ore polynomial ring with coefficients inRingExtension
.This causes a lot of headache because currently an instance of
RingExtension
does not always belong to the appropriate category and, consequently, does not implement all relevant methods and/or is not recognized as what it actually is (e.g. a finite field).In this PR, we propose a simple fix: we let
phi.ore_polring()
return an Ore polynomial ring over the underlying regular field. This only changes the way things are printed, but does not alter the user interface.We will maybe come back later to the original implementation when
RingExtension
will be fixed (which does not seem to be straightforward).📝 Checklist