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