@@ -71,6 +71,7 @@ val bool_info =
71
71
case_def = boolTheory.bool_case_thm,
72
72
nchotomy = boolTheory.BOOL_CASES_AX
73
73
},
74
+ constant_case = boolTheory.bool_case_CONST,
74
75
case_cong = boolTheory.COND_CONG,
75
76
distinct = SOME (CONJUNCT1 boolTheory.BOOL_EQ_DISTINCT),
76
77
nchotomy = boolTheory.BOOL_CASES_AX,
@@ -146,32 +147,33 @@ fun pfetch s ty =
146
147
(" unable to find " ^
147
148
Lib.quote (print_sp_type ty)^" in the TypeBase" );
148
149
149
- fun axiom_of ty = TypeBasePure.axiom_of (pfetch " axiom_of" ty)
150
- fun induction_of ty = TypeBasePure.induction_of (pfetch " induction_of" ty)
151
- fun constructors_of ty = TypeBasePure.constructors_of (pfetch " constructors_of" ty)
152
- fun destructors_of ty = TypeBasePure.destructors_of (pfetch " destructors_of" ty)
153
- fun recognizers_of ty = TypeBasePure.recognizers_of (pfetch " recognizers_of" ty)
154
- fun case_const_of ty = TypeBasePure.case_const_of (pfetch " case_const_of" ty)
155
- fun case_cong_of ty = TypeBasePure.case_cong_of (pfetch " case_cong_of" ty)
156
- fun case_def_of ty = TypeBasePure.case_def_of (pfetch " case_def_of" ty)
157
- fun case_eq_of ty = TypeBasePure.case_eq_of (pfetch " case_eq_of" ty)
158
- fun nchotomy_of ty = TypeBasePure.nchotomy_of (pfetch " nchotomy_of" ty)
159
- fun fields_of ty = TypeBasePure.fields_of (pfetch " fields_of" ty)
160
- fun accessors_of ty = TypeBasePure.accessors_of (pfetch " accessors_of" ty)
161
- fun updates_of ty = TypeBasePure.updates_of (pfetch " updates_of" ty)
162
- fun simpls_of ty = TypeBasePure.simpls_of (pfetch " simpls_of" ty)
163
- fun axiom_of0 ty = TypeBasePure.axiom_of0 (pfetch " axiom_of" ty)
164
- fun induction_of0 ty = TypeBasePure.induction_of0 (pfetch " induction_of0" ty)
165
-
166
- fun distinct_of ty = valOf2 ty " distinct_of"
150
+ fun axiom_of ty = TypeBasePure.axiom_of (pfetch " axiom_of" ty)
151
+ fun induction_of ty = TypeBasePure.induction_of (pfetch " induction_of" ty)
152
+ fun constructors_of ty = TypeBasePure.constructors_of (pfetch " constructors_of" ty)
153
+ fun destructors_of ty = TypeBasePure.destructors_of (pfetch " destructors_of" ty)
154
+ fun recognizers_of ty = TypeBasePure.recognizers_of (pfetch " recognizers_of" ty)
155
+ fun case_const_of ty = TypeBasePure.case_const_of (pfetch " case_const_of" ty)
156
+ fun case_cong_of ty = TypeBasePure.case_cong_of (pfetch " case_cong_of" ty)
157
+ fun case_def_of ty = TypeBasePure.case_def_of (pfetch " case_def_of" ty)
158
+ fun case_eq_of ty = TypeBasePure.case_eq_of (pfetch " case_eq_of" ty)
159
+ fun constant_case_of ty = TypeBasePure.constant_case_of (pfetch " case_eq_of" ty)
160
+ fun nchotomy_of ty = TypeBasePure.nchotomy_of (pfetch " nchotomy_of" ty)
161
+ fun fields_of ty = TypeBasePure.fields_of (pfetch " fields_of" ty)
162
+ fun accessors_of ty = TypeBasePure.accessors_of (pfetch " accessors_of" ty)
163
+ fun updates_of ty = TypeBasePure.updates_of (pfetch " updates_of" ty)
164
+ fun simpls_of ty = TypeBasePure.simpls_of (pfetch " simpls_of" ty)
165
+ fun axiom_of0 ty = TypeBasePure.axiom_of0 (pfetch " axiom_of" ty)
166
+ fun induction_of0 ty = TypeBasePure.induction_of0 (pfetch " induction_of0" ty)
167
+
168
+ fun distinct_of ty = valOf2 ty " distinct_of"
167
169
(TypeBasePure.distinct_of (pfetch " distinct_of" ty))
168
- fun one_one_of ty = valOf2 ty " one_one_of"
170
+ fun one_one_of ty = valOf2 ty " one_one_of"
169
171
(TypeBasePure.one_one_of (pfetch " one_one_of" ty))
170
- fun size_of0 ty = TypeBasePure.size_of0 (pfetch " size_of0" ty)
171
- fun encode_of0 ty = TypeBasePure.encode_of0 (pfetch " encode_of0" ty)
172
- fun size_of ty = valOf2 ty " size_of"
172
+ fun size_of0 ty = TypeBasePure.size_of0 (pfetch " size_of0" ty)
173
+ fun encode_of0 ty = TypeBasePure.encode_of0 (pfetch " encode_of0" ty)
174
+ fun size_of ty = valOf2 ty " size_of"
173
175
(TypeBasePure.size_of (pfetch " size_of" ty))
174
- fun encode_of ty = valOf2 ty " encode_of"
176
+ fun encode_of ty = valOf2 ty " encode_of"
175
177
(TypeBasePure.encode_of (pfetch " encode_of" ty))
176
178
177
179
0 commit comments