Skip to content

Commit

Permalink
Get some examples to build again
Browse files Browse the repository at this point in the history
  • Loading branch information
myreen committed Aug 6, 2020
1 parent bf4894f commit 0b23296
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/array_searchProgScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ open basisProgTheory quicksortProgTheory ArrayProofTheory UnsafeProgTheory Unsaf

val _ = new_theory "array_searchProg";

val _ = temp_delsimps ["NORMEQ_CONV"]
val _ = diminish_srw_ss ["ABBREV"]
val _ = set_trace "BasicProvers.var_eq_old" 1

val _ = translation_extends "UnsafeProg";

fun basis_st () = get_ml_prog_state ()
Expand Down
4 changes: 4 additions & 0 deletions examples/diffScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ open preamble lcsTheory mlintTheory mlstringTheory;

val _ = new_theory "diff";

val _ = temp_delsimps ["NORMEQ_CONV"]
val _ = diminish_srw_ss ["ABBREV"]
val _ = set_trace "BasicProvers.var_eq_old" 1

fun drule0 th =
first_assum(mp_tac o MATCH_MP (ONCE_REWRITE_RULE[GSYM AND_IMP_INTRO] th))

Expand Down
4 changes: 4 additions & 0 deletions examples/quicksortProgScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ open basisProgTheory ArrayProofTheory

val _ = new_theory "quicksortProg";

val _ = temp_delsimps ["NORMEQ_CONV"]
val _ = diminish_srw_ss ["ABBREV"]
val _ = set_trace "BasicProvers.var_eq_old" 1

val _ = translation_extends"basisProg";

(* TODO: move *)
Expand Down

0 comments on commit 0b23296

Please sign in to comment.