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

Switch to inductive binary? #9

Open
clayrat opened this issue Sep 13, 2017 · 1 comment
Open

Switch to inductive binary? #9

clayrat opened this issue Sep 13, 2017 · 1 comment

Comments

@clayrat
Copy link
Contributor

clayrat commented Sep 13, 2017

There's a port of inductive binary number arithmetics in the works at https://github.com/sbp/idris-bi/, which I suspect will work much faster than Fin (though the analogue of Fin still has to be defined).

@clayrat
Copy link
Contributor Author

clayrat commented Oct 13, 2017

I'm currently doing the integers mod 2^n @idris-bi to express proofs for functions on machine bytes, which seems to be sufficient to translate the current version of this library - it only uses Mod 256 in ARC4.idr. I wonder however, if it'd be useful to implement a general mod n arithmetic as well? My guess is yes, if we would also want something like RSA or Diffie-Hellman?

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