Debian Codegraph @

examples/3gp-SP-4-Rel-i

raw
1 #Example: "3gp-SP-4-Rel-i" . . . based on: isom/3gp.test
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, StandardPresentationFile
4 F := FreeGroup("a", "b");
5 rels := ["(b * [b, a] * [b, a, b])^3", "([b, a] * [b, a, b]^2)^3",
6 "[b, a, a]"];
7 procId := PqStart(F : Prime := 3, 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, [ [[2,0],
15 [0,2]],
16
17 [[0,2],
18 [1,0]],
19
20 [[1,2],
21 [2,2]],
22
23 [[1,0],
24 [2,1]],
25
26 [[2,0],
27 [0,1]] ]
28
29 : # options
30 #add <StandardPresentationFile> for <value> if set and ok
31 # StandardPresentationFile := value,
32 #sub <ClassBound> for <7> if set
33 ClassBound := 7,
34 PcgsAutomorphisms);;