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