-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add LowIndexNormalSubs
operation
#59
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #59 +/- ##
==========================================
+ Coverage 93.92% 94.46% +0.54%
==========================================
Files 12 12
Lines 1596 1608 +12
==========================================
+ Hits 1499 1519 +20
+ Misses 97 89 -8
|
@fingolfin, we have one problem: |
We probably want to have two operations, one for computing all normal subgroups with index at most The package Gap lib has the operations/functions In my opinion, the behaviour of all |
I generally agree that consistent behavior would be better, but that ship has sailed for now. Perhaps over time we can carefully re-engineer the code in the GAP library and in polycyclic to offer an optional argument which allows choosing different behaviors -- e.g. choose whether to all subgroups of index BTW I had a look at the polycyclic source code, and it actually computes all normal subgroups of any index dividing So perhaps we should just use a different name for now and implement our ideal version there. I don't have a great suggestion, though... Perhaps |
We agreed to use GAP options to allow the user to customize the behavior |
Since |
a2ec321
to
0ec296e
Compare
LowIndexNormalSubgroups
operationLowIndexNormalSubs
operation
6aad6fe
to
d5df4a5
Compare
- Rename `LowIndexNormalSubgroups` -> `LowIndexNormalSubs` - Add option `allSubgroups` to `LowIndexNormalSubs` - Add documentation for `LowIndexNormalSubs` - Move previous examples to advanced section - Add simplfied examples in introduction using the new high-level function
d5df4a5
to
f4419e9
Compare
385cd4d
to
796a01f
Compare
796a01f
to
c9de9a4
Compare
|
||
gap> G := DihedralGroup(IsPermGroup, 20); | ||
Group([ (1,2,3,4,5,6,7,8,9,10), (2,10)(3,9)(4,8)(5,7) ]) | ||
gap> L := LowIndexNormalSubs(G, 10); |
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.
This kind of test is fragile and prone to break when GAP improvements lead to different generating sets. I would recommend to hide the outputs in these cases and instead test for suitable properties (which you already do by calling Index)
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.
Yes, usually I do this, I just thought that for such a small example it might actually be useful to also check the representations of the subgroups. I can remove these parts.
Closes #57