Skip to content

Commit 4a1c9ee

Browse files
moved sml script for eval sptrees as cakeML makes the compilation slower
1 parent a5899f0 commit 4a1c9ee

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

hol/policy_to_table/bdd_cake_trans/sptrees_fwd_proof_evalLib.sig renamed to hol/policy_to_table/sptrees_fwd_proof_evalLib.sig

File renamed without changes.

hol/policy_to_table/bdd_cake_trans/sptrees_fwd_proof_evalLib.sml renamed to hol/policy_to_table/sptrees_fwd_proof_evalLib.sml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ open bdd_auxTheory;
4040
open table_bs_propertiesTheory;
4141

4242
open bdd_utilsLib;
43-
open apply_trans_to_IOLib;
4443

4544

4645
fun time_stage (stage_name, timer_cpu, timer_real) =
@@ -68,6 +67,11 @@ open apply_trans_to_IOLib;
6867
(* STAGE 1 *)
6968
(***********************)
7069

70+
71+
val start_cpu_total1 = Timer.startCPUTimer ();
72+
val start_real_total1 = Timer.startRealTimer ();
73+
74+
7175
(*convert arith policy to var policy*)
7276
val arith_policy_eval = EVAL “convert_arith_to_var_policy ^arith_policy ^policy_me”;
7377
val var_policy = optionSyntax.dest_some (rhs (concl arith_policy_eval));
@@ -84,7 +88,7 @@ open apply_trans_to_IOLib;
8488
val arith_policy_var_policy_thm = REWRITE_RULE[all_distinct_conj, arith_policy_eval]
8589
(ISPECL[arith_policy, var_policy, policy_me] policy_airth_to_var_sem_conversion_correct);
8690

87-
val _ = time_stage ("Stage 1", start_cpu_total, start_real_total)
91+
val _ = time_stage ("Stage 1", start_cpu_total1, start_real_total1)
8892

8993
(***********************)
9094
(* STAGE 2 *)
@@ -273,8 +277,9 @@ val conv_table_from_sp_to_bdd =
273277

274278
val _ = time_stage ("FINAL CORRECTNESS PROOF", start_cpu_final, start_real_final)
275279

280+
276281
in
277-
final_thm
282+
arith_policy_var_policy_thm
278283
end;
279284

280285
end;

0 commit comments

Comments
 (0)