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