author | traytel |
Mon, 18 Mar 2013 11:25:24 +0100 | |
changeset 51447 | a19e973fa2cf |
parent 51446 | a6ebb12cc003 |
child 51739 | 3514b90d0a8b |
permissions | -rw-r--r-- |
49509
163914705f8d
renamed top-level theory from "Codatatype" to "BNF"
blanchet
parents:
49328
diff
changeset
|
1 |
(* Title: HOL/BNF/BNF_GFP.thy |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
2 |
Author: Dmitriy Traytel, TU Muenchen |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
3 |
Copyright 2012 |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
4 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
5 |
Greatest fixed point operation on bounded natural functors. |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
6 |
*) |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
7 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
8 |
header {* Greatest Fixed Point Operation on Bounded Natural Functors *} |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
9 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
10 |
theory BNF_GFP |
50058
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
11 |
imports BNF_FP Equiv_Relations_More "~~/src/HOL/Library/Sublist" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
12 |
keywords |
49308
6190b701e4f4
reorganized dependencies so that the sugar does not depend on GFP -- this will be essential for bootstrapping
blanchet
parents:
49074
diff
changeset
|
13 |
"codata" :: thy_decl |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
14 |
begin |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
15 |
|
49312 | 16 |
lemma sum_case_comp_Inl: |
17 |
"sum_case f g \<circ> Inl = f" |
|
18 |
unfolding comp_def by simp |
|
19 |
||
20 |
lemma sum_case_expand_Inr: "f o Inl = g \<Longrightarrow> f x = sum_case g (f o Inr) x" |
|
21 |
by (auto split: sum.splits) |
|
22 |
||
23 |
lemma converse_Times: "(A \<times> B) ^-1 = B \<times> A" |
|
24 |
by auto |
|
25 |
||
26 |
lemma equiv_triv1: |
|
27 |
assumes "equiv A R" and "(a, b) \<in> R" and "(a, c) \<in> R" |
|
28 |
shows "(b, c) \<in> R" |
|
29 |
using assms unfolding equiv_def sym_def trans_def by blast |
|
30 |
||
31 |
lemma equiv_triv2: |
|
32 |
assumes "equiv A R" and "(a, b) \<in> R" and "(b, c) \<in> R" |
|
33 |
shows "(a, c) \<in> R" |
|
34 |
using assms unfolding equiv_def trans_def by blast |
|
35 |
||
36 |
lemma equiv_proj: |
|
37 |
assumes e: "equiv A R" and "z \<in> R" |
|
38 |
shows "(proj R o fst) z = (proj R o snd) z" |
|
39 |
proof - |
|
40 |
from assms(2) have z: "(fst z, snd z) \<in> R" by auto |
|
41 |
have P: "\<And>x. (fst z, x) \<in> R \<Longrightarrow> (snd z, x) \<in> R" by (erule equiv_triv1[OF e z]) |
|
42 |
have "\<And>x. (snd z, x) \<in> R \<Longrightarrow> (fst z, x) \<in> R" by (erule equiv_triv2[OF e z]) |
|
43 |
with P show ?thesis unfolding proj_def[abs_def] by auto |
|
44 |
qed |
|
45 |
||
46 |
(* Operators: *) |
|
47 |
definition image2 where "image2 A f g = {(f a, g a) | a. a \<in> A}" |
|
48 |
||
49 |
||
51447 | 50 |
lemma Id_onD: "(a, b) \<in> Id_on A \<Longrightarrow> a = b" |
51 |
unfolding Id_on_def by simp |
|
49312 | 52 |
|
51447 | 53 |
lemma Id_onD': "x \<in> Id_on A \<Longrightarrow> fst x = snd x" |
54 |
unfolding Id_on_def by auto |
|
49312 | 55 |
|
51447 | 56 |
lemma Id_on_fst: "x \<in> Id_on A \<Longrightarrow> fst x \<in> A" |
57 |
unfolding Id_on_def by auto |
|
49312 | 58 |
|
51447 | 59 |
lemma Id_on_UNIV: "Id_on UNIV = Id" |
60 |
unfolding Id_on_def by auto |
|
49312 | 61 |
|
51447 | 62 |
lemma Id_on_Comp: "Id_on A = Id_on A O Id_on A" |
63 |
unfolding Id_on_def by auto |
|
49312 | 64 |
|
51447 | 65 |
lemma Id_on_Gr: "Id_on A = Gr A id" |
66 |
unfolding Id_on_def Gr_def by auto |
|
49312 | 67 |
|
51447 | 68 |
lemma Id_on_UNIV_I: "x = y \<Longrightarrow> (x, y) \<in> Id_on UNIV" |
69 |
unfolding Id_on_def by auto |
|
49312 | 70 |
|
71 |
lemma image2_eqI: "\<lbrakk>b = f x; c = g x; x \<in> A\<rbrakk> \<Longrightarrow> (b, c) \<in> image2 A f g" |
|
72 |
unfolding image2_def by auto |
|
73 |
||
74 |
lemma Id_subset: "Id \<subseteq> {(a, b). P a b \<or> a = b}" |
|
75 |
by auto |
|
76 |
||
77 |
lemma IdD: "(a, b) \<in> Id \<Longrightarrow> a = b" |
|
78 |
by auto |
|
79 |
||
80 |
lemma image2_Gr: "image2 A f g = (Gr A f)^-1 O (Gr A g)" |
|
81 |
unfolding image2_def Gr_def by auto |
|
82 |
||
83 |
lemma GrI: "\<lbrakk>x \<in> A; f x = fx\<rbrakk> \<Longrightarrow> (x, fx) \<in> Gr A f" |
|
84 |
unfolding Gr_def by simp |
|
85 |
||
86 |
lemma GrE: "(x, fx) \<in> Gr A f \<Longrightarrow> (x \<in> A \<Longrightarrow> f x = fx \<Longrightarrow> P) \<Longrightarrow> P" |
|
87 |
unfolding Gr_def by simp |
|
88 |
||
89 |
lemma GrD1: "(x, fx) \<in> Gr A f \<Longrightarrow> x \<in> A" |
|
90 |
unfolding Gr_def by simp |
|
91 |
||
92 |
lemma GrD2: "(x, fx) \<in> Gr A f \<Longrightarrow> f x = fx" |
|
93 |
unfolding Gr_def by simp |
|
94 |
||
95 |
lemma Gr_incl: "Gr A f \<subseteq> A <*> B \<longleftrightarrow> f ` A \<subseteq> B" |
|
96 |
unfolding Gr_def by auto |
|
97 |
||
98 |
definition relImage where |
|
99 |
"relImage R f \<equiv> {(f a1, f a2) | a1 a2. (a1,a2) \<in> R}" |
|
100 |
||
101 |
definition relInvImage where |
|
102 |
"relInvImage A R f \<equiv> {(a1, a2) | a1 a2. a1 \<in> A \<and> a2 \<in> A \<and> (f a1, f a2) \<in> R}" |
|
103 |
||
104 |
lemma relImage_Gr: |
|
105 |
"\<lbrakk>R \<subseteq> A \<times> A\<rbrakk> \<Longrightarrow> relImage R f = (Gr A f)^-1 O R O Gr A f" |
|
106 |
unfolding relImage_def Gr_def relcomp_def by auto |
|
107 |
||
108 |
lemma relInvImage_Gr: "\<lbrakk>R \<subseteq> B \<times> B\<rbrakk> \<Longrightarrow> relInvImage A R f = Gr A f O R O (Gr A f)^-1" |
|
109 |
unfolding Gr_def relcomp_def image_def relInvImage_def by auto |
|
110 |
||
111 |
lemma relImage_mono: |
|
112 |
"R1 \<subseteq> R2 \<Longrightarrow> relImage R1 f \<subseteq> relImage R2 f" |
|
113 |
unfolding relImage_def by auto |
|
114 |
||
115 |
lemma relInvImage_mono: |
|
116 |
"R1 \<subseteq> R2 \<Longrightarrow> relInvImage A R1 f \<subseteq> relInvImage A R2 f" |
|
117 |
unfolding relInvImage_def by auto |
|
118 |
||
51447 | 119 |
lemma relInvImage_Id_on: |
120 |
"(\<And>a1 a2. f a1 = f a2 \<longleftrightarrow> a1 = a2) \<Longrightarrow> relInvImage A (Id_on B) f \<subseteq> Id" |
|
121 |
unfolding relInvImage_def Id_on_def by auto |
|
49312 | 122 |
|
123 |
lemma relInvImage_UNIV_relImage: |
|
124 |
"R \<subseteq> relInvImage UNIV (relImage R f) f" |
|
125 |
unfolding relInvImage_def relImage_def by auto |
|
126 |
||
127 |
lemma equiv_Image: "equiv A R \<Longrightarrow> (\<And>a b. (a, b) \<in> R \<Longrightarrow> a \<in> A \<and> b \<in> A \<and> R `` {a} = R `` {b})" |
|
128 |
unfolding equiv_def refl_on_def Image_def by (auto intro: transD symD) |
|
129 |
||
130 |
lemma relImage_proj: |
|
131 |
assumes "equiv A R" |
|
51447 | 132 |
shows "relImage R (proj R) \<subseteq> Id_on (A//R)" |
133 |
unfolding relImage_def Id_on_def |
|
134 |
using proj_iff[OF assms] equiv_class_eq_iff[OF assms] |
|
135 |
by (auto simp: proj_preserves) |
|
49312 | 136 |
|
137 |
lemma relImage_relInvImage: |
|
138 |
assumes "R \<subseteq> f ` A <*> f ` A" |
|
139 |
shows "relImage (relInvImage A R f) f = R" |
|
140 |
using assms unfolding relImage_def relInvImage_def by fastforce |
|
141 |
||
142 |
lemma subst_Pair: "P x y \<Longrightarrow> a = (x, y) \<Longrightarrow> P (fst a) (snd a)" |
|
143 |
by simp |
|
144 |
||
145 |
lemma fst_diag_id: "(fst \<circ> (%x. (x, x))) z = id z" |
|
146 |
by simp |
|
147 |
||
148 |
lemma snd_diag_id: "(snd \<circ> (%x. (x, x))) z = id z" |
|
149 |
by simp |
|
150 |
||
151 |
lemma Collect_restrict': "{(x, y) | x y. phi x y \<and> P x y} \<subseteq> {(x, y) | x y. phi x y}" |
|
152 |
by auto |
|
153 |
||
154 |
lemma image_convolD: "\<lbrakk>(a, b) \<in> <f, g> ` X\<rbrakk> \<Longrightarrow> \<exists>x. x \<in> X \<and> a = f x \<and> b = g x" |
|
155 |
unfolding convol_def by auto |
|
156 |
||
157 |
(*Extended Sublist*) |
|
158 |
||
159 |
definition prefCl where |
|
50058
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
160 |
"prefCl Kl = (\<forall> kl1 kl2. prefixeq kl1 kl2 \<and> kl2 \<in> Kl \<longrightarrow> kl1 \<in> Kl)" |
49312 | 161 |
definition PrefCl where |
50058
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
162 |
"PrefCl A n = (\<forall>kl kl'. kl \<in> A n \<and> prefixeq kl' kl \<longrightarrow> (\<exists>m\<le>n. kl' \<in> A m))" |
49312 | 163 |
|
164 |
lemma prefCl_UN: |
|
165 |
"\<lbrakk>\<And>n. PrefCl A n\<rbrakk> \<Longrightarrow> prefCl (\<Union>n. A n)" |
|
166 |
unfolding prefCl_def PrefCl_def by fastforce |
|
167 |
||
168 |
definition Succ where "Succ Kl kl = {k . kl @ [k] \<in> Kl}" |
|
169 |
definition Shift where "Shift Kl k = {kl. k # kl \<in> Kl}" |
|
170 |
definition shift where "shift lab k = (\<lambda>kl. lab (k # kl))" |
|
171 |
||
172 |
lemma empty_Shift: "\<lbrakk>[] \<in> Kl; k \<in> Succ Kl []\<rbrakk> \<Longrightarrow> [] \<in> Shift Kl k" |
|
173 |
unfolding Shift_def Succ_def by simp |
|
174 |
||
175 |
lemma Shift_clists: "Kl \<subseteq> Field (clists r) \<Longrightarrow> Shift Kl k \<subseteq> Field (clists r)" |
|
176 |
unfolding Shift_def clists_def Field_card_of by auto |
|
177 |
||
178 |
lemma Shift_prefCl: "prefCl Kl \<Longrightarrow> prefCl (Shift Kl k)" |
|
179 |
unfolding prefCl_def Shift_def |
|
180 |
proof safe |
|
181 |
fix kl1 kl2 |
|
50058
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
182 |
assume "\<forall>kl1 kl2. prefixeq kl1 kl2 \<and> kl2 \<in> Kl \<longrightarrow> kl1 \<in> Kl" |
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
183 |
"prefixeq kl1 kl2" "k # kl2 \<in> Kl" |
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
184 |
thus "k # kl1 \<in> Kl" using Cons_prefixeq_Cons[of k kl1 k kl2] by blast |
49312 | 185 |
qed |
186 |
||
187 |
lemma not_in_Shift: "kl \<notin> Shift Kl x \<Longrightarrow> x # kl \<notin> Kl" |
|
188 |
unfolding Shift_def by simp |
|
189 |
||
190 |
lemma prefCl_Succ: "\<lbrakk>prefCl Kl; k # kl \<in> Kl\<rbrakk> \<Longrightarrow> k \<in> Succ Kl []" |
|
191 |
unfolding Succ_def proof |
|
192 |
assume "prefCl Kl" "k # kl \<in> Kl" |
|
50058
bb1fadeba35e
import Sublist rather than PrefixOrder to avoid unnecessary class instantiation
traytel
parents:
49635
diff
changeset
|
193 |
moreover have "prefixeq (k # []) (k # kl)" by auto |
49312 | 194 |
ultimately have "k # [] \<in> Kl" unfolding prefCl_def by blast |
195 |
thus "[] @ [k] \<in> Kl" by simp |
|
196 |
qed |
|
197 |
||
198 |
lemma SuccD: "k \<in> Succ Kl kl \<Longrightarrow> kl @ [k] \<in> Kl" |
|
199 |
unfolding Succ_def by simp |
|
200 |
||
201 |
lemmas SuccE = SuccD[elim_format] |
|
202 |
||
203 |
lemma SuccI: "kl @ [k] \<in> Kl \<Longrightarrow> k \<in> Succ Kl kl" |
|
204 |
unfolding Succ_def by simp |
|
205 |
||
206 |
lemma ShiftD: "kl \<in> Shift Kl k \<Longrightarrow> k # kl \<in> Kl" |
|
207 |
unfolding Shift_def by simp |
|
208 |
||
209 |
lemma Succ_Shift: "Succ (Shift Kl k) kl = Succ Kl (k # kl)" |
|
210 |
unfolding Succ_def Shift_def by auto |
|
211 |
||
212 |
lemma ShiftI: "k # kl \<in> Kl \<Longrightarrow> kl \<in> Shift Kl k" |
|
213 |
unfolding Shift_def by simp |
|
214 |
||
215 |
lemma Func_cexp: "|Func A B| =o |B| ^c |A|" |
|
216 |
unfolding cexp_def Field_card_of by (simp only: card_of_refl) |
|
217 |
||
218 |
lemma clists_bound: "A \<in> Field (cpow (clists r)) - {{}} \<Longrightarrow> |A| \<le>o clists r" |
|
219 |
unfolding cpow_def clists_def Field_card_of by (auto simp: card_of_mono1) |
|
220 |
||
221 |
lemma cpow_clists_czero: "\<lbrakk>A \<in> Field (cpow (clists r)) - {{}}; |A| =o czero\<rbrakk> \<Longrightarrow> False" |
|
222 |
unfolding cpow_def clists_def |
|
223 |
by (auto simp add: card_of_ordIso_czero_iff_empty[symmetric]) |
|
224 |
(erule notE, erule ordIso_transitive, rule czero_ordIso) |
|
225 |
||
226 |
lemma incl_UNION_I: |
|
227 |
assumes "i \<in> I" and "A \<subseteq> F i" |
|
228 |
shows "A \<subseteq> UNION I F" |
|
229 |
using assms by auto |
|
230 |
||
231 |
lemma Nil_clists: "{[]} \<subseteq> Field (clists r)" |
|
232 |
unfolding clists_def Field_card_of by auto |
|
233 |
||
234 |
lemma Cons_clists: |
|
235 |
"\<lbrakk>x \<in> Field r; xs \<in> Field (clists r)\<rbrakk> \<Longrightarrow> x # xs \<in> Field (clists r)" |
|
236 |
unfolding clists_def Field_card_of by auto |
|
237 |
||
238 |
lemma length_Cons: "length (x # xs) = Suc (length xs)" |
|
239 |
by simp |
|
240 |
||
241 |
lemma length_append_singleton: "length (xs @ [x]) = Suc (length xs)" |
|
242 |
by simp |
|
243 |
||
244 |
(*injection into the field of a cardinal*) |
|
245 |
definition "toCard_pred A r f \<equiv> inj_on f A \<and> f ` A \<subseteq> Field r \<and> Card_order r" |
|
246 |
definition "toCard A r \<equiv> SOME f. toCard_pred A r f" |
|
247 |
||
248 |
lemma ex_toCard_pred: |
|
249 |
"\<lbrakk>|A| \<le>o r; Card_order r\<rbrakk> \<Longrightarrow> \<exists> f. toCard_pred A r f" |
|
250 |
unfolding toCard_pred_def |
|
251 |
using card_of_ordLeq[of A "Field r"] |
|
252 |
ordLeq_ordIso_trans[OF _ card_of_unique[of "Field r" r], of "|A|"] |
|
253 |
by blast |
|
254 |
||
255 |
lemma toCard_pred_toCard: |
|
256 |
"\<lbrakk>|A| \<le>o r; Card_order r\<rbrakk> \<Longrightarrow> toCard_pred A r (toCard A r)" |
|
257 |
unfolding toCard_def using someI_ex[OF ex_toCard_pred] . |
|
258 |
||
259 |
lemma toCard_inj: "\<lbrakk>|A| \<le>o r; Card_order r; x \<in> A; y \<in> A\<rbrakk> \<Longrightarrow> |
|
260 |
toCard A r x = toCard A r y \<longleftrightarrow> x = y" |
|
261 |
using toCard_pred_toCard unfolding inj_on_def toCard_pred_def by blast |
|
262 |
||
263 |
lemma toCard: "\<lbrakk>|A| \<le>o r; Card_order r; b \<in> A\<rbrakk> \<Longrightarrow> toCard A r b \<in> Field r" |
|
264 |
using toCard_pred_toCard unfolding toCard_pred_def by blast |
|
265 |
||
266 |
definition "fromCard A r k \<equiv> SOME b. b \<in> A \<and> toCard A r b = k" |
|
267 |
||
268 |
lemma fromCard_toCard: |
|
269 |
"\<lbrakk>|A| \<le>o r; Card_order r; b \<in> A\<rbrakk> \<Longrightarrow> fromCard A r (toCard A r b) = b" |
|
270 |
unfolding fromCard_def by (rule some_equality) (auto simp add: toCard_inj) |
|
271 |
||
272 |
(* pick according to the weak pullback *) |
|
273 |
definition pickWP where |
|
51446 | 274 |
"pickWP A p1 p2 b1 b2 \<equiv> SOME a. a \<in> A \<and> p1 a = b1 \<and> p2 a = b2" |
49312 | 275 |
|
276 |
lemma pickWP_pred: |
|
277 |
assumes "wpull A B1 B2 f1 f2 p1 p2" and |
|
278 |
"b1 \<in> B1" and "b2 \<in> B2" and "f1 b1 = f2 b2" |
|
51446 | 279 |
shows "\<exists> a. a \<in> A \<and> p1 a = b1 \<and> p2 a = b2" |
280 |
using assms unfolding wpull_def by blast |
|
49312 | 281 |
|
282 |
lemma pickWP: |
|
283 |
assumes "wpull A B1 B2 f1 f2 p1 p2" and |
|
284 |
"b1 \<in> B1" and "b2 \<in> B2" and "f1 b1 = f2 b2" |
|
285 |
shows "pickWP A p1 p2 b1 b2 \<in> A" |
|
286 |
"p1 (pickWP A p1 p2 b1 b2) = b1" |
|
287 |
"p2 (pickWP A p1 p2 b1 b2) = b2" |
|
51446 | 288 |
unfolding pickWP_def using assms someI_ex[OF pickWP_pred] by fastforce+ |
49312 | 289 |
|
290 |
lemma Inl_Field_csum: "a \<in> Field r \<Longrightarrow> Inl a \<in> Field (r +c s)" |
|
291 |
unfolding Field_card_of csum_def by auto |
|
292 |
||
293 |
lemma Inr_Field_csum: "a \<in> Field s \<Longrightarrow> Inr a \<in> Field (r +c s)" |
|
294 |
unfolding Field_card_of csum_def by auto |
|
295 |
||
296 |
lemma nat_rec_0: "f = nat_rec f1 (%n rec. f2 n rec) \<Longrightarrow> f 0 = f1" |
|
297 |
by auto |
|
298 |
||
299 |
lemma nat_rec_Suc: "f = nat_rec f1 (%n rec. f2 n rec) \<Longrightarrow> f (Suc n) = f2 n (f n)" |
|
300 |
by auto |
|
301 |
||
302 |
lemma list_rec_Nil: "f = list_rec f1 (%x xs rec. f2 x xs rec) \<Longrightarrow> f [] = f1" |
|
303 |
by auto |
|
304 |
||
305 |
lemma list_rec_Cons: "f = list_rec f1 (%x xs rec. f2 x xs rec) \<Longrightarrow> f (x # xs) = f2 x xs (f xs)" |
|
306 |
by auto |
|
307 |
||
308 |
lemma not_arg_cong_Inr: "x \<noteq> y \<Longrightarrow> Inr x \<noteq> Inr y" |
|
309 |
by simp |
|
310 |
||
49309
f20b24214ac2
split basic BNFs into really basic ones and others, and added Andreas Lochbihler's "option" BNF
blanchet
parents:
49308
diff
changeset
|
311 |
ML_file "Tools/bnf_gfp_util.ML" |
f20b24214ac2
split basic BNFs into really basic ones and others, and added Andreas Lochbihler's "option" BNF
blanchet
parents:
49308
diff
changeset
|
312 |
ML_file "Tools/bnf_gfp_tactics.ML" |
f20b24214ac2
split basic BNFs into really basic ones and others, and added Andreas Lochbihler's "option" BNF
blanchet
parents:
49308
diff
changeset
|
313 |
ML_file "Tools/bnf_gfp.ML" |
f20b24214ac2
split basic BNFs into really basic ones and others, and added Andreas Lochbihler's "option" BNF
blanchet
parents:
49308
diff
changeset
|
314 |
|
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
315 |
end |