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