author | wenzelm |
Thu, 10 Jul 2008 22:47:26 +0200 | |
changeset 27538 | 65f64da68a97 |
parent 27502 | a8561998cea7 |
child 27590 | 26415966c708 |
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" |
|
26394 | 15 |
"ML_val" |
12176 | 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" |
|
27538 | 95 |
"linear_undo" |
12176 | 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 |
"touch_thy" |
183 |
"translations" |
|
184 |
"txt" |
|
185 |
"txt_raw" |
|
186 |
"typ" |
|
187 |
"typed_print_translation" |
|
188 |
"typedecl" |
|
189 |
"types" |
|
24866 | 190 |
"types_code" |
12176 | 191 |
"ultimately" |
192 |
"undo" |
|
193 |
"undos_proof" |
|
18541 | 194 |
"unfolding" |
26184 | 195 |
"unused_thms" |
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" |
16168
adb83939177f
Locales: new element constrains, parameter renaming with syntax,
ballarin
parents:
16034
diff
changeset
|
214 |
"constrains" |
24866 | 215 |
"contains" |
12176 | 216 |
"defines" |
217 |
"domains" |
|
12211 | 218 |
"elimination" |
24866 | 219 |
"file" |
12176 | 220 |
"fixes" |
19797 | 221 |
"for" |
22288 | 222 |
"identifier" |
19797 | 223 |
"if" |
15141 | 224 |
"imports" |
12176 | 225 |
"in" |
12954 | 226 |
"includes" |
12211 | 227 |
"induction" |
12176 | 228 |
"infix" |
229 |
"infixl" |
|
230 |
"infixr" |
|
231 |
"intros" |
|
232 |
"is" |
|
233 |
"monos" |
|
234 |
"notes" |
|
18888 | 235 |
"obtains" |
13364 | 236 |
"open" |
12176 | 237 |
"output" |
238 |
"overloaded" |
|
12211 | 239 |
"recursor_eqns" |
12935 | 240 |
"shows" |
12176 | 241 |
"structure" |
242 |
"type_elims" |
|
243 |
"type_intros" |
|
19633 | 244 |
"unchecked" |
16419 | 245 |
"uses" |
12176 | 246 |
"where")) |
247 |
||
248 |
(defconst isar-keywords-control |
|
25577 | 249 |
'("Isabelle\\.command" |
250 |
"ProofGeneral\\.inform_file_processed" |
|
12176 | 251 |
"ProofGeneral\\.inform_file_retracted" |
252 |
"ProofGeneral\\.kill_proof" |
|
14937 | 253 |
"ProofGeneral\\.process_pgip" |
12176 | 254 |
"ProofGeneral\\.restart" |
255 |
"ProofGeneral\\.undo" |
|
256 |
"cannot_undo" |
|
257 |
"exit" |
|
258 |
"init_toplevel" |
|
259 |
"kill" |
|
27538 | 260 |
"linear_undo" |
12176 | 261 |
"quit" |
262 |
"redo" |
|
263 |
"undo" |
|
264 |
"undos_proof")) |
|
265 |
||
266 |
(defconst isar-keywords-diag |
|
26482 | 267 |
'("ML_command" |
26394 | 268 |
"ML_val" |
12176 | 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_thy" |
318 |
"typ" |
|
26184 | 319 |
"unused_thms" |
12176 | 320 |
"use_thy" |
24866 | 321 |
"value" |
12176 | 322 |
"welcome")) |
323 |
||
324 |
(defconst isar-keywords-theory-begin |
|
325 |
'("theory")) |
|
326 |
||
327 |
(defconst isar-keywords-theory-switch |
|
21302 | 328 |
'()) |
12176 | 329 |
|
330 |
(defconst isar-keywords-theory-end |
|
331 |
'("end")) |
|
332 |
||
333 |
(defconst isar-keywords-theory-heading |
|
334 |
'("chapter" |
|
335 |
"section" |
|
336 |
"subsection" |
|
337 |
"subsubsection")) |
|
338 |
||
339 |
(defconst isar-keywords-theory-decl |
|
26482 | 340 |
'("ML" |
19069 | 341 |
"abbreviation" |
12176 | 342 |
"arities" |
343 |
"axclass" |
|
18702 | 344 |
"axiomatization" |
12176 | 345 |
"axioms" |
18552 | 346 |
"class" |
12176 | 347 |
"classes" |
348 |
"classrel" |
|
12179 | 349 |
"codatatype" |
22486 | 350 |
"code_datatype" |
24866 | 351 |
"code_library" |
352 |
"code_module" |
|
12176 | 353 |
"coinductive" |
354 |
"constdefs" |
|
355 |
"consts" |
|
24866 | 356 |
"consts_code" |
21302 | 357 |
"context" |
12179 | 358 |
"datatype" |
22084 | 359 |
"declaration" |
23804 | 360 |
"declare" |
12176 | 361 |
"defaultsort" |
18775 | 362 |
"definition" |
12176 | 363 |
"defs" |
13407 | 364 |
"extract" |
365 |
"extract_type" |
|
14508
859b11514537
Experimental command for instantiation of locales in proof contexts:
ballarin
parents:
14109
diff
changeset
|
366 |
"finalconsts" |
12176 | 367 |
"global" |
368 |
"hide" |
|
369 |
"inductive" |
|
24866 | 370 |
"instantiation" |
12176 | 371 |
"judgment" |
372 |
"lemmas" |
|
373 |
"local" |
|
374 |
"locale" |
|
375 |
"method_setup" |
|
24945 | 376 |
"no_notation" |
15762 | 377 |
"no_syntax" |
19255 | 378 |
"no_translations" |
12176 | 379 |
"nonterminals" |
21203 | 380 |
"notation" |
12176 | 381 |
"oracle" |
25516 | 382 |
"overloading" |
12176 | 383 |
"parse_ast_translation" |
384 |
"parse_translation" |
|
12179 | 385 |
"primrec" |
12176 | 386 |
"print_ast_translation" |
387 |
"print_translation" |
|
24866 | 388 |
"quickcheck_params" |
13407 | 389 |
"realizability" |
390 |
"realizers" |
|
12211 | 391 |
"rep_datatype" |
12176 | 392 |
"setup" |
22200 | 393 |
"simproc_setup" |
12176 | 394 |
"syntax" |
395 |
"text" |
|
396 |
"text_raw" |
|
397 |
"theorems" |
|
398 |
"translations" |
|
399 |
"typed_print_translation" |
|
400 |
"typedecl" |
|
24866 | 401 |
"types" |
26482 | 402 |
"types_code" |
403 |
"use")) |
|
12176 | 404 |
|
405 |
(defconst isar-keywords-theory-script |
|
23804 | 406 |
'("inductive_cases")) |
12176 | 407 |
|
408 |
(defconst isar-keywords-theory-goal |
|
20931 | 409 |
'("corollary" |
12176 | 410 |
"instance" |
15598
4ab52355bb53
Registrations of global locale interpretations: improved, better naming.
ballarin
parents:
15596
diff
changeset
|
411 |
"interpretation" |
12176 | 412 |
"lemma" |
24919 | 413 |
"subclass" |
12176 | 414 |
"theorem")) |
415 |
||
416 |
(defconst isar-keywords-qed |
|
417 |
'("\\." |
|
418 |
"\\.\\." |
|
419 |
"by" |
|
420 |
"done" |
|
421 |
"sorry")) |
|
422 |
||
423 |
(defconst isar-keywords-qed-block |
|
424 |
'("qed")) |
|
425 |
||
426 |
(defconst isar-keywords-qed-global |
|
427 |
'("oops")) |
|
428 |
||
429 |
(defconst isar-keywords-proof-heading |
|
430 |
'("sect" |
|
431 |
"subsect" |
|
432 |
"subsubsect")) |
|
433 |
||
434 |
(defconst isar-keywords-proof-goal |
|
435 |
'("have" |
|
436 |
"hence" |
|
15624
484178635bd8
Further work on interpretation commands. New command `interpret' for
ballarin
parents:
15598
diff
changeset
|
437 |
"interpret" |
21806 | 438 |
"invoke")) |
12176 | 439 |
|
440 |
(defconst isar-keywords-proof-block |
|
441 |
'("next" |
|
442 |
"proof")) |
|
443 |
||
444 |
(defconst isar-keywords-proof-open |
|
445 |
'("{")) |
|
446 |
||
447 |
(defconst isar-keywords-proof-close |
|
448 |
'("}")) |
|
449 |
||
450 |
(defconst isar-keywords-proof-chain |
|
451 |
'("finally" |
|
452 |
"from" |
|
453 |
"then" |
|
454 |
"ultimately" |
|
455 |
"with")) |
|
456 |
||
457 |
(defconst isar-keywords-proof-decl |
|
458 |
'("also" |
|
459 |
"let" |
|
460 |
"moreover" |
|
461 |
"note" |
|
462 |
"txt" |
|
12926 | 463 |
"txt_raw" |
18541 | 464 |
"unfolding" |
12926 | 465 |
"using")) |
12176 | 466 |
|
467 |
(defconst isar-keywords-proof-asm |
|
468 |
'("assume" |
|
469 |
"case" |
|
470 |
"def" |
|
471 |
"fix" |
|
472 |
"presume")) |
|
473 |
||
474 |
(defconst isar-keywords-proof-asm-goal |
|
17850 | 475 |
'("guess" |
21806 | 476 |
"obtain" |
477 |
"show" |
|
478 |
"thus")) |
|
12176 | 479 |
|
480 |
(defconst isar-keywords-proof-script |
|
481 |
'("apply" |
|
482 |
"apply_end" |
|
483 |
"back" |
|
484 |
"defer" |
|
485 |
"prefer")) |
|
486 |
||
487 |
(provide 'isar-keywords) |