examples/B2-4-Id
raw| 1 | #Example: "B2-4-Id" . . . alternative way to generate B(2, 4) |
| 2 | #Generates B(2, 4) by using the `Identities' option |
| 3 | #... this is not as efficient as using `Exponent' but |
| 4 | #demonstrates the usage of the `Identities' option. |
| 5 | #vars: F, f, procId; |
| 6 | #options: |
| 7 | F := FreeGroup("a", "b"); |
| 8 | ## All words w in the pc generators of B(2, 4) satisfy f(w) = 1 |
| 9 | f := w -> w^4; |
| 10 | #alt: do |
| 11 | #procId := PqStart( F ); |
| 12 | #alt: sub <procId> for <F> |
| 13 | Pq( F : Prime := 2, Identities := [ f ] ); |