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