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