etc/isar-keywords-ZF.el
author wenzelm
Thu, 06 May 2004 14:14:18 +0200
changeset 14706 71590b7733b7
parent 14660 934e03881ad6
child 14937 37b06d27683d
permissions -rw-r--r--
tuned document;
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.
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     3
;; This file was generated by Isabelle/ZF -- DO NOT EDIT!
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     4
;;
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     5
;; $Id$
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     6
;;
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     7
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     8
(defconst isar-keywords-major
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
     9
  '("\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    10
    "\\.\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    11
    "ML"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    12
    "ML_command"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    13
    "ML_setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    14
    "ProofGeneral\\.context_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    15
    "ProofGeneral\\.inform_file_processed"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    16
    "ProofGeneral\\.inform_file_retracted"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    17
    "ProofGeneral\\.kill_proof"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    18
    "ProofGeneral\\.restart"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    19
    "ProofGeneral\\.try_context_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    20
    "ProofGeneral\\.undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    21
    "also"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    22
    "apply"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    23
    "apply_end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    24
    "arities"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    25
    "assume"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    26
    "axclass"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    27
    "axioms"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    28
    "back"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    29
    "by"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    30
    "cannot_undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    31
    "case"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    32
    "cd"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    33
    "chapter"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    34
    "classes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    35
    "classrel"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    36
    "clear_undos"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
    37
    "codatatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    38
    "coinductive"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    39
    "commit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    40
    "constdefs"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    41
    "consts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    42
    "consts_code"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    43
    "context"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    44
    "corollary"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
    45
    "datatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    46
    "declare"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    47
    "def"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    48
    "defaultsort"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    49
    "defer"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    50
    "defs"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    51
    "disable_pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    52
    "done"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    53
    "enable_pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    54
    "end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    55
    "exit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    56
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
    57
    "extract_type"
14508
859b11514537 Experimental command for instantiation of locales in proof contexts:
ballarin
parents: 14109
diff changeset
    58
    "finalconsts"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    59
    "finally"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    60
    "fix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    61
    "from"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    62
    "full_prf"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    63
    "generate_code"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    64
    "global"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    65
    "have"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    66
    "header"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    67
    "hence"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    68
    "hide"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    69
    "inductive"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    70
    "inductive_cases"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    71
    "init_toplevel"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    72
    "instance"
14508
859b11514537 Experimental command for instantiation of locales in proof contexts:
ballarin
parents: 14109
diff changeset
    73
    "instantiate"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    74
    "judgment"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    75
    "kill"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    76
    "kill_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    77
    "lemma"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    78
    "lemmas"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    79
    "let"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    80
    "local"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    81
    "locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    82
    "method_setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    83
    "moreover"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    84
    "next"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    85
    "nonterminals"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    86
    "note"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    87
    "obtain"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    88
    "oops"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    89
    "oracle"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    90
    "parse_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    91
    "parse_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    92
    "pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    93
    "prefer"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    94
    "presume"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    95
    "pretty_setmargin"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    96
    "prf"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
    97
    "primrec"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    98
    "print_antiquotations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
    99
    "print_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   100
    "print_attributes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   101
    "print_binds"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   102
    "print_cases"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   103
    "print_claset"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   104
    "print_commands"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   105
    "print_context"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   106
    "print_facts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   107
    "print_induct_rules"
13802
ebed89f74e59 Added "print_intros" command.
berghofe
parents: 13407
diff changeset
   108
    "print_intros"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   109
    "print_locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   110
    "print_locales"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   111
    "print_methods"
12365
a90156701dad updated;
wenzelm
parents: 12211
diff changeset
   112
    "print_rules"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   113
    "print_simpset"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   114
    "print_syntax"
12184
f4aaa2647fd2 updated;
wenzelm
parents: 12179
diff changeset
   115
    "print_tcset"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   116
    "print_theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   117
    "print_theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   118
    "print_trans_rules"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   119
    "print_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   120
    "proof"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   121
    "prop"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   122
    "pwd"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   123
    "qed"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   124
    "quickcheck"
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   125
    "quickcheck_params"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   126
    "quit"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   127
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   128
    "realizers"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   129
    "redo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   130
    "remove_thy"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   131
    "rep_datatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   132
    "sect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   133
    "section"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   134
    "setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   135
    "show"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   136
    "sorry"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   137
    "subsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   138
    "subsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   139
    "subsubsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   140
    "subsubsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   141
    "syntax"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   142
    "term"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   143
    "text"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   144
    "text_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   145
    "then"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   146
    "theorem"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   147
    "theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   148
    "theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   149
    "thm"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   150
    "thm_deps"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   151
    "thms_containing"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   152
    "thus"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   153
    "token_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   154
    "touch_all_thys"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   155
    "touch_child_thys"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   156
    "touch_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   157
    "translations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   158
    "txt"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   159
    "txt_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   160
    "typ"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   161
    "typed_print_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   162
    "typedecl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   163
    "types"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   164
    "types_code"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   165
    "ultimately"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   166
    "undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   167
    "undos_proof"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   168
    "update_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   169
    "update_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   170
    "use"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   171
    "use_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   172
    "use_thy_only"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   173
    "using"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   174
    "welcome"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   175
    "with"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   176
    "{"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   177
    "}"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   178
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   179
(defconst isar-keywords-minor
14660
934e03881ad6 updated -- too late for Isabelle2004!
wenzelm
parents: 14508
diff changeset
   180
  '("advanced"
934e03881ad6 updated -- too late for Isabelle2004!
wenzelm
parents: 14508
diff changeset
   181
    "and"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   182
    "assumes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   183
    "binder"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   184
    "case_eqns"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   185
    "con_defs"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   186
    "concl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   187
    "defines"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   188
    "domains"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   189
    "elimination"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   190
    "files"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   191
    "fixes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   192
    "in"
12954
850609c057e2 updated;
wenzelm
parents: 12935
diff changeset
   193
    "includes"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   194
    "induction"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   195
    "infix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   196
    "infixl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   197
    "infixr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   198
    "intros"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   199
    "is"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   200
    "monos"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   201
    "notes"
13364
d3c7d05d8839 updated;
wenzelm
parents: 12954
diff changeset
   202
    "open"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   203
    "output"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   204
    "overloaded"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   205
    "recursor_eqns"
12935
d697091d1591 updated;
wenzelm
parents: 12926
diff changeset
   206
    "shows"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   207
    "structure"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   208
    "type_elims"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   209
    "type_intros"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   210
    "where"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   211
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   212
(defconst isar-keywords-control
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   213
  '("ProofGeneral\\.context_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   214
    "ProofGeneral\\.inform_file_processed"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   215
    "ProofGeneral\\.inform_file_retracted"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   216
    "ProofGeneral\\.kill_proof"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   217
    "ProofGeneral\\.restart"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   218
    "ProofGeneral\\.try_context_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   219
    "ProofGeneral\\.undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   220
    "cannot_undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   221
    "clear_undos"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   222
    "exit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   223
    "init_toplevel"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   224
    "kill"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   225
    "quit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   226
    "redo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   227
    "undo"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   228
    "undos_proof"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   229
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   230
(defconst isar-keywords-diag
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   231
  '("ML"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   232
    "ML_command"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   233
    "cd"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   234
    "commit"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   235
    "disable_pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   236
    "enable_pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   237
    "full_prf"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   238
    "header"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   239
    "kill_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   240
    "pr"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   241
    "pretty_setmargin"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   242
    "prf"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   243
    "print_antiquotations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   244
    "print_attributes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   245
    "print_binds"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   246
    "print_cases"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   247
    "print_claset"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   248
    "print_commands"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   249
    "print_context"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   250
    "print_facts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   251
    "print_induct_rules"
13802
ebed89f74e59 Added "print_intros" command.
berghofe
parents: 13407
diff changeset
   252
    "print_intros"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   253
    "print_locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   254
    "print_locales"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   255
    "print_methods"
12365
a90156701dad updated;
wenzelm
parents: 12211
diff changeset
   256
    "print_rules"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   257
    "print_simpset"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   258
    "print_syntax"
12184
f4aaa2647fd2 updated;
wenzelm
parents: 12179
diff changeset
   259
    "print_tcset"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   260
    "print_theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   261
    "print_theory"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   262
    "print_trans_rules"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   263
    "prop"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   264
    "pwd"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   265
    "quickcheck"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   266
    "remove_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   267
    "term"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   268
    "thm"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   269
    "thm_deps"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   270
    "thms_containing"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   271
    "touch_all_thys"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   272
    "touch_child_thys"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   273
    "touch_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   274
    "typ"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   275
    "update_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   276
    "update_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   277
    "use"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   278
    "use_thy"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   279
    "use_thy_only"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   280
    "welcome"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   281
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   282
(defconst isar-keywords-theory-begin
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   283
  '("theory"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   284
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   285
(defconst isar-keywords-theory-switch
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   286
  '("context"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   287
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   288
(defconst isar-keywords-theory-end
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   289
  '("end"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   290
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   291
(defconst isar-keywords-theory-heading
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   292
  '("chapter"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   293
    "section"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   294
    "subsection"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   295
    "subsubsection"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   296
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   297
(defconst isar-keywords-theory-decl
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   298
  '("ML_setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   299
    "arities"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   300
    "axclass"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   301
    "axioms"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   302
    "classes"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   303
    "classrel"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
   304
    "codatatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   305
    "coinductive"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   306
    "constdefs"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   307
    "consts"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   308
    "consts_code"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
   309
    "datatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   310
    "defaultsort"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   311
    "defs"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   312
    "extract"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   313
    "extract_type"
14508
859b11514537 Experimental command for instantiation of locales in proof contexts:
ballarin
parents: 14109
diff changeset
   314
    "finalconsts"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   315
    "generate_code"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   316
    "global"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   317
    "hide"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   318
    "inductive"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   319
    "judgment"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   320
    "lemmas"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   321
    "local"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   322
    "locale"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   323
    "method_setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   324
    "nonterminals"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   325
    "oracle"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   326
    "parse_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   327
    "parse_translation"
12179
5b427479cc14 updated;
wenzelm
parents: 12176
diff changeset
   328
    "primrec"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   329
    "print_ast_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   330
    "print_translation"
14109
7aa5b79daffb Added keywords for random testing.
berghofe
parents: 13802
diff changeset
   331
    "quickcheck_params"
13407
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   332
    "realizability"
d128b5915f6b Added program extraction keywords.
berghofe
parents: 13364
diff changeset
   333
    "realizers"
12211
510c3eee55de updated;
wenzelm
parents: 12184
diff changeset
   334
    "rep_datatype"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   335
    "setup"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   336
    "syntax"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   337
    "text"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   338
    "text_raw"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   339
    "theorems"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   340
    "token_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   341
    "translations"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   342
    "typed_print_translation"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   343
    "typedecl"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   344
    "types"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   345
    "types_code"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   346
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   347
(defconst isar-keywords-theory-script
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   348
  '("declare"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   349
    "inductive_cases"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   350
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   351
(defconst isar-keywords-theory-goal
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   352
  '("corollary"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   353
    "instance"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   354
    "lemma"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   355
    "theorem"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   356
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   357
(defconst isar-keywords-qed
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   358
  '("\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   359
    "\\.\\."
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   360
    "by"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   361
    "done"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   362
    "sorry"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   363
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   364
(defconst isar-keywords-qed-block
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   365
  '("qed"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   366
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   367
(defconst isar-keywords-qed-global
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   368
  '("oops"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   369
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   370
(defconst isar-keywords-proof-heading
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   371
  '("sect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   372
    "subsect"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   373
    "subsubsect"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   374
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   375
(defconst isar-keywords-proof-goal
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   376
  '("have"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   377
    "hence"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   378
    "show"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   379
    "thus"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   380
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   381
(defconst isar-keywords-proof-block
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   382
  '("next"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   383
    "proof"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   384
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   385
(defconst isar-keywords-proof-open
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   386
  '("{"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   387
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   388
(defconst isar-keywords-proof-close
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   389
  '("}"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   390
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   391
(defconst isar-keywords-proof-chain
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   392
  '("finally"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   393
    "from"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   394
    "then"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   395
    "ultimately"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   396
    "with"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   397
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   398
(defconst isar-keywords-proof-decl
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   399
  '("also"
14508
859b11514537 Experimental command for instantiation of locales in proof contexts:
ballarin
parents: 14109
diff changeset
   400
    "instantiate"
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   401
    "let"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   402
    "moreover"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   403
    "note"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   404
    "txt"
12926
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   405
    "txt_raw"
cd0dd6e0bf5c 'using' command;
wenzelm
parents: 12365
diff changeset
   406
    "using"))
12176
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   407
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   408
(defconst isar-keywords-proof-asm
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   409
  '("assume"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   410
    "case"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   411
    "def"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   412
    "fix"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   413
    "presume"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   414
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   415
(defconst isar-keywords-proof-asm-goal
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   416
  '("obtain"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   417
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   418
(defconst isar-keywords-proof-script
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   419
  '("apply"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   420
    "apply_end"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   421
    "back"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   422
    "defer"
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   423
    "prefer"))
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   424
f9139e09a983 ZF specific keywords;
wenzelm
parents:
diff changeset
   425
(provide 'isar-keywords)