Repository navigation
Fix Embedding and Projection of pc group direct products to not error or return corrupted results - #6790
Open
fingolfin wants to merge 1 commit into
Open
Fix Embedding and Projection of pc group direct products to not error or return corrupted results#6790fingolfin wants to merge 1 commit into
Embedding and Projection of pc group direct products to not error or return corrupted results#6790fingolfin wants to merge 1 commit into
Conversation
For a direct product D of pc groups, `Embedding` and `Projection` took the generators of each factor from `Pcgs(D)`, at their positions in the defining presentation. If `Pcgs(D)` is not the family pcgs, they mapped to the wrong elements, and the embedding was not even a homomorphism: after `SetPcgs(dp, SpecialPcgs(FamilyPcgs(dp)))` for the direct product of the extraspecial group 2^3+ and C4, `Embedding(dp, 2)` mapped C4 onto a Klein four group. Before #6002, `SpecialPcgs` replaced `Pcgs(dp)` in this way, which is how #6000 arose. Use `FamilyPcgs(D)`, whose order is that of the presentation. Pc group semidirect products are not affected, as their `Pcgs` is set to the family pcgs on construction. Fixes #6000 Assisted-by: Generative AI
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6790 +/- ##
==========================================
- Coverage 79.72% 79.72% -0.01%
==========================================
Files 684 684
Lines 295592 295587 -5
Branches 8660 8660
==========================================
- Hits 235650 235642 -8
Misses 58126 58126
- Partials 1816 1819 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
For a direct product D of pc groups,
EmbeddingandProjectiontook the generators of each factor fromPcgs(D), at their positions in the defining presentation. IfPcgs(D)is not the family pcgs, they mapped to the wrong elements, and the embedding was not even a homomorphism: afterSetPcgs(dp, SpecialPcgs(FamilyPcgs(dp)))for the direct product of the extraspecial group 2^3+ and C4,Embedding(dp, 2)mapped C4 onto a Klein four group. Before #6002,SpecialPcgsreplacedPcgs(dp)in this way, which is how #6000 arose.Use
FamilyPcgs(D), whose order is that of the presentation. Pc group semidirect products are not affected, as theirPcgsis set to the family pcgs on construction.Fixes #6000
Assisted-by: Generative AI