ProgTutorial/Helper/isar-keywords-command.el
author schropp <schropp@in.tum.de>
Mon, 31 May 2010 22:43:31 +0200
changeset 430 73437f42c9d3
parent 321 e450fa467e3f
permissions -rw-r--r--
some more examples of ho-patterns
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
;;
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
;; Keyword classification tables for Isabelle/Isar.
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
     3
;; Generated from Pure + Pure-ProofGeneral + HOL + HOL-Command.
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
;;
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
(defconst isar-keywords-major
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
  '("\\."
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
    "\\.\\."
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
    "Isabelle\\.command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
    "Isar\\.begin_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
    "Isar\\.command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
    "Isar\\.define_command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
    "Isar\\.edit_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
    "Isar\\.end_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
    "Isar\\.insert"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
    "Isar\\.remove"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
    "ML"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
    "ML_command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
    "ML_prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
    "ML_val"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
    "ProofGeneral\\.inform_file_processed"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
    "ProofGeneral\\.inform_file_retracted"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
    "ProofGeneral\\.kill_proof"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
    "ProofGeneral\\.process_pgip"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
    "ProofGeneral\\.restart"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
    "ProofGeneral\\.undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
    "abbreviation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
    "also"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
    "apply"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
    "apply_end"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
    "arities"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
    "assume"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
    "atp_info"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
    "atp_kill"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
    "atp_messages"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
    "atp_minimize"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
    "attribute_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
    "ax_specification"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
    "axclass"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
    "axiomatization"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
    "axioms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
    "back"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
    "by"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
    "cannot_undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
    "case"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
    "cd"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
    "chapter"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
    "class"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
    "class_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
    "classes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
    "classrel"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
    "code_abort"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
    "code_class"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
    "code_const"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
    "code_datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
    "code_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
    "code_include"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
    "code_instance"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
    "code_library"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
    "code_module"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
    "code_modulename"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
    "code_monad"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
    "code_pred"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
    "code_reserved"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
    "code_thms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
    "code_type"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
    "coinductive"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
    "coinductive_set"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
    "commit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
    "constdefs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
    "consts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
    "consts_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
    "context"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
    "corollary"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
    "datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
    "declaration"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    78
    "declare"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    79
    "def"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    80
    "defaultsort"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    81
    "defer"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    82
    "defer_recdef"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    83
    "definition"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    84
    "defs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    85
    "disable_pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    86
    "display_drafts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    87
    "done"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    88
    "enable_pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    89
    "end"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    90
    "exit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    91
    "export_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    92
    "extract"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    93
    "extract_type"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    94
    "finalconsts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    95
    "finally"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    96
    "find_consts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    97
    "find_theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    98
    "fix"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
    "foobar"
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   100
    "foobar_goal"
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   101
    "foobar_prove"
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   102
    "foobar_trace"
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
    "from"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
    "full_prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
    "fun"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
    "function"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
    "global"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
    "guess"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
    "have"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
    "header"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
    "help"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
    "hence"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
    "hide"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
    "inductive"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
    "inductive_cases"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
    "inductive_set"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
    "init_toplevel"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
    "instance"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
    "instantiation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
    "interpret"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   121
    "interpretation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
    "judgment"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
    "kill"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
    "kill_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
    "lemma"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
    "lemmas"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
    "let"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
    "linear_undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
    "local"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
    "local_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
    "locale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   132
    "method_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   133
    "moreover"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
    "next"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   135
    "no_notation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   136
    "no_syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   137
    "no_translations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   138
    "nonterminals"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   139
    "normal_form"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   140
    "notation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   141
    "note"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   142
    "obtain"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   143
    "oops"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   144
    "oracle"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   145
    "overloading"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
    "parse_ast_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   147
    "parse_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   148
    "pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   149
    "prefer"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   150
    "presume"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   151
    "pretty_setmargin"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   152
    "prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   153
    "primrec"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
    "print_abbrevs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   155
    "print_antiquotations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   156
    "print_ast_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   157
    "print_atps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   158
    "print_attributes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   159
    "print_binds"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   160
    "print_cases"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   161
    "print_claset"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   162
    "print_classes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   163
    "print_codeproc"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   164
    "print_codesetup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   165
    "print_commands"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   166
    "print_configs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   167
    "print_context"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   168
    "print_drafts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   169
    "print_facts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   170
    "print_induct_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   171
    "print_locale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   172
    "print_locales"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   173
    "print_methods"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   174
    "print_orders"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   175
    "print_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   176
    "print_simpset"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
    "print_statement"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   178
    "print_syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   179
    "print_theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   180
    "print_theory"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   181
    "print_trans_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   182
    "print_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   183
    "proof"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   184
    "prop"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   185
    "pwd"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   186
    "qed"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   187
    "quickcheck"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   188
    "quickcheck_params"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   189
    "quit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   190
    "realizability"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   191
    "realizers"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   192
    "recdef"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   193
    "recdef_tc"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   194
    "record"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   195
    "refute"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   196
    "refute_params"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   197
    "remove_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   198
    "rep_datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   199
    "sect"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   200
    "section"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   201
    "setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   202
    "show"
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   203
    "simple_inductive"
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   204
    "simproc_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   205
    "sledgehammer"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   206
    "sorry"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
    "specification"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
    "subclass"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
    "sublocale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
    "subsect"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
    "subsection"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
    "subsubsect"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   213
    "subsubsection"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
    "syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   215
    "term"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   216
    "termination"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   217
    "text"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   218
    "text_raw"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   219
    "then"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   220
    "theorem"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   221
    "theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   222
    "theory"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   223
    "thm"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   224
    "thm_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   225
    "thus"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   226
    "thy_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   227
    "touch_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   228
    "translations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   229
    "txt"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   230
    "txt_raw"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   231
    "typ"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   232
    "typed_print_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   233
    "typedecl"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   234
    "typedef"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   235
    "types"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   236
    "types_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   237
    "ultimately"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   238
    "undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   239
    "undos_proof"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   240
    "unfolding"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   241
    "unused_thms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   242
    "use"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   243
    "use_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   244
    "using"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   245
    "value"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   246
    "values"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   247
    "welcome"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   248
    "with"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   249
    "{"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   250
    "}"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   251
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   252
(defconst isar-keywords-minor
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   253
  '("advanced"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   254
    "and"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   255
    "assumes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   256
    "attach"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   257
    "begin"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   258
    "binder"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   259
    "congs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   260
    "constrains"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   261
    "contains"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   262
    "defines"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   263
    "file"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   264
    "fixes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   265
    "for"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   266
    "hints"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   267
    "identifier"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   268
    "if"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
    "imports"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
    "in"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   271
    "infix"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   272
    "infixl"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
    "infixr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   274
    "is"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   275
    "module_name"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   276
    "monos"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   277
    "morphisms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   278
    "notes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   279
    "obtains"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   280
    "open"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   281
    "output"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   282
    "overloaded"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   283
    "permissive"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   284
    "shows"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   285
    "structure"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   286
    "unchecked"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
    "uses"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
    "where"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
(defconst isar-keywords-control
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   291
  '("Isabelle\\.command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   292
    "Isar\\.begin_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
    "Isar\\.command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
    "Isar\\.define_command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
    "Isar\\.edit_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
    "Isar\\.end_document"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   297
    "Isar\\.insert"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   298
    "Isar\\.remove"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   299
    "ProofGeneral\\.inform_file_processed"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   300
    "ProofGeneral\\.inform_file_retracted"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   301
    "ProofGeneral\\.kill_proof"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   302
    "ProofGeneral\\.process_pgip"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   303
    "ProofGeneral\\.restart"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   304
    "ProofGeneral\\.undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   305
    "cannot_undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   306
    "exit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   307
    "init_toplevel"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   308
    "kill"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   309
    "linear_undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   310
    "quit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   311
    "undo"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   312
    "undos_proof"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   313
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   314
(defconst isar-keywords-diag
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   315
  '("ML_command"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   316
    "ML_val"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   317
    "atp_info"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   318
    "atp_kill"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   319
    "atp_messages"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   320
    "atp_minimize"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   321
    "cd"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   322
    "class_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   323
    "code_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   324
    "code_thms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   325
    "commit"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   326
    "disable_pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   327
    "display_drafts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   328
    "enable_pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
    "export_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
    "find_consts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   331
    "find_theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   332
    "full_prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   333
    "header"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   334
    "help"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
    "kill_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
    "normal_form"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
    "pr"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
    "pretty_setmargin"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
    "prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
    "print_abbrevs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
    "print_antiquotations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
    "print_atps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
    "print_attributes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
    "print_binds"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   345
    "print_cases"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
    "print_claset"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
    "print_classes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
    "print_codeproc"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
    "print_codesetup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
    "print_commands"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
    "print_configs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
    "print_context"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
    "print_drafts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   354
    "print_facts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
    "print_induct_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
    "print_locale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
    "print_locales"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
    "print_methods"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   359
    "print_orders"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   360
    "print_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   361
    "print_simpset"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   362
    "print_statement"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   363
    "print_syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   364
    "print_theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   365
    "print_theory"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   366
    "print_trans_rules"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   367
    "prop"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   368
    "pwd"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   369
    "quickcheck"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   370
    "refute"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   371
    "remove_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   372
    "sledgehammer"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   373
    "term"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   374
    "thm"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   375
    "thm_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   376
    "thy_deps"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   377
    "touch_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   378
    "typ"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   379
    "unused_thms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   380
    "use_thy"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   381
    "value"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   382
    "values"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   383
    "welcome"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   384
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   385
(defconst isar-keywords-theory-begin
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   386
  '("theory"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   387
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   388
(defconst isar-keywords-theory-switch
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   389
  '())
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   390
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   391
(defconst isar-keywords-theory-end
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   392
  '("end"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   393
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   394
(defconst isar-keywords-theory-heading
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   395
  '("chapter"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   396
    "section"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   397
    "subsection"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   398
    "subsubsection"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   399
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   400
(defconst isar-keywords-theory-decl
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   401
  '("ML"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   402
    "abbreviation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   403
    "arities"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   404
    "attribute_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   405
    "axclass"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   406
    "axiomatization"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   407
    "axioms"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   408
    "class"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   409
    "classes"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   410
    "classrel"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   411
    "code_abort"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   412
    "code_class"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   413
    "code_const"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   414
    "code_datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   415
    "code_include"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   416
    "code_instance"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   417
    "code_library"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   418
    "code_module"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   419
    "code_modulename"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   420
    "code_monad"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   421
    "code_reserved"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   422
    "code_type"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   423
    "coinductive"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   424
    "coinductive_set"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   425
    "constdefs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   426
    "consts"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   427
    "consts_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   428
    "context"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   429
    "datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   430
    "declaration"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   431
    "declare"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   432
    "defaultsort"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   433
    "defer_recdef"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   434
    "definition"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   435
    "defs"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   436
    "extract"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   437
    "extract_type"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   438
    "finalconsts"
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   439
    "foobar"
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   440
    "foobar_trace"
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   441
    "fun"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   442
    "global"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   443
    "hide"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   444
    "inductive"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   445
    "inductive_set"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   446
    "instantiation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   447
    "judgment"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   448
    "lemmas"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   449
    "local"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   450
    "local_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   451
    "locale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   452
    "method_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   453
    "no_notation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   454
    "no_syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   455
    "no_translations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   456
    "nonterminals"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   457
    "notation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   458
    "oracle"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   459
    "overloading"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   460
    "parse_ast_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   461
    "parse_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   462
    "primrec"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   463
    "print_ast_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   464
    "print_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   465
    "quickcheck_params"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   466
    "realizability"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   467
    "realizers"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   468
    "recdef"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   469
    "record"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   470
    "refute_params"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   471
    "setup"
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   472
    "simple_inductive"
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   473
    "simproc_setup"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   474
    "syntax"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   475
    "text"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   476
    "text_raw"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   477
    "theorems"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   478
    "translations"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   479
    "typed_print_translation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   480
    "typedecl"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   481
    "types"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   482
    "types_code"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   483
    "use"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   484
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   485
(defconst isar-keywords-theory-script
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   486
  '("inductive_cases"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   487
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   488
(defconst isar-keywords-theory-goal
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   489
  '("ax_specification"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   490
    "code_pred"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   491
    "corollary"
321
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   492
    "foobar_goal"
e450fa467e3f polished the commands section
Christian Urban <urbanc@in.tum.de>
parents: 320
diff changeset
   493
    "foobar_prove"
320
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   494
    "function"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   495
    "instance"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   496
    "interpretation"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   497
    "lemma"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   498
    "recdef_tc"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   499
    "rep_datatype"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   500
    "specification"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   501
    "subclass"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   502
    "sublocale"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   503
    "termination"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   504
    "theorem"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   505
    "typedef"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   506
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   507
(defconst isar-keywords-qed
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   508
  '("\\."
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   509
    "\\.\\."
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   510
    "by"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   511
    "done"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   512
    "sorry"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   513
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   514
(defconst isar-keywords-qed-block
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   515
  '("qed"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   516
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   517
(defconst isar-keywords-qed-global
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   518
  '("oops"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   519
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   520
(defconst isar-keywords-proof-heading
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   521
  '("sect"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   522
    "subsect"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   523
    "subsubsect"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   524
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   525
(defconst isar-keywords-proof-goal
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   526
  '("have"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   527
    "hence"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   528
    "interpret"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   529
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   530
(defconst isar-keywords-proof-block
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   531
  '("next"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   532
    "proof"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   533
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   534
(defconst isar-keywords-proof-open
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   535
  '("{"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   536
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   537
(defconst isar-keywords-proof-close
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   538
  '("}"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   539
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   540
(defconst isar-keywords-proof-chain
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   541
  '("finally"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   542
    "from"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   543
    "then"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   544
    "ultimately"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   545
    "with"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   546
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   547
(defconst isar-keywords-proof-decl
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   548
  '("ML_prf"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   549
    "also"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   550
    "let"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   551
    "moreover"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   552
    "note"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   553
    "txt"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   554
    "txt_raw"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   555
    "unfolding"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   556
    "using"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   557
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   558
(defconst isar-keywords-proof-asm
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   559
  '("assume"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   560
    "case"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   561
    "def"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   562
    "fix"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   563
    "presume"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   564
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   565
(defconst isar-keywords-proof-asm-goal
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   566
  '("guess"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   567
    "obtain"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   568
    "show"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   569
    "thus"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   570
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   571
(defconst isar-keywords-proof-script
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   572
  '("apply"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   573
    "apply_end"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   574
    "back"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   575
    "defer"
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   576
    "prefer"))
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   577
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   578
(provide 'isar-keywords)