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