@@ -26,6 +26,7 @@ val add_backend_compset = computeLib.extend_compset
2626 [computeLib.Tys
2727 [ (* ---- configurations ---- *)
2828 ``:source_to_flat$config``
29+ ,``:flat_pattern$config``
2930 ,``:clos_to_bvl$config``
3031 ,``:bvl_to_bvi$config``
3132 ,``:data_to_word$config``
@@ -72,16 +73,29 @@ val add_backend_compset = computeLib.extend_compset
7273 [ (* ---- source_to_flat ---- *)
7374 flatLangTheory.bool_id_def
7475 ,flatLangTheory.Bool_def
76+ ,miscTheory.enumerate_def
7577 ]
7678 ,computeLib.Defs (theory_computes " source_to_flat" )
7779 (* ---- flat_elim ---- *)
7880 ,computeLib.Defs (theory_computes " flat_elim" )
81+ ,computeLib.Defs (theory_computes " flat_pattern" )
82+ ,computeLib.Defs (theory_computes " flatLang" )
83+ ,computeLib.Defs (theory_computes " pattern_semantics" )
84+ ,computeLib.Defs (theory_computes " pattern_comp" )
7985 ,computeLib.Defs (theory_computes " reachable_spt" )
8086 ,computeLib.Tys
8187 [``:flatLang$op ``
8288 ,``:flatLang$pat``
8389 ,``:flatLang$exp``
8490 ,``:flatLang$dec``
91+ ,``:pattern_semantics$pat``
92+ ,``:pattern_semantics$dTest``
93+ ,``:pattern_semantics$dGuard``
94+ ,``:pattern_semantics$dTree``
95+ ,``:pattern_semantics$term``
96+ ,``:pattern_common$position``
97+ ,``:pattern_common$pmatchResult``
98+ ,``:pattern_common$matchResult``
8599 ,``:source_to_flat$environment``
86100 ,``:source_to_flat$next_indices``
87101 ,``:source_to_flat$config``
@@ -93,27 +107,15 @@ val add_backend_compset = computeLib.extend_compset
93107
94108 ,computeLib.Defs (theory_computes " flat_uncheck_ctors" )
95109
96- ,computeLib.Tys
97- [ (* ---- patLang ---- *)
98- ``:patLang$exp``
99- ,``:patLang$op ``
100- ]
110+ ,computeLib.Defs (theory_computes " flat_to_clos" )
101111
102- (* ---- flat_to_pat ---- *)
103- ,computeLib.Defs
104- [flat_to_patTheory.Bool_def
105- ,flat_to_patTheory.isBool_def
106- ,flat_to_patTheory.sIf_def
107- ,flat_to_patTheory.pure_op_op_eqn (* could put this in the compute set and avoid listing explicitly *)
108- ,flat_to_patTheory.pure_op_def
109- ,flat_to_patTheory.pure_def
110- ,flat_to_patTheory.ground_def
111- ,flat_to_patTheory.sLet_def
112- ,flat_to_patTheory.Let_Els_compute
113- ,flat_to_patTheory.compile_pat_def
114- ,flat_to_patTheory.compile_row_def
115- ,flat_to_patTheory.compile_exp_def
116- ,flat_to_patTheory.compile_def
112+ ,computeLib.Tys
113+ [``:closLang$exp``
114+ ,``:closLang$op ``
115+ ,``:clos_known$val_approx``
116+ ,``:clos_known$globalOpt``
117+ ,``:clos_known$inliningDecision``
118+ ,``:clos_known$config``
117119 ]
118120
119121 ,computeLib.Tys
@@ -128,13 +130,6 @@ val add_backend_compset = computeLib.extend_compset
128130 ,computeLib.Defs
129131 [closLangTheory.pure_def
130132 ,closLangTheory.pure_op_def
131- (* ---- pat_to_clos ---- *)
132- ,pat_to_closTheory.dest_WordToInt_def
133- ,pat_to_closTheory.CopyByteStr_def
134- ,pat_to_closTheory.CopyByteAw8_def
135- ,pat_to_closTheory.vector_tag_def
136- ,pat_to_closTheory.compile_def
137- (* ,pat_to_closTheory.pat_tag_shift_def*)
138133 (* ---- clos_mti ---- *)
139134 ,clos_mtiTheory.intro_multi_def
140135 ,clos_mtiTheory.collect_args_def
0 commit comments