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