Fix RingGeneralMappingByImages for non-SCRing#6418
Open
fingolfin wants to merge 1 commit into
Open
Conversation
A filter was computed but not used. The filter that was used instead always implied IsSCRingGeneralMappingByImagesDefaultRep which is too broad. As a result, inappropriate methods were applied to some ring homomorphisms. Also add an example for using RingByStructureConstants.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6418 +/- ##
==========================================
- Coverage 78.89% 78.89% -0.01%
==========================================
Files 685 685
Lines 293554 293551 -3
Branches 8672 8672
==========================================
- Hits 231592 231586 -6
Misses 60156 60156
- Partials 1806 1809 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
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.
A filter was computed but not used. The filter that was used instead always implied IsSCRingGeneralMappingByImagesDefaultRep which is too broad. As a result, inappropriate methods were applied to some ring homomorphisms.
Also add an example for using RingByStructureConstants.
Motivated by a report by Stefan Witzel on the GAP Forum. He wanted to do this:
but in all cases got errors of the form
This PR does not include a test case, because the example still error, but now with a "no method found" error:
While one can solve that one by doing
SetGeneratorsOfAdditiveGroup(Integers, [1]);, one just runs into the next "method not found". Similar for the finite ringsR,S, where one gets a little bit farther, but not much.So in the end, this is simply a missing feature, which is not great, but at least explicable.
A workaround can be to use rings created via
RingByStructureConstants, for those more functionality exists: