author | wenzelm |
Tue, 27 Jul 2010 23:04:50 +0200 | |
changeset 38272 | d104dedacd9e |
parent 36521 | 79c1d2bbe5a9 |
child 38276 | aac4eb1fa1d8 |
permissions | -rw-r--r-- |
1 ;;
2 ;; Keyword classification tables for Isabelle/Isar.
3 ;; Generated from Pure + Pure-ProofGeneral + FOL + ZF.
4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
5 ;;
7 (defconst isar-keywords-major
8 '("\\."
9 "\\.\\."
10 "Isabelle\\.command"
11 "Isar\\.begin_document"
12 "Isar\\.define_command"
13 "Isar\\.edit_document"
14 "Isar\\.end_document"
15 "ML"
16 "ML_command"
17 "ML_prf"
18 "ML_val"
19 "ProofGeneral\\.inform_file_processed"
20 "ProofGeneral\\.inform_file_retracted"
21 "ProofGeneral\\.kill_proof"
22 "ProofGeneral\\.pr"
23 "ProofGeneral\\.process_pgip"
24 "ProofGeneral\\.restart"
25 "ProofGeneral\\.undo"
26 "abbreviation"
27 "also"
28 "apply"
29 "apply_end"
30 "arities"
31 "assume"
32 "attribute_setup"
33 "axiomatization"
34 "axioms"
35 "back"
36 "by"
37 "cannot_undo"
38 "case"
39 "cd"
40 "chapter"
41 "class"
42 "class_deps"
43 "classes"
44 "classrel"
45 "codatatype"
46 "code_datatype"
47 "code_library"
48 "code_module"
49 "coinductive"
50 "commit"
51 "constdefs"
52 "consts"
53 "consts_code"
54 "context"
55 "corollary"
56 "datatype"
57 "declaration"
58 "declare"
59 "def"
60 "default_sort"
61 "defer"
62 "definition"
63 "defs"
64 "disable_pr"
65 "display_drafts"
66 "done"
67 "enable_pr"
68 "end"
69 "example_proof"
70 "exit"
71 "extract"
72 "extract_type"
73 "finalconsts"
74 "finally"
75 "find_consts"
76 "find_theorems"
77 "fix"
78 "from"
79 "full_prf"
80 "global"
81 "guess"
82 "have"
83 "header"
84 "help"
85 "hence"
86 "hide_class"
87 "hide_const"
88 "hide_fact"
89 "hide_type"
90 "inductive"
91 "inductive_cases"
92 "init_toplevel"
93 "instance"
94 "instantiation"
95 "interpret"
96 "interpretation"
97 "judgment"
98 "kill"
99 "kill_thy"
100 "lemma"
101 "lemmas"
102 "let"
103 "linear_undo"
104 "local"
105 "local_setup"
106 "locale"
107 "method_setup"
108 "moreover"
109 "next"
110 "no_notation"
111 "no_syntax"
112 "no_translations"
113 "no_type_notation"
114 "nonterminals"
115 "notation"
116 "note"
117 "obtain"
118 "oops"
119 "oracle"
120 "overloading"
121 "parse_ast_translation"
122 "parse_translation"
123 "pr"
124 "prefer"
125 "presume"
126 "pretty_setmargin"
127 "prf"
128 "primrec"
129 "print_abbrevs"
130 "print_antiquotations"
131 "print_ast_translation"
132 "print_attributes"
133 "print_binds"
134 "print_cases"
135 "print_claset"
136 "print_classes"
137 "print_codesetup"
138 "print_commands"
139 "print_configs"
140 "print_context"
141 "print_drafts"
142 "print_facts"
143 "print_induct_rules"
144 "print_interps"
145 "print_locale"
146 "print_locales"
147 "print_methods"
148 "print_rules"
149 "print_simpset"
150 "print_statement"
151 "print_syntax"
152 "print_tcset"
153 "print_theorems"
154 "print_theory"
155 "print_trans_rules"
156 "print_translation"
157 "proof"
158 "prop"
159 "pwd"
160 "qed"
161 "quit"
162 "realizability"
163 "realizers"
164 "remove_thy"
165 "rep_datatype"
166 "schematic_corollary"
167 "schematic_lemma"
168 "schematic_theorem"
169 "sect"
170 "section"
171 "setup"
172 "show"
173 "simproc_setup"
174 "sorry"
175 "subclass"
176 "sublocale"
177 "subsect"
178 "subsection"
179 "subsubsect"
180 "subsubsection"
181 "syntax"
182 "term"
183 "text"
184 "text_raw"
185 "then"
186 "theorem"
187 "theorems"
188 "theory"
189 "thm"
190 "thm_deps"
191 "thus"
192 "thy_deps"
193 "translations"
194 "txt"
195 "txt_raw"
196 "typ"
197 "type_notation"
198 "typed_print_translation"
199 "typedecl"
200 "types"
201 "types_code"
202 "ultimately"
203 "undo"
204 "undos_proof"
205 "unfolding"
206 "unused_thms"
207 "use"
208 "use_thy"
209 "using"
210 "welcome"
211 "with"
212 "write"
213 "{"
214 "}"))
216 (defconst isar-keywords-minor
217 '("advanced"
218 "and"
219 "assumes"
220 "attach"
221 "begin"
222 "binder"
223 "case_eqns"
224 "con_defs"
225 "constrains"
226 "contains"
227 "defines"
228 "domains"
229 "elimination"
230 "file"
231 "fixes"
232 "for"
233 "identifier"
234 "if"
235 "imports"
236 "in"
237 "induction"
238 "infix"
239 "infixl"
240 "infixr"
241 "intros"
242 "is"
243 "monos"
244 "notes"
245 "obtains"
246 "open"
247 "output"
248 "overloaded"
249 "pervasive"
250 "recursor_eqns"
251 "shows"
252 "structure"
253 "type_elims"
254 "type_intros"
255 "unchecked"
256 "uses"
257 "where"))
259 (defconst isar-keywords-control
260 '("Isabelle\\.command"
261 "Isar\\.begin_document"
262 "Isar\\.define_command"
263 "Isar\\.edit_document"
264 "Isar\\.end_document"
265 "ProofGeneral\\.inform_file_processed"
266 "ProofGeneral\\.inform_file_retracted"
267 "ProofGeneral\\.kill_proof"
268 "ProofGeneral\\.process_pgip"
269 "ProofGeneral\\.restart"
270 "ProofGeneral\\.undo"
271 "cannot_undo"
272 "exit"
273 "init_toplevel"
274 "kill"
275 "linear_undo"
276 "quit"
277 "undo"
278 "undos_proof"))
280 (defconst isar-keywords-diag
281 '("ML_command"
282 "ML_val"
283 "ProofGeneral\\.pr"
284 "cd"
285 "class_deps"
286 "commit"
287 "disable_pr"
288 "display_drafts"
289 "enable_pr"
290 "find_consts"
291 "find_theorems"
292 "full_prf"
293 "header"
294 "help"
295 "kill_thy"
296 "pr"
297 "pretty_setmargin"
298 "prf"
299 "print_abbrevs"
300 "print_antiquotations"
301 "print_attributes"
302 "print_binds"
303 "print_cases"
304 "print_claset"
305 "print_classes"
306 "print_codesetup"
307 "print_commands"
308 "print_configs"
309 "print_context"
310 "print_drafts"
311 "print_facts"
312 "print_induct_rules"
313 "print_interps"
314 "print_locale"
315 "print_locales"
316 "print_methods"
317 "print_rules"
318 "print_simpset"
319 "print_statement"
320 "print_syntax"
321 "print_tcset"
322 "print_theorems"
323 "print_theory"
324 "print_trans_rules"
325 "prop"
326 "pwd"
327 "remove_thy"
328 "term"
329 "thm"
330 "thm_deps"
331 "thy_deps"
332 "typ"
333 "unused_thms"
334 "use_thy"
335 "welcome"))
337 (defconst isar-keywords-theory-begin
338 '("theory"))
340 (defconst isar-keywords-theory-switch
341 '())
343 (defconst isar-keywords-theory-end
344 '("end"))
346 (defconst isar-keywords-theory-heading
347 '("chapter"
348 "section"
349 "subsection"
350 "subsubsection"))
352 (defconst isar-keywords-theory-decl
353 '("ML"
354 "abbreviation"
355 "arities"
356 "attribute_setup"
357 "axiomatization"
358 "axioms"
359 "class"
360 "classes"
361 "classrel"
362 "codatatype"
363 "code_datatype"
364 "code_library"
365 "code_module"
366 "coinductive"
367 "constdefs"
368 "consts"
369 "consts_code"
370 "context"
371 "datatype"
372 "declaration"
373 "declare"
374 "default_sort"
375 "definition"
376 "defs"
377 "extract"
378 "extract_type"
379 "finalconsts"
380 "global"
381 "hide_class"
382 "hide_const"
383 "hide_fact"
384 "hide_type"
385 "inductive"
386 "instantiation"
387 "judgment"
388 "lemmas"
389 "local"
390 "local_setup"
391 "locale"
392 "method_setup"
393 "no_notation"
394 "no_syntax"
395 "no_translations"
396 "no_type_notation"
397 "nonterminals"
398 "notation"
399 "oracle"
400 "overloading"
401 "parse_ast_translation"
402 "parse_translation"
403 "primrec"
404 "print_ast_translation"
405 "print_translation"
406 "realizability"
407 "realizers"
408 "rep_datatype"
409 "setup"
410 "simproc_setup"
411 "syntax"
412 "text"
413 "text_raw"
414 "theorems"
415 "translations"
416 "type_notation"
417 "typed_print_translation"
418 "typedecl"
419 "types"
420 "types_code"
421 "use"))
423 (defconst isar-keywords-theory-script
424 '("inductive_cases"))
426 (defconst isar-keywords-theory-goal
427 '("corollary"
428 "example_proof"
429 "instance"
430 "interpretation"
431 "lemma"
432 "schematic_corollary"
433 "schematic_lemma"
434 "schematic_theorem"
435 "subclass"
436 "sublocale"
437 "theorem"))
439 (defconst isar-keywords-qed
440 '("\\."
441 "\\.\\."
442 "by"
443 "done"
444 "sorry"))
446 (defconst isar-keywords-qed-block
447 '("qed"))
449 (defconst isar-keywords-qed-global
450 '("oops"))
452 (defconst isar-keywords-proof-heading
453 '("sect"
454 "subsect"
455 "subsubsect"))
457 (defconst isar-keywords-proof-goal
458 '("have"
459 "hence"
460 "interpret"))
462 (defconst isar-keywords-proof-block
463 '("next"
464 "proof"))
466 (defconst isar-keywords-proof-open
467 '("{"))
469 (defconst isar-keywords-proof-close
470 '("}"))
472 (defconst isar-keywords-proof-chain
473 '("finally"
474 "from"
475 "then"
476 "ultimately"
477 "with"))
479 (defconst isar-keywords-proof-decl
480 '("ML_prf"
481 "also"
482 "let"
483 "moreover"
484 "note"
485 "txt"
486 "txt_raw"
487 "unfolding"
488 "using"
489 "write"))
491 (defconst isar-keywords-proof-asm
492 '("assume"
493 "case"
494 "def"
495 "fix"
496 "presume"))
498 (defconst isar-keywords-proof-asm-goal
499 '("guess"
500 "obtain"
501 "show"
502 "thus"))
504 (defconst isar-keywords-proof-script
505 '("apply"
506 "apply_end"
507 "back"
508 "defer"
509 "prefer"))
511 (provide 'isar-keywords)