-
Notifications
You must be signed in to change notification settings - Fork 162
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
Enhance HasXXFactorGroup #1066
Enhance HasXXFactorGroup #1066
Conversation
Further, if the answer is |
Thank you for this. Why should N not contain the identity? It is a normal subgroup. |
@hulpke Yes, it should. All I am saying is that currently it is not checked whether the given But this may just be my too active imagination. |
Is there a reason why there is no coverage report on this PR after a day? |
I've tried giving it a kick. |
@ChrisJefferson Thank you. After 10 hours, still nothing. :-( What is supposed to be the timeframe for codecov? Previously it looked to me that a couple hours and it produced its output. |
Codecov normally runs immediately once Travis and AppVeyor are complete (and it is AppVeyor which takes hours). |
1b559fe
to
58cb444
Compare
Current coverage is 54.48% (diff: 100%)@@ master #1066 diff @@
==========================================
Files 430 430
Lines 224650 224674 +24
Methods 3431 3431
Messages 0 0
Branches 0 0
==========================================
+ Hits 122383 122406 +23
- Misses 102267 102268 +1
Partials 0 0
|
s := DerivedSeriesOfGroup(G); | ||
l := Length(s); | ||
return IsSubgroup(N,s[l]); | ||
D := G; |
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.
Hmm, seems my earlier comment on this got lost? I suggested to check HasDerivedSeriesOfGroup
here and if true, fallback to the previous code, which could be more efficient here. Thinking about it now, though, I think it might be faster in some cases but could also be slower in others... hmmm
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.
It does make sense in that case to check whether the last term of the derived series of G is in N, even if it might be slower in rare situations. Anyway, added to the commit, force pushed.
f3795b8
to
bfdcca0
Compare
HasSolvableFactorGroup computes commutators iteratively, and checks if they are in the normal subgroup. If DerivedSeries is already known, then checks if its last term is in N. HasAbelianFactorGroup and HasElementaryAbelianFactorGroup returns true if group is already known to be abelian or elementary abelian. The latter previously errored out if normal subgroup was the whole group, fixed. Tests are added.
bfdcca0
to
463d548
Compare
This looks fine to me now. Any objections to merging it? @hulpke ? |
Please make sure that this pull request:
Tick all what applies to this pull request
Write below the description of changes (for the release notes)
HasSolvableFactorGroup
computes commutators iteratively, and checks ifthey are in the normal subgroup. If
DerivedSeries
is already known,then checks if its last term is in
N
.HasAbelianFactorGroup
andHasElementaryAbelianFactorGroup
returns true ifgroup is already known to be abelian or elementary abelian. The latter
previously errored out if normal subgroup was the whole group, fixed.
Tests are added.
Fixes the last lingering part of #591 and applies @hulpke's suggestion from #1062.