Debian Codegraph @

examples/5gp-a-Rel-i

raw
1 #Example: "5gp-a-Rel-i" . . . based on: examples/5gpA
2 #vars: F, rels, procId;
3 #options: OutputLevel, OutputFile
4 F := FreeGroup("a", "b");
5 rels := ["a^5", "b^5", "(a * b)^5", "(a * b^2)^5", "(a * b^-2)^5",
6 "(a * b^-1)^5", "(a^2 * b)^5", "(a^2 * b^2)^5", "(a^2 * b^-2)^5",
7 "(a^2 * b^-1)^5", "(a * b * a^-1 * b^2)^5",
8 "(a * b * a^2 * b^-1)^5", "(a * b * a^2 * b^2)^5",
9 "(a * b * a * b^-1)^5", "(a * b * a^-1 * b)^5",
10 "(a * b * a^-1 * b^-1)^5"];
11 procId := PqStart(F : Prime := 5, Relators := rels);;
12 #comment: also set a different print level by supplying <OutputLevel>
13 PqPcPresentation(procId : ClassBound := 5,
14 #sub <OutputLevel> for <1> if set and ok
15 OutputLevel := 1);;
16 PqNextClass(procId);; #class 6
17 PqNextClass(procId);; #class 7
18 PqNextClass(procId);; #class 8
19 PqNextClass(procId);; #class 9
20 PqNextClass(procId);; #class 10
21 #comment: save the presentation to a different file by supplying <OutputFile>
22 #sub <OutputFile> for <ANUPQData.outfile> if set and ok
23 PqSavePcPresentation(procId, ANUPQData.outfile);;