-
Notifications
You must be signed in to change notification settings - Fork 161
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
Finite groups of order not divisible by 4 are solvable #2496
Finite groups of order not divisible by 4 are solvable #2496
Conversation
lib/grp.gi
Outdated
## index 2, hence |N| = m. | ||
## | ||
## By the odd order theorem, N is solvable, and so is G. Thus the order of | ||
## any non-solvable finite group is a multiple of 4. | ||
InstallImmediateMethod( IsSolvableGroup, IsGroup and HasSize, 10, | ||
function( G ) | ||
G:= Size( 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.
I appreciate that this is not code added in the patch, but personally I really don't like
this reuse of G. Adding a new local variable would add one line of source and 8 bytes of stack frame.
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.
Agreed.
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.
and done
fd661b0
to
53d077f
Compare
Codecov Report
@@ Coverage Diff @@
## master #2496 +/- ##
==========================================
+ Coverage 74.27% 74.27% +<.01%
==========================================
Files 484 484
Lines 245343 245343
==========================================
+ Hits 182217 182218 +1
+ Misses 63126 63125 -1
|
53d077f
to
e456443
Compare
This is a simple extension of the odd order theorem. See comment inside the patch.
This is a simple extension of the odd order theorem. See comment
inside the patch.