Debian Codegraph @

examples/3gp-Rel-i

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