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