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 4ba1d69 commit 6c576b1
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 @@ -1817,7 +1817,7 @@ DeclareAttribute( "NilpotencyClassOfGroup", IsGroup );
## abelian or solvable, then these should be computed before computing the
## maximal normal subgroups.
## <Example><![CDATA[
## gap> MaximalNormalSubgroups( g );
## gap> g:=SymmetricGroup(4);; MaximalNormalSubgroups( g );
## [ Group([ (1,2,3), (2,3,4) ]) ]
## gap> f := FreeGroup("x", "y");; x := f.1;; y := f.2;;
## gap> List(MaximalNormalSubgroups(f/[x^2, y^2]), GeneratorsOfGroup);
Expand Down Expand Up @@ -1856,7 +1856,7 @@ DeclareAttribute( "NormalMaximalSubgroups", IsGroup );
## is a list containing those nontrivial normal subgroups of the group <A>G</A>
## that are minimal among the nontrivial normal subgroups.
## <Example><![CDATA[
## gap> MinimalNormalSubgroups( g );
## gap> g:=SymmetricGroup(4);; MinimalNormalSubgroups( g );
## [ Group([ (1,4)(2,3), (1,3)(2,4) ]) ]
## ]]></Example>
## </Description>
Expand All @@ -1877,9 +1877,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,3)(2,4) ]), Group(()) ]
## gap> g:=AbelianGroup([2,2]);; NormalSubgroups(g);
## [ <pc group of size 4 with 2 generators>, Group([ f2 ]),
## Group([ f1*f2 ]), Group([ f1 ]), Group([ ]) ]
## ]]></Example>
## <P/>
## The algorithm for the computation of normal subgroups is described in
Expand All @@ -1902,9 +1905,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);
## gap> g:=SymmetricGroup(4);; CharacteristicSubgroups(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:=AbelianGroup([2,2]);; CharacteristicSubgroups(g);
## [ <pc group of size 4 with 2 generators>, Group([ ]) ]
## ]]></Example>
## <P/>
## </Description>
Expand Down

0 comments on commit 6c576b1

Please sign in to comment.