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