author | blanchet |
Thu, 11 Sep 2014 19:26:59 +0200 | |
changeset 58309 | a09ec6daaa19 |
parent 58232 | src/HOL/BNF_Examples/Misc_Datatype.thy@7b70a2b4ec9b |
child 58310 | 91ea607a34d8 |
permissions | -rw-r--r-- |
58309
a09ec6daaa19
renamed 'BNF_Examples' to 'Datatype_Examples' (cf. 'datatypes.pdf')
blanchet
parents:
58232
diff
changeset
|
1 |
(* Title: HOL/Datatype_Examples/Misc_Datatype.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 |
Author: Andrei Popescu, TU Muenchen |
51744 | 4 |
Author: Jasmin Blanchette, TU Muenchen |
5 |
Copyright 2012, 2013 |
|
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
6 |
|
53122
bc87b7af4767
renamed theory files to be closer to (new) command names
blanchet
parents:
52844
diff
changeset
|
7 |
Miscellaneous datatype definitions. |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
8 |
*) |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
9 |
|
53122
bc87b7af4767
renamed theory files to be closer to (new) command names
blanchet
parents:
52844
diff
changeset
|
10 |
header {* Miscellaneous Datatype Definitions *} |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
11 |
|
53122
bc87b7af4767
renamed theory files to be closer to (new) command names
blanchet
parents:
52844
diff
changeset
|
12 |
theory Misc_Datatype |
58163
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
13 |
imports "~~/src/HOL/Library/Countable" "~~/src/HOL/Library/FSet" |
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 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
16 |
datatype_new (discs_sels) simple = X1 | X2 | X3 | X4 |
49157 | 17 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
18 |
datatype_new (discs_sels) simple' = X1' unit | X2' unit | X3' unit | X4' unit |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
19 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
20 |
datatype_new (discs_sels) simple'' = X1'' nat int | X2'' |
52323 | 21 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
22 |
datatype_new (discs_sels) 'a mylist = MyNil | MyCons (myhd: 'a) (mytl: "'a mylist") |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
23 |
|
58228 | 24 |
datatype_new (discs_sels) ('b, 'c :: ord, 'd, 'e) some_passive = |
49157 | 25 |
SP1 "('b, 'c, 'd, 'e) some_passive" | SP2 'b | SP3 'c | SP4 'd | SP5 'e |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
26 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
27 |
datatype_new (discs_sels) hfset = HFset "hfset fset" |
49601 | 28 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
29 |
datatype_new (discs_sels) lambda = |
49157 | 30 |
Var string | |
31 |
App lambda lambda | |
|
32 |
Abs string lambda | |
|
33 |
Let "(string \<times> lambda) fset" lambda |
|
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
34 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
35 |
datatype_new (discs_sels) 'a par_lambda = |
49157 | 36 |
PVar 'a | |
37 |
PApp "'a par_lambda" "'a par_lambda" | |
|
38 |
PAbs 'a "'a par_lambda" | |
|
39 |
PLet "('a \<times> 'a par_lambda) fset" "'a par_lambda" |
|
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
40 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
41 |
(* |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
42 |
('a, 'b1, 'b2) F1 = 'a * 'b1 + 'a * 'b2 |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
43 |
('a, 'b1, 'b2) F2 = unit + 'b1 * 'b2 |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
44 |
*) |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
45 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
46 |
datatype_new (discs_sels) 'a I1 = I11 'a "'a I1" | I12 'a "'a I2" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
47 |
and 'a I2 = I21 | I22 "'a I1" "'a I2" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
48 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
49 |
datatype_new (discs_sels) 'a tree = TEmpty | TNode 'a "'a forest" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
50 |
and 'a forest = FNil | FCons "'a tree" "'a forest" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
51 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
52 |
datatype_new (discs_sels) 'a tree' = TEmpty' | TNode' "'a branch" "'a branch" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
53 |
and 'a branch = Branch 'a "'a tree'" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
54 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
55 |
datatype_new (discs_sels) 'a bin_rose_tree = BRTree 'a "'a bin_rose_tree mylist" "'a bin_rose_tree mylist" |
55484 | 56 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
57 |
datatype_new (discs_sels) ('a, 'b) exp = Term "('a, 'b) trm" | Sum "('a, 'b) trm" "('a, 'b) exp" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
58 |
and ('a, 'b) trm = Factor "('a, 'b) factor" | Prod "('a, 'b) factor" "('a, 'b) trm" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
59 |
and ('a, 'b) factor = C 'a | V 'b | Paren "('a, 'b) exp" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
60 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
61 |
datatype_new (discs_sels) 'a ftree = FTLeaf 'a | FTNode "'a \<Rightarrow> 'a ftree" |
53134 | 62 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
63 |
datatype_new (discs_sels) ('a, 'b, 'c) some_killing = |
49157 | 64 |
SK "'a \<Rightarrow> 'b \<Rightarrow> ('a, 'b, 'c) some_killing + ('a, 'b, 'c) in_here" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
65 |
and ('a, 'b, 'c) in_here = |
49157 | 66 |
IH1 'b 'a | IH2 'c |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
67 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
68 |
datatype_new (discs_sels) 'b nofail1 = NF11 "'b nofail1" 'b | NF12 'b |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
69 |
datatype_new (discs_sels) 'b nofail2 = NF2 "('b nofail2 \<times> 'b \<times> 'b nofail2 \<times> 'b) list" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
70 |
datatype_new (discs_sels) 'b nofail3 = NF3 'b "('b nofail3 \<times> 'b \<times> 'b nofail3 \<times> 'b) fset" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
71 |
datatype_new (discs_sels) 'b nofail4 = NF4 "('b nofail4 \<times> ('b nofail4 \<times> 'b \<times> 'b nofail4 \<times> 'b) fset) list" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
72 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
73 |
(* |
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
74 |
datatype_new (discs_sels) 'b fail = F "'b fail" 'b "'b fail" "'b list" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
75 |
datatype_new (discs_sels) 'b fail = F "'b fail" 'b "'b fail" 'b |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
76 |
datatype_new (discs_sels) 'b fail = F1 "'b fail" 'b | F2 "'b fail" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
77 |
datatype_new (discs_sels) 'b fail = F "'b fail" 'b |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
78 |
*) |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
79 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
80 |
datatype_new (discs_sels) l1 = L1 "l2 list" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
81 |
and l2 = L21 "l1 fset" | L22 l2 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
82 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
83 |
datatype_new (discs_sels) kk1 = KK1 kk2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
84 |
and kk2 = KK2 kk3 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
85 |
and kk3 = KK3 "kk1 list" |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
86 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
87 |
datatype_new (discs_sels) t1 = T11 t3 | T12 t2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
88 |
and t2 = T2 t1 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
89 |
and t3 = T3 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
90 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
91 |
datatype_new (discs_sels) t1' = T11' t2' | T12' t3' |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
92 |
and t2' = T2' t1' |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
93 |
and t3' = T3' |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
94 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
95 |
(* |
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
96 |
datatype_new (discs_sels) fail1 = F1 fail2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
97 |
and fail2 = F2 fail3 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
98 |
and fail3 = F3 fail1 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
99 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
100 |
datatype_new (discs_sels) fail1 = F1 "fail2 list" fail2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
101 |
and fail2 = F2 "fail2 fset" fail3 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
102 |
and fail3 = F3 fail1 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
103 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
104 |
datatype_new (discs_sels) fail1 = F1 "fail2 list" fail2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
105 |
and fail2 = F2 "fail1 fset" fail1 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
106 |
*) |
49157 | 107 |
|
49162 | 108 |
(* SLOW |
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
109 |
datatype_new (discs_sels) ('a, 'c) D1 = A1 "('a, 'c) D2" | B1 "'a list" |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
110 |
and ('a, 'c) D2 = A2 "('a, 'c) D3" | B2 "'c list" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
111 |
and ('a, 'c) D3 = A3 "('a, 'c) D3" | B3 "('a, 'c) D4" | C3 "('a, 'c) D4" "('a, 'c) D5" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
112 |
and ('a, 'c) D4 = A4 "('a, 'c) D5" | B4 "'a list list list" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
113 |
and ('a, 'c) D5 = A5 "('a, 'c) D6" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
114 |
and ('a, 'c) D6 = A6 "('a, 'c) D7" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
115 |
and ('a, 'c) D7 = A7 "('a, 'c) D8" |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
116 |
and ('a, 'c) D8 = A8 "('a, 'c) D1 list" |
49162 | 117 |
*) |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
118 |
|
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
119 |
(* fail: |
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
120 |
datatype_new (discs_sels) tt1 = TT11 tt2 tt3 | TT12 tt2 tt4 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
121 |
and tt2 = TT2 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
122 |
and tt3 = TT3 tt4 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
123 |
and tt4 = TT4 tt1 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
124 |
*) |
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
125 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
126 |
datatype_new (discs_sels) k1 = K11 k2 k3 | K12 k2 k4 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
127 |
and k2 = K2 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
128 |
and k3 = K3 k4 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
129 |
and k4 = K4 |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
130 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
131 |
datatype_new (discs_sels) tt1 = TT11 tt3 tt2 | TT12 tt2 tt4 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
132 |
and tt2 = TT2 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
133 |
and tt3 = TT3 tt1 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
134 |
and tt4 = TT4 |
49157 | 135 |
|
49162 | 136 |
(* SLOW |
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
137 |
datatype_new (discs_sels) s1 = S11 s2 s3 s4 | S12 s3 | S13 s2 s6 | S14 s4 s2 | S15 s2 s2 |
51804
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
138 |
and s2 = S21 s7 s5 | S22 s5 s4 s6 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
139 |
and s3 = S31 s1 s7 s2 | S32 s3 s3 | S33 s4 s5 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
140 |
and s4 = S4 s5 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
141 |
and s5 = S5 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
142 |
and s6 = S61 s6 | S62 s1 s2 | S63 s6 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
143 |
and s7 = S71 s8 | S72 s5 |
be6e703908f4
renamed BNF "(co)data" commands to names that are closer to their final names
blanchet
parents:
51744
diff
changeset
|
144 |
and s8 = S8 nat |
49162 | 145 |
*) |
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
146 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
147 |
datatype_new (discs_sels) 'a deadbar = DeadBar "'a \<Rightarrow> 'a" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
148 |
datatype_new (discs_sels) 'a deadbar_option = DeadBarOption "'a option \<Rightarrow> 'a option" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
149 |
datatype_new (discs_sels) ('a, 'b) bar = Bar "'b \<Rightarrow> 'a" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
150 |
datatype_new (discs_sels) ('a, 'b, 'c, 'd) foo = Foo "'d + 'b \<Rightarrow> 'c + 'a" |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
151 |
datatype_new (discs_sels) 'a deadfoo = DeadFoo "'a \<Rightarrow> 'a + 'a" |
49185
073d7d1b7488
respect order of/additional type variables supplied by the user in fixed point constructions;
traytel
parents:
49166
diff
changeset
|
152 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
153 |
datatype_new (discs_sels) 'a dead_foo = A |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
154 |
datatype_new (discs_sels) ('a, 'b) use_dead_foo = Y "'a" "'b dead_foo" |
49186
4b5fa9d5e330
handle type constructors not known to be a BNF using the DEADID BNF
traytel
parents:
49185
diff
changeset
|
155 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
156 |
datatype_new (discs_sels) d1 = D |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
157 |
datatype_new (discs_sels) d1' = is_D: D |
51744 | 158 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
159 |
datatype_new (discs_sels) d2 = D nat |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
160 |
datatype_new (discs_sels) d2' = is_D: D nat |
51744 | 161 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
162 |
datatype_new (discs_sels) d3 = D | E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
163 |
datatype_new (discs_sels) d3' = D | is_E: E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
164 |
datatype_new (discs_sels) d3'' = is_D: D | E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
165 |
datatype_new (discs_sels) d3''' = is_D: D | is_E: E |
51744 | 166 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
167 |
datatype_new (discs_sels) d4 = D nat | E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
168 |
datatype_new (discs_sels) d4' = D nat | is_E: E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
169 |
datatype_new (discs_sels) d4'' = is_D: D nat | E |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
170 |
datatype_new (discs_sels) d4''' = is_D: D nat | is_E: E |
51744 | 171 |
|
58139
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
172 |
datatype_new (discs_sels) d5 = D nat | E int |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
173 |
datatype_new (discs_sels) d5' = D nat | is_E: E int |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
174 |
datatype_new (discs_sels) d5'' = is_D: D nat | E int |
e4c69c0985f5
test discriminators/selectors in BNF regression suite
traytel
parents:
57795
diff
changeset
|
175 |
datatype_new (discs_sels) d5''' = is_D: D nat | is_E: E int |
51744 | 176 |
|
58163
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
177 |
instance simple :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
178 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
179 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
180 |
instance simple'' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
181 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
182 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
183 |
instance mylist :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
184 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
185 |
|
58232
7b70a2b4ec9b
made new countable tactic work with sorts other than 'type'
blanchet
parents:
58228
diff
changeset
|
186 |
instance some_passive :: (countable, "{countable,ord}", countable, countable) countable |
58163
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
187 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
188 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
189 |
(* TODO: Enable once "fset" is registered as countable: |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
190 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
191 |
instance hfset :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
192 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
193 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
194 |
instance lambda :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
195 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
196 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
197 |
instance par_lambda :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
198 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
199 |
*) |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
200 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
201 |
instance I1 and I2 :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
202 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
203 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
204 |
instance tree and forest :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
205 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
206 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
207 |
instance tree' and branch :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
208 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
209 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
210 |
instance bin_rose_tree :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
211 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
212 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
213 |
instance exp and trm and factor :: (countable, countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
214 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
215 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
216 |
instance nofail1 :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
217 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
218 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
219 |
instance nofail2 :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
220 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
221 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
222 |
(* TODO: Enable once "fset" is registered as countable: |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
223 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
224 |
instance nofail3 :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
225 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
226 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
227 |
instance nofail4 :: (countable) countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
228 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
229 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
230 |
instance l1 and l2 :: countable |
58173 | 231 |
by countable_datatype |
58163
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
232 |
*) |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
233 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
234 |
instance kk1 and kk2 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
235 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
236 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
237 |
instance t1 and t2 and t3 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
238 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
239 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
240 |
instance t1' and t2' and t3' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
241 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
242 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
243 |
instance k1 and k2 and k3 and k4 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
244 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
245 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
246 |
instance tt1 and tt2 and tt3 and tt4 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
247 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
248 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
249 |
instance d1 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
250 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
251 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
252 |
instance d1' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
253 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
254 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
255 |
instance d2 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
256 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
257 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
258 |
instance d2' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
259 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
260 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
261 |
instance d3 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
262 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
263 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
264 |
instance d3' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
265 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
266 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
267 |
instance d3'' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
268 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
269 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
270 |
instance d3''' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
271 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
272 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
273 |
instance d4 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
274 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
275 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
276 |
instance d4' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
277 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
278 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
279 |
instance d4'' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
280 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
281 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
282 |
instance d4''' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
283 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
284 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
285 |
instance d5 :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
286 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
287 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
288 |
instance d5' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
289 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
290 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
291 |
instance d5'' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
292 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
293 |
|
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
294 |
instance d5''' :: countable |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
295 |
by countable_datatype |
c1e32fe387f4
added tests for new 'countable_datatype' proof method
blanchet
parents:
58139
diff
changeset
|
296 |
|
57795 | 297 |
datatype_compat simple |
298 |
datatype_compat simple' |
|
299 |
datatype_compat simple'' |
|
300 |
datatype_compat mylist |
|
301 |
datatype_compat some_passive |
|
302 |
datatype_compat I1 I2 |
|
303 |
datatype_compat tree forest |
|
304 |
datatype_compat tree' branch |
|
305 |
datatype_compat bin_rose_tree |
|
306 |
datatype_compat exp trm factor |
|
307 |
datatype_compat ftree |
|
308 |
datatype_compat nofail1 |
|
309 |
datatype_compat kk1 kk2 kk3 |
|
310 |
datatype_compat t1 t2 t3 |
|
311 |
datatype_compat t1' t2' t3' |
|
312 |
datatype_compat k1 k2 k3 k4 |
|
313 |
datatype_compat tt1 tt2 tt3 tt4 |
|
314 |
datatype_compat deadbar |
|
315 |
datatype_compat deadbar_option |
|
316 |
datatype_compat bar |
|
317 |
datatype_compat foo |
|
318 |
datatype_compat deadfoo |
|
319 |
datatype_compat dead_foo |
|
320 |
datatype_compat use_dead_foo |
|
321 |
datatype_compat d1 |
|
322 |
datatype_compat d1' |
|
323 |
datatype_compat d2 |
|
324 |
datatype_compat d2' |
|
325 |
datatype_compat d3 |
|
326 |
datatype_compat d3' |
|
327 |
datatype_compat d3'' |
|
328 |
datatype_compat d3''' |
|
329 |
datatype_compat d4 |
|
330 |
datatype_compat d4' |
|
331 |
datatype_compat d4'' |
|
332 |
datatype_compat d4''' |
|
333 |
datatype_compat d5 |
|
334 |
datatype_compat d5' |
|
335 |
datatype_compat d5'' |
|
336 |
datatype_compat d5''' |
|
337 |
||
48975
7f79f94a432c
added new (co)datatype package + theories of ordinals and cardinals (with Dmitriy and Andrei)
blanchet
parents:
diff
changeset
|
338 |
end |