Skip to content

Commit

Permalink
Fix some broken proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
IlmariReissumies committed May 20, 2019
1 parent c0c4142 commit 1694ad3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions basis/fsFFIPropsScript.sml
Expand Up @@ -81,14 +81,17 @@ Proof
fs[bumpFD_def] fs[bumpFD_def]
QED QED


Theorem bumpFD_inode_tbl[simp] Theorem bumpFD_inode_tbl[simp]:
`(bumpFD fd fs n).inode_tbl = fs.inode_tbl` (bumpFD fd fs n).inode_tbl = fs.inode_tbl
Proof
EVAL_TAC
QED


Theorem bumpFD_files[simp]: Theorem bumpFD_files[simp]:
(bumpFD fd fs n).files = fs.files (bumpFD fd fs n).files = fs.files
Proof Proof
EVAL_TAC EVAL_TAC
QED (EVAL_TAC); QED


Theorem bumpFD_o: Theorem bumpFD_o:
!fs fd n1 n2. !fs fd n1 n2.
Expand Down
3 changes: 1 addition & 2 deletions compiler/bootstrap/translation/to_closProgScript.sml
Expand Up @@ -256,8 +256,7 @@ val clos_annotate_shift_side = Q.prove(`
ho_match_mp_tac clos_annotateTheory.shift_ind>> ho_match_mp_tac clos_annotateTheory.shift_ind>>
`∀a b c d. shift [a] b c d ≠ []` by `∀a b c d. shift [a] b c d ≠ []` by
(CCONTR_TAC>>fs[]>> (CCONTR_TAC>>fs[]>>
imp_res_tac clos_annotateTheory.shift_SING>> metis_tac[clos_annotateTheory.shift_SING,list_distinct])>>
fs[])>>
rw[]>> rw[]>>
simp[Once (fetch "-" "clos_annotate_shift_side_def")]>> simp[Once (fetch "-" "clos_annotate_shift_side_def")]>>
rw[]>> metis_tac[]) |> update_precondition; rw[]>> metis_tac[]) |> update_precondition;
Expand Down

0 comments on commit 1694ad3

Please sign in to comment.