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