author | wenzelm |
Wed, 03 Nov 2010 11:33:51 +0100 | |
changeset 40318 | 035b2afbeb2e |
parent 39283 | 635e09dea465 |
child 40396 | c4c6fa6819aa |
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 |
"consts" |
|
24866 | 48 |
"consts_code" |
12176 | 49 |
"context" |
50 |
"corollary" |
|
31107 | 51 |
"datatype" |
22084 | 52 |
"declaration" |
12176 | 53 |
"declare" |
54 |
"def" |
|
36455 | 55 |
"default_sort" |
12176 | 56 |
"defer" |
18775 | 57 |
"definition" |
12176 | 58 |
"defs" |
59 |
"disable_pr" |
|
14937 | 60 |
"display_drafts" |
12176 | 61 |
"done" |
62 |
"enable_pr" |
|
63 |
"end" |
|
36356
5ab0f8859f9f
command 'example_proof' opens an empty proof body;
wenzelm
parents:
36321
diff
changeset
|
64 |
"example_proof" |
12176 | 65 |
"exit" |
13407 | 66 |
"extract" |
67 |
"extract_type" |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
68 |
"finalconsts" |
12176 | 69 |
"finally" |
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
70 |
"find_consts" |
17220 | 71 |
"find_theorems" |
12176 | 72 |
"fix" |
73 |
"from" |
|
74 |
"full_prf" |
|
17850 | 75 |
"guess" |
12176 | 76 |
"have" |
77 |
"header" |
|
21732 | 78 |
"help" |
12176 | 79 |
"hence" |
36180 | 80 |
"hide_class" |
81 |
"hide_const" |
|
82 |
"hide_fact" |
|
83 |
"hide_type" |
|
31107 | 84 |
"inductive" |
85 |
"inductive_cases" |
|
12176 | 86 |
"init_toplevel" |
87 |
"instance" |
|
24866 | 88 |
"instantiation" |
15624
484178635bd8
Further work on interpretation commands. New command `interpret' for
ballarin
parents:
15598
diff
changeset
|
89 |
"interpret" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
90 |
"interpretation" |
12176 | 91 |
"judgment" |
92 |
"kill" |
|
93 |
"kill_thy" |
|
94 |
"lemma" |
|
95 |
"lemmas" |
|
96 |
"let" |
|
27538 | 97 |
"linear_undo" |
30463 | 98 |
"local_setup" |
12176 | 99 |
"locale" |
100 |
"method_setup" |
|
101 |
"moreover" |
|
102 |
"next" |
|
24945 | 103 |
"no_notation" |
15762 | 104 |
"no_syntax" |
19255 | 105 |
"no_translations" |
35414 | 106 |
"no_type_notation" |
12176 | 107 |
"nonterminals" |
21203 | 108 |
"notation" |
12176 | 109 |
"note" |
110 |
"obtain" |
|
111 |
"oops" |
|
112 |
"oracle" |
|
25516 | 113 |
"overloading" |
12176 | 114 |
"parse_ast_translation" |
115 |
"parse_translation" |
|
116 |
"pr" |
|
117 |
"prefer" |
|
118 |
"presume" |
|
119 |
"pretty_setmargin" |
|
120 |
"prf" |
|
31107 | 121 |
"primrec" |
21732 | 122 |
"print_abbrevs" |
12176 | 123 |
"print_antiquotations" |
124 |
"print_ast_translation" |
|
125 |
"print_attributes" |
|
126 |
"print_binds" |
|
127 |
"print_cases" |
|
128 |
"print_claset" |
|
20378 | 129 |
"print_classes" |
22288 | 130 |
"print_codesetup" |
12176 | 131 |
"print_commands" |
24111 | 132 |
"print_configs" |
12176 | 133 |
"print_context" |
14937 | 134 |
"print_drafts" |
12176 | 135 |
"print_facts" |
136 |
"print_induct_rules" |
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
137 |
"print_interps" |
12176 | 138 |
"print_locale" |
139 |
"print_locales" |
|
140 |
"print_methods" |
|
12365 | 141 |
"print_rules" |
12176 | 142 |
"print_simpset" |
19272 | 143 |
"print_statement" |
12176 | 144 |
"print_syntax" |
31107 | 145 |
"print_tcset" |
12176 | 146 |
"print_theorems" |
147 |
"print_theory" |
|
148 |
"print_trans_rules" |
|
149 |
"print_translation" |
|
150 |
"proof" |
|
151 |
"prop" |
|
152 |
"pwd" |
|
153 |
"qed" |
|
154 |
"quit" |
|
13407 | 155 |
"realizability" |
156 |
"realizers" |
|
12176 | 157 |
"remove_thy" |
31107 | 158 |
"rep_datatype" |
36321 | 159 |
"schematic_corollary" |
160 |
"schematic_lemma" |
|
161 |
"schematic_theorem" |
|
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 |
"translations" |
187 |
"txt" |
|
188 |
"txt_raw" |
|
189 |
"typ" |
|
35414 | 190 |
"type_notation" |
12176 | 191 |
"typed_print_translation" |
192 |
"typedecl" |
|
193 |
"types" |
|
24866 | 194 |
"types_code" |
12176 | 195 |
"ultimately" |
196 |
"undo" |
|
197 |
"undos_proof" |
|
18541 | 198 |
"unfolding" |
26184 | 199 |
"unused_thms" |
12176 | 200 |
"use" |
201 |
"use_thy" |
|
12926 | 202 |
"using" |
12176 | 203 |
"welcome" |
204 |
"with" |
|
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
205 |
"write" |
12176 | 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" |
254 |
"ProofGeneral\\.inform_file_processed" |
|
12176 | 255 |
"ProofGeneral\\.inform_file_retracted" |
256 |
"ProofGeneral\\.kill_proof" |
|
14937 | 257 |
"ProofGeneral\\.process_pgip" |
12176 | 258 |
"ProofGeneral\\.restart" |
259 |
"ProofGeneral\\.undo" |
|
260 |
"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
|
261 |
"disable_pr" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
262 |
"enable_pr" |
12176 | 263 |
"exit" |
264 |
"init_toplevel" |
|
265 |
"kill" |
|
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
266 |
"kill_thy" |
27538 | 267 |
"linear_undo" |
12176 | 268 |
"quit" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
269 |
"remove_thy" |
12176 | 270 |
"undo" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
271 |
"undos_proof" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
272 |
"use_thy")) |
12176 | 273 |
|
274 |
(defconst isar-keywords-diag |
|
26482 | 275 |
'("ML_command" |
26394 | 276 |
"ML_val" |
33874 | 277 |
"ProofGeneral\\.pr" |
12176 | 278 |
"cd" |
20568 | 279 |
"class_deps" |
12176 | 280 |
"commit" |
14937 | 281 |
"display_drafts" |
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
282 |
"find_consts" |
17220 | 283 |
"find_theorems" |
12176 | 284 |
"full_prf" |
285 |
"header" |
|
21732 | 286 |
"help" |
12176 | 287 |
"pr" |
288 |
"pretty_setmargin" |
|
289 |
"prf" |
|
21732 | 290 |
"print_abbrevs" |
12176 | 291 |
"print_antiquotations" |
292 |
"print_attributes" |
|
293 |
"print_binds" |
|
294 |
"print_cases" |
|
295 |
"print_claset" |
|
20378 | 296 |
"print_classes" |
22288 | 297 |
"print_codesetup" |
12176 | 298 |
"print_commands" |
24111 | 299 |
"print_configs" |
12176 | 300 |
"print_context" |
14937 | 301 |
"print_drafts" |
12176 | 302 |
"print_facts" |
303 |
"print_induct_rules" |
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
304 |
"print_interps" |
12176 | 305 |
"print_locale" |
306 |
"print_locales" |
|
307 |
"print_methods" |
|
12365 | 308 |
"print_rules" |
12176 | 309 |
"print_simpset" |
19272 | 310 |
"print_statement" |
12176 | 311 |
"print_syntax" |
31107 | 312 |
"print_tcset" |
12176 | 313 |
"print_theorems" |
314 |
"print_theory" |
|
315 |
"print_trans_rules" |
|
316 |
"prop" |
|
317 |
"pwd" |
|
318 |
"term" |
|
319 |
"thm" |
|
320 |
"thm_deps" |
|
22486 | 321 |
"thy_deps" |
12176 | 322 |
"typ" |
26184 | 323 |
"unused_thms" |
12176 | 324 |
"welcome")) |
325 |
||
326 |
(defconst isar-keywords-theory-begin |
|
327 |
'("theory")) |
|
328 |
||
329 |
(defconst isar-keywords-theory-switch |
|
21302 | 330 |
'()) |
12176 | 331 |
|
332 |
(defconst isar-keywords-theory-end |
|
333 |
'("end")) |
|
334 |
||
335 |
(defconst isar-keywords-theory-heading |
|
336 |
'("chapter" |
|
337 |
"section" |
|
338 |
"subsection" |
|
339 |
"subsubsection")) |
|
340 |
||
341 |
(defconst isar-keywords-theory-decl |
|
26482 | 342 |
'("ML" |
19069 | 343 |
"abbreviation" |
12176 | 344 |
"arities" |
30527 | 345 |
"attribute_setup" |
18702 | 346 |
"axiomatization" |
12176 | 347 |
"axioms" |
18552 | 348 |
"class" |
12176 | 349 |
"classes" |
350 |
"classrel" |
|
31107 | 351 |
"codatatype" |
22486 | 352 |
"code_datatype" |
24866 | 353 |
"code_library" |
354 |
"code_module" |
|
31107 | 355 |
"coinductive" |
12176 | 356 |
"consts" |
24866 | 357 |
"consts_code" |
21302 | 358 |
"context" |
31107 | 359 |
"datatype" |
22084 | 360 |
"declaration" |
23804 | 361 |
"declare" |
36455 | 362 |
"default_sort" |
18775 | 363 |
"definition" |
12176 | 364 |
"defs" |
13407 | 365 |
"extract" |
366 |
"extract_type" |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
367 |
"finalconsts" |
36180 | 368 |
"hide_class" |
369 |
"hide_const" |
|
370 |
"hide_fact" |
|
371 |
"hide_type" |
|
31107 | 372 |
"inductive" |
24866 | 373 |
"instantiation" |
12176 | 374 |
"judgment" |
375 |
"lemmas" |
|
30463 | 376 |
"local_setup" |
12176 | 377 |
"locale" |
378 |
"method_setup" |
|
24945 | 379 |
"no_notation" |
15762 | 380 |
"no_syntax" |
19255 | 381 |
"no_translations" |
35414 | 382 |
"no_type_notation" |
12176 | 383 |
"nonterminals" |
21203 | 384 |
"notation" |
12176 | 385 |
"oracle" |
25516 | 386 |
"overloading" |
12176 | 387 |
"parse_ast_translation" |
388 |
"parse_translation" |
|
31107 | 389 |
"primrec" |
12176 | 390 |
"print_ast_translation" |
391 |
"print_translation" |
|
13407 | 392 |
"realizability" |
393 |
"realizers" |
|
31107 | 394 |
"rep_datatype" |
12176 | 395 |
"setup" |
22200 | 396 |
"simproc_setup" |
12176 | 397 |
"syntax" |
398 |
"text" |
|
399 |
"text_raw" |
|
400 |
"theorems" |
|
401 |
"translations" |
|
35414 | 402 |
"type_notation" |
12176 | 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 |
|
36114 | 413 |
'("corollary" |
36356
5ab0f8859f9f
command 'example_proof' opens an empty proof body;
wenzelm
parents:
36321
diff
changeset
|
414 |
"example_proof" |
12176 | 415 |
"instance" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
416 |
"interpretation" |
12176 | 417 |
"lemma" |
36321 | 418 |
"schematic_corollary" |
419 |
"schematic_lemma" |
|
420 |
"schematic_theorem" |
|
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" |
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
474 |
"using" |
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
475 |
"write")) |
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) |