Skip to content
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

Change definition of IsPGroup to *not* require finiteness #1545

Merged
merged 1 commit into from
May 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions lib/grp.gd
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,18 @@ DeclareOperation( "KnowsHowToDecompose", [ IsGroup, IsList ] );
##
## <Description>
## <Index Key="p-group"><M>p</M>-group</Index>
## A <E><M>p</M>-group</E> is a finite group whose order
## (see&nbsp;<Ref Func="Size"/>) is of the form <M>p^n</M> for a prime
## integer <M>p</M> and a nonnegative integer <M>n</M>.
## A <E><M>p</M>-group</E> is a group in which the order
## (see&nbsp;<Ref Func="Order"/>) of every element is of the form <M>p^n</M>
## for a prime integer <M>p</M> and a nonnegative integer <M>n</M>.
## <Ref Prop="IsPGroup"/> returns <K>true</K> if <A>G</A> is a
## <M>p</M>-group, and <K>false</K> otherwise.
## <P/>
## Finite <M>p</M>-groups are precisely those groups whose order
## (see&nbsp;<Ref Func="Size"/>) is a prime power, and are always
## nilpotent.
## <P/>
## Note that <M>p</M>-groups can also be infinite, and in that case,
## need not be nilpotent.
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down