| author | blanchet |
| Wed, 14 Apr 2010 18:23:51 +0200 | |
| changeset 36142 | f5e15e9aae10 |
| parent 36114 | e49fd7b1d932 |
| child 36180 | 2db3711b2b03 |
| 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" |
|
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" |
| 35414 | 109 |
"no_type_notation" |
| 12176 | 110 |
"nonterminals" |
| 21203 | 111 |
"notation" |
| 12176 | 112 |
"note" |
113 |
"obtain" |
|
114 |
"oops" |
|
115 |
"oracle" |
|
| 25516 | 116 |
"overloading" |
| 12176 | 117 |
"parse_ast_translation" |
118 |
"parse_translation" |
|
119 |
"pr" |
|
120 |
"prefer" |
|
121 |
"presume" |
|
122 |
"pretty_setmargin" |
|
123 |
"prf" |
|
| 31107 | 124 |
"primrec" |
| 21732 | 125 |
"print_abbrevs" |
| 12176 | 126 |
"print_antiquotations" |
127 |
"print_ast_translation" |
|
128 |
"print_attributes" |
|
129 |
"print_binds" |
|
130 |
"print_cases" |
|
131 |
"print_claset" |
|
| 20378 | 132 |
"print_classes" |
| 22288 | 133 |
"print_codesetup" |
| 12176 | 134 |
"print_commands" |
| 24111 | 135 |
"print_configs" |
| 12176 | 136 |
"print_context" |
| 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" |
| 12176 | 162 |
"sect" |
163 |
"section" |
|
164 |
"setup" |
|
165 |
"show" |
|
| 22200 | 166 |
"simproc_setup" |
| 12176 | 167 |
"sorry" |
| 24919 | 168 |
"subclass" |
| 28895 | 169 |
"sublocale" |
| 12176 | 170 |
"subsect" |
171 |
"subsection" |
|
172 |
"subsubsect" |
|
173 |
"subsubsection" |
|
174 |
"syntax" |
|
175 |
"term" |
|
176 |
"text" |
|
177 |
"text_raw" |
|
178 |
"then" |
|
179 |
"theorem" |
|
180 |
"theorems" |
|
181 |
"theory" |
|
182 |
"thm" |
|
183 |
"thm_deps" |
|
184 |
"thus" |
|
| 22486 | 185 |
"thy_deps" |
| 12176 | 186 |
"touch_thy" |
187 |
"translations" |
|
188 |
"txt" |
|
189 |
"txt_raw" |
|
190 |
"typ" |
|
| 35414 | 191 |
"type_notation" |
| 12176 | 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" |
|
| 33685 | 242 |
"pervasive" |
| 31107 | 243 |
"recursor_eqns" |
| 12935 | 244 |
"shows" |
| 12176 | 245 |
"structure" |
| 31107 | 246 |
"type_elims" |
247 |
"type_intros" |
|
| 19633 | 248 |
"unchecked" |
| 16419 | 249 |
"uses" |
| 12176 | 250 |
"where")) |
251 |
||
252 |
(defconst isar-keywords-control |
|
| 25577 | 253 |
'("Isabelle\\.command"
|
| 29607 | 254 |
"Isar\\.begin_document" |
255 |
"Isar\\.define_command" |
|
256 |
"Isar\\.edit_document" |
|
257 |
"Isar\\.end_document" |
|
| 25577 | 258 |
"ProofGeneral\\.inform_file_processed" |
| 12176 | 259 |
"ProofGeneral\\.inform_file_retracted" |
260 |
"ProofGeneral\\.kill_proof" |
|
| 14937 | 261 |
"ProofGeneral\\.process_pgip" |
| 12176 | 262 |
"ProofGeneral\\.restart" |
263 |
"ProofGeneral\\.undo" |
|
264 |
"cannot_undo" |
|
265 |
"exit" |
|
266 |
"init_toplevel" |
|
267 |
"kill" |
|
| 27538 | 268 |
"linear_undo" |
| 12176 | 269 |
"quit" |
270 |
"undo" |
|
271 |
"undos_proof")) |
|
272 |
||
273 |
(defconst isar-keywords-diag |
|
| 26482 | 274 |
'("ML_command"
|
| 26394 | 275 |
"ML_val" |
| 33874 | 276 |
"ProofGeneral\\.pr" |
| 12176 | 277 |
"cd" |
| 20568 | 278 |
"class_deps" |
| 12176 | 279 |
"commit" |
280 |
"disable_pr" |
|
| 14937 | 281 |
"display_drafts" |
| 12176 | 282 |
"enable_pr" |
|
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
283 |
"find_consts" |
| 17220 | 284 |
"find_theorems" |
| 12176 | 285 |
"full_prf" |
286 |
"header" |
|
| 21732 | 287 |
"help" |
| 12176 | 288 |
"kill_thy" |
289 |
"pr" |
|
290 |
"pretty_setmargin" |
|
291 |
"prf" |
|
| 21732 | 292 |
"print_abbrevs" |
| 12176 | 293 |
"print_antiquotations" |
294 |
"print_attributes" |
|
295 |
"print_binds" |
|
296 |
"print_cases" |
|
297 |
"print_claset" |
|
| 20378 | 298 |
"print_classes" |
| 22288 | 299 |
"print_codesetup" |
| 12176 | 300 |
"print_commands" |
| 24111 | 301 |
"print_configs" |
| 12176 | 302 |
"print_context" |
| 14937 | 303 |
"print_drafts" |
| 12176 | 304 |
"print_facts" |
305 |
"print_induct_rules" |
|
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
306 |
"print_interps" |
| 12176 | 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" |
| 18702 | 351 |
"axiomatization" |
| 12176 | 352 |
"axioms" |
| 18552 | 353 |
"class" |
| 12176 | 354 |
"classes" |
355 |
"classrel" |
|
| 31107 | 356 |
"codatatype" |
| 22486 | 357 |
"code_datatype" |
| 24866 | 358 |
"code_library" |
359 |
"code_module" |
|
| 31107 | 360 |
"coinductive" |
| 12176 | 361 |
"constdefs" |
362 |
"consts" |
|
| 24866 | 363 |
"consts_code" |
| 21302 | 364 |
"context" |
| 31107 | 365 |
"datatype" |
| 22084 | 366 |
"declaration" |
| 23804 | 367 |
"declare" |
| 12176 | 368 |
"defaultsort" |
| 18775 | 369 |
"definition" |
| 12176 | 370 |
"defs" |
| 13407 | 371 |
"extract" |
372 |
"extract_type" |
|
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
373 |
"finalconsts" |
| 12176 | 374 |
"global" |
375 |
"hide" |
|
| 31107 | 376 |
"inductive" |
| 24866 | 377 |
"instantiation" |
| 12176 | 378 |
"judgment" |
379 |
"lemmas" |
|
380 |
"local" |
|
| 30463 | 381 |
"local_setup" |
| 12176 | 382 |
"locale" |
383 |
"method_setup" |
|
| 24945 | 384 |
"no_notation" |
| 15762 | 385 |
"no_syntax" |
| 19255 | 386 |
"no_translations" |
| 35414 | 387 |
"no_type_notation" |
| 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" |
|
| 35414 | 407 |
"type_notation" |
| 12176 | 408 |
"typed_print_translation" |
409 |
"typedecl" |
|
| 24866 | 410 |
"types" |
| 26482 | 411 |
"types_code" |
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" |
| 24919 | 422 |
"subclass" |
| 28895 | 423 |
"sublocale" |
| 12176 | 424 |
"theorem")) |
425 |
||
426 |
(defconst isar-keywords-qed |
|
427 |
'("\\."
|
|
428 |
"\\.\\." |
|
429 |
"by" |
|
430 |
"done" |
|
431 |
"sorry")) |
|
432 |
||
433 |
(defconst isar-keywords-qed-block |
|
434 |
'("qed"))
|
|
435 |
||
436 |
(defconst isar-keywords-qed-global |
|
437 |
'("oops"))
|
|
438 |
||
439 |
(defconst isar-keywords-proof-heading |
|
440 |
'("sect"
|
|
441 |
"subsect" |
|
442 |
"subsubsect")) |
|
443 |
||
444 |
(defconst isar-keywords-proof-goal |
|
445 |
'("have"
|
|
446 |
"hence" |
|
| 29607 | 447 |
"interpret")) |
| 12176 | 448 |
|
449 |
(defconst isar-keywords-proof-block |
|
450 |
'("next"
|
|
451 |
"proof")) |
|
452 |
||
453 |
(defconst isar-keywords-proof-open |
|
454 |
'("{"))
|
|
455 |
||
456 |
(defconst isar-keywords-proof-close |
|
457 |
'("}"))
|
|
458 |
||
459 |
(defconst isar-keywords-proof-chain |
|
460 |
'("finally"
|
|
461 |
"from" |
|
462 |
"then" |
|
463 |
"ultimately" |
|
464 |
"with")) |
|
465 |
||
466 |
(defconst isar-keywords-proof-decl |
|
| 28261 | 467 |
'("ML_prf"
|
468 |
"also" |
|
| 12176 | 469 |
"let" |
470 |
"moreover" |
|
471 |
"note" |
|
472 |
"txt" |
|
| 12926 | 473 |
"txt_raw" |
| 18541 | 474 |
"unfolding" |
| 12926 | 475 |
"using")) |
| 12176 | 476 |
|
477 |
(defconst isar-keywords-proof-asm |
|
478 |
'("assume"
|
|
479 |
"case" |
|
480 |
"def" |
|
481 |
"fix" |
|
482 |
"presume")) |
|
483 |
||
484 |
(defconst isar-keywords-proof-asm-goal |
|
| 17850 | 485 |
'("guess"
|
| 21806 | 486 |
"obtain" |
487 |
"show" |
|
488 |
"thus")) |
|
| 12176 | 489 |
|
490 |
(defconst isar-keywords-proof-script |
|
491 |
'("apply"
|
|
492 |
"apply_end" |
|
493 |
"back" |
|
494 |
"defer" |
|
495 |
"prefer")) |
|
496 |
||
497 |
(provide 'isar-keywords) |