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