-
Notifications
You must be signed in to change notification settings - Fork 77
1964 allow importing cryptol submodules into saw #2562
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
1964 allow importing cryptol submodules into saw #2562
Conversation
Note that you'll need to resolve the merge conflicts in order for the CI to run. |
The large merge conflict in Value.hs arises from this change:
which you can (please do) instead apply in the current |
9574f88
to
2cfa65b
Compare
cec1dcf
to
e0d3a84
Compare
e0d3a84
to
538b4a9
Compare
|
Are there changes needed to build/run with the Cryptol submodule bump? If so, do you want to apply them separately (so they can go on the release branch) or do we want to commit to merging this PR and backporting it onto the release branch? I would not be averse to including these changes in the release :-) but it means we probably need to merge them in the next couple days. |
…mmonalities. - Add haddock and other comments - Remove extraneous differences from the two functions - Pull out code into mkCryptolModule function - Add various FIXMEs - Various other refactors to make code easier to read
- rewrite `getNamingEnv` to use deps/cryptol code - bump deps/cryptol to include fix needed for the above - tests here should now be passing: intTests/test_saw_submodule_access{1,2}
- This fix doesn't fully solve the problem.
per @RyanGlScott code review.
- this done to make data dependencies clearer, and thus other refactorings more obviously correct.
f484512
to
9effbfd
Compare
... sorry, I'm not 100% sure I follow you: we talking about I've addressed @RyanGlScott 's most recent comments and am comfortable with this being merged. |
@RyanGlScott @sauclovian-g @brianhuffman
Right now, this comment is the "meta-question": this important? should I make an Issue with the above in it? |
Longer answer: Cryptol has several primitive functions, and nearly all of them have backend-specific implementations (i.e., SBV and What4 implementations) that translate each primitive to SMT-LIB. There are a small handful of primitive functions that lack backend-specific implementations, however. For these primitives,
This is where the implementations of the functions in (The code with the "Set up reference implementation redirections" comment you highlight above exists to populate the
If you'd like, please feel free to open a Cryptol issue to document |
@sauclovian-g did you want to review before I merge this? |
Probably I should but go ahead, anything I find will be minor and can be taken up later |
Uh oh!
There was an error while loading. Please reload this page.