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

lean4 submodule bump tweaks (for Lean4 commit ec9f4b579dc6b4a20407d27… #16

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

pnwamk
Copy link
Contributor

@pnwamk pnwamk commented Apr 28, 2020

…35f8ad91de29bfdb5)

@@ -574,7 +574,7 @@ obj_res lean_llvm_decomposeValue(b_obj_arg v_obj, obj_arg r) {

// argument_value : Nat -> value_decomposition
x = alloc_cnstr(2, 1, 0);
cnstr_set_scalar(x, 0, box(a->getArgNo()));
cnstr_set(x, 0, box(a->getArgNo()));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change I'm not positive is correct =\

Here is a commit removing various usages of cnstr_get_scalar and cnstr_set_scalar right before the commit that removed those two template functions from lean4: leanprover/lean4@16d88b0

Those don't end up using cnstr_set... however, there is other code in the test directories that seems very similar to what we're doing here, e.g. https://github.com/leanprover/lean4/blob/ec9f4b579dc6b4a20407d2735f8ad91de29bfdb5/src/tests/util/object.cpp#L266

So yah, I'm not sure.

@pnwamk pnwamk requested a review from robdockins April 28, 2020 15:48
@pnwamk
Copy link
Contributor Author

pnwamk commented Apr 28, 2020

Also, this PR builds with the associated bumps in reopt-vcg: GaloisInc/reopt-vcg#57

That's obviously not running any tests though =\

@pnwamk pnwamk merged commit 4ecb247 into GaloisInc:master Apr 30, 2020
@pnwamk pnwamk deleted the lean4-bump branch April 30, 2020 18:23
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

Successfully merging this pull request may close these issues.

1 participant