| 1 |
#Example: "PqPCover" . . . based on `PqPCover' manual example |
| 2 |
#vars: F, a, b, procId1, procId2, procId3, procId4, G, R, H, rels; |
| 3 |
#options: |
| 4 |
F := FreeGroup("a", "b"); a := F.1; b := F.2; |
| 5 |
#alt: do |
| 6 |
#procId1 := PqStart( F ); |
| 7 |
#alt: sub <procId1> for <F> |
| 8 |
PqPCover( F : Prime := 2, ClassBound := 3 ); |
| 9 |
|
| 10 |
## Now let's get a p-cover of a p-quotient of an fp group |
| 11 |
G := F / [a^4, b^4]; |
| 12 |
#alt: do |
| 13 |
#procId2 := PqStart( G ); |
| 14 |
#alt: sub <procId2> for <G> |
| 15 |
PqPCover( G : Prime := 2, ClassBound := 3 ); |
| 16 |
|
| 17 |
## Now let's get a p-cover of a different p-quotient of the same group |
| 18 |
#alt: sub <procId2> for <G> |
| 19 |
PqPCover( G : Prime := 2, ClassBound := 3, |
| 20 |
#alt: do |
| 21 |
# RedoPcp, |
| 22 |
Exponent := 4 ); |
| 23 |
|
| 24 |
## Now we'll get a p-cover of a p-quotient of another fp group |
| 25 |
## which we will redo using the `Relators' option |
| 26 |
R := [ a^25, Comm(Comm(b, a), a), b^5 ]; |
| 27 |
H := F / R; |
| 28 |
#alt: do |
| 29 |
#procId3 := PqStart( H ); |
| 30 |
#alt: sub <procId3> for <H> |
| 31 |
PqPCover( H : Prime := 5, ClassBound := 5, Metabelian ); |
| 32 |
|
| 33 |
## Now we redo the previous example using the `Relators' option |
| 34 |
F := FreeGroup("a", "b"); |
| 35 |
rels := [ "a^25", "[b, a, a]", "b^5" ]; |
| 36 |
#alt: do |
| 37 |
#procId4 := PqStart( F ); |
| 38 |
#alt: sub <procId4> for <F> |
| 39 |
PqPCover( F : Prime := 5, ClassBound := 5, Metabelian, |
| 40 |
Relators := rels ); |