etc/isar-keywords-ZF.el
author blanchet
Mon, 15 Sep 2014 16:14:14 +0200
changeset 58344 ea3d989219b4
parent 57886 7cae177c9084
permissions -rw-r--r--
set 'mono' attribute on 'rel_mono'
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     1
;;
52442
d3c5195b7399 misc tuning and clarification;
wenzelm
parents: 52439
diff changeset
     2
;; Keyword classification tables for Isabelle/Isar.
d3c5195b7399 misc tuning and clarification;
wenzelm
parents: 52439
diff changeset
     3
;; Generated from Pure + ZF.
24904
5b59fadfe878 updated;
wenzelm
parents: 24876
diff changeset
     4
;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     5
;;
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     6
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     7
(defconst isar-keywords-major
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     8
  '("\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     9
    "\\.\\."
25577
d739f48ef40c updated;
wenzelm
parents: 25516
diff changeset
    10
    "Isabelle\\.command"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    11
    "ML"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    12
    "ML_command"
48867
e9beabf045ab some support for inlining file content into outer syntax token language;
wenzelm
parents: 48709
diff changeset
    13
    "ML_file"
28261
045187fc7840 updated generated file;
wenzelm
parents: 27621
diff changeset
    14
    "ML_prf"
26394
ddd7825ea4cd *** empty log message ***
wenzelm
parents: 26184
diff changeset
    15
    "ML_val"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    16
    "ProofGeneral\\.inform_file_processed"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    17
    "ProofGeneral\\.inform_file_retracted"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    18
    "ProofGeneral\\.kill_proof"
33874
1db5ca5eadf5 updated keywords;
wenzelm
parents: 33685
diff changeset
    19
    "ProofGeneral\\.pr"
14937
37b06d27683d updated;
wenzelm
parents: 14660
diff changeset
    20
    "ProofGeneral\\.process_pgip"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    21
    "ProofGeneral\\.restart"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    22
    "ProofGeneral\\.undo"
56618
874bdedb2313 added command 'SML_export' and 'SML_import' for exchange of toplevel bindings;
wenzelm
parents: 56275
diff changeset
    23
    "SML_export"
56275
600f432ab556 added command 'SML_file' for Standard ML without Isabelle/ML add-ons;
wenzelm
parents: 56146
diff changeset
    24
    "SML_file"
56618
874bdedb2313 added command 'SML_export' and 'SML_import' for exchange of toplevel bindings;
wenzelm
parents: 56275
diff changeset
    25
    "SML_import"
19069
a4b956f8b233 updated;
wenzelm
parents: 18888
diff changeset
    26
    "abbreviation"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    27
    "also"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    28
    "apply"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    29
    "apply_end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    30
    "assume"
30527
fae488569faf updated generated files;
wenzelm
parents: 30463
diff changeset
    31
    "attribute_setup"
18702
7dc7dcd63224 substantial improvements in code generator
haftmann
parents: 18612
diff changeset
    32
    "axiomatization"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    33
    "back"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
    34
    "bundle"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    35
    "by"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    36
    "cannot_undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    37
    "case"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    38
    "chapter"
18552
30911da9fb27 class now a keyword
haftmann
parents: 18541
diff changeset
    39
    "class"
20568
9b7f59c1bdfc updated;
wenzelm
parents: 20453
diff changeset
    40
    "class_deps"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
    41
    "codatatype"
22486
d3b6cb2306b6 updated keywords
haftmann
parents: 22288
diff changeset
    42
    "code_datatype"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
    43
    "coinductive"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    44
    "commit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    45
    "consts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    46
    "context"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    47
    "corollary"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
    48
    "datatype"
22084
2fef69700f50 updated
wenzelm
parents: 22066
diff changeset
    49
    "declaration"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    50
    "declare"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    51
    "def"
36455
30f96b4b108b updated keywords;
wenzelm
parents: 36356
diff changeset
    52
    "default_sort"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    53
    "defer"
18775
becdbf57eeb8 updated;
wenzelm
parents: 18757
diff changeset
    54
    "definition"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    55
    "defs"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    56
    "disable_pr"
14937
37b06d27683d updated;
wenzelm
parents: 14660
diff changeset
    57
    "display_drafts"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    58
    "done"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    59
    "enable_pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    60
    "end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    61
    "exit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    62
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    63
    "extract_type"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    64
    "finally"
29882
29154e67731d New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents: 29607
diff changeset
    65
    "find_consts"
17220
b41d8e290bf8 updated;
wenzelm
parents: 17147
diff changeset
    66
    "find_theorems"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    67
    "fix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    68
    "from"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    69
    "full_prf"
17850
6803625e71c4 updated;
wenzelm
parents: 17552
diff changeset
    70
    "guess"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    71
    "have"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    72
    "header"
21732
4d4cde714500 updated;
wenzelm
parents: 21302
diff changeset
    73
    "help"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    74
    "hence"
36180
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
    75
    "hide_class"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
    76
    "hide_const"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
    77
    "hide_fact"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
    78
    "hide_type"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
    79
    "include"
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
    80
    "including"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
    81
    "inductive"
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
    82
    "inductive_cases"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    83
    "init_toplevel"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    84
    "instance"
24866
6e6d9e80ebb4 updated;
wenzelm
parents: 24343
diff changeset
    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"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    88
    "judgment"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    89
    "kill"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    90
    "kill_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    91
    "lemma"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    92
    "lemmas"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    93
    "let"
27538
65f64da68a97 updated generated file;
wenzelm
parents: 27502
diff changeset
    94
    "linear_undo"
30463
f1cb00030d4f updated generated files;
wenzelm
parents: 29882
diff changeset
    95
    "local_setup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    96
    "locale"
49571
7e6fc0254d23 updated keywords;
wenzelm
parents: 48867
diff changeset
    97
    "locale_deps"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    98
    "method_setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    99
    "moreover"
57886
7cae177c9084 support for named collections of theorems in canonical order;
wenzelm
parents: 57442
diff changeset
   100
    "named_theorems"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   101
    "next"
24945
2c27817065bc updated;
wenzelm
parents: 24919
diff changeset
   102
    "no_notation"
15762
13d1ec61bc89 updated;
wenzelm
parents: 15624
diff changeset
   103
    "no_syntax"
19255
e80e3fdda606 updated;
wenzelm
parents: 19149
diff changeset
   104
    "no_translations"
35414
cc8e4276d093 updated generated files;
wenzelm
parents: 35279
diff changeset
   105
    "no_type_notation"
41229
d797baa3d57c replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents: 40965
diff changeset
   106
    "nonterminal"
21203
8154a62bb498 updated;
wenzelm
parents: 21057
diff changeset
   107
    "notation"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   108
    "note"
40960
9e54eb514a46 formal notepad without any result;
wenzelm
parents: 40784
diff changeset
   109
    "notepad"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   110
    "obtain"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   111
    "oops"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   112
    "oracle"
25516
ad25835675b9 updated
haftmann
parents: 25065
diff changeset
   113
    "overloading"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   114
    "parse_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   115
    "parse_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   116
    "pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   117
    "prefer"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   118
    "presume"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   119
    "pretty_setmargin"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   120
    "prf"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   121
    "primrec"
56069
451d5b73f8cf simplified programming interface to define ML antiquotations -- NB: the transformed context ignores updates of the context parser;
wenzelm
parents: 55385
diff changeset
   122
    "print_ML_antiquotations"
21732
4d4cde714500 updated;
wenzelm
parents: 21302
diff changeset
   123
    "print_abbrevs"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   124
    "print_antiquotations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   125
    "print_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   126
    "print_attributes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   127
    "print_binds"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
   128
    "print_bundles"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   129
    "print_cases"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   130
    "print_claset"
20378
63a0aafc89ba updated code generator keywords
haftmann
parents: 20358
diff changeset
   131
    "print_classes"
22288
c565f33ec70f updated keywords
haftmann
parents: 22200
diff changeset
   132
    "print_codesetup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   133
    "print_commands"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   134
    "print_context"
51585
fcd5af4aac2b added 'print_defn_rules' command;
wenzelm
parents: 51313
diff changeset
   135
    "print_defn_rules"
41435
12585dfb86fe Diagnostic command to show locale dependencies.
ballarin
parents: 41249
diff changeset
   136
    "print_dependencies"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   137
    "print_facts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   138
    "print_induct_rules"
32804
ca430e6aee1c Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents: 31130
diff changeset
   139
    "print_interps"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   140
    "print_locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   141
    "print_locales"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   142
    "print_methods"
52060
179236c82c2a renamed 'print_configs' to 'print_options';
wenzelm
parents: 51585
diff changeset
   143
    "print_options"
12365
a90156701dad updated;
wenzelm
parents: 12211
diff changeset
   144
    "print_rules"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   145
    "print_simpset"
52430
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52143
diff changeset
   146
    "print_state"
19272
5f376320109a updated;
wenzelm
parents: 19255
diff changeset
   147
    "print_statement"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   148
    "print_syntax"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   149
    "print_tcset"
57415
e721124f1b1e command 'print_term_bindings' supersedes 'print_binds';
wenzelm
parents: 56618
diff changeset
   150
    "print_term_bindings"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   151
    "print_theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   152
    "print_theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   153
    "print_trans_rules"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   154
    "print_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   155
    "proof"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   156
    "prop"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   157
    "qed"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   158
    "quit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   159
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   160
    "realizers"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   161
    "remove_thy"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   162
    "rep_datatype"
36321
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   163
    "schematic_corollary"
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   164
    "schematic_lemma"
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   165
    "schematic_theorem"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   166
    "sect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   167
    "section"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   168
    "setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   169
    "show"
22200
d4797b506752 updated;
wenzelm
parents: 22084
diff changeset
   170
    "simproc_setup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   171
    "sorry"
24919
ad3a8569759c updated keywords
haftmann
parents: 24912
diff changeset
   172
    "subclass"
28895
4e2914c2f8c5 Sublocale command.
ballarin
parents: 28721
diff changeset
   173
    "sublocale"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   174
    "subsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   175
    "subsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   176
    "subsubsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   177
    "subsubsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   178
    "syntax"
40784
177e8cea3e09 added 'syntax_declaration' command;
wenzelm
parents: 40396
diff changeset
   179
    "syntax_declaration"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   180
    "term"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   181
    "text"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   182
    "text_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   183
    "then"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   184
    "theorem"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   185
    "theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   186
    "theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   187
    "thm"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   188
    "thm_deps"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   189
    "thus"
22486
d3b6cb2306b6 updated keywords
haftmann
parents: 22288
diff changeset
   190
    "thy_deps"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   191
    "translations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   192
    "txt"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   193
    "txt_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   194
    "typ"
35414
cc8e4276d093 updated generated files;
wenzelm
parents: 35279
diff changeset
   195
    "type_notation"
41249
26f12f98f50a Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents: 41229
diff changeset
   196
    "type_synonym"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   197
    "typed_print_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   198
    "typedecl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   199
    "ultimately"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   200
    "undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   201
    "undos_proof"
18541
00890455e95f updated -- lost update!?
wenzelm
parents: 18520
diff changeset
   202
    "unfolding"
26184
64ee6a2ca6d6 Added unused_thms command.
berghofe
parents: 25577
diff changeset
   203
    "unused_thms"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   204
    "use_thy"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   205
    "using"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   206
    "welcome"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   207
    "with"
36505
79c1d2bbe5a9 ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents: 36455
diff changeset
   208
    "write"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   209
    "{"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   210
    "}"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   211
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   212
(defconst isar-keywords-minor
52143
36ffe23b25f8 syntax translations always depend on context;
wenzelm
parents: 52060
diff changeset
   213
  '("and"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   214
    "assumes"
17147
fa9e28b23d70 Adapted to new code generator syntax.
berghofe
parents: 16419
diff changeset
   215
    "attach"
15135
f00857c7539b Added "import" and "begin"
nipkow
parents: 14937
diff changeset
   216
    "begin"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   217
    "binder"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   218
    "case_eqns"
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   219
    "con_defs"
16168
adb83939177f Locales: new element constrains, parameter renaming with syntax,
ballarin
parents: 16034
diff changeset
   220
    "constrains"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   221
    "defines"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   222
    "domains"
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   223
    "elimination"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   224
    "fixes"
19797
a527b3e1076a updated;
wenzelm
parents: 19655
diff changeset
   225
    "for"
22288
c565f33ec70f updated keywords
haftmann
parents: 22200
diff changeset
   226
    "identifier"
19797
a527b3e1076a updated;
wenzelm
parents: 19655
diff changeset
   227
    "if"
15141
a95c2ff210ba import -> imports
nipkow
parents: 15135
diff changeset
   228
    "imports"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   229
    "in"
47069
451fc10a81f3 more explicit Toplevel.open_target/close_target;
wenzelm
parents: 47066
diff changeset
   230
    "includes"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   231
    "induction"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   232
    "infix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   233
    "infixl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   234
    "infixr"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   235
    "intros"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   236
    "is"
46938
cda018294515 some support for outer syntax keyword declarations within theory header;
wenzelm
parents: 45134
diff changeset
   237
    "keywords"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   238
    "monos"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   239
    "notes"
18888
3b643f81b378 updated;
wenzelm
parents: 18775
diff changeset
   240
    "obtains"
13364
d3c7d05d8839 updated;
wenzelm
parents: 12954
diff changeset
   241
    "open"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   242
    "output"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   243
    "overloaded"
33685
29106208ccf7 updated keywords;
wenzelm
parents: 33198
diff changeset
   244
    "pervasive"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   245
    "recursor_eqns"
12935
d697091d1591 updated;
wenzelm
parents: 12926
diff changeset
   246
    "shows"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   247
    "structure"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   248
    "type_elims"
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   249
    "type_intros"
19633
a6fad1e8bbd2 updated;
wenzelm
parents: 19272
diff changeset
   250
    "unchecked"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   251
    "where"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   252
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   253
(defconst isar-keywords-control
25577
d739f48ef40c updated;
wenzelm
parents: 25516
diff changeset
   254
  '("Isabelle\\.command"
d739f48ef40c updated;
wenzelm
parents: 25516
diff changeset
   255
    "ProofGeneral\\.inform_file_processed"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   256
    "ProofGeneral\\.inform_file_retracted"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   257
    "ProofGeneral\\.kill_proof"
52437
c88354589b43 more formal ProofGeneral command setup within theory Pure;
wenzelm
parents: 52430
diff changeset
   258
    "ProofGeneral\\.pr"
14937
37b06d27683d updated;
wenzelm
parents: 14660
diff changeset
   259
    "ProofGeneral\\.process_pgip"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   260
    "ProofGeneral\\.restart"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   261
    "ProofGeneral\\.undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   262
    "cannot_undo"
40396
c4c6fa6819aa updated keywords;
wenzelm
parents: 39283
diff changeset
   263
    "commit"
37987
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   264
    "disable_pr"
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   265
    "enable_pr"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   266
    "exit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   267
    "init_toplevel"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   268
    "kill"
37987
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   269
    "kill_thy"
27538
65f64da68a97 updated generated file;
wenzelm
parents: 27502
diff changeset
   270
    "linear_undo"
51270
17d30843fc3b reconsider 'pretty_setmargin' as "control" command (instead of "diag") -- it is stateful and Proof General legacy;
wenzelm
parents: 49571
diff changeset
   271
    "pretty_setmargin"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   272
    "quit"
37987
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   273
    "remove_thy"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   274
    "undo"
37987
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   275
    "undos_proof"
aac4eb1fa1d8 explicit Keyword.control markup for various control commands -- to prevent them from occurring in proof documents;
wenzelm
parents: 37983
diff changeset
   276
    "use_thy"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   277
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   278
(defconst isar-keywords-diag
26482
e7f677b85bfd updated generated file;
wenzelm
parents: 26394
diff changeset
   279
  '("ML_command"
26394
ddd7825ea4cd *** empty log message ***
wenzelm
parents: 26184
diff changeset
   280
    "ML_val"
20568
9b7f59c1bdfc updated;
wenzelm
parents: 20453
diff changeset
   281
    "class_deps"
14937
37b06d27683d updated;
wenzelm
parents: 14660
diff changeset
   282
    "display_drafts"
29882
29154e67731d New command find_consts searching for constants by type (by Timothy Bourke).
kleing
parents: 29607
diff changeset
   283
    "find_consts"
17220
b41d8e290bf8 updated;
wenzelm
parents: 17147
diff changeset
   284
    "find_theorems"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   285
    "full_prf"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   286
    "header"
21732
4d4cde714500 updated;
wenzelm
parents: 21302
diff changeset
   287
    "help"
49571
7e6fc0254d23 updated keywords;
wenzelm
parents: 48867
diff changeset
   288
    "locale_deps"
52438
7b5a5116f3af back to keyword 'pr' :: diag as required for ProofGeneral command line -- reject this TTY command in Isabelle/jEdit by other means;
wenzelm
parents: 52437
diff changeset
   289
    "pr"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   290
    "prf"
56069
451d5b73f8cf simplified programming interface to define ML antiquotations -- NB: the transformed context ignores updates of the context parser;
wenzelm
parents: 55385
diff changeset
   291
    "print_ML_antiquotations"
21732
4d4cde714500 updated;
wenzelm
parents: 21302
diff changeset
   292
    "print_abbrevs"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   293
    "print_antiquotations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   294
    "print_attributes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   295
    "print_binds"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
   296
    "print_bundles"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   297
    "print_cases"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   298
    "print_claset"
20378
63a0aafc89ba updated code generator keywords
haftmann
parents: 20358
diff changeset
   299
    "print_classes"
22288
c565f33ec70f updated keywords
haftmann
parents: 22200
diff changeset
   300
    "print_codesetup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   301
    "print_commands"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   302
    "print_context"
51585
fcd5af4aac2b added 'print_defn_rules' command;
wenzelm
parents: 51313
diff changeset
   303
    "print_defn_rules"
41435
12585dfb86fe Diagnostic command to show locale dependencies.
ballarin
parents: 41249
diff changeset
   304
    "print_dependencies"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   305
    "print_facts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   306
    "print_induct_rules"
32804
ca430e6aee1c Propagation of mixins for interpretation; reactivated diagnostic command print_interps.
ballarin
parents: 31130
diff changeset
   307
    "print_interps"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   308
    "print_locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   309
    "print_locales"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   310
    "print_methods"
52060
179236c82c2a renamed 'print_configs' to 'print_options';
wenzelm
parents: 51585
diff changeset
   311
    "print_options"
12365
a90156701dad updated;
wenzelm
parents: 12211
diff changeset
   312
    "print_rules"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   313
    "print_simpset"
52430
289e36c2870a proper diagnostic command 'print_state';
wenzelm
parents: 52143
diff changeset
   314
    "print_state"
19272
5f376320109a updated;
wenzelm
parents: 19255
diff changeset
   315
    "print_statement"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   316
    "print_syntax"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   317
    "print_tcset"
57415
e721124f1b1e command 'print_term_bindings' supersedes 'print_binds';
wenzelm
parents: 56618
diff changeset
   318
    "print_term_bindings"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   319
    "print_theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   320
    "print_theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   321
    "print_trans_rules"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   322
    "prop"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   323
    "term"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   324
    "thm"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   325
    "thm_deps"
22486
d3b6cb2306b6 updated keywords
haftmann
parents: 22288
diff changeset
   326
    "thy_deps"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   327
    "typ"
26184
64ee6a2ca6d6 Added unused_thms command.
berghofe
parents: 25577
diff changeset
   328
    "unused_thms"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   329
    "welcome"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   330
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   331
(defconst isar-keywords-theory-begin
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   332
  '("theory"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   333
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   334
(defconst isar-keywords-theory-switch
21302
4c8f3dfc7124 updated;
wenzelm
parents: 21203
diff changeset
   335
  '())
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   336
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   337
(defconst isar-keywords-theory-end
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   338
  '("end"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   339
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   340
(defconst isar-keywords-theory-heading
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   341
  '("chapter"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   342
    "section"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   343
    "subsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   344
    "subsubsection"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   345
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   346
(defconst isar-keywords-theory-decl
26482
e7f677b85bfd updated generated file;
wenzelm
parents: 26394
diff changeset
   347
  '("ML"
48867
e9beabf045ab some support for inlining file content into outer syntax token language;
wenzelm
parents: 48709
diff changeset
   348
    "ML_file"
56618
874bdedb2313 added command 'SML_export' and 'SML_import' for exchange of toplevel bindings;
wenzelm
parents: 56275
diff changeset
   349
    "SML_export"
56275
600f432ab556 added command 'SML_file' for Standard ML without Isabelle/ML add-ons;
wenzelm
parents: 56146
diff changeset
   350
    "SML_file"
56618
874bdedb2313 added command 'SML_export' and 'SML_import' for exchange of toplevel bindings;
wenzelm
parents: 56275
diff changeset
   351
    "SML_import"
19069
a4b956f8b233 updated;
wenzelm
parents: 18888
diff changeset
   352
    "abbreviation"
30527
fae488569faf updated generated files;
wenzelm
parents: 30463
diff changeset
   353
    "attribute_setup"
18702
7dc7dcd63224 substantial improvements in code generator
haftmann
parents: 18612
diff changeset
   354
    "axiomatization"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
   355
    "bundle"
18552
30911da9fb27 class now a keyword
haftmann
parents: 18541
diff changeset
   356
    "class"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   357
    "codatatype"
22486
d3b6cb2306b6 updated keywords
haftmann
parents: 22288
diff changeset
   358
    "code_datatype"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   359
    "coinductive"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   360
    "consts"
21302
4c8f3dfc7124 updated;
wenzelm
parents: 21203
diff changeset
   361
    "context"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   362
    "datatype"
22084
2fef69700f50 updated
wenzelm
parents: 22066
diff changeset
   363
    "declaration"
23804
5801141870b1 updated;
wenzelm
parents: 23692
diff changeset
   364
    "declare"
36455
30f96b4b108b updated keywords;
wenzelm
parents: 36356
diff changeset
   365
    "default_sort"
18775
becdbf57eeb8 updated;
wenzelm
parents: 18757
diff changeset
   366
    "definition"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   367
    "defs"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   368
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   369
    "extract_type"
36180
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
   370
    "hide_class"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
   371
    "hide_const"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
   372
    "hide_fact"
2db3711b2b03 updated keywords;
wenzelm
parents: 36114
diff changeset
   373
    "hide_type"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   374
    "inductive"
56146
8453d35e4684 discontinued somewhat pointless "thy_script" keyword kind;
wenzelm
parents: 56069
diff changeset
   375
    "inductive_cases"
24866
6e6d9e80ebb4 updated;
wenzelm
parents: 24343
diff changeset
   376
    "instantiation"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   377
    "judgment"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   378
    "lemmas"
30463
f1cb00030d4f updated generated files;
wenzelm
parents: 29882
diff changeset
   379
    "local_setup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   380
    "locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   381
    "method_setup"
57886
7cae177c9084 support for named collections of theorems in canonical order;
wenzelm
parents: 57442
diff changeset
   382
    "named_theorems"
24945
2c27817065bc updated;
wenzelm
parents: 24919
diff changeset
   383
    "no_notation"
15762
13d1ec61bc89 updated;
wenzelm
parents: 15624
diff changeset
   384
    "no_syntax"
19255
e80e3fdda606 updated;
wenzelm
parents: 19149
diff changeset
   385
    "no_translations"
35414
cc8e4276d093 updated generated files;
wenzelm
parents: 35279
diff changeset
   386
    "no_type_notation"
41229
d797baa3d57c replaced command 'nonterminals' by slightly modernized version 'nonterminal';
wenzelm
parents: 40965
diff changeset
   387
    "nonterminal"
21203
8154a62bb498 updated;
wenzelm
parents: 21057
diff changeset
   388
    "notation"
40960
9e54eb514a46 formal notepad without any result;
wenzelm
parents: 40784
diff changeset
   389
    "notepad"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   390
    "oracle"
25516
ad25835675b9 updated
haftmann
parents: 25065
diff changeset
   391
    "overloading"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   392
    "parse_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   393
    "parse_translation"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   394
    "primrec"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   395
    "print_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   396
    "print_translation"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   397
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   398
    "realizers"
31107
657386d94f14 fixed code_pred command
bulwahn
parents: 31106
diff changeset
   399
    "rep_datatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   400
    "setup"
22200
d4797b506752 updated;
wenzelm
parents: 22084
diff changeset
   401
    "simproc_setup"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   402
    "syntax"
40784
177e8cea3e09 added 'syntax_declaration' command;
wenzelm
parents: 40396
diff changeset
   403
    "syntax_declaration"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   404
    "text"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   405
    "text_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   406
    "theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   407
    "translations"
35414
cc8e4276d093 updated generated files;
wenzelm
parents: 35279
diff changeset
   408
    "type_notation"
41249
26f12f98f50a Command 'type_synonym' (with single argument) supersedes 'types' (legacy feature);
wenzelm
parents: 41229
diff changeset
   409
    "type_synonym"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   410
    "typed_print_translation"
51295
71fc3776c453 discontinued redundant 'use' command;
wenzelm
parents: 51293
diff changeset
   411
    "typedecl"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   412
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   413
(defconst isar-keywords-theory-script
56146
8453d35e4684 discontinued somewhat pointless "thy_script" keyword kind;
wenzelm
parents: 56069
diff changeset
   414
  '())
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   415
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   416
(defconst isar-keywords-theory-goal
36114
e49fd7b1d932 updated keywords
haftmann
parents: 35414
diff changeset
   417
  '("corollary"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   418
    "instance"
15598
4ab52355bb53 Registrations of global locale interpretations: improved, better naming.
ballarin
parents: 15596
diff changeset
   419
    "interpretation"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   420
    "lemma"
36321
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   421
    "schematic_corollary"
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   422
    "schematic_lemma"
58d4dc6000fc updated generated files;
wenzelm
parents: 36180
diff changeset
   423
    "schematic_theorem"
24919
ad3a8569759c updated keywords
haftmann
parents: 24912
diff changeset
   424
    "subclass"
28895
4e2914c2f8c5 Sublocale command.
ballarin
parents: 28721
diff changeset
   425
    "sublocale"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   426
    "theorem"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   427
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   428
(defconst isar-keywords-qed
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   429
  '("\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   430
    "\\.\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   431
    "by"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   432
    "done"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   433
    "sorry"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   434
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   435
(defconst isar-keywords-qed-block
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   436
  '("qed"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   437
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   438
(defconst isar-keywords-qed-global
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   439
  '("oops"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   440
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   441
(defconst isar-keywords-proof-heading
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   442
  '("sect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   443
    "subsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   444
    "subsubsect"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   445
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   446
(defconst isar-keywords-proof-goal
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   447
  '("have"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   448
    "hence"
29607
2db3537c3535 updated generated files;
wenzelm
parents: 29252
diff changeset
   449
    "interpret"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   450
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   451
(defconst isar-keywords-proof-block
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   452
  '("next"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   453
    "proof"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   454
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   455
(defconst isar-keywords-proof-open
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   456
  '("{"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   457
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   458
(defconst isar-keywords-proof-close
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   459
  '("}"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   460
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   461
(defconst isar-keywords-proof-chain
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   462
  '("finally"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   463
    "from"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   464
    "then"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   465
    "ultimately"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   466
    "with"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   467
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   468
(defconst isar-keywords-proof-decl
28261
045187fc7840 updated generated file;
wenzelm
parents: 27621
diff changeset
   469
  '("ML_prf"
045187fc7840 updated generated file;
wenzelm
parents: 27621
diff changeset
   470
    "also"
47057
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
   471
    "include"
12423b36fcc4 basic support for bundled declarations;
wenzelm
parents: 46974
diff changeset
   472
    "including"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   473
    "let"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   474
    "moreover"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   475
    "note"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   476
    "txt"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   477
    "txt_raw"
18541
00890455e95f updated -- lost update!?
wenzelm
parents: 18520
diff changeset
   478
    "unfolding"
36505
79c1d2bbe5a9 ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents: 36455
diff changeset
   479
    "using"
79c1d2bbe5a9 ProofContext.read_const: allow for type constraint (for fixed variable);
wenzelm
parents: 36455
diff changeset
   480
    "write"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   481
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   482
(defconst isar-keywords-proof-asm
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   483
  '("assume"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   484
    "case"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   485
    "def"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   486
    "fix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   487
    "presume"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   488
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   489
(defconst isar-keywords-proof-asm-goal
17850
6803625e71c4 updated;
wenzelm
parents: 17552
diff changeset
   490
  '("guess"
21806
6086783d4214 updated;
wenzelm
parents: 21732
diff changeset
   491
    "obtain"
6086783d4214 updated;
wenzelm
parents: 21732
diff changeset
   492
    "show"
6086783d4214 updated;
wenzelm
parents: 21732
diff changeset
   493
    "thus"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   494
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   495
(defconst isar-keywords-proof-script
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   496
  '("apply"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   497
    "apply_end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   498
    "back"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   499
    "defer"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   500
    "prefer"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   501
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   502
(provide 'isar-keywords)