Created
March 11, 2018 22:14
-
-
Save ChristopherKing42/756da4ec1fd8a5d73c5923a920cea22e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sides = 7 | |
order = 3 | |
F.<rotate,move> = FreeGroup(2) | |
G = F/[rotate**sides, move**2, (rotate*move)**order] | |
k = G.rewriting_system() | |
k.make_confluent() | |
print k | |
print [(x.Tietze(), y.Tietze()) for x,y in k.rules().items()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try it at https://sagecell.sagemath.org/. Here's the output with sides=7 and order=3: