https://github.com/stewsquared/twisty-groups
Code for my talk "Solving the Rubik's Cube with Group Theory"
https://github.com/stewsquared/twisty-groups
Last synced: about 1 year ago
JSON representation
Code for my talk "Solving the Rubik's Cube with Group Theory"
- Host: GitHub
- URL: https://github.com/stewsquared/twisty-groups
- Owner: stewSquared
- Created: 2019-04-12T01:57:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-19T20:07:55.000Z (over 4 years ago)
- Last Synced: 2025-03-26T06:51:11.859Z (about 1 year ago)
- Language: Scala
- Homepage: https://nescala.io/talks.html#rubiks
- Size: 63.5 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
`sbt run` presents commutator solutions for corner permutations
`sbt console` loads a console with convenient imports
```scala
val p = Perm(1,2,3)(4,5,6) // creating a Perm
p * p
p.inverse
val alg = R.U.R3.U3 // Alternatively, use *
val comm = Comm(alg, D).conjBy(U2) // conjugated commutator
val cornerPerms = comm.state.corners.permutation
```
## Presentations
### SBTB 2021
[Abstract](https://emamo.com/event/scale-by-the-bay/s/solving-the-rubiks-cube-with-group-theory-oGERea)
[Slides org file](presentation-sbtb-2021.org)
[Perm Worksheet](src/main/scala/twistygroups/example/perm.worksheet.sc)
[Solution Worksheet](src/main/scala/twistygroups/example/solution.worksheet.sc)
For additional commentary and examples, see my full [presentation notes](https://raw.github.com/stewSquared/twisty-groups/sbtb-2021/presentation-notes.org)
### NE Scala 2019
[Abstract](https://nescala.io/talks.html#rubiks)
[Slides org file](presentation.org)