Debian Codegraph @

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

raw
1 #Example: "5gp-SP-d-Rel-i" . . . based on: isom/5gp_d
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, StandardPresentationFile
4 F := FreeGroup("a", "b");
5 rels := ["a^25", "[b, a, a, a, b]", "[b, a, b, b, b]",
6 "[b, a, b, a]", "b^5 * [a, b, a]^-1"];
7 procId := PqStart(F : Prime := 5, 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 := 2);;
12 #comment: set a different `ClassBound' by supplying <ClassBound>
13 #comment: also save the presentation to a file by supplying <StandardPresentationFile>
14 PqSPStandardPresentation(procId, [ [[1,0,0,1],
15 [0,1,0,0]],
16
17 [[1,0,0,0],
18 [0,1,0,1]],
19
20 [[1,3,0,0],
21 [0,1,0,0]],
22
23 [[1,3,0,0],
24 [0,4,0,0]],
25
26 [[1,2,0,0],
27 [0,3,0,0]],
28
29 [[4,0,0,0],
30 [0,1,0,0]],
31
32 [[3,0,0,0],
33 [0,1,0,0]] ]
34
35 : # options
36 #add <StandardPresentationFile> for <value> if set and ok
37 # StandardPresentationFile := value,
38 #sub <ClassBound> for <20> if set
39 ClassBound := 20,
40 PcgsAutomorphisms);;