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