-
Notifications
You must be signed in to change notification settings - Fork 54
add Reflection theory #794
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
Conversation
@dfirsov and @dominique-unruh are you happy for this to be included in EC's source code and distributed under the terms of the MIT licence/license? It would be helpful if you could explicitly licence the original definitions and proofs under similarly permissive terms (BSD or MIT, or one of the permissive CCs), but agreement here is probably fine. Let us know, also, how you prefer this to be attributed. |
Yes, absolutely! Feel free to include our development in the EC's source code. It would be nice if you would just mention the respective eprint (https://ia.cr/2021/1078). |
Yes, you have my consent to include the paper under the MIT license. Sorry for the back and forth but Denis responded before seeing my email on the topic. |
This is absolutely not a problem—that's why I asked you both :) We'll attribute co-authorship in the commit message, and point to the peer-reviewed proceedings version of the paper in commit message and a comment. Thank you both for the contribution! |
Adapted from Unruh, Firsov, "Reflection, rewinding, and coin-toss in EasyCrypt, CPP 2022, doi: 10.1145/3497775.35036 Co-authored-by: Denis Firsov <denis.firsov@gmail.com> Co-authored-by: Dominique Unruh <9913676+dominique-unruh@users.noreply.github.com>
I used previous commits of yours for the (required) co-author email. @dfirsov, the email I found seems to be private. The main author email is hidden in the web-ui by default, but this is not the case for co-authors. If you'd like to hide your email can you follow the steps at this link to get me a github noreply email I can use? |
No, actually I don't want to hide my email and also my "Keep my email addresses private" setting is off. |
The theory allows you to lift probability expressions to distributions, entirely within the logic thanks to
bypr
with two arguments andrnd
.Unlike the existing
proc op
andrndsem
tactics this theory can handle calls to abstract modules. AFAICT the only real limitation in current EasyCrypt is the suboptimal UI. The distribution is provided through an existential in a lemma, so it cannot be used in top level operators and thus needs to be reintroduced in every lemma.Extracted and adapted from the artifacts of “Reflection, Rewinding, and Coin-Toss in EasyCrypt” by Denis Firsov and Dominique Unruh.
cc: @dfirsov @dominique-unruh