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