Debian Codegraph @

examples/2gp-SP-d-Rel-i

raw
1 #Example: "2gp-SP-d-Rel-i" . . . based on: isom/red1.com
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, StandardPresentationFile
4 F := FreeGroup("a", "b", "c", "d");
5 rels := ["b^4", "b^2 * [b, a, a]^-1", "d^16", "a^16 * (c * d)^-1",
6 "b^8 * (d * c^4)^-1", "b * (a^2 * b^-1 * a^2)^-1"];
7 procId := PqStart(F : Prime := 2, Relators := rels);;
8 #comment: set a different print level by supplying <OutputLevel>
9 #add <OutputLevel> for <value> if set and ok
10 #PqSetOutputLevel(procId, value);;
11 PqSPComputePcpAndPCover(procId : ClassBound := 1);;
12 #comment: set a different `ClassBound' by supplying <ClassBound>
13 #comment: also save the presentation to a file by supplying <StandardPresentationFile>
14 PqSPStandardPresentation(procId, [ [[0,1],
15 [1,1]],
16
17 [[0,1],
18 [1,0]] ]
19
20 : # options
21 #add <StandardPresentationFile> for <value> if set and ok
22 # StandardPresentationFile := value,
23 #sub <ClassBound> for <10> if set
24 ClassBound := 10,
25 PcgsAutomorphisms);;