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