Suppose I have a p-group and I want to investigate it in GAP and that I have a power commutator presentation written down for the group on paper, then what is the best way for me to construct this within GAP?
In particular as all but a few of the commutator relations are trivial, I do not want to have to type in all these trivial relations if I can avoid it (this is what I have done in the past when the group has been small, but I am sure there is a better way).
To make the question more concrete, suppose I have a presentation:
$a_{1}^{p}=1$ $a_{2}^{p}=a_{1}$ $a_{3}^{p}=a_{2}$ $a_{4}^{p}=1$
$[a_{2},a_{3}]=a_{1}, [a_{3},a_{4}]=a_{2}$ with all other commutator relations trivial.
How could I investigate this in GAP?
Thank you
If you create a PC group from scratch (not as quotient from an fp group, but via a collector) in fact you do not need to give the trivial relations. This is decribed in the manual section Constructing PC Groups, http://www.gap-system.org/Manuals/doc/ref/chap46.html#X8581887880556E0C but the easiest way to see how to do this is is probably by taking a Pc group
gand looking at the output ofPrint(GapInputPcGroup(g,"G"));For example, for $S_3$ you get (essentially)That is only one nontrivial
SetCommutator.