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