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