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