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