-
Notifications
You must be signed in to change notification settings - Fork 10
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
Jasmin, Mathcomp2 and Coq.8.18.0 #39
Draft
cmester0
wants to merge
410
commits into
main
Choose a base branch
from
jasmin-coq.8.18.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
- added several auxiliary lemmas on get/set/folds - note that `chWrite` has both a `foldl` and `foldr` version
- also added some comments to structure proofs in `choice_type`
important changes: - the translation of `app_sopn` binds to a list instead of a tuple - the translation of `app_sopn` does not truncate when it binds, but when it applies the operations - the translation of `app_sopn` uses axiom of choice, since it needs a `choiceType` of `list typed_chElement` (i think, though, that it can proven to be a `choiceType` without axioms) other notes: - the proof `app_sopn_list_correct` is *very* slow (~10min on my machine), since it needs to destruct on the list of values and list of input types of the operations. - I kept variants `bind_list_to_tuple` in here if we need it for something else. I also kept attempts and correctness proofs about these constructions. It can all safely be deleted.
…nslation Procedure calls need to know at which type they happen, so we pass around a typing environment in the translation of instructions. This environment is built from the translation of a program by projecting the translated functions to their input- and output-types.
makes all translated programs deterministic
Updating the Jasmin files seems a bit harder, than updating to mathcomp2 (and coq-8.18), as things have been moved around and renamed, and I do not have much knowledge about the Jasmin library. |
Merged
cmester0
force-pushed
the
jasmin-coq.8.18.0
branch
from
March 7, 2024 14:09
e327151
to
6aa247c
Compare
Waiting for: |
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.
No description provided.