Debian Codegraph @

examples/Nott-APG-Rel-i

raw
1 #Example: "Nott-APG-Rel-i" . . . based on: examples/pga_interactive
2 #Start point for Nottingham group
3 #Interactive construction of 40 5-groups of order 5^7
4 #vars: F, rels, procId;
5 #options: OutputLevel, OutputFile
6 F := FreeGroup("a", "b");
7 rels := ["a^5", "b^5", "[b, a, b]"];
8 procId := PqStart(F : Prime := 5, Relators := rels);;
9 #comment: set a different print level by supplying <OutputLevel>
10 PqPcPresentation(procId : ClassBound := 3,
11 #sub <OutputLevel> for <1> if set and ok
12 OutputLevel := 1);;
13 PqComputePCover(procId);;
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);;
17 PqPGSupplyAutomorphisms(procId, [ [[1,0,0,0],
18 [0,1,0,1]],
19
20 [[1,1,0,0],
21 [0,1,0,1]],
22
23 [[1,0,0,0],
24 [0,4,0,0]],
25
26 [[1,0,0,0],
27 [0,2,0,0]],
28
29 [[4,0,0,0],
30 [0,1,0,0]],
31
32 [[2,0,0,0],
33 [0,1,0,0]] ]);;
34 PqPGConstructDescendants(procId : ClassBound := 4,
35 CapableDescendants,
36 StepSize := 1,
37 PcgsAutomorphisms,
38 RankInitialSegmentSubgroups := 4);
39 PqPGSetDescendantToPcp(procId, 4, 1);;
40 PqAPGDegree(procId, 2, 3);
41 PqAPGPermutations(procId);;
42 PqAPGOrbits(procId : CustomiseOutput := rec(orbit := [1]));
43 PqAPGOrbitRepresentatives(procId);;
44 PqPGSetDescendantToPcp(procId);;
45 PqDisplayPcPresentation(procId);;
46 PqAPGSingleStage(procId : StepSize:=2, BasicAlgorithm,
47 CustomiseOutput := rec());;