| author | haftmann |
| Sat, 03 Mar 2012 21:01:23 +0100 | |
| changeset 46783 | 3e89a5cab8d7 |
| parent 46780 | ab4f3f765f91 |
| permissions | -rw-r--r-- |
|
14620
1be590fd2422
Minor cleanup of headers and some speedup of the HOL4 import.
skalberg
parents:
14516
diff
changeset
|
1 |
(* Title: HOL/Import/Generate-HOL/GenHOL4Base.thy |
| 41589 | 2 |
Author: Sebastian Skalberg, TU Muenchen |
|
14620
1be590fd2422
Minor cleanup of headers and some speedup of the HOL4 import.
skalberg
parents:
14516
diff
changeset
|
3 |
*) |
|
1be590fd2422
Minor cleanup of headers and some speedup of the HOL4 import.
skalberg
parents:
14516
diff
changeset
|
4 |
|
| 16417 | 5 |
theory GenHOL4Base imports "../HOL4Compat" "../HOL4Syntax" begin; |
| 14516 | 6 |
|
7 |
import_segment "hol4"; |
|
8 |
||
9 |
setup_dump "../HOL" "HOL4Base"; |
|
10 |
||
| 17566 | 11 |
append_dump {*theory HOL4Base imports "../HOL4Compat" "../HOL4Syntax" begin*};
|
| 14516 | 12 |
|
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
13 |
import_theory "~~/src/HOL/Import/HOL" bool; |
| 14516 | 14 |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
15 |
type_maps |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
16 |
bool > HOL.bool; |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
17 |
|
| 14516 | 18 |
const_maps |
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
19 |
T > HOL.True |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
20 |
F > HOL.False |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
21 |
"!" > HOL.All |
|
38795
848be46708dc
formerly unnamed infix conjunction and disjunction now named HOL.conj and HOL.disj
haftmann
parents:
37678
diff
changeset
|
22 |
"/\\" > HOL.conj |
|
848be46708dc
formerly unnamed infix conjunction and disjunction now named HOL.conj and HOL.disj
haftmann
parents:
37678
diff
changeset
|
23 |
"\\/" > HOL.disj |
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
24 |
"?" > HOL.Ex |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
25 |
"?!" > HOL.Ex1 |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
26 |
"~" > HOL.Not |
| 17188 | 27 |
COND > HOL.If |
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
28 |
bool_case > Product_Type.bool.bool_case |
| 14516 | 29 |
ONE_ONE > HOL4Setup.ONE_ONE |
| 17628 | 30 |
ONTO > Fun.surj |
| 14516 | 31 |
TYPE_DEFINITION > HOL4Setup.TYPE_DEFINITION |
32 |
LET > HOL4Compat.LET; |
|
33 |
||
|
44377
d3e609c87c4c
reverted some odd changes to HOL/Import (cf. 74c08021ab2e);
wenzelm
parents:
44367
diff
changeset
|
34 |
ignore_thms |
| 14516 | 35 |
BOUNDED_DEF |
36 |
BOUNDED_THM |
|
37 |
UNBOUNDED_DEF |
|
38 |
UNBOUNDED_THM; |
|
39 |
||
40 |
end_import; |
|
41 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
42 |
import_theory "~~/src/HOL/Import/HOL" combin; |
| 14516 | 43 |
|
44 |
const_maps |
|
45 |
o > Fun.comp; |
|
46 |
||
47 |
end_import; |
|
48 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
49 |
import_theory "~~/src/HOL/Import/HOL" sum; |
| 14516 | 50 |
|
51 |
type_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
52 |
sum > Sum_Type.sum; |
| 14516 | 53 |
|
54 |
const_maps |
|
| 15647 | 55 |
INL > Sum_Type.Inl |
56 |
INR > Sum_Type.Inr |
|
| 14516 | 57 |
ISL > HOL4Compat.ISL |
58 |
ISR > HOL4Compat.ISR |
|
59 |
OUTL > HOL4Compat.OUTL |
|
60 |
OUTR > HOL4Compat.OUTR |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
61 |
sum_case > Sum_Type.sum.sum_case; |
| 14516 | 62 |
|
63 |
ignore_thms |
|
64 |
sum_TY_DEF |
|
65 |
sum_ISO_DEF |
|
66 |
IS_SUM_REP |
|
67 |
INL_DEF |
|
68 |
INR_DEF |
|
69 |
sum_Axiom; |
|
70 |
||
71 |
end_import; |
|
72 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
73 |
import_theory "~~/src/HOL/Import/HOL" one; |
| 14516 | 74 |
|
75 |
type_maps |
|
76 |
one > Product_Type.unit; |
|
77 |
||
78 |
const_maps |
|
79 |
one > Product_Type.Unity; |
|
80 |
||
81 |
ignore_thms |
|
82 |
one_TY_DEF |
|
83 |
one_axiom |
|
84 |
one_Axiom |
|
85 |
one_DEF; |
|
86 |
||
87 |
end_import; |
|
88 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
89 |
import_theory "~~/src/HOL/Import/HOL" option; |
| 14516 | 90 |
|
91 |
type_maps |
|
|
30235
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
92 |
option > Option.option; |
| 14516 | 93 |
|
94 |
const_maps |
|
|
30235
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
95 |
NONE > Option.option.None |
|
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
96 |
SOME > Option.option.Some |
|
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
97 |
option_case > Option.option.option_case |
|
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
98 |
OPTION_MAP > Option.map |
|
58d147683393
Made Option a separate theory and renamed option_map to Option.map
nipkow
parents:
24996
diff
changeset
|
99 |
THE > Option.the |
| 14516 | 100 |
IS_SOME > HOL4Compat.IS_SOME |
101 |
IS_NONE > HOL4Compat.IS_NONE |
|
102 |
OPTION_JOIN > HOL4Compat.OPTION_JOIN; |
|
103 |
||
104 |
ignore_thms |
|
105 |
option_axiom |
|
106 |
option_Axiom |
|
107 |
option_TY_DEF |
|
108 |
option_REP_ABS_DEF |
|
109 |
SOME_DEF |
|
110 |
NONE_DEF; |
|
111 |
||
112 |
end_import; |
|
113 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
114 |
import_theory "~~/src/HOL/Import/HOL" marker; |
| 14516 | 115 |
end_import; |
116 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
117 |
import_theory "~~/src/HOL/Import/HOL" relation; |
| 14516 | 118 |
|
119 |
const_renames |
|
120 |
reflexive > pred_reflexive; |
|
121 |
||
122 |
end_import; |
|
123 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
124 |
import_theory "~~/src/HOL/Import/HOL" pair; |
| 14516 | 125 |
|
126 |
type_maps |
|
|
37678
0040bafffdef
"prod" and "sum" replace "*" and "+" respectively
haftmann
parents:
37391
diff
changeset
|
127 |
prod > Product_Type.prod; |
| 14516 | 128 |
|
129 |
const_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
130 |
"," > Product_Type.Pair |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
131 |
FST > Product_Type.fst |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
132 |
SND > Product_Type.snd |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
133 |
CURRY > Product_Type.curry |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
134 |
UNCURRY > Product_Type.prod.prod_case |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
135 |
"##" > Product_Type.map_pair |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
136 |
pair_case > Product_Type.prod.prod_case; |
| 14516 | 137 |
|
138 |
ignore_thms |
|
139 |
prod_TY_DEF |
|
140 |
MK_PAIR_DEF |
|
141 |
IS_PAIR_DEF |
|
142 |
ABS_REP_prod |
|
143 |
COMMA_DEF; |
|
144 |
||
145 |
end_import; |
|
146 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
147 |
import_theory "~~/src/HOL/Import/HOL" num; |
| 14516 | 148 |
|
149 |
type_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
150 |
num > Nat.nat; |
| 14516 | 151 |
|
152 |
const_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
153 |
SUC > Nat.Suc |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
154 |
0 > Groups.zero_class.zero :: nat; |
| 14516 | 155 |
|
156 |
ignore_thms |
|
157 |
num_TY_DEF |
|
158 |
num_ISO_DEF |
|
159 |
IS_NUM_REP |
|
160 |
ZERO_REP_DEF |
|
161 |
SUC_REP_DEF |
|
162 |
ZERO_DEF |
|
163 |
SUC_DEF; |
|
164 |
||
165 |
end_import; |
|
166 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
167 |
import_theory "~~/src/HOL/Import/HOL" prim_rec; |
| 14516 | 168 |
|
169 |
const_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
170 |
"<" > Orderings.ord_class.less :: "nat \<Rightarrow> nat \<Rightarrow> bool"; |
| 14516 | 171 |
|
172 |
end_import; |
|
173 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
174 |
import_theory "~~/src/HOL/Import/HOL" arithmetic; |
| 14516 | 175 |
|
176 |
const_maps |
|
177 |
ALT_ZERO > HOL4Compat.ALT_ZERO |
|
178 |
NUMERAL_BIT1 > HOL4Compat.NUMERAL_BIT1 |
|
179 |
NUMERAL_BIT2 > HOL4Compat.NUMERAL_BIT2 |
|
180 |
NUMERAL > HOL4Compat.NUMERAL |
|
181 |
num_case > Nat.nat.nat_case |
|
182 |
">" > HOL4Compat.nat_gt |
|
183 |
">=" > HOL4Compat.nat_ge |
|
184 |
FUNPOW > HOL4Compat.FUNPOW |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
185 |
"<=" > Orderings.ord_class.less_eq :: "nat \<Rightarrow> nat \<Rightarrow> bool" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
186 |
"+" > Groups.plus_class.plus :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
187 |
"*" > Groups.times_class.times :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
188 |
"-" > Groups.minus_class.minus :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
189 |
MIN > Orderings.ord_class.min :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
190 |
MAX > Orderings.ord_class.max :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
191 |
DIV > Divides.div_class.div :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
192 |
MOD > Divides.div_class.mod :: "nat \<Rightarrow> nat \<Rightarrow> nat" |
|
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
193 |
EXP > Power.power_class.power :: "nat \<Rightarrow> nat \<Rightarrow> nat"; |
| 14516 | 194 |
|
195 |
end_import; |
|
196 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
197 |
import_theory "~~/src/HOL/Import/HOL" hrat; |
| 14516 | 198 |
end_import; |
199 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
200 |
import_theory "~~/src/HOL/Import/HOL" hreal; |
| 14516 | 201 |
end_import; |
202 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
203 |
import_theory "~~/src/HOL/Import/HOL" numeral; |
| 14516 | 204 |
end_import; |
205 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
206 |
import_theory "~~/src/HOL/Import/HOL" ind_type; |
| 14516 | 207 |
end_import; |
208 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
209 |
import_theory "~~/src/HOL/Import/HOL" divides; |
| 14516 | 210 |
|
211 |
const_maps |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
212 |
divides > Rings.dvd_class.dvd :: "nat \<Rightarrow> nat \<Rightarrow> bool"; |
| 14516 | 213 |
|
214 |
end_import; |
|
215 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
216 |
import_theory "~~/src/HOL/Import/HOL" prime; |
| 14516 | 217 |
end_import; |
218 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
219 |
import_theory "~~/src/HOL/Import/HOL" list; |
| 14516 | 220 |
|
221 |
type_maps |
|
222 |
list > List.list; |
|
223 |
||
224 |
const_maps |
|
225 |
CONS > List.list.Cons |
|
226 |
NIL > List.list.Nil |
|
227 |
list_case > List.list.list_case |
|
228 |
NULL > List.null |
|
229 |
HD > List.hd |
|
230 |
TL > List.tl |
|
231 |
MAP > List.map |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
232 |
MEM > HOL4Compat.list_mem |
| 14516 | 233 |
FILTER > List.filter |
234 |
FOLDL > List.foldl |
|
235 |
EVERY > List.list_all |
|
236 |
REVERSE > List.rev |
|
237 |
LAST > List.last |
|
238 |
FRONT > List.butlast |
|
| 23029 | 239 |
APPEND > List.append |
| 14516 | 240 |
FLAT > List.concat |
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
241 |
LENGTH > Nat.size_class.size |
| 14516 | 242 |
REPLICATE > List.replicate |
243 |
list_size > HOL4Compat.list_size |
|
244 |
SUM > HOL4Compat.sum |
|
245 |
FOLDR > HOL4Compat.FOLDR |
|
|
44740
a2940bc24bad
HOL/Import: Make HOL4 Import work with current Isabelle. Updated constant maps, added bool type map, and tuned compat theorem.
Cezary Kaliszyk <kaliszyk@in.tum.de>
parents:
44377
diff
changeset
|
246 |
EXISTS > List.list_ex |
| 14516 | 247 |
MAP2 > HOL4Compat.map2 |
248 |
ZIP > HOL4Compat.ZIP |
|
249 |
UNZIP > HOL4Compat.unzip; |
|
250 |
||
251 |
ignore_thms |
|
252 |
list_TY_DEF |
|
253 |
list_repfns |
|
254 |
list0_def |
|
255 |
list1_def |
|
256 |
NIL |
|
257 |
CONS_def; |
|
258 |
||
259 |
end_import; |
|
260 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
261 |
import_theory "~~/src/HOL/Import/HOL" pred_set; |
| 14516 | 262 |
end_import; |
263 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
264 |
import_theory "~~/src/HOL/Import/HOL" operator; |
| 14516 | 265 |
end_import; |
266 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
267 |
import_theory "~~/src/HOL/Import/HOL" rich_list; |
| 14516 | 268 |
end_import; |
269 |
||
|
46780
ab4f3f765f91
explicit locations for import_theory and setup_theory, for better user interface conformance
haftmann
parents:
44740
diff
changeset
|
270 |
import_theory "~~/src/HOL/Import/HOL" state_transformer; |
| 14516 | 271 |
end_import; |
272 |
||
273 |
append_dump "end"; |
|
274 |
||
275 |
flush_dump; |
|
276 |
||
277 |
import_segment ""; |
|
278 |
||
279 |
end |