etc/isar-keywords-ZF.el
author wenzelm
Wed Mar 12 21:58:48 2014 +0100 (2014-03-12)
changeset 56069 451d5b73f8cf
parent 55385 169e12bbf9a3
child 56146 8453d35e4684
permissions -rw-r--r--
simplified programming interface to define ML antiquotations -- NB: the transformed context ignores updates of the context parser;
added command 'print_ML_antiquotations';
wenzelm@12176
     1
;;
wenzelm@52442
     2
;; Keyword classification tables for Isabelle/Isar.
wenzelm@52442
     3
;; Generated from Pure + ZF.
wenzelm@24904
     4
;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
wenzelm@12176
     5
;;
wenzelm@12176
     6
wenzelm@12176
     7
(defconst isar-keywords-major
wenzelm@12176
     8
  '("\\."
wenzelm@12176
     9
    "\\.\\."
wenzelm@25577
    10
    "Isabelle\\.command"
wenzelm@12176
    11
    "ML"
wenzelm@12176
    12
    "ML_command"
wenzelm@48867
    13
    "ML_file"
wenzelm@28261
    14
    "ML_prf"
wenzelm@26394
    15
    "ML_val"
wenzelm@12176
    16
    "ProofGeneral\\.inform_file_processed"
wenzelm@12176
    17
    "ProofGeneral\\.inform_file_retracted"
wenzelm@12176
    18
    "ProofGeneral\\.kill_proof"
wenzelm@33874
    19
    "ProofGeneral\\.pr"
wenzelm@14937
    20
    "ProofGeneral\\.process_pgip"
wenzelm@12176
    21
    "ProofGeneral\\.restart"
wenzelm@12176
    22
    "ProofGeneral\\.undo"
wenzelm@19069
    23
    "abbreviation"
wenzelm@12176
    24
    "also"
wenzelm@12176
    25
    "apply"
wenzelm@12176
    26
    "apply_end"
wenzelm@12176
    27
    "assume"
wenzelm@30527
    28
    "attribute_setup"
haftmann@18702
    29
    "axiomatization"
wenzelm@12176
    30
    "back"
wenzelm@47057
    31
    "bundle"
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@20568
    38
    "class_deps"
bulwahn@31107
    39
    "codatatype"
haftmann@22486
    40
    "code_datatype"
bulwahn@31107
    41
    "coinductive"
wenzelm@12176
    42
    "commit"
wenzelm@12176
    43
    "consts"
wenzelm@12176
    44
    "context"
wenzelm@12176
    45
    "corollary"
bulwahn@31107
    46
    "datatype"
wenzelm@22084
    47
    "declaration"
wenzelm@12176
    48
    "declare"
wenzelm@12176
    49
    "def"
wenzelm@36455
    50
    "default_sort"
wenzelm@12176
    51
    "defer"
wenzelm@18775
    52
    "definition"
wenzelm@12176
    53
    "defs"
wenzelm@12176
    54
    "disable_pr"
wenzelm@14937
    55
    "display_drafts"
wenzelm@12176
    56
    "done"
wenzelm@12176
    57
    "enable_pr"
wenzelm@12176
    58
    "end"
wenzelm@12176
    59
    "exit"
berghofe@13407
    60
    "extract"
berghofe@13407
    61
    "extract_type"
wenzelm@12176
    62
    "finally"
kleing@29882
    63
    "find_consts"
wenzelm@17220
    64
    "find_theorems"
wenzelm@12176
    65
    "fix"
wenzelm@12176
    66
    "from"
wenzelm@12176
    67
    "full_prf"
wenzelm@17850
    68
    "guess"
wenzelm@12176
    69
    "have"
wenzelm@12176
    70
    "header"
wenzelm@21732
    71
    "help"
wenzelm@12176
    72
    "hence"
wenzelm@36180
    73
    "hide_class"
wenzelm@36180
    74
    "hide_const"
wenzelm@36180
    75
    "hide_fact"
wenzelm@36180
    76
    "hide_type"
wenzelm@47057
    77
    "include"
wenzelm@47057
    78
    "including"
bulwahn@31107
    79
    "inductive"
bulwahn@31107
    80
    "inductive_cases"
wenzelm@12176
    81
    "init_toplevel"
wenzelm@12176
    82
    "instance"
wenzelm@24866
    83
    "instantiation"
ballarin@15624
    84
    "interpret"
ballarin@15598
    85
    "interpretation"
wenzelm@12176
    86
    "judgment"
wenzelm@12176
    87
    "kill"
wenzelm@12176
    88
    "kill_thy"
wenzelm@12176
    89
    "lemma"
wenzelm@12176
    90
    "lemmas"
wenzelm@12176
    91
    "let"
wenzelm@27538
    92
    "linear_undo"
wenzelm@30463
    93
    "local_setup"
wenzelm@12176
    94
    "locale"
wenzelm@49571
    95
    "locale_deps"
wenzelm@12176
    96
    "method_setup"
wenzelm@12176
    97
    "moreover"
wenzelm@12176
    98
    "next"
wenzelm@24945
    99
    "no_notation"
wenzelm@15762
   100
    "no_syntax"
wenzelm@19255
   101
    "no_translations"
wenzelm@35414
   102
    "no_type_notation"
wenzelm@41229
   103
    "nonterminal"
wenzelm@21203
   104
    "notation"
wenzelm@12176
   105
    "note"
wenzelm@40960
   106
    "notepad"
wenzelm@12176
   107
    "obtain"
wenzelm@12176
   108
    "oops"
wenzelm@12176
   109
    "oracle"
haftmann@25516
   110
    "overloading"
wenzelm@12176
   111
    "parse_ast_translation"
wenzelm@12176
   112
    "parse_translation"
wenzelm@12176
   113
    "pr"
wenzelm@12176
   114
    "prefer"
wenzelm@12176
   115
    "presume"
wenzelm@12176
   116
    "pretty_setmargin"
wenzelm@12176
   117
    "prf"
bulwahn@31107
   118
    "primrec"
wenzelm@56069
   119
    "print_ML_antiquotations"
wenzelm@21732
   120
    "print_abbrevs"
wenzelm@12176
   121
    "print_antiquotations"
wenzelm@12176
   122
    "print_ast_translation"
wenzelm@12176
   123
    "print_attributes"
wenzelm@12176
   124
    "print_binds"
wenzelm@47057
   125
    "print_bundles"
wenzelm@12176
   126
    "print_cases"
wenzelm@12176
   127
    "print_claset"
haftmann@20378
   128
    "print_classes"
haftmann@22288
   129
    "print_codesetup"
wenzelm@12176
   130
    "print_commands"
wenzelm@12176
   131
    "print_context"
wenzelm@51585
   132
    "print_defn_rules"
ballarin@41435
   133
    "print_dependencies"
wenzelm@12176
   134
    "print_facts"
wenzelm@12176
   135
    "print_induct_rules"
ballarin@32804
   136
    "print_interps"
wenzelm@12176
   137
    "print_locale"
wenzelm@12176
   138
    "print_locales"
wenzelm@12176
   139
    "print_methods"
wenzelm@52060
   140
    "print_options"
wenzelm@12365
   141
    "print_rules"
wenzelm@12176
   142
    "print_simpset"
wenzelm@52430
   143
    "print_state"
wenzelm@19272
   144
    "print_statement"
wenzelm@12176
   145
    "print_syntax"
bulwahn@31107
   146
    "print_tcset"
wenzelm@12176
   147
    "print_theorems"
wenzelm@12176
   148
    "print_theory"
wenzelm@12176
   149
    "print_trans_rules"
wenzelm@12176
   150
    "print_translation"
wenzelm@12176
   151
    "proof"
wenzelm@12176
   152
    "prop"
wenzelm@12176
   153
    "pwd"
wenzelm@12176
   154
    "qed"
wenzelm@12176
   155
    "quit"
berghofe@13407
   156
    "realizability"
berghofe@13407
   157
    "realizers"
wenzelm@12176
   158
    "remove_thy"
bulwahn@31107
   159
    "rep_datatype"
wenzelm@36321
   160
    "schematic_corollary"
wenzelm@36321
   161
    "schematic_lemma"
wenzelm@36321
   162
    "schematic_theorem"
wenzelm@12176
   163
    "sect"
wenzelm@12176
   164
    "section"
wenzelm@12176
   165
    "setup"
wenzelm@12176
   166
    "show"
wenzelm@22200
   167
    "simproc_setup"
wenzelm@12176
   168
    "sorry"
haftmann@24919
   169
    "subclass"
ballarin@28895
   170
    "sublocale"
wenzelm@12176
   171
    "subsect"
wenzelm@12176
   172
    "subsection"
wenzelm@12176
   173
    "subsubsect"
wenzelm@12176
   174
    "subsubsection"
wenzelm@12176
   175
    "syntax"
wenzelm@40784
   176
    "syntax_declaration"
wenzelm@12176
   177
    "term"
wenzelm@12176
   178
    "text"
wenzelm@12176
   179
    "text_raw"
wenzelm@12176
   180
    "then"
wenzelm@12176
   181
    "theorem"
wenzelm@12176
   182
    "theorems"
wenzelm@12176
   183
    "theory"
wenzelm@12176
   184
    "thm"
wenzelm@12176
   185
    "thm_deps"
wenzelm@12176
   186
    "thus"
haftmann@22486
   187
    "thy_deps"
wenzelm@12176
   188
    "translations"
wenzelm@12176
   189
    "txt"
wenzelm@12176
   190
    "txt_raw"
wenzelm@12176
   191
    "typ"
wenzelm@35414
   192
    "type_notation"
wenzelm@41249
   193
    "type_synonym"
wenzelm@12176
   194
    "typed_print_translation"
wenzelm@12176
   195
    "typedecl"
wenzelm@12176
   196
    "ultimately"
wenzelm@12176
   197
    "undo"
wenzelm@12176
   198
    "undos_proof"
wenzelm@18541
   199
    "unfolding"
berghofe@26184
   200
    "unused_thms"
wenzelm@12176
   201
    "use_thy"
wenzelm@12926
   202
    "using"
wenzelm@12176
   203
    "welcome"
wenzelm@12176
   204
    "with"
wenzelm@36505
   205
    "write"
wenzelm@12176
   206
    "{"
wenzelm@12176
   207
    "}"))
wenzelm@12176
   208
wenzelm@12176
   209
(defconst isar-keywords-minor
wenzelm@52143
   210
  '("and"
wenzelm@12176
   211
    "assumes"
berghofe@17147
   212
    "attach"
nipkow@15135
   213
    "begin"
wenzelm@12176
   214
    "binder"
bulwahn@31107
   215
    "case_eqns"
bulwahn@31107
   216
    "con_defs"
ballarin@16168
   217
    "constrains"
wenzelm@12176
   218
    "defines"
bulwahn@31107
   219
    "domains"
bulwahn@31107
   220
    "elimination"
wenzelm@12176
   221
    "fixes"
wenzelm@19797
   222
    "for"
haftmann@22288
   223
    "identifier"
wenzelm@19797
   224
    "if"
nipkow@15141
   225
    "imports"
wenzelm@12176
   226
    "in"
wenzelm@47069
   227
    "includes"
bulwahn@31107
   228
    "induction"
wenzelm@12176
   229
    "infix"
wenzelm@12176
   230
    "infixl"
wenzelm@12176
   231
    "infixr"
bulwahn@31107
   232
    "intros"
wenzelm@12176
   233
    "is"
wenzelm@46938
   234
    "keywords"
bulwahn@31107
   235
    "monos"
wenzelm@12176
   236
    "notes"
wenzelm@18888
   237
    "obtains"
wenzelm@13364
   238
    "open"
wenzelm@12176
   239
    "output"
wenzelm@12176
   240
    "overloaded"
wenzelm@33685
   241
    "pervasive"
bulwahn@31107
   242
    "recursor_eqns"
wenzelm@12935
   243
    "shows"
wenzelm@12176
   244
    "structure"
bulwahn@31107
   245
    "type_elims"
bulwahn@31107
   246
    "type_intros"
wenzelm@19633
   247
    "unchecked"
wenzelm@12176
   248
    "where"))
wenzelm@12176
   249
wenzelm@12176
   250
(defconst isar-keywords-control
wenzelm@25577
   251
  '("Isabelle\\.command"
wenzelm@25577
   252
    "ProofGeneral\\.inform_file_processed"
wenzelm@12176
   253
    "ProofGeneral\\.inform_file_retracted"
wenzelm@12176
   254
    "ProofGeneral\\.kill_proof"
wenzelm@52437
   255
    "ProofGeneral\\.pr"
wenzelm@14937
   256
    "ProofGeneral\\.process_pgip"
wenzelm@12176
   257
    "ProofGeneral\\.restart"
wenzelm@12176
   258
    "ProofGeneral\\.undo"
wenzelm@12176
   259
    "cannot_undo"
wenzelm@40396
   260
    "cd"
wenzelm@40396
   261
    "commit"
wenzelm@37987
   262
    "disable_pr"
wenzelm@37987
   263
    "enable_pr"
wenzelm@12176
   264
    "exit"
wenzelm@12176
   265
    "init_toplevel"
wenzelm@12176
   266
    "kill"
wenzelm@37987
   267
    "kill_thy"
wenzelm@27538
   268
    "linear_undo"
wenzelm@51270
   269
    "pretty_setmargin"
wenzelm@12176
   270
    "quit"
wenzelm@37987
   271
    "remove_thy"
wenzelm@12176
   272
    "undo"
wenzelm@37987
   273
    "undos_proof"
wenzelm@37987
   274
    "use_thy"))
wenzelm@12176
   275
wenzelm@12176
   276
(defconst isar-keywords-diag
wenzelm@26482
   277
  '("ML_command"
wenzelm@26394
   278
    "ML_val"
wenzelm@20568
   279
    "class_deps"
wenzelm@14937
   280
    "display_drafts"
kleing@29882
   281
    "find_consts"
wenzelm@17220
   282
    "find_theorems"
wenzelm@12176
   283
    "full_prf"
wenzelm@12176
   284
    "header"
wenzelm@21732
   285
    "help"
wenzelm@49571
   286
    "locale_deps"
wenzelm@52438
   287
    "pr"
wenzelm@12176
   288
    "prf"
wenzelm@56069
   289
    "print_ML_antiquotations"
wenzelm@21732
   290
    "print_abbrevs"
wenzelm@12176
   291
    "print_antiquotations"
wenzelm@12176
   292
    "print_attributes"
wenzelm@12176
   293
    "print_binds"
wenzelm@47057
   294
    "print_bundles"
wenzelm@12176
   295
    "print_cases"
wenzelm@12176
   296
    "print_claset"
haftmann@20378
   297
    "print_classes"
haftmann@22288
   298
    "print_codesetup"
wenzelm@12176
   299
    "print_commands"
wenzelm@12176
   300
    "print_context"
wenzelm@51585
   301
    "print_defn_rules"
ballarin@41435
   302
    "print_dependencies"
wenzelm@12176
   303
    "print_facts"
wenzelm@12176
   304
    "print_induct_rules"
ballarin@32804
   305
    "print_interps"
wenzelm@12176
   306
    "print_locale"
wenzelm@12176
   307
    "print_locales"
wenzelm@12176
   308
    "print_methods"
wenzelm@52060
   309
    "print_options"
wenzelm@12365
   310
    "print_rules"
wenzelm@12176
   311
    "print_simpset"
wenzelm@52430
   312
    "print_state"
wenzelm@19272
   313
    "print_statement"
wenzelm@12176
   314
    "print_syntax"
bulwahn@31107
   315
    "print_tcset"
wenzelm@12176
   316
    "print_theorems"
wenzelm@12176
   317
    "print_theory"
wenzelm@12176
   318
    "print_trans_rules"
wenzelm@12176
   319
    "prop"
wenzelm@12176
   320
    "pwd"
wenzelm@12176
   321
    "term"
wenzelm@12176
   322
    "thm"
wenzelm@12176
   323
    "thm_deps"
haftmann@22486
   324
    "thy_deps"
wenzelm@12176
   325
    "typ"
berghofe@26184
   326
    "unused_thms"
wenzelm@12176
   327
    "welcome"))
wenzelm@12176
   328
wenzelm@12176
   329
(defconst isar-keywords-theory-begin
wenzelm@12176
   330
  '("theory"))
wenzelm@12176
   331
wenzelm@12176
   332
(defconst isar-keywords-theory-switch
wenzelm@21302
   333
  '())
wenzelm@12176
   334
wenzelm@12176
   335
(defconst isar-keywords-theory-end
wenzelm@12176
   336
  '("end"))
wenzelm@12176
   337
wenzelm@12176
   338
(defconst isar-keywords-theory-heading
wenzelm@12176
   339
  '("chapter"
wenzelm@12176
   340
    "section"
wenzelm@12176
   341
    "subsection"
wenzelm@12176
   342
    "subsubsection"))
wenzelm@12176
   343
wenzelm@12176
   344
(defconst isar-keywords-theory-decl
wenzelm@26482
   345
  '("ML"
wenzelm@48867
   346
    "ML_file"
wenzelm@19069
   347
    "abbreviation"
wenzelm@30527
   348
    "attribute_setup"
haftmann@18702
   349
    "axiomatization"
wenzelm@47057
   350
    "bundle"
haftmann@18552
   351
    "class"
bulwahn@31107
   352
    "codatatype"
haftmann@22486
   353
    "code_datatype"
bulwahn@31107
   354
    "coinductive"
wenzelm@12176
   355
    "consts"
wenzelm@21302
   356
    "context"
bulwahn@31107
   357
    "datatype"
wenzelm@22084
   358
    "declaration"
wenzelm@23804
   359
    "declare"
wenzelm@36455
   360
    "default_sort"
wenzelm@18775
   361
    "definition"
wenzelm@12176
   362
    "defs"
berghofe@13407
   363
    "extract"
berghofe@13407
   364
    "extract_type"
wenzelm@36180
   365
    "hide_class"
wenzelm@36180
   366
    "hide_const"
wenzelm@36180
   367
    "hide_fact"
wenzelm@36180
   368
    "hide_type"
bulwahn@31107
   369
    "inductive"
wenzelm@24866
   370
    "instantiation"
wenzelm@12176
   371
    "judgment"
wenzelm@12176
   372
    "lemmas"
wenzelm@30463
   373
    "local_setup"
wenzelm@12176
   374
    "locale"
wenzelm@12176
   375
    "method_setup"
wenzelm@24945
   376
    "no_notation"
wenzelm@15762
   377
    "no_syntax"
wenzelm@19255
   378
    "no_translations"
wenzelm@35414
   379
    "no_type_notation"
wenzelm@41229
   380
    "nonterminal"
wenzelm@21203
   381
    "notation"
wenzelm@40960
   382
    "notepad"
wenzelm@12176
   383
    "oracle"
haftmann@25516
   384
    "overloading"
wenzelm@12176
   385
    "parse_ast_translation"
wenzelm@12176
   386
    "parse_translation"
bulwahn@31107
   387
    "primrec"
wenzelm@12176
   388
    "print_ast_translation"
wenzelm@12176
   389
    "print_translation"
berghofe@13407
   390
    "realizability"
berghofe@13407
   391
    "realizers"
bulwahn@31107
   392
    "rep_datatype"
wenzelm@12176
   393
    "setup"
wenzelm@22200
   394
    "simproc_setup"
wenzelm@12176
   395
    "syntax"
wenzelm@40784
   396
    "syntax_declaration"
wenzelm@12176
   397
    "text"
wenzelm@12176
   398
    "text_raw"
wenzelm@12176
   399
    "theorems"
wenzelm@12176
   400
    "translations"
wenzelm@35414
   401
    "type_notation"
wenzelm@41249
   402
    "type_synonym"
wenzelm@12176
   403
    "typed_print_translation"
wenzelm@51295
   404
    "typedecl"))
wenzelm@12176
   405
wenzelm@12176
   406
(defconst isar-keywords-theory-script
bulwahn@31107
   407
  '("inductive_cases"))
wenzelm@12176
   408
wenzelm@12176
   409
(defconst isar-keywords-theory-goal
haftmann@36114
   410
  '("corollary"
wenzelm@12176
   411
    "instance"
ballarin@15598
   412
    "interpretation"
wenzelm@12176
   413
    "lemma"
wenzelm@36321
   414
    "schematic_corollary"
wenzelm@36321
   415
    "schematic_lemma"
wenzelm@36321
   416
    "schematic_theorem"
haftmann@24919
   417
    "subclass"
ballarin@28895
   418
    "sublocale"
wenzelm@12176
   419
    "theorem"))
wenzelm@12176
   420
wenzelm@12176
   421
(defconst isar-keywords-qed
wenzelm@12176
   422
  '("\\."
wenzelm@12176
   423
    "\\.\\."
wenzelm@12176
   424
    "by"
wenzelm@12176
   425
    "done"
wenzelm@12176
   426
    "sorry"))
wenzelm@12176
   427
wenzelm@12176
   428
(defconst isar-keywords-qed-block
wenzelm@12176
   429
  '("qed"))
wenzelm@12176
   430
wenzelm@12176
   431
(defconst isar-keywords-qed-global
wenzelm@12176
   432
  '("oops"))
wenzelm@12176
   433
wenzelm@12176
   434
(defconst isar-keywords-proof-heading
wenzelm@12176
   435
  '("sect"
wenzelm@12176
   436
    "subsect"
wenzelm@12176
   437
    "subsubsect"))
wenzelm@12176
   438
wenzelm@12176
   439
(defconst isar-keywords-proof-goal
wenzelm@12176
   440
  '("have"
wenzelm@12176
   441
    "hence"
wenzelm@29607
   442
    "interpret"))
wenzelm@12176
   443
wenzelm@12176
   444
(defconst isar-keywords-proof-block
wenzelm@12176
   445
  '("next"
wenzelm@12176
   446
    "proof"))
wenzelm@12176
   447
wenzelm@12176
   448
(defconst isar-keywords-proof-open
wenzelm@12176
   449
  '("{"))
wenzelm@12176
   450
wenzelm@12176
   451
(defconst isar-keywords-proof-close
wenzelm@12176
   452
  '("}"))
wenzelm@12176
   453
wenzelm@12176
   454
(defconst isar-keywords-proof-chain
wenzelm@12176
   455
  '("finally"
wenzelm@12176
   456
    "from"
wenzelm@12176
   457
    "then"
wenzelm@12176
   458
    "ultimately"
wenzelm@12176
   459
    "with"))
wenzelm@12176
   460
wenzelm@12176
   461
(defconst isar-keywords-proof-decl
wenzelm@28261
   462
  '("ML_prf"
wenzelm@28261
   463
    "also"
wenzelm@47057
   464
    "include"
wenzelm@47057
   465
    "including"
wenzelm@12176
   466
    "let"
wenzelm@12176
   467
    "moreover"
wenzelm@12176
   468
    "note"
wenzelm@12176
   469
    "txt"
wenzelm@12926
   470
    "txt_raw"
wenzelm@18541
   471
    "unfolding"
wenzelm@36505
   472
    "using"
wenzelm@36505
   473
    "write"))
wenzelm@12176
   474
wenzelm@12176
   475
(defconst isar-keywords-proof-asm
wenzelm@12176
   476
  '("assume"
wenzelm@12176
   477
    "case"
wenzelm@12176
   478
    "def"
wenzelm@12176
   479
    "fix"
wenzelm@12176
   480
    "presume"))
wenzelm@12176
   481
wenzelm@12176
   482
(defconst isar-keywords-proof-asm-goal
wenzelm@17850
   483
  '("guess"
wenzelm@21806
   484
    "obtain"
wenzelm@21806
   485
    "show"
wenzelm@21806
   486
    "thus"))
wenzelm@12176
   487
wenzelm@12176
   488
(defconst isar-keywords-proof-script
wenzelm@12176
   489
  '("apply"
wenzelm@12176
   490
    "apply_end"
wenzelm@12176
   491
    "back"
wenzelm@12176
   492
    "defer"
wenzelm@12176
   493
    "prefer"))
wenzelm@12176
   494
wenzelm@12176
   495
(provide 'isar-keywords)