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