Closed
Description
I just came across the following:
gap> G := FittingSubgroup(DihedralGroup(12));;
gap> HasIsNilpotentGroup(G);
false
As the Fitting subgroup is, by definition, nilpotent, the method should set the IsNilpotentGroup property to true. TraceMethods says that lib/grp.gi:966 is used, and indeed, IsNilpotentGroup is not set.
The same happens with the FrattiniSubgroup (called from lib/grppcatr.gi:136):
gap> G := FrattiniSubgroup(SmallGroup(192, 30));;
gap> HasIsNilpotentGroup(G);
false
I wonder, in general what kind of properties/attributes should be set by methods?
For example, is it possible to let GAP know that Sylow subgroups of FrattiniSubgroup(G) are normal in G? Or, is it possible to let GAP know that Socle of a nilpotent group is always central?
Metadata
Assignees
Labels
No labels