Skip to content

Commit

Permalink
Merge pull request #1219 from GaloisInc/saw-core-heapster-final-merge
Browse files Browse the repository at this point in the history
Prelude and saw-core-coq changes from Heapster
  • Loading branch information
mergify[bot] authored May 11, 2021
2 parents 2d92f2a + aeeb588 commit 614c9df
Show file tree
Hide file tree
Showing 12 changed files with 1,792 additions and 400 deletions.
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

0 comments on commit 614c9df

Please sign in to comment.