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