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