#Example: "5gp-metabelian-Rel-i" . . . based on: examples/metabelian
#Demonstrates usage of `PqSetMetabelian'.
#vars: F, rels, procId, class;
#options: OutputLevel, OutputFile
F := FreeGroup("a", "b");
rels := ["a^625", "b^625", "[b, a, b]", "[b, a, a, a, a] * [b, a]^-5"];
procId := PqStart(F : Prime := 5, Relators := rels);
#comment: set a different print level by supplying <OutputLevel>
PqPcPresentation(procId : ClassBound := 1, 
#sub <OutputLevel> for <1> if set and ok
                          OutputLevel := 1);;
PqSetMetabelian(procId);
for class in [2 .. 14] do
  PqNextClass(procId);
od;
#comment: save the presentation to a different file by supplying <OutputFile>
#sub <OutputFile> for <ANUPQData.outfile> if set and ok
PqSavePcPresentation(procId, ANUPQData.outfile);;
