Skip to content

Commit

Permalink
Merge branch 'model-proof-test' into model-proof-test-updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Zdancewic committed Jun 28, 2023
2 parents 4ee8797 + 2ea62f5 commit ac6e445
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 84 deletions.
4 changes: 1 addition & 3 deletions src/coq/Handlers/MemoryModel.v
Original file line number Diff line number Diff line change
Expand Up @@ -5791,12 +5791,10 @@ Module MemoryModelTheory (LP : LLVMParams) (MP : MemoryParams LP) (MMEP : Memory
Lemma allocate_bytes_spec_MemPropT_no_err :
forall (ms_init : MemState)
dt num_elements bytes
(BYTES_SIZE : (sizeof_dtyp dt * num_elements)%N = N.of_nat (length bytes))
(NON_VOID : dt <> DTYPE_Void)
(err_msg : string),
~ allocate_bytes_spec_MemPropT dt num_elements bytes ms_init (raise_error err_msg).
Proof.
intros ms_init dt num_elements bytes BYTES_SIZE NON_VOID err_msg CONTRA.
intros ms_init dt num_elements bytes err_msg CONTRA.

unfold allocate_bytes_spec_MemPropT in CONTRA.
cbn in CONTRA.
Expand Down
Loading

0 comments on commit ac6e445

Please sign in to comment.