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