-
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
Provide TrivialGroupCons for IsFpGroup #2037
Provide TrivialGroupCons for IsFpGroup #2037
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 fine, but why is there an IsFinite filter?
Codecov Report
@@ Coverage Diff @@
## master #2037 +/- ##
==========================================
- Coverage 66.03% 66.02% -0.01%
==========================================
Files 898 898
Lines 273398 273399 +1
Branches 12792 12792
==========================================
- Hits 180528 180525 -3
- Misses 90039 90042 +3
- Partials 2831 2832 +1
|
To be honest: simply because it's there in the other But I am not sure why it is there. I mean, in theory it affects the rank of this constructor (which is -1 times the rank of the first filter, i.e. of Perhaps @stevelinton has some insight? |
Would be nice to get feedback from @stevelinton Other than that, I wonder if I should target this at |
For a constructor it makes sense to put every filter that the returned object is guaranteed to have in that position. With the method as is, we get:
So having In fact, what seems to make sense is for each constructor to have a set of flags that should apply to any object produced by any method for that constructor (possibly not |
I'm inclined to say yes for going into stable-4.9 branch. Perhaps after 4.9.0 will be published, I'd be more conservative, but for now yes. @fingolfin could you please switch this PR to stable-4.9 branch? |
In particular, indicate if the groups are trivial / cyclic / abelian / elementary abelian. Also fix a bug in AbelianGroupCons for fp groups, which indicated that it always returns a finite group, which is not true (just pass in 0 resp. infinity as abelian invariant).
22458f3
to
05ab138
Compare
Updated:
Of course with these changes the PR becomes bigger. If people are concerned about this, I can also move some or all of the additional changes to a different PR. @stevelinton With this PR, |
@fingolfin my issue crossed with your PR update. I'd suggest making this change in stable-4.9 if checks pass and trying to get this properly sorted out in 4.10. |
No description provided.