author | paulson |
Wed, 19 Jun 2002 10:44:28 +0200 | |
changeset 13222 | 74d9144c452c |
parent 12864 | cecaa6e64fd5 |
child 14363 | 2c116016f95d |
permissions | -rw-r--r-- |
384 | 1 |
(* Title: Pure/Syntax/mixfix.ML |
2 |
ID: $Id$ |
|
551 | 3 |
Author: Tobias Nipkow and Markus Wenzel, TU Muenchen |
12785 | 4 |
License: GPL (GNU GENERAL PUBLIC LICENSE) |
384 | 5 |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
6 |
Mixfix declarations, infixes, binders. Also parts of the Pure syntax. |
384 | 7 |
*) |
8 |
||
9 |
signature MIXFIX0 = |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
10 |
sig |
384 | 11 |
datatype mixfix = |
12 |
NoSyn | |
|
13 |
Mixfix of string * int list * int | |
|
14 |
Delimfix of string | |
|
11651 | 15 |
InfixName of string * int | |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
16 |
InfixlName of string * int | |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
17 |
InfixrName of string * int | |
11651 | 18 |
Infix of int | |
384 | 19 |
Infixl of int | |
20 |
Infixr of int | |
|
865 | 21 |
Binder of string * int * int |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
22 |
end; |
384 | 23 |
|
24 |
signature MIXFIX1 = |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
25 |
sig |
384 | 26 |
include MIXFIX0 |
12864 | 27 |
val literal: string -> mixfix |
4823 | 28 |
val no_syn: 'a * 'b -> 'a * 'b * mixfix |
11920 | 29 |
val string_of_mixfix: mixfix -> string |
384 | 30 |
val type_name: string -> mixfix -> string |
31 |
val const_name: string -> mixfix -> string |
|
5056 | 32 |
val fix_mixfix: string -> mixfix -> mixfix |
4823 | 33 |
val mixfix_args: mixfix -> int |
4920 | 34 |
val pure_nonterms: string list |
384 | 35 |
val pure_syntax: (string * string * mixfix) list |
12149 | 36 |
val pure_syntax_output: (string * string * mixfix) list |
1181 | 37 |
val pure_appl_syntax: (string * string * mixfix) list |
38 |
val pure_applC_syntax: (string * string * mixfix) list |
|
6027
9dd06eeda95c
added new print_mode "xsymbols" for extended symbol support
oheimb
parents:
5690
diff
changeset
|
39 |
val pure_xsym_syntax: (string * string * mixfix) list |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
40 |
end; |
384 | 41 |
|
42 |
signature MIXFIX = |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
43 |
sig |
384 | 44 |
include MIXFIX1 |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
45 |
val syn_ext_types: string list -> (string * int * mixfix) list |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
46 |
-> SynExt.syn_ext |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
47 |
val syn_ext_consts: string list -> (string * typ * mixfix) list |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
48 |
-> SynExt.syn_ext |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
49 |
end; |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
50 |
|
384 | 51 |
|
1507 | 52 |
structure Mixfix : MIXFIX = |
384 | 53 |
struct |
54 |
||
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
55 |
|
384 | 56 |
(** mixfix declarations **) |
57 |
||
58 |
datatype mixfix = |
|
59 |
NoSyn | |
|
60 |
Mixfix of string * int list * int | |
|
61 |
Delimfix of string | |
|
11651 | 62 |
InfixName of string * int | |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
63 |
InfixlName of string * int | |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
64 |
InfixrName of string * int | |
11651 | 65 |
Infix of int | |
384 | 66 |
Infixl of int | |
67 |
Infixr of int | |
|
887 | 68 |
Binder of string * int * int; |
384 | 69 |
|
12864 | 70 |
val literal = Delimfix o SynExt.escape_mfix; |
71 |
||
4823 | 72 |
fun no_syn (x, y) = (x, y, NoSyn); |
73 |
||
384 | 74 |
|
11920 | 75 |
(* string_of_mixfix *) |
76 |
||
77 |
val parens = enclose "(" ")"; |
|
78 |
val brackets = enclose "[" "]"; |
|
79 |
val spaces = space_implode " "; |
|
80 |
||
81 |
fun string_of_mixfix NoSyn = "" |
|
82 |
| string_of_mixfix (Mixfix (sy, ps, p)) = |
|
83 |
parens (spaces [quote sy, brackets (commas (map string_of_int ps)), string_of_int p]) |
|
84 |
| string_of_mixfix (Delimfix sy) = parens (quote sy) |
|
85 |
| string_of_mixfix (InfixName (sy, p)) = parens (spaces ["infix", quote sy, string_of_int p]) |
|
86 |
| string_of_mixfix (InfixlName (sy, p)) = parens (spaces ["infixl", quote sy, string_of_int p]) |
|
87 |
| string_of_mixfix (InfixrName (sy, p)) = parens (spaces ["infixl", quote sy, string_of_int p]) |
|
88 |
| string_of_mixfix (Infix p) = parens (spaces ["infix", string_of_int p]) |
|
89 |
| string_of_mixfix (Infixl p) = parens (spaces ["infixl", string_of_int p]) |
|
11978 | 90 |
| string_of_mixfix (Infixr p) = parens (spaces ["infixr", string_of_int p]) |
91 |
| string_of_mixfix (Binder (sy, p1, p2)) = |
|
92 |
parens (spaces ["binder", brackets (string_of_int p1), string_of_int p2]); |
|
11920 | 93 |
|
94 |
||
12531 | 95 |
(* syntax specifications *) |
384 | 96 |
|
97 |
fun strip ("'" :: c :: cs) = c :: strip cs |
|
98 |
| strip ["'"] = [] |
|
99 |
| strip (c :: cs) = c :: strip cs |
|
100 |
| strip [] = []; |
|
101 |
||
4697 | 102 |
val strip_esc = implode o strip o Symbol.explode; |
384 | 103 |
|
11651 | 104 |
fun type_name t (InfixName _) = t |
105 |
| type_name t (InfixlName _) = t |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
106 |
| type_name t (InfixrName _) = t |
11651 | 107 |
| type_name t (Infix _) = strip_esc t |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
108 |
| type_name t (Infixl _) = strip_esc t |
384 | 109 |
| type_name t (Infixr _) = strip_esc t |
110 |
| type_name t _ = t; |
|
111 |
||
11651 | 112 |
fun const_name c (InfixName _) = c |
113 |
| const_name c (InfixlName _) = c |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
114 |
| const_name c (InfixrName _) = c |
11651 | 115 |
| const_name c (Infix _) = "op " ^ strip_esc c |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
116 |
| const_name c (Infixl _) = "op " ^ strip_esc c |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
117 |
| const_name c (Infixr _) = "op " ^ strip_esc c |
384 | 118 |
| const_name c _ = c; |
119 |
||
11651 | 120 |
fun fix_mixfix c (Infix p) = (InfixName (c, p)) |
121 |
| fix_mixfix c (Infixl p) = (InfixlName (c, p)) |
|
5056 | 122 |
| fix_mixfix c (Infixr p) = (InfixrName (c, p)) |
123 |
| fix_mixfix _ mx = mx; |
|
124 |
||
4053 | 125 |
fun mixfix_args NoSyn = 0 |
5690 | 126 |
| mixfix_args (Mixfix (sy, _, _)) = SynExt.mfix_args sy |
127 |
| mixfix_args (Delimfix sy) = SynExt.mfix_args sy |
|
12531 | 128 |
| mixfix_args (InfixName (sy, _)) = 2 + SynExt.mfix_args sy |
129 |
| mixfix_args (InfixlName (sy, _)) = 2 + SynExt.mfix_args sy |
|
130 |
| mixfix_args (InfixrName (sy, _)) = 2 + SynExt.mfix_args sy |
|
131 |
| mixfix_args (*old infix or binder*) _ = 2; |
|
4053 | 132 |
|
133 |
||
384 | 134 |
(* syn_ext_types *) |
135 |
||
764
b60e77395d1a
changed Pure's grammar and the way types are converted to nonterminals
clasohm
parents:
639
diff
changeset
|
136 |
fun syn_ext_types logtypes type_decls = |
384 | 137 |
let |
138 |
fun name_of (t, _, mx) = type_name t mx; |
|
139 |
||
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
140 |
fun mk_infix sy t p1 p2 p3 = |
5690 | 141 |
SynExt.Mfix ("(_ " ^ sy ^ "/ _)", |
12512
ab14b29dfc6d
removed special treatment of "_" in syntax (now covered by \<index> arg);
wenzelm
parents:
12149
diff
changeset
|
142 |
[SynExt.typeT, SynExt.typeT] ---> SynExt.typeT, t, [p1, p2], p3); |
384 | 143 |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
144 |
fun mfix_of decl = |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
145 |
let val t = name_of decl in |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
146 |
(case decl of |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
147 |
(_, _, NoSyn) => None |
11651 | 148 |
| (_, 2, InfixName (sy, p)) => Some (mk_infix sy t (p + 1) (p + 1) p) |
6419 | 149 |
| (_, 2, InfixlName (sy, p)) => Some (mk_infix sy t p (p + 1) p) |
150 |
| (_, 2, InfixrName (sy, p)) => Some (mk_infix sy t (p + 1) p p) |
|
11651 | 151 |
| (sy, 2, Infix p) => Some (mk_infix sy t (p + 1) (p + 1) p) |
6419 | 152 |
| (sy, 2, Infixl p) => Some (mk_infix sy t p (p + 1) p) |
153 |
| (sy, 2, Infixr p) => Some (mk_infix sy t (p + 1) p p) |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
154 |
| _ => error ("Bad mixfix declaration for type " ^ quote t)) |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
155 |
end; |
384 | 156 |
|
157 |
val mfix = mapfilter mfix_of type_decls; |
|
158 |
val xconsts = map name_of type_decls; |
|
5690 | 159 |
in SynExt.syn_ext logtypes mfix xconsts ([], [], [], []) [] ([], []) end; |
384 | 160 |
|
161 |
||
162 |
(* syn_ext_consts *) |
|
163 |
||
764
b60e77395d1a
changed Pure's grammar and the way types are converted to nonterminals
clasohm
parents:
639
diff
changeset
|
164 |
fun syn_ext_consts logtypes const_decls = |
384 | 165 |
let |
166 |
fun name_of (c, _, mx) = const_name c mx; |
|
167 |
||
168 |
fun mk_infix sy ty c p1 p2 p3 = |
|
5690 | 169 |
[SynExt.Mfix ("op " ^ sy, ty, c, [], SynExt.max_pri), |
12512
ab14b29dfc6d
removed special treatment of "_" in syntax (now covered by \<index> arg);
wenzelm
parents:
12149
diff
changeset
|
170 |
SynExt.Mfix ("(_ " ^ sy ^ "/ _)", ty, c, [p1, p2], p3)]; |
384 | 171 |
|
172 |
fun binder_typ _ (Type ("fun", [Type ("fun", [_, ty2]), ty3])) = |
|
173 |
[Type ("idts", []), ty2] ---> ty3 |
|
174 |
| binder_typ c _ = error ("Bad type of binder " ^ quote c); |
|
175 |
||
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
176 |
fun mfix_of decl = |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
177 |
let val c = name_of decl in |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
178 |
(case decl of |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
179 |
(_, _, NoSyn) => [] |
5690 | 180 |
| (_, ty, Mixfix (sy, ps, p)) => [SynExt.Mfix (sy, ty, c, ps, p)] |
181 |
| (_, ty, Delimfix sy) => [SynExt.Mfix (sy, ty, c, [], SynExt.max_pri)] |
|
11651 | 182 |
| (_, ty, InfixName (sy, p)) => mk_infix sy ty c (p + 1) (p + 1) p |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
183 |
| (_, ty, InfixlName (sy, p)) => mk_infix sy ty c p (p + 1) p |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
184 |
| (_, ty, InfixrName (sy, p)) => mk_infix sy ty c (p + 1) p p |
11651 | 185 |
| (sy, ty, Infix p) => mk_infix sy ty c (p + 1) (p + 1) p |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
186 |
| (sy, ty, Infixl p) => mk_infix sy ty c p (p + 1) p |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
187 |
| (sy, ty, Infixr p) => mk_infix sy ty c (p + 1) p p |
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
188 |
| (_, ty, Binder (sy, p, q)) => |
5690 | 189 |
[SynExt.Mfix ("(3" ^ sy ^ "_./ _)", binder_typ c ty, sy, [0, p], q)]) |
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
190 |
end; |
384 | 191 |
|
865 | 192 |
fun binder (c, _, Binder (sy, _, _)) = Some (sy, c) |
384 | 193 |
| binder _ = None; |
194 |
||
195 |
val mfix = flat (map mfix_of const_decls); |
|
196 |
val xconsts = map name_of const_decls; |
|
197 |
val binders = mapfilter binder const_decls; |
|
5690 | 198 |
val binder_trs = map SynTrans.mk_binder_tr binders; |
199 |
val binder_trs' = map (apsnd SynExt.fix_tr' o SynTrans.mk_binder_tr' o swap) binders; |
|
200 |
in SynExt.syn_ext logtypes mfix xconsts ([], binder_trs, binder_trs', []) [] ([], []) end; |
|
384 | 201 |
|
202 |
||
203 |
||
204 |
(** Pure syntax **) |
|
205 |
||
4920 | 206 |
val pure_nonterms = |
5690 | 207 |
(Lexicon.terminals @ [SynExt.logic, "type", "types", "sort", "classes", |
208 |
SynExt.args, SynExt.cargs, "pttrn", "pttrns", "idt", "idts", "aprop", |
|
12100 | 209 |
"asms", SynExt.any, SynExt.sprop, "num_const", "index", "struct"]); |
384 | 210 |
|
211 |
val pure_syntax = |
|
3690 | 212 |
[("_lambda", "[pttrns, 'a] => logic", Mixfix ("(3%_./ _)", [0, 3], 3)), |
2696 | 213 |
("_abs", "'a", NoSyn), |
5690 | 214 |
("", "'a => " ^ SynExt.args, Delimfix "_"), |
215 |
("_args", "['a, " ^ SynExt.args ^ "] => " ^ SynExt.args, Delimfix "_,/ _"), |
|
2696 | 216 |
("", "id => idt", Delimfix "_"), |
217 |
("_idtyp", "[id, type] => idt", Mixfix ("_::_", [], 0)), |
|
218 |
("", "idt => idt", Delimfix "'(_')"), |
|
3690 | 219 |
("", "idt => idts", Delimfix "_"), |
220 |
("_idts", "[idt, idts] => idts", Mixfix ("_/ _", [1, 0], 0)), |
|
2696 | 221 |
("", "idt => pttrn", Delimfix "_"), |
3690 | 222 |
("", "pttrn => pttrns", Delimfix "_"), |
223 |
("_pttrns", "[pttrn, pttrns] => pttrns", Mixfix ("_/ _", [1, 0], 0)), |
|
2696 | 224 |
("", "id => aprop", Delimfix "_"), |
3829 | 225 |
("", "longid => aprop", Delimfix "_"), |
2696 | 226 |
("", "var => aprop", Delimfix "_"), |
6929 | 227 |
("_DDDOT", "aprop", Delimfix "..."), |
2696 | 228 |
("_aprop", "aprop => prop", Delimfix "PROP _"), |
229 |
("", "prop => asms", Delimfix "_"), |
|
230 |
("_asms", "[prop, asms] => asms", Delimfix "_;/ _"), |
|
231 |
("_bigimpl", "[asms, prop] => prop", Mixfix ("((3[| _ |])/ ==> _)", [0, 1], 1)), |
|
232 |
("_ofclass", "[type, logic] => prop", Delimfix "(1OFCLASS/(1'(_,/ _')))"), |
|
233 |
("_mk_ofclass", "_", NoSyn), |
|
4143 | 234 |
("_TYPE", "type => logic", Delimfix "(1TYPE/(1'(_')))"), |
2696 | 235 |
("_K", "_", NoSyn), |
236 |
("", "id => logic", Delimfix "_"), |
|
3829 | 237 |
("", "longid => logic", Delimfix "_"), |
5287 | 238 |
("", "var => logic", Delimfix "_"), |
12095 | 239 |
("_DDDOT", "logic", Delimfix "..."), |
12100 | 240 |
("_constify", "num => num_const", Delimfix "_"), |
241 |
("_index", "num_const => index", Delimfix "\\<^sub>_"), |
|
12512
ab14b29dfc6d
removed special treatment of "_" in syntax (now covered by \<index> arg);
wenzelm
parents:
12149
diff
changeset
|
242 |
("_indexvar", "index", Delimfix "'\\<index>"), |
12100 | 243 |
("_noindex", "index", Delimfix ""), |
244 |
("_struct", "index => logic", Delimfix "\\<struct>_")]; |
|
384 | 245 |
|
12149 | 246 |
val pure_syntax_output = |
247 |
[("Goal", "prop => prop", Mixfix ("_", [0], 0)), |
|
248 |
("_meta_conjunction", "prop => prop => prop", InfixrName ("&&", 2))]; |
|
249 |
||
1181 | 250 |
val pure_appl_syntax = |
5690 | 251 |
[("_appl", "[('b => 'a), args] => logic", Mixfix ("(1_/(1'(_')))", [SynExt.max_pri, 0], SynExt.max_pri)), |
252 |
("_appl", "[('b => 'a), args] => aprop", Mixfix ("(1_/(1'(_')))", [SynExt.max_pri, 0], SynExt.max_pri))]; |
|
1181 | 253 |
|
254 |
val pure_applC_syntax = |
|
2696 | 255 |
[("", "'a => cargs", Delimfix "_"), |
5690 | 256 |
("_cargs", "['a, cargs] => cargs", Mixfix ("_/ _", [SynExt.max_pri, SynExt.max_pri], SynExt.max_pri)), |
257 |
("_applC", "[('b => 'a), cargs] => logic", Mixfix ("(1_/ _)", [SynExt.max_pri, SynExt.max_pri], SynExt.max_pri - 1)), |
|
258 |
("_applC", "[('b => 'a), cargs] => aprop", Mixfix ("(1_/ _)", [SynExt.max_pri, SynExt.max_pri], SynExt.max_pri - 1))]; |
|
2199
bcb360f80dac
added Infixl/rName: specify infix name independently from syntax;
wenzelm
parents:
1952
diff
changeset
|
259 |
|
12121 | 260 |
val pure_xsym_syntax = |
2696 | 261 |
[("fun", "[type, type] => type", Mixfix ("(_/ \\<Rightarrow> _)", [1, 0], 0)), |
262 |
("_bracket", "[types, type] => type", Mixfix ("([_]/ \\<Rightarrow> _)", [0, 0], 0)), |
|
5690 | 263 |
("_ofsort", "[tid, sort] => type", Mixfix ("_\\<Colon>_", [SynExt.max_pri, 0], SynExt.max_pri)), |
2767
e1d15eabb64d
added \<Colon> syntax for constraints (more compact!);
wenzelm
parents:
2696
diff
changeset
|
264 |
("_constrain", "['a, type] => 'a", Mixfix ("_\\<Colon>_", [4, 0], 3)), |
e1d15eabb64d
added \<Colon> syntax for constraints (more compact!);
wenzelm
parents:
2696
diff
changeset
|
265 |
("_idtyp", "[id, type] => idt", Mixfix ("_\\<Colon>_", [], 0)), |
3690 | 266 |
("_lambda", "[pttrns, 'a] => logic", Mixfix ("(3\\<lambda>_./ _)", [0, 3], 3)), |
2696 | 267 |
("==", "['a::{}, 'a] => prop", InfixrName ("\\<equiv>", 2)), |
12121 | 268 |
("!!", "[idts, prop] => prop", Mixfix ("(3\\<And>_./ _)", [0, 0], 0)), |
269 |
("==>", "[prop, prop] => prop", InfixrName ("\\<Longrightarrow>", 1)), |
|
11098 | 270 |
("=?=", "['a::{}, 'a] => prop", InfixrName ("\\<equiv>\\<^sup>?", 2)), |
9734 | 271 |
("_DDDOT", "aprop", Delimfix "\\<dots>"), |
272 |
("_bigimpl", "[asms, prop] => prop", Mixfix ("((3\\<lbrakk>_\\<rbrakk>)/ \\<Longrightarrow> _)", [0, 1], 1)), |
|
273 |
("_DDDOT", "logic", Delimfix "\\<dots>")]; |
|
3829 | 274 |
|
384 | 275 |
end; |