Debian Codegraph @

examples/StandardPresentation-i

raw
1 #Example: "StandardPresentation-i" . . . based on manual example
2 #(demonstrates `StandardPresentation' interactive usage)
3 #vars: F4, a, b, c, d, G4, procId, lev;
4 #options:
5 F4 := FreeGroup( "a", "b", "c", "d" );
6 a := F4.1; b := F4.2; c := F4.3; d := F4.4;
7 G4 := F4 / [ b^4, b^2 / Comm(Comm (b, a), a), d^16,
8 a^16 / (c * d), b^8 / (d * c^4) ];
9 procId := PqStart( G4 );;
10 Pq( procId : Prime := 2, ClassBound := 1 );
11 ## the computed p-quotient is ``remembered'' and supplies the
12 ## `pQuotient' option to `StandardPresentation' ...
13 StandardPresentation( procId : ClassBound := 14 );
14 ## `StandardPresentation' and `EpimorphismStandardPresentation'
15 ## behave like attributes, so no computation is done when
16 ## either is called again for the same process ...
17 lev := InfoLevel(InfoANUPQ);
18 SetInfoLevel(InfoANUPQ, 2);; # To see computation time
19 EpimorphismStandardPresentation( procId : ClassBound := 14 );
20 ## No timing data was Info-ed since no computation was done
21 SetInfoLevel(InfoANUPQ, lev);; # Restore previous InfoANUPQ level
22