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