Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaslindner authored and palmskog committed Aug 15, 2024
1 parent 8051fd3 commit 6628bec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tools/symbexec/examples/test-birs_transfer.sml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ val birs_state_init_pre = ``<|
bsst_status := BST_Running;
bsst_pcond := ^bsysprecond
|>``;
val birs_state_thm = REWRITE_CONV [birenvtyl_EVAL_thm] birs_state_init_pre;
val birs_state_thm = (SIMP_CONV (std_ss++listSimps.LIST_ss) [birenvtyl_EVAL_thm, bir_senv_GEN_list_def, GSYM birs_gen_env_thm, GSYM birs_gen_env_NULL_thm] THENC computeLib.RESTR_EVAL_CONV [``birs_gen_env``]) birs_state_init_pre;
val birs_state_init = (snd o dest_eq o concl) birs_state_thm;
(* ........................... *)

Expand All @@ -125,7 +125,8 @@ val birs_rule_STEP_fun_spec = birs_rule_STEP_fun birs_rule_STEP_thm;
(* ........................... *)

(* first step *)
val single_step_thm = birs_rule_STEP_fun_spec birs_state_init;
val single_step_thm_ = birs_rule_STEP_fun_spec birs_state_init;
val single_step_thm = REWRITE_RULE [GSYM birs_state_thm] single_step_thm_;

val exec_thm = single_step_thm;
val (sys_tm, L_tm, Pi_tm) = (symb_sound_struct_get_sysLPi_fun o concl) exec_thm;
Expand Down

0 comments on commit 6628bec

Please sign in to comment.