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