author | Christian Urban <urbanc@in.tum.de> |
Sat, 22 Aug 2009 02:56:08 +0200 | |
changeset 321 | e450fa467e3f |
parent 320 | 185921021551 |
permissions | -rw-r--r-- |
320 | 1 |
;; |
2 |
;; Keyword classification tables for Isabelle/Isar. |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
3 |
;; Generated from Pure + Pure-ProofGeneral + HOL + HOL-Command. |
320 | 4 |
;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT *** |
5 |
;; |
|
6 |
||
7 |
(defconst isar-keywords-major |
|
8 |
'("\\." |
|
9 |
"\\.\\." |
|
10 |
"Isabelle\\.command" |
|
11 |
"Isar\\.begin_document" |
|
12 |
"Isar\\.command" |
|
13 |
"Isar\\.define_command" |
|
14 |
"Isar\\.edit_document" |
|
15 |
"Isar\\.end_document" |
|
16 |
"Isar\\.insert" |
|
17 |
"Isar\\.remove" |
|
18 |
"ML" |
|
19 |
"ML_command" |
|
20 |
"ML_prf" |
|
21 |
"ML_val" |
|
22 |
"ProofGeneral\\.inform_file_processed" |
|
23 |
"ProofGeneral\\.inform_file_retracted" |
|
24 |
"ProofGeneral\\.kill_proof" |
|
25 |
"ProofGeneral\\.process_pgip" |
|
26 |
"ProofGeneral\\.restart" |
|
27 |
"ProofGeneral\\.undo" |
|
28 |
"abbreviation" |
|
29 |
"also" |
|
30 |
"apply" |
|
31 |
"apply_end" |
|
32 |
"arities" |
|
33 |
"assume" |
|
34 |
"atp_info" |
|
35 |
"atp_kill" |
|
36 |
"atp_messages" |
|
37 |
"atp_minimize" |
|
38 |
"attribute_setup" |
|
39 |
"ax_specification" |
|
40 |
"axclass" |
|
41 |
"axiomatization" |
|
42 |
"axioms" |
|
43 |
"back" |
|
44 |
"by" |
|
45 |
"cannot_undo" |
|
46 |
"case" |
|
47 |
"cd" |
|
48 |
"chapter" |
|
49 |
"class" |
|
50 |
"class_deps" |
|
51 |
"classes" |
|
52 |
"classrel" |
|
53 |
"code_abort" |
|
54 |
"code_class" |
|
55 |
"code_const" |
|
56 |
"code_datatype" |
|
57 |
"code_deps" |
|
58 |
"code_include" |
|
59 |
"code_instance" |
|
60 |
"code_library" |
|
61 |
"code_module" |
|
62 |
"code_modulename" |
|
63 |
"code_monad" |
|
64 |
"code_pred" |
|
65 |
"code_reserved" |
|
66 |
"code_thms" |
|
67 |
"code_type" |
|
68 |
"coinductive" |
|
69 |
"coinductive_set" |
|
70 |
"commit" |
|
71 |
"constdefs" |
|
72 |
"consts" |
|
73 |
"consts_code" |
|
74 |
"context" |
|
75 |
"corollary" |
|
76 |
"datatype" |
|
77 |
"declaration" |
|
78 |
"declare" |
|
79 |
"def" |
|
80 |
"defaultsort" |
|
81 |
"defer" |
|
82 |
"defer_recdef" |
|
83 |
"definition" |
|
84 |
"defs" |
|
85 |
"disable_pr" |
|
86 |
"display_drafts" |
|
87 |
"done" |
|
88 |
"enable_pr" |
|
89 |
"end" |
|
90 |
"exit" |
|
91 |
"export_code" |
|
92 |
"extract" |
|
93 |
"extract_type" |
|
94 |
"finalconsts" |
|
95 |
"finally" |
|
96 |
"find_consts" |
|
97 |
"find_theorems" |
|
98 |
"fix" |
|
99 |
"foobar" |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
100 |
"foobar_goal" |
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
101 |
"foobar_prove" |
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
102 |
"foobar_trace" |
320 | 103 |
"from" |
104 |
"full_prf" |
|
105 |
"fun" |
|
106 |
"function" |
|
107 |
"global" |
|
108 |
"guess" |
|
109 |
"have" |
|
110 |
"header" |
|
111 |
"help" |
|
112 |
"hence" |
|
113 |
"hide" |
|
114 |
"inductive" |
|
115 |
"inductive_cases" |
|
116 |
"inductive_set" |
|
117 |
"init_toplevel" |
|
118 |
"instance" |
|
119 |
"instantiation" |
|
120 |
"interpret" |
|
121 |
"interpretation" |
|
122 |
"judgment" |
|
123 |
"kill" |
|
124 |
"kill_thy" |
|
125 |
"lemma" |
|
126 |
"lemmas" |
|
127 |
"let" |
|
128 |
"linear_undo" |
|
129 |
"local" |
|
130 |
"local_setup" |
|
131 |
"locale" |
|
132 |
"method_setup" |
|
133 |
"moreover" |
|
134 |
"next" |
|
135 |
"no_notation" |
|
136 |
"no_syntax" |
|
137 |
"no_translations" |
|
138 |
"nonterminals" |
|
139 |
"normal_form" |
|
140 |
"notation" |
|
141 |
"note" |
|
142 |
"obtain" |
|
143 |
"oops" |
|
144 |
"oracle" |
|
145 |
"overloading" |
|
146 |
"parse_ast_translation" |
|
147 |
"parse_translation" |
|
148 |
"pr" |
|
149 |
"prefer" |
|
150 |
"presume" |
|
151 |
"pretty_setmargin" |
|
152 |
"prf" |
|
153 |
"primrec" |
|
154 |
"print_abbrevs" |
|
155 |
"print_antiquotations" |
|
156 |
"print_ast_translation" |
|
157 |
"print_atps" |
|
158 |
"print_attributes" |
|
159 |
"print_binds" |
|
160 |
"print_cases" |
|
161 |
"print_claset" |
|
162 |
"print_classes" |
|
163 |
"print_codeproc" |
|
164 |
"print_codesetup" |
|
165 |
"print_commands" |
|
166 |
"print_configs" |
|
167 |
"print_context" |
|
168 |
"print_drafts" |
|
169 |
"print_facts" |
|
170 |
"print_induct_rules" |
|
171 |
"print_locale" |
|
172 |
"print_locales" |
|
173 |
"print_methods" |
|
174 |
"print_orders" |
|
175 |
"print_rules" |
|
176 |
"print_simpset" |
|
177 |
"print_statement" |
|
178 |
"print_syntax" |
|
179 |
"print_theorems" |
|
180 |
"print_theory" |
|
181 |
"print_trans_rules" |
|
182 |
"print_translation" |
|
183 |
"proof" |
|
184 |
"prop" |
|
185 |
"pwd" |
|
186 |
"qed" |
|
187 |
"quickcheck" |
|
188 |
"quickcheck_params" |
|
189 |
"quit" |
|
190 |
"realizability" |
|
191 |
"realizers" |
|
192 |
"recdef" |
|
193 |
"recdef_tc" |
|
194 |
"record" |
|
195 |
"refute" |
|
196 |
"refute_params" |
|
197 |
"remove_thy" |
|
198 |
"rep_datatype" |
|
199 |
"sect" |
|
200 |
"section" |
|
201 |
"setup" |
|
202 |
"show" |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
203 |
"simple_inductive" |
320 | 204 |
"simproc_setup" |
205 |
"sledgehammer" |
|
206 |
"sorry" |
|
207 |
"specification" |
|
208 |
"subclass" |
|
209 |
"sublocale" |
|
210 |
"subsect" |
|
211 |
"subsection" |
|
212 |
"subsubsect" |
|
213 |
"subsubsection" |
|
214 |
"syntax" |
|
215 |
"term" |
|
216 |
"termination" |
|
217 |
"text" |
|
218 |
"text_raw" |
|
219 |
"then" |
|
220 |
"theorem" |
|
221 |
"theorems" |
|
222 |
"theory" |
|
223 |
"thm" |
|
224 |
"thm_deps" |
|
225 |
"thus" |
|
226 |
"thy_deps" |
|
227 |
"touch_thy" |
|
228 |
"translations" |
|
229 |
"txt" |
|
230 |
"txt_raw" |
|
231 |
"typ" |
|
232 |
"typed_print_translation" |
|
233 |
"typedecl" |
|
234 |
"typedef" |
|
235 |
"types" |
|
236 |
"types_code" |
|
237 |
"ultimately" |
|
238 |
"undo" |
|
239 |
"undos_proof" |
|
240 |
"unfolding" |
|
241 |
"unused_thms" |
|
242 |
"use" |
|
243 |
"use_thy" |
|
244 |
"using" |
|
245 |
"value" |
|
246 |
"values" |
|
247 |
"welcome" |
|
248 |
"with" |
|
249 |
"{" |
|
250 |
"}")) |
|
251 |
||
252 |
(defconst isar-keywords-minor |
|
253 |
'("advanced" |
|
254 |
"and" |
|
255 |
"assumes" |
|
256 |
"attach" |
|
257 |
"begin" |
|
258 |
"binder" |
|
259 |
"congs" |
|
260 |
"constrains" |
|
261 |
"contains" |
|
262 |
"defines" |
|
263 |
"file" |
|
264 |
"fixes" |
|
265 |
"for" |
|
266 |
"hints" |
|
267 |
"identifier" |
|
268 |
"if" |
|
269 |
"imports" |
|
270 |
"in" |
|
271 |
"infix" |
|
272 |
"infixl" |
|
273 |
"infixr" |
|
274 |
"is" |
|
275 |
"module_name" |
|
276 |
"monos" |
|
277 |
"morphisms" |
|
278 |
"notes" |
|
279 |
"obtains" |
|
280 |
"open" |
|
281 |
"output" |
|
282 |
"overloaded" |
|
283 |
"permissive" |
|
284 |
"shows" |
|
285 |
"structure" |
|
286 |
"unchecked" |
|
287 |
"uses" |
|
288 |
"where")) |
|
289 |
||
290 |
(defconst isar-keywords-control |
|
291 |
'("Isabelle\\.command" |
|
292 |
"Isar\\.begin_document" |
|
293 |
"Isar\\.command" |
|
294 |
"Isar\\.define_command" |
|
295 |
"Isar\\.edit_document" |
|
296 |
"Isar\\.end_document" |
|
297 |
"Isar\\.insert" |
|
298 |
"Isar\\.remove" |
|
299 |
"ProofGeneral\\.inform_file_processed" |
|
300 |
"ProofGeneral\\.inform_file_retracted" |
|
301 |
"ProofGeneral\\.kill_proof" |
|
302 |
"ProofGeneral\\.process_pgip" |
|
303 |
"ProofGeneral\\.restart" |
|
304 |
"ProofGeneral\\.undo" |
|
305 |
"cannot_undo" |
|
306 |
"exit" |
|
307 |
"init_toplevel" |
|
308 |
"kill" |
|
309 |
"linear_undo" |
|
310 |
"quit" |
|
311 |
"undo" |
|
312 |
"undos_proof")) |
|
313 |
||
314 |
(defconst isar-keywords-diag |
|
315 |
'("ML_command" |
|
316 |
"ML_val" |
|
317 |
"atp_info" |
|
318 |
"atp_kill" |
|
319 |
"atp_messages" |
|
320 |
"atp_minimize" |
|
321 |
"cd" |
|
322 |
"class_deps" |
|
323 |
"code_deps" |
|
324 |
"code_thms" |
|
325 |
"commit" |
|
326 |
"disable_pr" |
|
327 |
"display_drafts" |
|
328 |
"enable_pr" |
|
329 |
"export_code" |
|
330 |
"find_consts" |
|
331 |
"find_theorems" |
|
332 |
"full_prf" |
|
333 |
"header" |
|
334 |
"help" |
|
335 |
"kill_thy" |
|
336 |
"normal_form" |
|
337 |
"pr" |
|
338 |
"pretty_setmargin" |
|
339 |
"prf" |
|
340 |
"print_abbrevs" |
|
341 |
"print_antiquotations" |
|
342 |
"print_atps" |
|
343 |
"print_attributes" |
|
344 |
"print_binds" |
|
345 |
"print_cases" |
|
346 |
"print_claset" |
|
347 |
"print_classes" |
|
348 |
"print_codeproc" |
|
349 |
"print_codesetup" |
|
350 |
"print_commands" |
|
351 |
"print_configs" |
|
352 |
"print_context" |
|
353 |
"print_drafts" |
|
354 |
"print_facts" |
|
355 |
"print_induct_rules" |
|
356 |
"print_locale" |
|
357 |
"print_locales" |
|
358 |
"print_methods" |
|
359 |
"print_orders" |
|
360 |
"print_rules" |
|
361 |
"print_simpset" |
|
362 |
"print_statement" |
|
363 |
"print_syntax" |
|
364 |
"print_theorems" |
|
365 |
"print_theory" |
|
366 |
"print_trans_rules" |
|
367 |
"prop" |
|
368 |
"pwd" |
|
369 |
"quickcheck" |
|
370 |
"refute" |
|
371 |
"remove_thy" |
|
372 |
"sledgehammer" |
|
373 |
"term" |
|
374 |
"thm" |
|
375 |
"thm_deps" |
|
376 |
"thy_deps" |
|
377 |
"touch_thy" |
|
378 |
"typ" |
|
379 |
"unused_thms" |
|
380 |
"use_thy" |
|
381 |
"value" |
|
382 |
"values" |
|
383 |
"welcome")) |
|
384 |
||
385 |
(defconst isar-keywords-theory-begin |
|
386 |
'("theory")) |
|
387 |
||
388 |
(defconst isar-keywords-theory-switch |
|
389 |
'()) |
|
390 |
||
391 |
(defconst isar-keywords-theory-end |
|
392 |
'("end")) |
|
393 |
||
394 |
(defconst isar-keywords-theory-heading |
|
395 |
'("chapter" |
|
396 |
"section" |
|
397 |
"subsection" |
|
398 |
"subsubsection")) |
|
399 |
||
400 |
(defconst isar-keywords-theory-decl |
|
401 |
'("ML" |
|
402 |
"abbreviation" |
|
403 |
"arities" |
|
404 |
"attribute_setup" |
|
405 |
"axclass" |
|
406 |
"axiomatization" |
|
407 |
"axioms" |
|
408 |
"class" |
|
409 |
"classes" |
|
410 |
"classrel" |
|
411 |
"code_abort" |
|
412 |
"code_class" |
|
413 |
"code_const" |
|
414 |
"code_datatype" |
|
415 |
"code_include" |
|
416 |
"code_instance" |
|
417 |
"code_library" |
|
418 |
"code_module" |
|
419 |
"code_modulename" |
|
420 |
"code_monad" |
|
421 |
"code_reserved" |
|
422 |
"code_type" |
|
423 |
"coinductive" |
|
424 |
"coinductive_set" |
|
425 |
"constdefs" |
|
426 |
"consts" |
|
427 |
"consts_code" |
|
428 |
"context" |
|
429 |
"datatype" |
|
430 |
"declaration" |
|
431 |
"declare" |
|
432 |
"defaultsort" |
|
433 |
"defer_recdef" |
|
434 |
"definition" |
|
435 |
"defs" |
|
436 |
"extract" |
|
437 |
"extract_type" |
|
438 |
"finalconsts" |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
439 |
"foobar" |
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
440 |
"foobar_trace" |
320 | 441 |
"fun" |
442 |
"global" |
|
443 |
"hide" |
|
444 |
"inductive" |
|
445 |
"inductive_set" |
|
446 |
"instantiation" |
|
447 |
"judgment" |
|
448 |
"lemmas" |
|
449 |
"local" |
|
450 |
"local_setup" |
|
451 |
"locale" |
|
452 |
"method_setup" |
|
453 |
"no_notation" |
|
454 |
"no_syntax" |
|
455 |
"no_translations" |
|
456 |
"nonterminals" |
|
457 |
"notation" |
|
458 |
"oracle" |
|
459 |
"overloading" |
|
460 |
"parse_ast_translation" |
|
461 |
"parse_translation" |
|
462 |
"primrec" |
|
463 |
"print_ast_translation" |
|
464 |
"print_translation" |
|
465 |
"quickcheck_params" |
|
466 |
"realizability" |
|
467 |
"realizers" |
|
468 |
"recdef" |
|
469 |
"record" |
|
470 |
"refute_params" |
|
471 |
"setup" |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
472 |
"simple_inductive" |
320 | 473 |
"simproc_setup" |
474 |
"syntax" |
|
475 |
"text" |
|
476 |
"text_raw" |
|
477 |
"theorems" |
|
478 |
"translations" |
|
479 |
"typed_print_translation" |
|
480 |
"typedecl" |
|
481 |
"types" |
|
482 |
"types_code" |
|
483 |
"use")) |
|
484 |
||
485 |
(defconst isar-keywords-theory-script |
|
486 |
'("inductive_cases")) |
|
487 |
||
488 |
(defconst isar-keywords-theory-goal |
|
489 |
'("ax_specification" |
|
490 |
"code_pred" |
|
491 |
"corollary" |
|
321
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
492 |
"foobar_goal" |
e450fa467e3f
polished the commands section
Christian Urban <urbanc@in.tum.de>
parents:
320
diff
changeset
|
493 |
"foobar_prove" |
320 | 494 |
"function" |
495 |
"instance" |
|
496 |
"interpretation" |
|
497 |
"lemma" |
|
498 |
"recdef_tc" |
|
499 |
"rep_datatype" |
|
500 |
"specification" |
|
501 |
"subclass" |
|
502 |
"sublocale" |
|
503 |
"termination" |
|
504 |
"theorem" |
|
505 |
"typedef")) |
|
506 |
||
507 |
(defconst isar-keywords-qed |
|
508 |
'("\\." |
|
509 |
"\\.\\." |
|
510 |
"by" |
|
511 |
"done" |
|
512 |
"sorry")) |
|
513 |
||
514 |
(defconst isar-keywords-qed-block |
|
515 |
'("qed")) |
|
516 |
||
517 |
(defconst isar-keywords-qed-global |
|
518 |
'("oops")) |
|
519 |
||
520 |
(defconst isar-keywords-proof-heading |
|
521 |
'("sect" |
|
522 |
"subsect" |
|
523 |
"subsubsect")) |
|
524 |
||
525 |
(defconst isar-keywords-proof-goal |
|
526 |
'("have" |
|
527 |
"hence" |
|
528 |
"interpret")) |
|
529 |
||
530 |
(defconst isar-keywords-proof-block |
|
531 |
'("next" |
|
532 |
"proof")) |
|
533 |
||
534 |
(defconst isar-keywords-proof-open |
|
535 |
'("{")) |
|
536 |
||
537 |
(defconst isar-keywords-proof-close |
|
538 |
'("}")) |
|
539 |
||
540 |
(defconst isar-keywords-proof-chain |
|
541 |
'("finally" |
|
542 |
"from" |
|
543 |
"then" |
|
544 |
"ultimately" |
|
545 |
"with")) |
|
546 |
||
547 |
(defconst isar-keywords-proof-decl |
|
548 |
'("ML_prf" |
|
549 |
"also" |
|
550 |
"let" |
|
551 |
"moreover" |
|
552 |
"note" |
|
553 |
"txt" |
|
554 |
"txt_raw" |
|
555 |
"unfolding" |
|
556 |
"using")) |
|
557 |
||
558 |
(defconst isar-keywords-proof-asm |
|
559 |
'("assume" |
|
560 |
"case" |
|
561 |
"def" |
|
562 |
"fix" |
|
563 |
"presume")) |
|
564 |
||
565 |
(defconst isar-keywords-proof-asm-goal |
|
566 |
'("guess" |
|
567 |
"obtain" |
|
568 |
"show" |
|
569 |
"thus")) |
|
570 |
||
571 |
(defconst isar-keywords-proof-script |
|
572 |
'("apply" |
|
573 |
"apply_end" |
|
574 |
"back" |
|
575 |
"defer" |
|
576 |
"prefer")) |
|
577 |
||
578 |
(provide 'isar-keywords) |