Skip to content

Commit

Permalink
Add CharacteristicSubgroups to the reference manual
Browse files Browse the repository at this point in the history
Also fix typo in an example on its manpage, and add another example to it and
to NormalSubgroups which clearly shows the difference.
  • Loading branch information
fingolfin committed Jun 27, 2019
1 parent 662a665 commit d053675
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions doc/ref/groups.xml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ the series without destroying the properties of the series.
<#Include Label="NormalSubgroups">
<#Include Label="MaximalNormalSubgroups">
<#Include Label="MinimalNormalSubgroups">
<#Include Label="CharacteristicSubgroups">

<!-- %% Bettina Eick designed and wrote the code for maximal subgroups of a solvable -->
<!-- %% group. The code for normal subgroups <Cite Key="Hulpke98"/> and for subgroups of a -->
Expand Down
13 changes: 9 additions & 4 deletions lib/grp.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1875,9 +1875,12 @@ DeclareAttribute( "MinimalNormalSubgroups", IsGroup );
## <Description>
## returns a list of all normal subgroups of <A>G</A>.
## <Example><![CDATA[
## gap> g:=SymmetricGroup(4);;NormalSubgroups(g);
## gap> g:=SymmetricGroup(4);; NormalSubgroups(g);
## [ Sym( [ 1 .. 4 ] ), Alt( [ 1 .. 4 ] ),
## Group([ (1,4)(2,3), (1,2)(3,4) ]), Group(()) ]
## gap> g:=AbelianGroup([2,2]);; NormalSubgroups(g);
## [ Group([ ]), Group([ f1 ]), Group([ f2 ]), Group([ f1*f2 ]),
# Group([ f1, f2 ]) ]
## ]]></Example>
## <P/>
## The algorithm for the computation of normal subgroups is described in
Expand All @@ -1900,9 +1903,11 @@ DeclareAttribute( "NormalSubgroups", IsGroup );
## returns a list of all characteristic subgroups of <A>G</A>, that is
## subgroups that are invariant under all automorphisms.
## <Example><![CDATA[
## gap> g:=SymmetricGroup(4);;NormalSubgroups(g);
## [ Sym( [ 1 .. 4 ] ), Group([ (2,4,3), (1,4)(2,3), (1,3)(2,4) ]),
## Group([ (1,4)(2,3), (1,3)(2,4) ]), Group(()) ]
## gap> g:=SymmetricGroup(4);; CharacteristicSubgroups(g);
## [ Sym( [ 1 .. 4 ] ), Alt( [ 1 .. 4 ] ),
## Group([ (1,4)(2,3), (1,2)(3,4) ]), Group(()) ]
## gap> g:=AbelianGroup([2,2]);; CharacteristicSubgroups(g);
## [ Group([ ]), Group([ f1, f2 ]) ]
## ]]></Example>
## <P/>
## </Description>
Expand Down

0 comments on commit d053675

Please sign in to comment.