author | haftmann |
Thu, 08 Sep 2011 11:31:53 +0200 | |
changeset 44840 | 38975527c757 |
parent 44232 | d5f689c534c5 |
child 45134 | 9b02f6665fc8 |
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" |
31107 | 43 |
"coinductive" |
12176 | 44 |
"commit" |
45 |
"consts" |
|
46 |
"context" |
|
47 |
"corollary" |
|
31107 | 48 |
"datatype" |
22084 | 49 |
"declaration" |
12176 | 50 |
"declare" |
51 |
"def" |
|
36455 | 52 |
"default_sort" |
12176 | 53 |
"defer" |
18775 | 54 |
"definition" |
12176 | 55 |
"defs" |
56 |
"disable_pr" |
|
14937 | 57 |
"display_drafts" |
12176 | 58 |
"done" |
59 |
"enable_pr" |
|
60 |
"end" |
|
61 |
"exit" |
|
13407 | 62 |
"extract" |
63 |
"extract_type" |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
64 |
"finalconsts" |
12176 | 65 |
"finally" |
29882
29154e67731d
New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents:
29607
diff
changeset
|
66 |
"find_consts" |
17220 | 67 |
"find_theorems" |
12176 | 68 |
"fix" |
69 |
"from" |
|
70 |
"full_prf" |
|
17850 | 71 |
"guess" |
12176 | 72 |
"have" |
73 |
"header" |
|
21732 | 74 |
"help" |
12176 | 75 |
"hence" |
36180 | 76 |
"hide_class" |
77 |
"hide_const" |
|
78 |
"hide_fact" |
|
79 |
"hide_type" |
|
31107 | 80 |
"inductive" |
81 |
"inductive_cases" |
|
12176 | 82 |
"init_toplevel" |
83 |
"instance" |
|
24866 | 84 |
"instantiation" |
15624
484178635bd8
Further work on interpretation commands. New command `interpret' for
ballarin
parents:
15598
diff
changeset
|
85 |
"interpret" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
86 |
"interpretation" |
12176 | 87 |
"judgment" |
88 |
"kill" |
|
89 |
"kill_thy" |
|
90 |
"lemma" |
|
91 |
"lemmas" |
|
92 |
"let" |
|
27538 | 93 |
"linear_undo" |
30463 | 94 |
"local_setup" |
12176 | 95 |
"locale" |
96 |
"method_setup" |
|
97 |
"moreover" |
|
98 |
"next" |
|
24945 | 99 |
"no_notation" |
15762 | 100 |
"no_syntax" |
19255 | 101 |
"no_translations" |
35414 | 102 |
"no_type_notation" |
41229
d797baa3d57c
replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents:
40965
diff
changeset
|
103 |
"nonterminal" |
21203 | 104 |
"notation" |
12176 | 105 |
"note" |
40960 | 106 |
"notepad" |
12176 | 107 |
"obtain" |
108 |
"oops" |
|
109 |
"oracle" |
|
25516 | 110 |
"overloading" |
12176 | 111 |
"parse_ast_translation" |
112 |
"parse_translation" |
|
113 |
"pr" |
|
114 |
"prefer" |
|
115 |
"presume" |
|
116 |
"pretty_setmargin" |
|
117 |
"prf" |
|
31107 | 118 |
"primrec" |
21732 | 119 |
"print_abbrevs" |
12176 | 120 |
"print_antiquotations" |
121 |
"print_ast_translation" |
|
122 |
"print_attributes" |
|
123 |
"print_binds" |
|
124 |
"print_cases" |
|
125 |
"print_claset" |
|
20378 | 126 |
"print_classes" |
22288 | 127 |
"print_codesetup" |
12176 | 128 |
"print_commands" |
24111 | 129 |
"print_configs" |
12176 | 130 |
"print_context" |
41435 | 131 |
"print_dependencies" |
14937 | 132 |
"print_drafts" |
12176 | 133 |
"print_facts" |
134 |
"print_induct_rules" |
|
32804
ca430e6aee1c
Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents:
31130
diff
changeset
|
135 |
"print_interps" |
12176 | 136 |
"print_locale" |
137 |
"print_locales" |
|
138 |
"print_methods" |
|
12365 | 139 |
"print_rules" |
12176 | 140 |
"print_simpset" |
19272 | 141 |
"print_statement" |
12176 | 142 |
"print_syntax" |
31107 | 143 |
"print_tcset" |
12176 | 144 |
"print_theorems" |
145 |
"print_theory" |
|
146 |
"print_trans_rules" |
|
147 |
"print_translation" |
|
148 |
"proof" |
|
149 |
"prop" |
|
150 |
"pwd" |
|
151 |
"qed" |
|
152 |
"quit" |
|
13407 | 153 |
"realizability" |
154 |
"realizers" |
|
12176 | 155 |
"remove_thy" |
31107 | 156 |
"rep_datatype" |
36321 | 157 |
"schematic_corollary" |
158 |
"schematic_lemma" |
|
159 |
"schematic_theorem" |
|
12176 | 160 |
"sect" |
161 |
"section" |
|
162 |
"setup" |
|
163 |
"show" |
|
22200 | 164 |
"simproc_setup" |
12176 | 165 |
"sorry" |
24919 | 166 |
"subclass" |
28895 | 167 |
"sublocale" |
12176 | 168 |
"subsect" |
169 |
"subsection" |
|
170 |
"subsubsect" |
|
171 |
"subsubsection" |
|
172 |
"syntax" |
|
40784 | 173 |
"syntax_declaration" |
12176 | 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 |
"translations" |
186 |
"txt" |
|
187 |
"txt_raw" |
|
188 |
"typ" |
|
35414 | 189 |
"type_notation" |
41249
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset
|
190 |
"type_synonym" |
12176 | 191 |
"typed_print_translation" |
192 |
"typedecl" |
|
193 |
"types" |
|
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" |
|
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
204 |
"write" |
12176 | 205 |
"{" |
206 |
"}")) |
|
207 |
||
208 |
(defconst isar-keywords-minor |
|
14660 | 209 |
'("advanced" |
210 |
"and" |
|
12176 | 211 |
"assumes" |
17147 | 212 |
"attach" |
15135 | 213 |
"begin" |
12176 | 214 |
"binder" |
31107 | 215 |
"case_eqns" |
216 |
"con_defs" |
|
16168
adb83939177f
Locales: new element constrains, parameter renaming with syntax,
ballarin
parents:
16034
diff
changeset
|
217 |
"constrains" |
12176 | 218 |
"defines" |
31107 | 219 |
"domains" |
220 |
"elimination" |
|
12176 | 221 |
"fixes" |
19797 | 222 |
"for" |
22288 | 223 |
"identifier" |
19797 | 224 |
"if" |
15141 | 225 |
"imports" |
12176 | 226 |
"in" |
31107 | 227 |
"induction" |
12176 | 228 |
"infix" |
229 |
"infixl" |
|
230 |
"infixr" |
|
31107 | 231 |
"intros" |
12176 | 232 |
"is" |
31107 | 233 |
"monos" |
12176 | 234 |
"notes" |
18888 | 235 |
"obtains" |
13364 | 236 |
"open" |
12176 | 237 |
"output" |
238 |
"overloaded" |
|
33685 | 239 |
"pervasive" |
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" |
251 |
"ProofGeneral\\.inform_file_processed" |
|
12176 | 252 |
"ProofGeneral\\.inform_file_retracted" |
253 |
"ProofGeneral\\.kill_proof" |
|
14937 | 254 |
"ProofGeneral\\.process_pgip" |
12176 | 255 |
"ProofGeneral\\.restart" |
256 |
"ProofGeneral\\.undo" |
|
257 |
"cannot_undo" |
|
40396 | 258 |
"cd" |
259 |
"commit" |
|
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
260 |
"disable_pr" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
261 |
"enable_pr" |
12176 | 262 |
"exit" |
263 |
"init_toplevel" |
|
264 |
"kill" |
|
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
265 |
"kill_thy" |
27538 | 266 |
"linear_undo" |
12176 | 267 |
"quit" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
268 |
"remove_thy" |
12176 | 269 |
"undo" |
37987
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
270 |
"undos_proof" |
aac4eb1fa1d8
explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents:
37983
diff
changeset
|
271 |
"use_thy")) |
12176 | 272 |
|
273 |
(defconst isar-keywords-diag |
|
26482 | 274 |
'("ML_command" |
26394 | 275 |
"ML_val" |
33874 | 276 |
"ProofGeneral\\.pr" |
20568 | 277 |
"class_deps" |
14937 | 278 |
"display_drafts" |
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 |
"pr" |
285 |
"pretty_setmargin" |
|
286 |
"prf" |
|
21732 | 287 |
"print_abbrevs" |
12176 | 288 |
"print_antiquotations" |
289 |
"print_attributes" |
|
290 |
"print_binds" |
|
291 |
"print_cases" |
|
292 |
"print_claset" |
|
20378 | 293 |
"print_classes" |
22288 | 294 |
"print_codesetup" |
12176 | 295 |
"print_commands" |
24111 | 296 |
"print_configs" |
12176 | 297 |
"print_context" |
41435 | 298 |
"print_dependencies" |
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 |
"term" |
|
317 |
"thm" |
|
318 |
"thm_deps" |
|
22486 | 319 |
"thy_deps" |
12176 | 320 |
"typ" |
26184 | 321 |
"unused_thms" |
12176 | 322 |
"welcome")) |
323 |
||
324 |
(defconst isar-keywords-theory-begin |
|
325 |
'("theory")) |
|
326 |
||
327 |
(defconst isar-keywords-theory-switch |
|
21302 | 328 |
'()) |
12176 | 329 |
|
330 |
(defconst isar-keywords-theory-end |
|
331 |
'("end")) |
|
332 |
||
333 |
(defconst isar-keywords-theory-heading |
|
334 |
'("chapter" |
|
335 |
"section" |
|
336 |
"subsection" |
|
337 |
"subsubsection")) |
|
338 |
||
339 |
(defconst isar-keywords-theory-decl |
|
26482 | 340 |
'("ML" |
19069 | 341 |
"abbreviation" |
12176 | 342 |
"arities" |
30527 | 343 |
"attribute_setup" |
18702 | 344 |
"axiomatization" |
12176 | 345 |
"axioms" |
18552 | 346 |
"class" |
12176 | 347 |
"classes" |
348 |
"classrel" |
|
31107 | 349 |
"codatatype" |
22486 | 350 |
"code_datatype" |
31107 | 351 |
"coinductive" |
12176 | 352 |
"consts" |
21302 | 353 |
"context" |
31107 | 354 |
"datatype" |
22084 | 355 |
"declaration" |
23804 | 356 |
"declare" |
36455 | 357 |
"default_sort" |
18775 | 358 |
"definition" |
12176 | 359 |
"defs" |
13407 | 360 |
"extract" |
361 |
"extract_type" |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
362 |
"finalconsts" |
36180 | 363 |
"hide_class" |
364 |
"hide_const" |
|
365 |
"hide_fact" |
|
366 |
"hide_type" |
|
31107 | 367 |
"inductive" |
24866 | 368 |
"instantiation" |
12176 | 369 |
"judgment" |
370 |
"lemmas" |
|
30463 | 371 |
"local_setup" |
12176 | 372 |
"locale" |
373 |
"method_setup" |
|
24945 | 374 |
"no_notation" |
15762 | 375 |
"no_syntax" |
19255 | 376 |
"no_translations" |
35414 | 377 |
"no_type_notation" |
41229
d797baa3d57c
replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents:
40965
diff
changeset
|
378 |
"nonterminal" |
21203 | 379 |
"notation" |
40960 | 380 |
"notepad" |
12176 | 381 |
"oracle" |
25516 | 382 |
"overloading" |
12176 | 383 |
"parse_ast_translation" |
384 |
"parse_translation" |
|
31107 | 385 |
"primrec" |
12176 | 386 |
"print_ast_translation" |
387 |
"print_translation" |
|
13407 | 388 |
"realizability" |
389 |
"realizers" |
|
31107 | 390 |
"rep_datatype" |
12176 | 391 |
"setup" |
22200 | 392 |
"simproc_setup" |
12176 | 393 |
"syntax" |
40784 | 394 |
"syntax_declaration" |
12176 | 395 |
"text" |
396 |
"text_raw" |
|
397 |
"theorems" |
|
398 |
"translations" |
|
35414 | 399 |
"type_notation" |
41249
26f12f98f50a
Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents:
41229
diff
changeset
|
400 |
"type_synonym" |
12176 | 401 |
"typed_print_translation" |
402 |
"typedecl" |
|
24866 | 403 |
"types" |
26482 | 404 |
"use")) |
12176 | 405 |
|
406 |
(defconst isar-keywords-theory-script |
|
31107 | 407 |
'("inductive_cases")) |
12176 | 408 |
|
409 |
(defconst isar-keywords-theory-goal |
|
36114 | 410 |
'("corollary" |
12176 | 411 |
"instance" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
412 |
"interpretation" |
12176 | 413 |
"lemma" |
36321 | 414 |
"schematic_corollary" |
415 |
"schematic_lemma" |
|
416 |
"schematic_theorem" |
|
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" |
36505
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
470 |
"using" |
79c1d2bbe5a9
ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents:
36455
diff
changeset
|
471 |
"write")) |
12176 | 472 |
|
473 |
(defconst isar-keywords-proof-asm |
|
474 |
'("assume" |
|
475 |
"case" |
|
476 |
"def" |
|
477 |
"fix" |
|
478 |
"presume")) |
|
479 |
||
480 |
(defconst isar-keywords-proof-asm-goal |
|
17850 | 481 |
'("guess" |
21806 | 482 |
"obtain" |
483 |
"show" |
|
484 |
"thus")) |
|
12176 | 485 |
|
486 |
(defconst isar-keywords-proof-script |
|
487 |
'("apply" |
|
488 |
"apply_end" |
|
489 |
"back" |
|
490 |
"defer" |
|
491 |
"prefer")) |
|
492 |
||
493 |
(provide 'isar-keywords) |