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

Prelude and saw-core-coq changes from Heapster #1219

Merged
merged 5 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ intTests/test*/*.out
intTests/test_crucible_jvm/Stat.class
intTests/test_profiling/prof
intTests/test_smtlib/*.smt2
saw-core-coq/coq/.Makefile.coq.d
156 changes: 152 additions & 4 deletions saw-core-coq/coq/generated/CryptolToCoq/SAWCorePrelude.v

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions saw-core-coq/coq/handwritten/CryptolToCoq/CompM.v
Original file line number Diff line number Diff line change
Expand Up @@ -923,3 +923,10 @@ Lemma refinesM_assumingM_l {A} (P:Prop) (m1 m2 : CompM A) :
Proof.
apply refinesM_forallM_l.
Qed.

(* NOTE: the other direction does not hold *)
Lemma assumingM_bindM {A B} (P:Prop) (m: CompM A) (Q: A -> CompM B) :
refinesM ((assumingM P m) >>= Q) (assumingM P (m >>= Q)).
Proof.
apply forallM_bindM.
Qed.
595 changes: 418 additions & 177 deletions saw-core-coq/coq/handwritten/CryptolToCoq/CompMExtra.v

Large diffs are not rendered by default.

Loading