experiment with HITs and rewritng rules#2098
Draft
Alizter wants to merge 2 commits into
Draft
Conversation
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Collaborator
|
Cool! The build failed in Overture.v, but it looks like you got the build to go further on your machine. Not sure what is up with that. |
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Collaborator
Author
|
@jdchristensen I didn't update the flags for the non-dev dune build and _CoqProject. Should get further now. |
Collaborator
Author
|
OK some clarification. However since I made |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here is an experiment with rewriting rule based HITs. We redefine
apandapDas a symbol with a computation rule inOverture.vand introduce a new fileInterval2.vwhich demonstrates how new HITs can be written. Interval2 seems to be capable of provingfunextwhich is quite cool, but it doesn't appear to compute nicely due to how we prove funext.The change to
apwas a bit more non-trivial than was indicated in #1868 and there are lots and lots of universe issues with the rewrite rules, so I had to come up with some hacky workarounds.This PR isn't intended to be merged, but just to get a feel for what it could be like in the future.