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