author | blanchet |
Wed, 29 May 2013 02:35:49 +0200 | |
changeset 52214 | 4cc5a80bba80 |
parent 52143 | 36ffe23b25f8 |
child 52430 | 289e36c2870a |
permissions | -rw-r--r-- |
12176 | 1 |
;; |
2 |
;; Keyword classification tables for Isabelle/Isar. |
|
48709
719f458cd89e
prefer static Build.outer_syntax in Isabelle/Scala session -- discontinued incremental protocol;
wenzelm
parents:
47069
diff
changeset
|
3 |
;; Generated from ZF. |
24904 | 4 |
;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT *** |
12176 | 5 |
;; |
6 |
||
7 |
(defconst isar-keywords-major |
|
8 |
'("\\." |
|
9 |
"\\.\\." |
|
25577 | 10 |
"Isabelle\\.command" |
12176 | 11 |
"ML" |
12 |
"ML_command" |
|
48867
e9beabf045ab
some support for inlining file content into outer syntax token language;
wenzelm
parents:
48709
diff
changeset
|
13 |
"ML_file" |
28261 | 14 |
"ML_prf" |
26394 | 15 |
"ML_val" |
12176 | 16 |
"ProofGeneral\\.inform_file_processed" |
17 |
"ProofGeneral\\.inform_file_retracted" |
|
18 |
"ProofGeneral\\.kill_proof" |
|
33874 | 19 |
"ProofGeneral\\.pr" |
14937 | 20 |
"ProofGeneral\\.process_pgip" |
12176 | 21 |
"ProofGeneral\\.restart" |
22 |
"ProofGeneral\\.undo" |
|
19069 | 23 |
"abbreviation" |
12176 | 24 |
"also" |
25 |
"apply" |
|
26 |
"apply_end" |
|
27 |
"arities" |
|
28 |
"assume" |
|
30527 | 29 |
"attribute_setup" |
18702 | 30 |
"axiomatization" |
12176 | 31 |
"back" |
47057 | 32 |
"bundle" |
12176 | 33 |
"by" |
34 |
"cannot_undo" |
|
35 |
"case" |
|
36 |
"cd" |
|
37 |
"chapter" |
|
18552 | 38 |
"class" |
20568 | 39 |
"class_deps" |
12176 | 40 |
"classes" |
41 |
"classrel" |
|
31107 | 42 |
"codatatype" |
22486 | 43 |
"code_datatype" |
31107 | 44 |
"coinductive" |
12176 | 45 |
"commit" |
46 |
"consts" |
|
47 |
"context" |
|
48 |
"corollary" |
|
31107 | 49 |
"datatype" |
22084 | 50 |
"declaration" |
12176 | 51 |
"declare" |
52 |
"def" |
|
36455 | 53 |
"default_sort" |
12176 | 54 |
"defer" |
18775 | 55 |
"definition" |
12176 | 56 |
"defs" |
57 |
"disable_pr" |
|
14937 | 58 |
"display_drafts" |
12176 | 59 |
"done" |
60 |
"enable_pr" |
|
61 |
"end" |
|
62 |
"exit" |
|
13407 | 63 |
"extract" |
64 |
"extract_type" |
|
12176 | 65 |
"finally" |
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
66 |
"find_consts" |
17220 | 67 |
"find_theorems" |
12176 | 68 |
"fix" |
69 |
"from" |
|
70 |
"full_prf" |
|
17850 | 71 |
"guess" |
12176 | 72 |
"have" |
73 |
"header" |
|
21732 | 74 |
"help" |
12176 | 75 |
"hence" |
36180 | 76 |
"hide_class" |
77 |
"hide_const" |
|
78 |
"hide_fact" |
|
79 |
"hide_type" |
|
47057 | 80 |
"include" |
81 |
"including" |
|
31107 | 82 |
"inductive" |
83 |
"inductive_cases" |
|
12176 | 84 |
"init_toplevel" |
85 |
"instance" |
|
24866 | 86 |
"instantiation" |
15624
484178635bd8
Further work on interpretation commands. New command `interpret' for
ballarin
parents:
15598
diff
changeset
|
87 |
"interpret" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
88 |
"interpretation" |
12176 | 89 |
"judgment" |
90 |
"kill" |
|
91 |
"kill_thy" |
|
92 |
"lemma" |
|
93 |
"lemmas" |
|
94 |
"let" |
|
27538 | 95 |
"linear_undo" |
30463 | 96 |
"local_setup" |
12176 | 97 |
"locale" |
49571 | 98 |
"locale_deps" |
12176 | 99 |
"method_setup" |
100 |
"moreover" |
|
101 |
"next" |
|
24945 | 102 |
"no_notation" |
15762 | 103 |
"no_syntax" |
19255 | 104 |
"no_translations" |
35414 | 105 |
"no_type_notation" |
41229
d797baa3d57c
replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents:
40965
diff
changeset
|
106 |
"nonterminal" |
21203 | 107 |
"notation" |
12176 | 108 |
"note" |
40960 | 109 |
"notepad" |
12176 | 110 |
"obtain" |
111 |
"oops" |
|
112 |
"oracle" |
|
25516 | 113 |
"overloading" |
12176 | 114 |
"parse_ast_translation" |
115 |
"parse_translation" |
|
116 |
"pr" |
|
117 |
"prefer" |
|
118 |
"presume" |
|
119 |
"pretty_setmargin" |
|
120 |
"prf" |
|
31107 | 121 |
"primrec" |
21732 | 122 |
"print_abbrevs" |
12176 | 123 |
"print_antiquotations" |
124 |
"print_ast_translation" |
|
125 |
"print_attributes" |
|
126 |
"print_binds" |
|
47057 | 127 |
"print_bundles" |
12176 | 128 |
"print_cases" |
129 |
"print_claset" |
|
20378 | 130 |
"print_classes" |
22288 | 131 |
"print_codesetup" |
12176 | 132 |
"print_commands" |
133 |
"print_context" |
|
51585 | 134 |
"print_defn_rules" |
41435 | 135 |
"print_dependencies" |
14937 | 136 |
"print_drafts" |
12176 | 137 |
"print_facts" |
138 |
"print_induct_rules" |
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
139 |
"print_interps" |
12176 | 140 |
"print_locale" |
141 |
"print_locales" |
|
142 |
"print_methods" |
|
52060 | 143 |
"print_options" |
12365 | 144 |
"print_rules" |
12176 | 145 |
"print_simpset" |
19272 | 146 |
"print_statement" |
12176 | 147 |
"print_syntax" |
31107 | 148 |
"print_tcset" |
12176 | 149 |
"print_theorems" |
150 |
"print_theory" |
|
151 |
"print_trans_rules" |
|
152 |
"print_translation" |
|
153 |
"proof" |
|
154 |
"prop" |
|
155 |
"pwd" |
|
156 |
"qed" |
|
157 |
"quit" |
|
13407 | 158 |
"realizability" |
159 |
"realizers" |
|
12176 | 160 |
"remove_thy" |
31107 | 161 |
"rep_datatype" |
36321 | 162 |
"schematic_corollary" |
163 |
"schematic_lemma" |
|
164 |
"schematic_theorem" |
|
12176 | 165 |
"sect" |
166 |
"section" |
|
167 |
"setup" |
|
168 |
"show" |
|
22200 | 169 |
"simproc_setup" |
12176 | 170 |
"sorry" |
24919 | 171 |
"subclass" |
28895 | 172 |
"sublocale" |
12176 | 173 |
"subsect" |
174 |
"subsection" |
|
175 |
"subsubsect" |
|
176 |
"subsubsection" |
|
177 |
"syntax" |
|
40784 | 178 |
"syntax_declaration" |
12176 | 179 |
"term" |
180 |
"text" |
|
181 |
"text_raw" |
|
182 |
"then" |
|
183 |
"theorem" |
|
184 |
"theorems" |
|
185 |
"theory" |
|
186 |
"thm" |
|
187 |
"thm_deps" |
|
188 |
"thus" |
|
22486 | 189 |
"thy_deps" |
12176 | 190 |
"translations" |
191 |
"txt" |
|
192 |
"txt_raw" |
|
193 |
"typ" |
|
35414 | 194 |
"type_notation" |
41249
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset
|
195 |
"type_synonym" |
12176 | 196 |
"typed_print_translation" |
197 |
"typedecl" |
|
198 |
"ultimately" |
|
199 |
"undo" |
|
200 |
"undos_proof" |
|
18541 | 201 |
"unfolding" |
26184 | 202 |
"unused_thms" |
12176 | 203 |
"use_thy" |
12926 | 204 |
"using" |
12176 | 205 |
"welcome" |
206 |
"with" |
|
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
207 |
"write" |
12176 | 208 |
"{" |
209 |
"}")) |
|
210 |
||
211 |
(defconst isar-keywords-minor |
|
52143 | 212 |
'("and" |
12176 | 213 |
"assumes" |
17147 | 214 |
"attach" |
15135 | 215 |
"begin" |
12176 | 216 |
"binder" |
31107 | 217 |
"case_eqns" |
218 |
"con_defs" |
|
16168
adb83939177f
Locales: new element constrains, parameter renaming with syntax,
ballarin
parents:
16034
diff
changeset
|
219 |
"constrains" |
12176 | 220 |
"defines" |
31107 | 221 |
"domains" |
222 |
"elimination" |
|
12176 | 223 |
"fixes" |
19797 | 224 |
"for" |
22288 | 225 |
"identifier" |
19797 | 226 |
"if" |
15141 | 227 |
"imports" |
12176 | 228 |
"in" |
47069 | 229 |
"includes" |
31107 | 230 |
"induction" |
12176 | 231 |
"infix" |
232 |
"infixl" |
|
233 |
"infixr" |
|
31107 | 234 |
"intros" |
12176 | 235 |
"is" |
46938
cda018294515
some support for outer syntax keyword declarations within theory header;
wenzelm
parents:
45134
diff
changeset
|
236 |
"keywords" |
31107 | 237 |
"monos" |
12176 | 238 |
"notes" |
18888 | 239 |
"obtains" |
13364 | 240 |
"open" |
12176 | 241 |
"output" |
242 |
"overloaded" |
|
33685 | 243 |
"pervasive" |
31107 | 244 |
"recursor_eqns" |
12935 | 245 |
"shows" |
12176 | 246 |
"structure" |
31107 | 247 |
"type_elims" |
248 |
"type_intros" |
|
19633 | 249 |
"unchecked" |
12176 | 250 |
"where")) |
251 |
||
252 |
(defconst isar-keywords-control |
|
25577 | 253 |
'("Isabelle\\.command" |
254 |
"ProofGeneral\\.inform_file_processed" |
|
12176 | 255 |
"ProofGeneral\\.inform_file_retracted" |
256 |
"ProofGeneral\\.kill_proof" |
|
14937 | 257 |
"ProofGeneral\\.process_pgip" |
12176 | 258 |
"ProofGeneral\\.restart" |
259 |
"ProofGeneral\\.undo" |
|
260 |
"cannot_undo" |
|
40396 | 261 |
"cd" |
262 |
"commit" |
|
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
263 |
"disable_pr" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
264 |
"enable_pr" |
12176 | 265 |
"exit" |
266 |
"init_toplevel" |
|
267 |
"kill" |
|
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
268 |
"kill_thy" |
27538 | 269 |
"linear_undo" |
51270
17d30843fc3b
reconsider 'pretty_setmargin' as "control" command (instead of "diag") -- it is stateful and Proof General legacy;
wenzelm
parents:
49571
diff
changeset
|
270 |
"pretty_setmargin" |
12176 | 271 |
"quit" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
272 |
"remove_thy" |
12176 | 273 |
"undo" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
274 |
"undos_proof" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
275 |
"use_thy")) |
12176 | 276 |
|
277 |
(defconst isar-keywords-diag |
|
26482 | 278 |
'("ML_command" |
26394 | 279 |
"ML_val" |
33874 | 280 |
"ProofGeneral\\.pr" |
20568 | 281 |
"class_deps" |
14937 | 282 |
"display_drafts" |
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
283 |
"find_consts" |
17220 | 284 |
"find_theorems" |
12176 | 285 |
"full_prf" |
286 |
"header" |
|
21732 | 287 |
"help" |
49571 | 288 |
"locale_deps" |
12176 | 289 |
"pr" |
290 |
"prf" |
|
21732 | 291 |
"print_abbrevs" |
12176 | 292 |
"print_antiquotations" |
293 |
"print_attributes" |
|
294 |
"print_binds" |
|
47057 | 295 |
"print_bundles" |
12176 | 296 |
"print_cases" |
297 |
"print_claset" |
|
20378 | 298 |
"print_classes" |
22288 | 299 |
"print_codesetup" |
12176 | 300 |
"print_commands" |
301 |
"print_context" |
|
51585 | 302 |
"print_defn_rules" |
41435 | 303 |
"print_dependencies" |
14937 | 304 |
"print_drafts" |
12176 | 305 |
"print_facts" |
306 |
"print_induct_rules" |
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
307 |
"print_interps" |
12176 | 308 |
"print_locale" |
309 |
"print_locales" |
|
310 |
"print_methods" |
|
52060 | 311 |
"print_options" |
12365 | 312 |
"print_rules" |
12176 | 313 |
"print_simpset" |
19272 | 314 |
"print_statement" |
12176 | 315 |
"print_syntax" |
31107 | 316 |
"print_tcset" |
12176 | 317 |
"print_theorems" |
318 |
"print_theory" |
|
319 |
"print_trans_rules" |
|
320 |
"prop" |
|
321 |
"pwd" |
|
322 |
"term" |
|
323 |
"thm" |
|
324 |
"thm_deps" |
|
22486 | 325 |
"thy_deps" |
12176 | 326 |
"typ" |
26184 | 327 |
"unused_thms" |
12176 | 328 |
"welcome")) |
329 |
||
330 |
(defconst isar-keywords-theory-begin |
|
331 |
'("theory")) |
|
332 |
||
333 |
(defconst isar-keywords-theory-switch |
|
21302 | 334 |
'()) |
12176 | 335 |
|
336 |
(defconst isar-keywords-theory-end |
|
337 |
'("end")) |
|
338 |
||
339 |
(defconst isar-keywords-theory-heading |
|
340 |
'("chapter" |
|
341 |
"section" |
|
342 |
"subsection" |
|
343 |
"subsubsection")) |
|
344 |
||
345 |
(defconst isar-keywords-theory-decl |
|
26482 | 346 |
'("ML" |
48867
e9beabf045ab
some support for inlining file content into outer syntax token language;
wenzelm
parents:
48709
diff
changeset
|
347 |
"ML_file" |
19069 | 348 |
"abbreviation" |
12176 | 349 |
"arities" |
30527 | 350 |
"attribute_setup" |
18702 | 351 |
"axiomatization" |
47057 | 352 |
"bundle" |
18552 | 353 |
"class" |
12176 | 354 |
"classes" |
355 |
"classrel" |
|
31107 | 356 |
"codatatype" |
22486 | 357 |
"code_datatype" |
31107 | 358 |
"coinductive" |
12176 | 359 |
"consts" |
21302 | 360 |
"context" |
31107 | 361 |
"datatype" |
22084 | 362 |
"declaration" |
23804 | 363 |
"declare" |
36455 | 364 |
"default_sort" |
18775 | 365 |
"definition" |
12176 | 366 |
"defs" |
13407 | 367 |
"extract" |
368 |
"extract_type" |
|
36180 | 369 |
"hide_class" |
370 |
"hide_const" |
|
371 |
"hide_fact" |
|
372 |
"hide_type" |
|
31107 | 373 |
"inductive" |
24866 | 374 |
"instantiation" |
12176 | 375 |
"judgment" |
376 |
"lemmas" |
|
30463 | 377 |
"local_setup" |
12176 | 378 |
"locale" |
379 |
"method_setup" |
|
24945 | 380 |
"no_notation" |
15762 | 381 |
"no_syntax" |
19255 | 382 |
"no_translations" |
35414 | 383 |
"no_type_notation" |
41229
d797baa3d57c
replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents:
40965
diff
changeset
|
384 |
"nonterminal" |
21203 | 385 |
"notation" |
40960 | 386 |
"notepad" |
12176 | 387 |
"oracle" |
25516 | 388 |
"overloading" |
12176 | 389 |
"parse_ast_translation" |
390 |
"parse_translation" |
|
31107 | 391 |
"primrec" |
12176 | 392 |
"print_ast_translation" |
393 |
"print_translation" |
|
13407 | 394 |
"realizability" |
395 |
"realizers" |
|
31107 | 396 |
"rep_datatype" |
12176 | 397 |
"setup" |
22200 | 398 |
"simproc_setup" |
12176 | 399 |
"syntax" |
40784 | 400 |
"syntax_declaration" |
12176 | 401 |
"text" |
402 |
"text_raw" |
|
403 |
"theorems" |
|
404 |
"translations" |
|
35414 | 405 |
"type_notation" |
41249
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset
|
406 |
"type_synonym" |
12176 | 407 |
"typed_print_translation" |
51295 | 408 |
"typedecl")) |
12176 | 409 |
|
410 |
(defconst isar-keywords-theory-script |
|
31107 | 411 |
'("inductive_cases")) |
12176 | 412 |
|
413 |
(defconst isar-keywords-theory-goal |
|
36114 | 414 |
'("corollary" |
12176 | 415 |
"instance" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
416 |
"interpretation" |
12176 | 417 |
"lemma" |
36321 | 418 |
"schematic_corollary" |
419 |
"schematic_lemma" |
|
420 |
"schematic_theorem" |
|
24919 | 421 |
"subclass" |
28895 | 422 |
"sublocale" |
12176 | 423 |
"theorem")) |
424 |
||
425 |
(defconst isar-keywords-qed |
|
426 |
'("\\." |
|
427 |
"\\.\\." |
|
428 |
"by" |
|
429 |
"done" |
|
430 |
"sorry")) |
|
431 |
||
432 |
(defconst isar-keywords-qed-block |
|
433 |
'("qed")) |
|
434 |
||
435 |
(defconst isar-keywords-qed-global |
|
436 |
'("oops")) |
|
437 |
||
438 |
(defconst isar-keywords-proof-heading |
|
439 |
'("sect" |
|
440 |
"subsect" |
|
441 |
"subsubsect")) |
|
442 |
||
443 |
(defconst isar-keywords-proof-goal |
|
444 |
'("have" |
|
445 |
"hence" |
|
29607 | 446 |
"interpret")) |
12176 | 447 |
|
448 |
(defconst isar-keywords-proof-block |
|
449 |
'("next" |
|
450 |
"proof")) |
|
451 |
||
452 |
(defconst isar-keywords-proof-open |
|
453 |
'("{")) |
|
454 |
||
455 |
(defconst isar-keywords-proof-close |
|
456 |
'("}")) |
|
457 |
||
458 |
(defconst isar-keywords-proof-chain |
|
459 |
'("finally" |
|
460 |
"from" |
|
461 |
"then" |
|
462 |
"ultimately" |
|
463 |
"with")) |
|
464 |
||
465 |
(defconst isar-keywords-proof-decl |
|
28261 | 466 |
'("ML_prf" |
467 |
"also" |
|
47057 | 468 |
"include" |
469 |
"including" |
|
12176 | 470 |
"let" |
471 |
"moreover" |
|
472 |
"note" |
|
473 |
"txt" |
|
12926 | 474 |
"txt_raw" |
18541 | 475 |
"unfolding" |
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
476 |
"using" |
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
477 |
"write")) |
12176 | 478 |
|
479 |
(defconst isar-keywords-proof-asm |
|
480 |
'("assume" |
|
481 |
"case" |
|
482 |
"def" |
|
483 |
"fix" |
|
484 |
"presume")) |
|
485 |
||
486 |
(defconst isar-keywords-proof-asm-goal |
|
17850 | 487 |
'("guess" |
21806 | 488 |
"obtain" |
489 |
"show" |
|
490 |
"thus")) |
|
12176 | 491 |
|
492 |
(defconst isar-keywords-proof-script |
|
493 |
'("apply" |
|
494 |
"apply_end" |
|
495 |
"back" |
|
496 |
"defer" |
|
497 |
"prefer")) |
|
498 |
||
499 |
(provide 'isar-keywords) |