Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a concrete, precise type for symmetries? #45

Open
kindaro opened this issue Sep 27, 2022 · 0 comments
Open

Add a concrete, precise type for symmetries? #45

kindaro opened this issue Sep 27, 2022 · 0 comments

Comments

@kindaro
Copy link

kindaro commented Sep 27, 2022

There is a way to define symmetries of finite sets not as pairs of hopefully inverse functions, but as concrete values. The magic of generalized algebraic data types lets us do it precisely. This is my draft. There are some property checks too.

It is not too hard to understand how to encode any permutation with this type. With a suitable notation, maybe it will even look good. Another advantage is that there is no «hopefully» — this definition is precise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant