etc/isar-keywords.el
author wenzelm
Sat Oct 13 21:46:53 2001 +0200 (2001-10-13)
changeset 11746 9bf11f1de9d6
parent 11661 37cfa9aad9c0
child 12040 61e99f0f5c01
permissions -rw-r--r--
updated;
wenzelm@11538
     1
;;
wenzelm@11538
     2
;; Keyword classification tables for Isabelle/Isar.
wenzelm@11746
     3
;; This file was generated by Isabelle/HOL -- DO NOT EDIT!
wenzelm@11538
     4
;;
wenzelm@11538
     5
;; $Id$
wenzelm@11538
     6
;;
wenzelm@11538
     7
wenzelm@11538
     8
(defconst isar-keywords-major
wenzelm@11538
     9
  '("\\."
wenzelm@11538
    10
    "\\.\\."
wenzelm@11538
    11
    "ML"
wenzelm@11538
    12
    "ML_command"
wenzelm@11538
    13
    "ML_setup"
wenzelm@11538
    14
    "ProofGeneral\\.context_thy_only"
wenzelm@11538
    15
    "ProofGeneral\\.inform_file_processed"
wenzelm@11538
    16
    "ProofGeneral\\.inform_file_retracted"
wenzelm@11538
    17
    "ProofGeneral\\.kill_proof"
wenzelm@11538
    18
    "ProofGeneral\\.restart"
wenzelm@11538
    19
    "ProofGeneral\\.try_context_thy_only"
wenzelm@11538
    20
    "ProofGeneral\\.undo"
wenzelm@11538
    21
    "also"
wenzelm@11538
    22
    "apply"
wenzelm@11538
    23
    "apply_end"
wenzelm@11538
    24
    "arities"
wenzelm@11538
    25
    "assume"
wenzelm@11538
    26
    "axclass"
wenzelm@11538
    27
    "axioms"
wenzelm@11538
    28
    "back"
wenzelm@11538
    29
    "by"
wenzelm@11538
    30
    "cannot_undo"
wenzelm@11538
    31
    "case"
wenzelm@11538
    32
    "cd"
wenzelm@11538
    33
    "chapter"
wenzelm@11538
    34
    "classes"
wenzelm@11538
    35
    "classrel"
wenzelm@11538
    36
    "clear_undos"
wenzelm@11538
    37
    "coinductive"
wenzelm@11538
    38
    "commit"
wenzelm@11538
    39
    "constdefs"
wenzelm@11538
    40
    "consts"
wenzelm@11538
    41
    "consts_code"
wenzelm@11538
    42
    "context"
wenzelm@11746
    43
    "corollary"
wenzelm@11538
    44
    "datatype"
wenzelm@11538
    45
    "declare"
wenzelm@11538
    46
    "def"
wenzelm@11538
    47
    "defaultsort"
wenzelm@11538
    48
    "defer"
wenzelm@11538
    49
    "defer_recdef"
wenzelm@11538
    50
    "defs"
wenzelm@11538
    51
    "disable_pr"
wenzelm@11538
    52
    "done"
wenzelm@11538
    53
    "enable_pr"
wenzelm@11538
    54
    "end"
wenzelm@11538
    55
    "exit"
wenzelm@11538
    56
    "finally"
wenzelm@11538
    57
    "fix"
wenzelm@11538
    58
    "from"
wenzelm@11538
    59
    "full_prf"
wenzelm@11538
    60
    "generate_code"
wenzelm@11538
    61
    "global"
wenzelm@11538
    62
    "have"
wenzelm@11538
    63
    "header"
wenzelm@11538
    64
    "hence"
wenzelm@11538
    65
    "hide"
wenzelm@11538
    66
    "inductive"
wenzelm@11538
    67
    "inductive_cases"
wenzelm@11538
    68
    "init_toplevel"
wenzelm@11538
    69
    "instance"
wenzelm@11538
    70
    "judgment"
wenzelm@11538
    71
    "kill"
wenzelm@11538
    72
    "kill_thy"
wenzelm@11538
    73
    "lemma"
wenzelm@11538
    74
    "lemmas"
wenzelm@11538
    75
    "let"
wenzelm@11538
    76
    "local"
wenzelm@11538
    77
    "method_setup"
wenzelm@11538
    78
    "moreover"
wenzelm@11538
    79
    "next"
wenzelm@11538
    80
    "nonterminals"
wenzelm@11538
    81
    "note"
wenzelm@11538
    82
    "obtain"
wenzelm@11538
    83
    "oops"
wenzelm@11538
    84
    "oracle"
wenzelm@11538
    85
    "parse_ast_translation"
wenzelm@11538
    86
    "parse_translation"
wenzelm@11538
    87
    "pr"
wenzelm@11538
    88
    "prefer"
wenzelm@11538
    89
    "presume"
wenzelm@11538
    90
    "pretty_setmargin"
wenzelm@11538
    91
    "prf"
wenzelm@11538
    92
    "primrec"
wenzelm@11538
    93
    "print_antiquotations"
wenzelm@11538
    94
    "print_ast_translation"
wenzelm@11538
    95
    "print_attributes"
wenzelm@11538
    96
    "print_binds"
wenzelm@11538
    97
    "print_cases"
wenzelm@11538
    98
    "print_claset"
wenzelm@11538
    99
    "print_commands"
wenzelm@11538
   100
    "print_context"
wenzelm@11538
   101
    "print_facts"
wenzelm@11661
   102
    "print_induct_rules"
wenzelm@11538
   103
    "print_methods"
wenzelm@11538
   104
    "print_simpset"
wenzelm@11538
   105
    "print_syntax"
wenzelm@11538
   106
    "print_theorems"
wenzelm@11538
   107
    "print_theory"
wenzelm@11538
   108
    "print_trans_rules"
wenzelm@11538
   109
    "print_translation"
wenzelm@11538
   110
    "proof"
wenzelm@11538
   111
    "prop"
wenzelm@11538
   112
    "pwd"
wenzelm@11538
   113
    "qed"
wenzelm@11538
   114
    "quit"
wenzelm@11538
   115
    "recdef"
wenzelm@11538
   116
    "recdef_tc"
wenzelm@11538
   117
    "record"
wenzelm@11538
   118
    "redo"
wenzelm@11538
   119
    "remove_thy"
wenzelm@11538
   120
    "rep_datatype"
wenzelm@11538
   121
    "sect"
wenzelm@11538
   122
    "section"
wenzelm@11538
   123
    "setup"
wenzelm@11538
   124
    "show"
wenzelm@11538
   125
    "sorry"
wenzelm@11538
   126
    "subsect"
wenzelm@11538
   127
    "subsection"
wenzelm@11538
   128
    "subsubsect"
wenzelm@11538
   129
    "subsubsection"
wenzelm@11538
   130
    "syntax"
wenzelm@11538
   131
    "term"
wenzelm@11538
   132
    "text"
wenzelm@11538
   133
    "text_raw"
wenzelm@11538
   134
    "then"
wenzelm@11538
   135
    "theorem"
wenzelm@11538
   136
    "theorems"
wenzelm@11538
   137
    "theory"
wenzelm@11538
   138
    "thm"
wenzelm@11538
   139
    "thm_deps"
wenzelm@11538
   140
    "thms_containing"
wenzelm@11538
   141
    "thus"
wenzelm@11538
   142
    "token_translation"
wenzelm@11538
   143
    "touch_all_thys"
wenzelm@11538
   144
    "touch_child_thys"
wenzelm@11538
   145
    "touch_thy"
wenzelm@11538
   146
    "translations"
wenzelm@11538
   147
    "txt"
wenzelm@11538
   148
    "txt_raw"
wenzelm@11538
   149
    "typ"
wenzelm@11538
   150
    "typed_print_translation"
wenzelm@11538
   151
    "typedecl"
wenzelm@11538
   152
    "typedef"
wenzelm@11538
   153
    "types"
wenzelm@11538
   154
    "types_code"
wenzelm@11538
   155
    "ultimately"
wenzelm@11538
   156
    "undo"
wenzelm@11538
   157
    "undos_proof"
wenzelm@11538
   158
    "update_thy"
wenzelm@11538
   159
    "update_thy_only"
wenzelm@11538
   160
    "use"
wenzelm@11538
   161
    "use_thy"
wenzelm@11538
   162
    "use_thy_only"
wenzelm@11538
   163
    "welcome"
wenzelm@11538
   164
    "with"
wenzelm@11538
   165
    "{"
wenzelm@11538
   166
    "}"))
wenzelm@11538
   167
wenzelm@11538
   168
(defconst isar-keywords-minor
wenzelm@11746
   169
  '("and"
wenzelm@11538
   170
    "binder"
wenzelm@11538
   171
    "con_defs"
wenzelm@11538
   172
    "concl"
wenzelm@11538
   173
    "congs"
wenzelm@11538
   174
    "distinct"
wenzelm@11538
   175
    "files"
wenzelm@11538
   176
    "hints"
wenzelm@11538
   177
    "in"
wenzelm@11538
   178
    "induction"
wenzelm@11661
   179
    "infix"
wenzelm@11538
   180
    "infixl"
wenzelm@11538
   181
    "infixr"
wenzelm@11538
   182
    "inject"
wenzelm@11538
   183
    "intros"
wenzelm@11538
   184
    "is"
wenzelm@11538
   185
    "monos"
wenzelm@11746
   186
    "morphisms"
wenzelm@11538
   187
    "output"
wenzelm@11538
   188
    "overloaded"
wenzelm@11618
   189
    "permissive"
wenzelm@11538
   190
    "where"))
wenzelm@11538
   191
wenzelm@11538
   192
(defconst isar-keywords-control
wenzelm@11538
   193
  '("ProofGeneral\\.context_thy_only"
wenzelm@11538
   194
    "ProofGeneral\\.inform_file_processed"
wenzelm@11538
   195
    "ProofGeneral\\.inform_file_retracted"
wenzelm@11538
   196
    "ProofGeneral\\.kill_proof"
wenzelm@11538
   197
    "ProofGeneral\\.restart"
wenzelm@11538
   198
    "ProofGeneral\\.try_context_thy_only"
wenzelm@11538
   199
    "ProofGeneral\\.undo"
wenzelm@11538
   200
    "cannot_undo"
wenzelm@11538
   201
    "clear_undos"
wenzelm@11538
   202
    "exit"
wenzelm@11538
   203
    "init_toplevel"
wenzelm@11538
   204
    "kill"
wenzelm@11538
   205
    "quit"
wenzelm@11538
   206
    "redo"
wenzelm@11538
   207
    "undo"
wenzelm@11538
   208
    "undos_proof"))
wenzelm@11538
   209
wenzelm@11538
   210
(defconst isar-keywords-diag
wenzelm@11538
   211
  '("ML"
wenzelm@11538
   212
    "ML_command"
wenzelm@11538
   213
    "cd"
wenzelm@11538
   214
    "commit"
wenzelm@11538
   215
    "disable_pr"
wenzelm@11538
   216
    "enable_pr"
wenzelm@11538
   217
    "full_prf"
wenzelm@11538
   218
    "header"
wenzelm@11538
   219
    "kill_thy"
wenzelm@11538
   220
    "pr"
wenzelm@11538
   221
    "pretty_setmargin"
wenzelm@11538
   222
    "prf"
wenzelm@11538
   223
    "print_antiquotations"
wenzelm@11538
   224
    "print_attributes"
wenzelm@11538
   225
    "print_binds"
wenzelm@11538
   226
    "print_cases"
wenzelm@11538
   227
    "print_claset"
wenzelm@11538
   228
    "print_commands"
wenzelm@11538
   229
    "print_context"
wenzelm@11538
   230
    "print_facts"
wenzelm@11661
   231
    "print_induct_rules"
wenzelm@11538
   232
    "print_methods"
wenzelm@11538
   233
    "print_simpset"
wenzelm@11538
   234
    "print_syntax"
wenzelm@11538
   235
    "print_theorems"
wenzelm@11538
   236
    "print_theory"
wenzelm@11538
   237
    "print_trans_rules"
wenzelm@11538
   238
    "prop"
wenzelm@11538
   239
    "pwd"
wenzelm@11538
   240
    "remove_thy"
wenzelm@11538
   241
    "term"
wenzelm@11538
   242
    "thm"
wenzelm@11538
   243
    "thm_deps"
wenzelm@11538
   244
    "thms_containing"
wenzelm@11538
   245
    "touch_all_thys"
wenzelm@11538
   246
    "touch_child_thys"
wenzelm@11538
   247
    "touch_thy"
wenzelm@11538
   248
    "typ"
wenzelm@11538
   249
    "update_thy"
wenzelm@11538
   250
    "update_thy_only"
wenzelm@11538
   251
    "use"
wenzelm@11538
   252
    "use_thy"
wenzelm@11538
   253
    "use_thy_only"
wenzelm@11538
   254
    "welcome"))
wenzelm@11538
   255
wenzelm@11538
   256
(defconst isar-keywords-theory-begin
wenzelm@11538
   257
  '("theory"))
wenzelm@11538
   258
wenzelm@11538
   259
(defconst isar-keywords-theory-switch
wenzelm@11538
   260
  '("context"))
wenzelm@11538
   261
wenzelm@11538
   262
(defconst isar-keywords-theory-end
wenzelm@11538
   263
  '("end"))
wenzelm@11538
   264
wenzelm@11538
   265
(defconst isar-keywords-theory-heading
wenzelm@11538
   266
  '("chapter"
wenzelm@11538
   267
    "section"
wenzelm@11538
   268
    "subsection"
wenzelm@11538
   269
    "subsubsection"))
wenzelm@11538
   270
wenzelm@11538
   271
(defconst isar-keywords-theory-decl
wenzelm@11538
   272
  '("ML_setup"
wenzelm@11538
   273
    "arities"
wenzelm@11538
   274
    "axclass"
wenzelm@11538
   275
    "axioms"
wenzelm@11538
   276
    "classes"
wenzelm@11538
   277
    "classrel"
wenzelm@11538
   278
    "coinductive"
wenzelm@11538
   279
    "constdefs"
wenzelm@11538
   280
    "consts"
wenzelm@11538
   281
    "consts_code"
wenzelm@11538
   282
    "datatype"
wenzelm@11538
   283
    "defaultsort"
wenzelm@11538
   284
    "defer_recdef"
wenzelm@11538
   285
    "defs"
wenzelm@11538
   286
    "generate_code"
wenzelm@11538
   287
    "global"
wenzelm@11538
   288
    "hide"
wenzelm@11538
   289
    "inductive"
wenzelm@11538
   290
    "judgment"
wenzelm@11538
   291
    "lemmas"
wenzelm@11538
   292
    "local"
wenzelm@11538
   293
    "method_setup"
wenzelm@11538
   294
    "nonterminals"
wenzelm@11538
   295
    "oracle"
wenzelm@11538
   296
    "parse_ast_translation"
wenzelm@11538
   297
    "parse_translation"
wenzelm@11538
   298
    "primrec"
wenzelm@11538
   299
    "print_ast_translation"
wenzelm@11538
   300
    "print_translation"
wenzelm@11538
   301
    "recdef"
wenzelm@11538
   302
    "record"
wenzelm@11538
   303
    "rep_datatype"
wenzelm@11538
   304
    "setup"
wenzelm@11538
   305
    "syntax"
wenzelm@11538
   306
    "text"
wenzelm@11538
   307
    "text_raw"
wenzelm@11538
   308
    "theorems"
wenzelm@11538
   309
    "token_translation"
wenzelm@11538
   310
    "translations"
wenzelm@11538
   311
    "typed_print_translation"
wenzelm@11538
   312
    "typedecl"
wenzelm@11538
   313
    "types"
wenzelm@11538
   314
    "types_code"))
wenzelm@11538
   315
wenzelm@11538
   316
(defconst isar-keywords-theory-script
wenzelm@11538
   317
  '("declare"
wenzelm@11538
   318
    "inductive_cases"))
wenzelm@11538
   319
wenzelm@11538
   320
(defconst isar-keywords-theory-goal
wenzelm@11746
   321
  '("corollary"
wenzelm@11746
   322
    "instance"
wenzelm@11538
   323
    "lemma"
wenzelm@11538
   324
    "recdef_tc"
wenzelm@11538
   325
    "theorem"
wenzelm@11538
   326
    "typedef"))
wenzelm@11538
   327
wenzelm@11538
   328
(defconst isar-keywords-qed
wenzelm@11538
   329
  '("\\."
wenzelm@11538
   330
    "\\.\\."
wenzelm@11538
   331
    "by"
wenzelm@11538
   332
    "done"
wenzelm@11538
   333
    "sorry"))
wenzelm@11538
   334
wenzelm@11538
   335
(defconst isar-keywords-qed-block
wenzelm@11538
   336
  '("qed"))
wenzelm@11538
   337
wenzelm@11538
   338
(defconst isar-keywords-qed-global
wenzelm@11538
   339
  '("oops"))
wenzelm@11538
   340
wenzelm@11538
   341
(defconst isar-keywords-proof-heading
wenzelm@11538
   342
  '("sect"
wenzelm@11538
   343
    "subsect"
wenzelm@11538
   344
    "subsubsect"))
wenzelm@11538
   345
wenzelm@11538
   346
(defconst isar-keywords-proof-goal
wenzelm@11538
   347
  '("have"
wenzelm@11538
   348
    "hence"
wenzelm@11538
   349
    "show"
wenzelm@11538
   350
    "thus"))
wenzelm@11538
   351
wenzelm@11538
   352
(defconst isar-keywords-proof-block
wenzelm@11538
   353
  '("next"
wenzelm@11538
   354
    "proof"))
wenzelm@11538
   355
wenzelm@11538
   356
(defconst isar-keywords-proof-open
wenzelm@11538
   357
  '("{"))
wenzelm@11538
   358
wenzelm@11538
   359
(defconst isar-keywords-proof-close
wenzelm@11538
   360
  '("}"))
wenzelm@11538
   361
wenzelm@11538
   362
(defconst isar-keywords-proof-chain
wenzelm@11538
   363
  '("finally"
wenzelm@11538
   364
    "from"
wenzelm@11538
   365
    "then"
wenzelm@11538
   366
    "ultimately"
wenzelm@11538
   367
    "with"))
wenzelm@11538
   368
wenzelm@11538
   369
(defconst isar-keywords-proof-decl
wenzelm@11538
   370
  '("also"
wenzelm@11538
   371
    "let"
wenzelm@11538
   372
    "moreover"
wenzelm@11538
   373
    "note"
wenzelm@11538
   374
    "txt"
wenzelm@11538
   375
    "txt_raw"))
wenzelm@11538
   376
wenzelm@11538
   377
(defconst isar-keywords-proof-asm
wenzelm@11538
   378
  '("assume"
wenzelm@11538
   379
    "case"
wenzelm@11538
   380
    "def"
wenzelm@11538
   381
    "fix"
wenzelm@11538
   382
    "presume"))
wenzelm@11538
   383
wenzelm@11538
   384
(defconst isar-keywords-proof-asm-goal
wenzelm@11538
   385
  '("obtain"))
wenzelm@11538
   386
wenzelm@11538
   387
(defconst isar-keywords-proof-script
wenzelm@11538
   388
  '("apply"
wenzelm@11538
   389
    "apply_end"
wenzelm@11538
   390
    "back"
wenzelm@11538
   391
    "defer"
wenzelm@11538
   392
    "prefer"))
wenzelm@11538
   393
wenzelm@11538
   394
(provide 'isar-keywords)