forked from CakeML/cakeml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfComputeLib.sml
34 lines (31 loc) · 861 Bytes
/
cfComputeLib.sml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
(*
Auxiliary definitions used in cfs
*)
structure cfComputeLib =
struct
open HolKernel boolLib bossLib
val add_cf_aux_compset = computeLib.extend_compset
[computeLib.Defs
[cfTheory.is_bound_Fun_def,
cfTheory.Fun_body_def,
cfTheory.Fun_params_def,
cfTheory.naryFun_def,
cfTheory.letrec_pull_params_def,
cfTheory.naryClosure_def,
cfTheory.naryRecclosure_def,
cfTheory.extend_env_v_def,
cfTheory.extend_env_def,
cfTheory.build_rec_env_aux_def,
cfTheory.extend_env_v_rec_def,
cfTheory.extend_env_rec_def,
cfTheory.v_of_pat_def,
cfTheory.v_of_pat_norest_def,
cfTheory.pat_typechecks_def,
cfTheory.pat_without_Pref_Pas_def,
cfTheory.validate_pat_def,
cfNormaliseTheory.exp2v_def,
cfNormaliseTheory.exp2v_list_def,
cfNormaliseTheory.dest_opapp_def
]
]
end