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