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