| author | wenzelm | 
| Sun, 01 Oct 2006 18:29:28 +0200 | |
| changeset 20810 | 3377a830b727 | 
| parent 20697 | 12952535fc2c | 
| child 20832 | c3828205f22d | 
| permissions | -rw-r--r-- | 
| 19498 | 1  | 
;;  | 
2  | 
;; Keyword classification tables for Isabelle/Isar.  | 
|
3  | 
;; This file was generated by Isabelle/HOL/HOL-Nominal -- DO NOT EDIT!  | 
|
4  | 
;;  | 
|
5  | 
;; $Id$  | 
|
6  | 
;;  | 
|
7  | 
||
8  | 
(defconst isar-keywords-major  | 
|
9  | 
  '("\\."
 | 
|
10  | 
"\\.\\."  | 
|
11  | 
"ML"  | 
|
12  | 
"ML_command"  | 
|
13  | 
"ML_setup"  | 
|
14  | 
"ProofGeneral\\.call_atp"  | 
|
15  | 
"ProofGeneral\\.context_thy_only"  | 
|
16  | 
"ProofGeneral\\.inform_file_processed"  | 
|
17  | 
"ProofGeneral\\.inform_file_retracted"  | 
|
18  | 
"ProofGeneral\\.kill_proof"  | 
|
19  | 
"ProofGeneral\\.process_pgip"  | 
|
20  | 
"ProofGeneral\\.redo"  | 
|
21  | 
"ProofGeneral\\.restart"  | 
|
22  | 
"ProofGeneral\\.try_context_thy_only"  | 
|
23  | 
"ProofGeneral\\.undo"  | 
|
24  | 
"abbreviation"  | 
|
25  | 
"also"  | 
|
26  | 
"apply"  | 
|
27  | 
"apply_end"  | 
|
28  | 
"arities"  | 
|
29  | 
"assume"  | 
|
30  | 
"atom_decl"  | 
|
31  | 
"ax_specification"  | 
|
32  | 
"axclass"  | 
|
33  | 
"axiomatization"  | 
|
34  | 
"axioms"  | 
|
35  | 
"back"  | 
|
36  | 
"by"  | 
|
37  | 
"cannot_undo"  | 
|
38  | 
"case"  | 
|
39  | 
"cd"  | 
|
40  | 
"chapter"  | 
|
41  | 
"class"  | 
|
| 20568 | 42  | 
"class_deps"  | 
| 19498 | 43  | 
"classes"  | 
44  | 
"classrel"  | 
|
45  | 
"clear_undos"  | 
|
| 20424 | 46  | 
"code_class"  | 
| 
20453
 
855f07fabd76
final syntax for some Isar code generator keywords
 
haftmann 
parents: 
20424 
diff
changeset
 | 
47  | 
"code_const"  | 
| 20358 | 48  | 
"code_constname"  | 
| 
20453
 
855f07fabd76
final syntax for some Isar code generator keywords
 
haftmann 
parents: 
20424 
diff
changeset
 | 
49  | 
"code_gen"  | 
| 20424 | 50  | 
"code_instance"  | 
| 20697 | 51  | 
"code_instname"  | 
| 19498 | 52  | 
"code_library"  | 
53  | 
"code_module"  | 
|
| 19891 | 54  | 
"code_simtype"  | 
| 
20453
 
855f07fabd76
final syntax for some Isar code generator keywords
 
haftmann 
parents: 
20424 
diff
changeset
 | 
55  | 
"code_type"  | 
| 20378 | 56  | 
"code_typename"  | 
| 19498 | 57  | 
"coinductive"  | 
58  | 
"commit"  | 
|
| 19655 | 59  | 
"const_syntax"  | 
| 19498 | 60  | 
"constdefs"  | 
61  | 
"consts"  | 
|
62  | 
"consts_code"  | 
|
63  | 
"context"  | 
|
64  | 
"corollary"  | 
|
65  | 
"datatype"  | 
|
66  | 
"declare"  | 
|
67  | 
"def"  | 
|
68  | 
"defaultsort"  | 
|
69  | 
"defer"  | 
|
70  | 
"defer_recdef"  | 
|
71  | 
"definition"  | 
|
72  | 
"defs"  | 
|
73  | 
"disable_pr"  | 
|
74  | 
"display_drafts"  | 
|
75  | 
"done"  | 
|
76  | 
"enable_pr"  | 
|
77  | 
"end"  | 
|
78  | 
"exit"  | 
|
79  | 
"extract"  | 
|
80  | 
"extract_type"  | 
|
81  | 
"finalconsts"  | 
|
82  | 
"finally"  | 
|
83  | 
"find_theorems"  | 
|
84  | 
"fix"  | 
|
85  | 
"from"  | 
|
86  | 
"full_prf"  | 
|
| 20529 | 87  | 
"fun"  | 
| 
19564
 
d3e2f532459a
First usable version of the new function definition package (HOL/function_packake/...).
 
krauss 
parents: 
19498 
diff
changeset
 | 
88  | 
"function"  | 
| 19498 | 89  | 
"global"  | 
90  | 
"guess"  | 
|
91  | 
"have"  | 
|
92  | 
"header"  | 
|
93  | 
"hence"  | 
|
94  | 
"hide"  | 
|
95  | 
"inductive"  | 
|
96  | 
"inductive_cases"  | 
|
97  | 
"init_toplevel"  | 
|
98  | 
"instance"  | 
|
99  | 
"interpret"  | 
|
100  | 
"interpretation"  | 
|
| 19797 | 101  | 
"invoke"  | 
| 19498 | 102  | 
"judgment"  | 
103  | 
"kill"  | 
|
104  | 
"kill_thy"  | 
|
105  | 
"lemma"  | 
|
106  | 
"lemmas"  | 
|
107  | 
"let"  | 
|
108  | 
"local"  | 
|
109  | 
"locale"  | 
|
110  | 
"method_setup"  | 
|
111  | 
"moreover"  | 
|
112  | 
"next"  | 
|
113  | 
"no_syntax"  | 
|
114  | 
"no_translations"  | 
|
115  | 
"nominal_datatype"  | 
|
116  | 
"nonterminals"  | 
|
| 19854 | 117  | 
"normal_form"  | 
| 19498 | 118  | 
"note"  | 
119  | 
"obtain"  | 
|
120  | 
"oops"  | 
|
121  | 
"oracle"  | 
|
122  | 
"parse_ast_translation"  | 
|
123  | 
"parse_translation"  | 
|
124  | 
"pr"  | 
|
125  | 
"prefer"  | 
|
126  | 
"presume"  | 
|
127  | 
"pretty_setmargin"  | 
|
128  | 
"prf"  | 
|
129  | 
"primrec"  | 
|
130  | 
"print_antiquotations"  | 
|
131  | 
"print_ast_translation"  | 
|
132  | 
"print_attributes"  | 
|
133  | 
"print_binds"  | 
|
134  | 
"print_cases"  | 
|
135  | 
"print_claset"  | 
|
| 20378 | 136  | 
"print_classes"  | 
| 20586 | 137  | 
"print_codethms"  | 
| 19498 | 138  | 
"print_commands"  | 
139  | 
"print_context"  | 
|
140  | 
"print_drafts"  | 
|
141  | 
"print_facts"  | 
|
142  | 
"print_induct_rules"  | 
|
143  | 
"print_interps"  | 
|
144  | 
"print_locale"  | 
|
145  | 
"print_locales"  | 
|
146  | 
"print_methods"  | 
|
147  | 
"print_rules"  | 
|
148  | 
"print_simpset"  | 
|
149  | 
"print_statement"  | 
|
150  | 
"print_syntax"  | 
|
151  | 
"print_theorems"  | 
|
152  | 
"print_theory"  | 
|
153  | 
"print_trans_rules"  | 
|
154  | 
"print_translation"  | 
|
155  | 
"proof"  | 
|
156  | 
"prop"  | 
|
157  | 
"pwd"  | 
|
158  | 
"qed"  | 
|
159  | 
"quickcheck"  | 
|
160  | 
"quickcheck_params"  | 
|
161  | 
"quit"  | 
|
162  | 
"realizability"  | 
|
163  | 
"realizers"  | 
|
164  | 
"recdef"  | 
|
165  | 
"recdef_tc"  | 
|
166  | 
"record"  | 
|
167  | 
"redo"  | 
|
168  | 
"refute"  | 
|
169  | 
"refute_params"  | 
|
170  | 
"remove_thy"  | 
|
171  | 
"rep_datatype"  | 
|
172  | 
"sect"  | 
|
173  | 
"section"  | 
|
174  | 
"setup"  | 
|
175  | 
"show"  | 
|
176  | 
"sorry"  | 
|
177  | 
"specification"  | 
|
178  | 
"subsect"  | 
|
179  | 
"subsection"  | 
|
180  | 
"subsubsect"  | 
|
181  | 
"subsubsection"  | 
|
182  | 
"syntax"  | 
|
183  | 
"term"  | 
|
| 
19564
 
d3e2f532459a
First usable version of the new function definition package (HOL/function_packake/...).
 
krauss 
parents: 
19498 
diff
changeset
 | 
184  | 
"termination"  | 
| 19498 | 185  | 
"text"  | 
186  | 
"text_raw"  | 
|
187  | 
"then"  | 
|
188  | 
"theorem"  | 
|
189  | 
"theorems"  | 
|
190  | 
"theory"  | 
|
191  | 
"thm"  | 
|
192  | 
"thm_deps"  | 
|
193  | 
"thus"  | 
|
194  | 
"token_translation"  | 
|
195  | 
"touch_all_thys"  | 
|
196  | 
"touch_child_thys"  | 
|
197  | 
"touch_thy"  | 
|
198  | 
"translations"  | 
|
199  | 
"txt"  | 
|
200  | 
"txt_raw"  | 
|
201  | 
"typ"  | 
|
202  | 
"typed_print_translation"  | 
|
203  | 
"typedecl"  | 
|
204  | 
"typedef"  | 
|
205  | 
"types"  | 
|
206  | 
"types_code"  | 
|
207  | 
"ultimately"  | 
|
208  | 
"undo"  | 
|
209  | 
"undos_proof"  | 
|
210  | 
"unfolding"  | 
|
211  | 
"update_thy"  | 
|
212  | 
"update_thy_only"  | 
|
213  | 
"use"  | 
|
214  | 
"use_thy"  | 
|
215  | 
"use_thy_only"  | 
|
216  | 
"using"  | 
|
217  | 
"value"  | 
|
218  | 
"welcome"  | 
|
219  | 
"with"  | 
|
220  | 
    "{"
 | 
|
221  | 
"}"))  | 
|
222  | 
||
223  | 
(defconst isar-keywords-minor  | 
|
224  | 
  '("advanced"
 | 
|
225  | 
"and"  | 
|
226  | 
"assumes"  | 
|
227  | 
"attach"  | 
|
228  | 
"begin"  | 
|
229  | 
"binder"  | 
|
230  | 
"concl"  | 
|
231  | 
"congs"  | 
|
232  | 
"constrains"  | 
|
233  | 
"contains"  | 
|
234  | 
"defines"  | 
|
235  | 
"distinct"  | 
|
236  | 
"file"  | 
|
237  | 
"fixes"  | 
|
| 19797 | 238  | 
"for"  | 
| 19498 | 239  | 
"hints"  | 
| 19797 | 240  | 
"if"  | 
| 19498 | 241  | 
"imports"  | 
242  | 
"in"  | 
|
243  | 
"includes"  | 
|
244  | 
"induction"  | 
|
245  | 
"infix"  | 
|
246  | 
"infixl"  | 
|
247  | 
"infixr"  | 
|
248  | 
"inject"  | 
|
249  | 
"intros"  | 
|
250  | 
"is"  | 
|
251  | 
"monos"  | 
|
252  | 
"morphisms"  | 
|
253  | 
"notes"  | 
|
254  | 
"obtains"  | 
|
255  | 
"open"  | 
|
| 20345 | 256  | 
"otherwise"  | 
| 19498 | 257  | 
"output"  | 
258  | 
"overloaded"  | 
|
259  | 
"permissive"  | 
|
| 20345 | 260  | 
"sequential"  | 
| 19498 | 261  | 
"shows"  | 
262  | 
"structure"  | 
|
263  | 
"target_atom"  | 
|
| 19633 | 264  | 
"unchecked"  | 
| 19498 | 265  | 
"uses"  | 
266  | 
"where"))  | 
|
267  | 
||
268  | 
(defconst isar-keywords-control  | 
|
269  | 
  '("ProofGeneral\\.context_thy_only"
 | 
|
270  | 
"ProofGeneral\\.inform_file_processed"  | 
|
271  | 
"ProofGeneral\\.inform_file_retracted"  | 
|
272  | 
"ProofGeneral\\.kill_proof"  | 
|
273  | 
"ProofGeneral\\.process_pgip"  | 
|
274  | 
"ProofGeneral\\.redo"  | 
|
275  | 
"ProofGeneral\\.restart"  | 
|
276  | 
"ProofGeneral\\.try_context_thy_only"  | 
|
277  | 
"ProofGeneral\\.undo"  | 
|
278  | 
"cannot_undo"  | 
|
279  | 
"clear_undos"  | 
|
280  | 
"exit"  | 
|
281  | 
"init_toplevel"  | 
|
282  | 
"kill"  | 
|
283  | 
"quit"  | 
|
284  | 
"redo"  | 
|
285  | 
"undo"  | 
|
286  | 
"undos_proof"))  | 
|
287  | 
||
288  | 
(defconst isar-keywords-diag  | 
|
289  | 
  '("ML"
 | 
|
290  | 
"ML_command"  | 
|
291  | 
"ProofGeneral\\.call_atp"  | 
|
292  | 
"cd"  | 
|
| 20568 | 293  | 
"class_deps"  | 
| 20586 | 294  | 
"code_gen"  | 
| 19498 | 295  | 
"commit"  | 
296  | 
"disable_pr"  | 
|
297  | 
"display_drafts"  | 
|
298  | 
"enable_pr"  | 
|
299  | 
"find_theorems"  | 
|
300  | 
"full_prf"  | 
|
301  | 
"header"  | 
|
302  | 
"kill_thy"  | 
|
303  | 
"pr"  | 
|
304  | 
"pretty_setmargin"  | 
|
305  | 
"prf"  | 
|
306  | 
"print_antiquotations"  | 
|
307  | 
"print_attributes"  | 
|
308  | 
"print_binds"  | 
|
309  | 
"print_cases"  | 
|
310  | 
"print_claset"  | 
|
| 20378 | 311  | 
"print_classes"  | 
| 20586 | 312  | 
"print_codethms"  | 
| 19498 | 313  | 
"print_commands"  | 
314  | 
"print_context"  | 
|
315  | 
"print_drafts"  | 
|
316  | 
"print_facts"  | 
|
317  | 
"print_induct_rules"  | 
|
318  | 
"print_interps"  | 
|
319  | 
"print_locale"  | 
|
320  | 
"print_locales"  | 
|
321  | 
"print_methods"  | 
|
322  | 
"print_rules"  | 
|
323  | 
"print_simpset"  | 
|
324  | 
"print_statement"  | 
|
325  | 
"print_syntax"  | 
|
326  | 
"print_theorems"  | 
|
327  | 
"print_theory"  | 
|
328  | 
"print_trans_rules"  | 
|
329  | 
"prop"  | 
|
330  | 
"pwd"  | 
|
331  | 
"quickcheck"  | 
|
332  | 
"refute"  | 
|
333  | 
"remove_thy"  | 
|
334  | 
"term"  | 
|
335  | 
"thm"  | 
|
336  | 
"thm_deps"  | 
|
337  | 
"touch_all_thys"  | 
|
338  | 
"touch_child_thys"  | 
|
339  | 
"touch_thy"  | 
|
340  | 
"typ"  | 
|
341  | 
"update_thy"  | 
|
342  | 
"update_thy_only"  | 
|
343  | 
"use"  | 
|
344  | 
"use_thy"  | 
|
345  | 
"use_thy_only"  | 
|
346  | 
"value"  | 
|
347  | 
"welcome"))  | 
|
348  | 
||
349  | 
(defconst isar-keywords-theory-begin  | 
|
350  | 
  '("theory"))
 | 
|
351  | 
||
352  | 
(defconst isar-keywords-theory-switch  | 
|
353  | 
  '("context"))
 | 
|
354  | 
||
355  | 
(defconst isar-keywords-theory-end  | 
|
356  | 
  '("end"))
 | 
|
357  | 
||
358  | 
(defconst isar-keywords-theory-heading  | 
|
359  | 
  '("chapter"
 | 
|
360  | 
"section"  | 
|
361  | 
"subsection"  | 
|
362  | 
"subsubsection"))  | 
|
363  | 
||
364  | 
(defconst isar-keywords-theory-decl  | 
|
365  | 
  '("ML_setup"
 | 
|
366  | 
"abbreviation"  | 
|
367  | 
"arities"  | 
|
368  | 
"atom_decl"  | 
|
369  | 
"axclass"  | 
|
370  | 
"axiomatization"  | 
|
371  | 
"axioms"  | 
|
372  | 
"class"  | 
|
373  | 
"classes"  | 
|
374  | 
"classrel"  | 
|
| 20424 | 375  | 
"code_class"  | 
| 
20453
 
855f07fabd76
final syntax for some Isar code generator keywords
 
haftmann 
parents: 
20424 
diff
changeset
 | 
376  | 
"code_const"  | 
| 20358 | 377  | 
"code_constname"  | 
| 20424 | 378  | 
"code_instance"  | 
| 20697 | 379  | 
"code_instname"  | 
| 19498 | 380  | 
"code_library"  | 
381  | 
"code_module"  | 
|
| 
20453
 
855f07fabd76
final syntax for some Isar code generator keywords
 
haftmann 
parents: 
20424 
diff
changeset
 | 
382  | 
"code_type"  | 
| 20378 | 383  | 
"code_typename"  | 
| 19498 | 384  | 
"coinductive"  | 
| 19655 | 385  | 
"const_syntax"  | 
| 19498 | 386  | 
"constdefs"  | 
387  | 
"consts"  | 
|
388  | 
"consts_code"  | 
|
389  | 
"datatype"  | 
|
390  | 
"defaultsort"  | 
|
391  | 
"defer_recdef"  | 
|
392  | 
"definition"  | 
|
393  | 
"defs"  | 
|
394  | 
"extract"  | 
|
395  | 
"extract_type"  | 
|
396  | 
"finalconsts"  | 
|
| 20529 | 397  | 
"fun"  | 
| 19498 | 398  | 
"global"  | 
399  | 
"hide"  | 
|
400  | 
"inductive"  | 
|
401  | 
"judgment"  | 
|
402  | 
"lemmas"  | 
|
403  | 
"local"  | 
|
404  | 
"locale"  | 
|
405  | 
"method_setup"  | 
|
406  | 
"no_syntax"  | 
|
407  | 
"no_translations"  | 
|
408  | 
"nominal_datatype"  | 
|
409  | 
"nonterminals"  | 
|
| 19854 | 410  | 
"normal_form"  | 
| 19498 | 411  | 
"oracle"  | 
412  | 
"parse_ast_translation"  | 
|
413  | 
"parse_translation"  | 
|
414  | 
"primrec"  | 
|
415  | 
"print_ast_translation"  | 
|
416  | 
"print_translation"  | 
|
417  | 
"quickcheck_params"  | 
|
418  | 
"realizability"  | 
|
419  | 
"realizers"  | 
|
420  | 
"recdef"  | 
|
421  | 
"record"  | 
|
422  | 
"refute_params"  | 
|
423  | 
"rep_datatype"  | 
|
424  | 
"setup"  | 
|
425  | 
"syntax"  | 
|
426  | 
"text"  | 
|
427  | 
"text_raw"  | 
|
428  | 
"theorems"  | 
|
429  | 
"token_translation"  | 
|
430  | 
"translations"  | 
|
431  | 
"typed_print_translation"  | 
|
432  | 
"typedecl"  | 
|
433  | 
"types"  | 
|
434  | 
"types_code"))  | 
|
435  | 
||
436  | 
(defconst isar-keywords-theory-script  | 
|
437  | 
  '("declare"
 | 
|
438  | 
"inductive_cases"))  | 
|
439  | 
||
440  | 
(defconst isar-keywords-theory-goal  | 
|
441  | 
  '("ax_specification"
 | 
|
| 19891 | 442  | 
"code_simtype"  | 
| 19498 | 443  | 
"corollary"  | 
| 
19564
 
d3e2f532459a
First usable version of the new function definition package (HOL/function_packake/...).
 
krauss 
parents: 
19498 
diff
changeset
 | 
444  | 
"function"  | 
| 19498 | 445  | 
"instance"  | 
446  | 
"interpretation"  | 
|
447  | 
"lemma"  | 
|
448  | 
"recdef_tc"  | 
|
449  | 
"specification"  | 
|
| 
19564
 
d3e2f532459a
First usable version of the new function definition package (HOL/function_packake/...).
 
krauss 
parents: 
19498 
diff
changeset
 | 
450  | 
"termination"  | 
| 19498 | 451  | 
"theorem"  | 
452  | 
"typedef"))  | 
|
453  | 
||
454  | 
(defconst isar-keywords-qed  | 
|
455  | 
  '("\\."
 | 
|
456  | 
"\\.\\."  | 
|
457  | 
"by"  | 
|
458  | 
"done"  | 
|
459  | 
"sorry"))  | 
|
460  | 
||
461  | 
(defconst isar-keywords-qed-block  | 
|
462  | 
  '("qed"))
 | 
|
463  | 
||
464  | 
(defconst isar-keywords-qed-global  | 
|
465  | 
  '("oops"))
 | 
|
466  | 
||
467  | 
(defconst isar-keywords-proof-heading  | 
|
468  | 
  '("sect"
 | 
|
469  | 
"subsect"  | 
|
470  | 
"subsubsect"))  | 
|
471  | 
||
472  | 
(defconst isar-keywords-proof-goal  | 
|
473  | 
  '("have"
 | 
|
474  | 
"hence"  | 
|
475  | 
"interpret"  | 
|
| 19797 | 476  | 
"invoke"  | 
| 19498 | 477  | 
"show"  | 
478  | 
"thus"))  | 
|
479  | 
||
480  | 
(defconst isar-keywords-proof-block  | 
|
481  | 
  '("next"
 | 
|
482  | 
"proof"))  | 
|
483  | 
||
484  | 
(defconst isar-keywords-proof-open  | 
|
485  | 
  '("{"))
 | 
|
486  | 
||
487  | 
(defconst isar-keywords-proof-close  | 
|
488  | 
  '("}"))
 | 
|
489  | 
||
490  | 
(defconst isar-keywords-proof-chain  | 
|
491  | 
  '("finally"
 | 
|
492  | 
"from"  | 
|
493  | 
"then"  | 
|
494  | 
"ultimately"  | 
|
495  | 
"with"))  | 
|
496  | 
||
497  | 
(defconst isar-keywords-proof-decl  | 
|
498  | 
  '("also"
 | 
|
499  | 
"let"  | 
|
500  | 
"moreover"  | 
|
501  | 
"note"  | 
|
502  | 
"txt"  | 
|
503  | 
"txt_raw"  | 
|
504  | 
"unfolding"  | 
|
505  | 
"using"))  | 
|
506  | 
||
507  | 
(defconst isar-keywords-proof-asm  | 
|
508  | 
  '("assume"
 | 
|
509  | 
"case"  | 
|
510  | 
"def"  | 
|
511  | 
"fix"  | 
|
512  | 
"presume"))  | 
|
513  | 
||
514  | 
(defconst isar-keywords-proof-asm-goal  | 
|
515  | 
  '("guess"
 | 
|
516  | 
"obtain"))  | 
|
517  | 
||
518  | 
(defconst isar-keywords-proof-script  | 
|
519  | 
  '("apply"
 | 
|
520  | 
"apply_end"  | 
|
521  | 
"back"  | 
|
522  | 
"defer"  | 
|
523  | 
"prefer"))  | 
|
524  | 
||
525  | 
(provide 'isar-keywords)  |