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
Change specification of declared constant and co #822
Change specification of declared constant and co #822
Conversation
I am not sure that the way I have adapted some proofs is optimal, in particular in Erasure, but those proofs are not very well structured, so it seems hard to organize better without a huge refactoring. |
I may be missing some context, but what is the issue with the existing definitions ? Are the |
The idea is that the use of lookup_global in the specification was a bit to concrete, using |
@yannl35133 sorry, I wanted to assign the PR to Yannick but I misclicked. |
Right, that makes more sense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The amount of unshelve epose proof (...); eauto
lets me think that there should be a primitive in Coq for something like that
Does this conflict with #816? |
This PR changes the definition of declared_constant and declared_minductive
to make us of
In
instead of the more operationallookup_env
approach.