-
Notifications
You must be signed in to change notification settings - Fork 160
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
Not all finitely generated magmas are groups (alternative to PR #2276) #2311
Not all finitely generated magmas are groups (alternative to PR #2276) #2311
Conversation
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.
Looks good to me.
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.
The code is correct after these changes,
in this sense I could approve them,
as an intermediate solution.
On the other hand, the drawback is the forced
associativity check in the construction.
d3ecc64
to
09ebab4
Compare
Codecov Report
@@ Coverage Diff @@
## master #2311 +/- ##
==========================================
+ Coverage 72.52% 72.52% +<.01%
==========================================
Files 478 478
Lines 246816 246818 +2
==========================================
+ Hits 179003 179009 +6
+ Misses 67813 67809 -4
|
@ThomasBreuer you are of course right; and this forced check also changes the outputs of various tests (causing them to fail), and indeed can produce a hang if the associativity check is difficult. I have now replaced this by what should have been in the first version of this PR: a check for Thanks for the careful reviewing, I really appreciate it! |
... hence we should not set IsFinitelyGeneratedGroup for them. Instead, only set IsFinitelyGeneratedGroup if the final magma is actually a group (i.e., associative).
09ebab4
to
61372f5
Compare
... hence we should not set IsFinitelyGeneratedGroup for them.
Instead, only set IsFinitelyGeneratedGroup if the final magma
is actually a group (i.e., associative).
This is an alternative to PR #2276
Fixes #2252, closes #2276