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