etc/isar-keywords.el
author ballarin
Thu Nov 27 10:29:07 2008 +0100 (2008-11-27)
changeset 28895 4e2914c2f8c5
parent 28721 21170e10c745
child 29113 fb31b7a6c858
child 29232 712c5281d4a4
permissions -rw-r--r--
Sublocale command.
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Nominal + HOL-Statespace.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 ;; $Id$
     7 ;;
     8 
     9 (defconst isar-keywords-major
    10   '("\\."
    11     "\\.\\."
    12     "Isabelle\\.command"
    13     "Isar\\.command"
    14     "Isar\\.insert"
    15     "Isar\\.remove"
    16     "ML"
    17     "ML_command"
    18     "ML_prf"
    19     "ML_val"
    20     "ProofGeneral\\.inform_file_processed"
    21     "ProofGeneral\\.inform_file_retracted"
    22     "ProofGeneral\\.kill_proof"
    23     "ProofGeneral\\.process_pgip"
    24     "ProofGeneral\\.restart"
    25     "ProofGeneral\\.undo"
    26     "abbreviation"
    27     "also"
    28     "apply"
    29     "apply_end"
    30     "arities"
    31     "assume"
    32     "atom_decl"
    33     "atp_info"
    34     "atp_kill"
    35     "automaton"
    36     "ax_specification"
    37     "axclass"
    38     "axiomatization"
    39     "axioms"
    40     "back"
    41     "by"
    42     "cannot_undo"
    43     "case"
    44     "cd"
    45     "chapter"
    46     "class"
    47     "class_deps"
    48     "classes"
    49     "classrel"
    50     "code_abort"
    51     "code_class"
    52     "code_const"
    53     "code_datatype"
    54     "code_deps"
    55     "code_include"
    56     "code_instance"
    57     "code_library"
    58     "code_module"
    59     "code_modulename"
    60     "code_monad"
    61     "code_reserved"
    62     "code_thms"
    63     "code_type"
    64     "coinductive"
    65     "coinductive_set"
    66     "commit"
    67     "constdefs"
    68     "consts"
    69     "consts_code"
    70     "context"
    71     "corollary"
    72     "cpodef"
    73     "datatype"
    74     "declaration"
    75     "declare"
    76     "def"
    77     "defaultsort"
    78     "defer"
    79     "defer_recdef"
    80     "definition"
    81     "defs"
    82     "disable_pr"
    83     "display_drafts"
    84     "domain"
    85     "done"
    86     "enable_pr"
    87     "end"
    88     "equivariance"
    89     "exit"
    90     "export_code"
    91     "extract"
    92     "extract_type"
    93     "finalconsts"
    94     "finally"
    95     "find_theorems"
    96     "fix"
    97     "fixpat"
    98     "fixrec"
    99     "from"
   100     "full_prf"
   101     "fun"
   102     "function"
   103     "global"
   104     "guess"
   105     "have"
   106     "header"
   107     "help"
   108     "hence"
   109     "hide"
   110     "inductive"
   111     "inductive_cases"
   112     "inductive_set"
   113     "init_toplevel"
   114     "instance"
   115     "instantiation"
   116     "interpret"
   117     "interpretation"
   118     "invoke"
   119     "judgment"
   120     "kill"
   121     "kill_thy"
   122     "lemma"
   123     "lemmas"
   124     "let"
   125     "linear_undo"
   126     "local"
   127     "locale"
   128     "method_setup"
   129     "moreover"
   130     "next"
   131     "no_notation"
   132     "no_syntax"
   133     "no_translations"
   134     "nominal_datatype"
   135     "nominal_inductive"
   136     "nominal_inductive2"
   137     "nominal_primrec"
   138     "nonterminals"
   139     "normal_form"
   140     "notation"
   141     "note"
   142     "obtain"
   143     "oops"
   144     "oracle"
   145     "overloading"
   146     "parse_ast_translation"
   147     "parse_translation"
   148     "pcpodef"
   149     "pr"
   150     "prefer"
   151     "presume"
   152     "pretty_setmargin"
   153     "prf"
   154     "primrec"
   155     "print_abbrevs"
   156     "print_antiquotations"
   157     "print_ast_translation"
   158     "print_atps"
   159     "print_attributes"
   160     "print_binds"
   161     "print_cases"
   162     "print_claset"
   163     "print_classes"
   164     "print_codesetup"
   165     "print_commands"
   166     "print_configs"
   167     "print_context"
   168     "print_drafts"
   169     "print_facts"
   170     "print_induct_rules"
   171     "print_interps"
   172     "print_locale"
   173     "print_locales"
   174     "print_methods"
   175     "print_orders"
   176     "print_rules"
   177     "print_simpset"
   178     "print_statement"
   179     "print_syntax"
   180     "print_theorems"
   181     "print_theory"
   182     "print_trans_rules"
   183     "print_translation"
   184     "proof"
   185     "prop"
   186     "pwd"
   187     "qed"
   188     "quickcheck"
   189     "quickcheck_params"
   190     "quit"
   191     "realizability"
   192     "realizers"
   193     "recdef"
   194     "recdef_tc"
   195     "record"
   196     "refute"
   197     "refute_params"
   198     "remove_thy"
   199     "rep_datatype"
   200     "sect"
   201     "section"
   202     "setup"
   203     "show"
   204     "simproc_setup"
   205     "sledgehammer"
   206     "sorry"
   207     "specification"
   208     "statespace"
   209     "subclass"
   210     "sublocale"
   211     "subsect"
   212     "subsection"
   213     "subsubsect"
   214     "subsubsection"
   215     "syntax"
   216     "term"
   217     "termination"
   218     "text"
   219     "text_raw"
   220     "then"
   221     "theorem"
   222     "theorems"
   223     "theory"
   224     "thm"
   225     "thm_deps"
   226     "thus"
   227     "thy_deps"
   228     "touch_thy"
   229     "translations"
   230     "txt"
   231     "txt_raw"
   232     "typ"
   233     "typed_print_translation"
   234     "typedecl"
   235     "typedef"
   236     "types"
   237     "types_code"
   238     "ultimately"
   239     "undo"
   240     "undos_proof"
   241     "unfolding"
   242     "unused_thms"
   243     "use"
   244     "use_thy"
   245     "using"
   246     "value"
   247     "welcome"
   248     "with"
   249     "{"
   250     "}"))
   251 
   252 (defconst isar-keywords-minor
   253   '("actions"
   254     "advanced"
   255     "and"
   256     "assumes"
   257     "attach"
   258     "avoids"
   259     "begin"
   260     "binder"
   261     "compose"
   262     "congs"
   263     "constrains"
   264     "contains"
   265     "defines"
   266     "file"
   267     "fixes"
   268     "for"
   269     "hide_action"
   270     "hints"
   271     "identifier"
   272     "if"
   273     "imports"
   274     "in"
   275     "infix"
   276     "infixl"
   277     "infixr"
   278     "initially"
   279     "inputs"
   280     "internals"
   281     "is"
   282     "lazy"
   283     "module_name"
   284     "monos"
   285     "morphisms"
   286     "notes"
   287     "obtains"
   288     "open"
   289     "otherwise"
   290     "output"
   291     "outputs"
   292     "overloaded"
   293     "permissive"
   294     "post"
   295     "pre"
   296     "rename"
   297     "restrict"
   298     "shows"
   299     "signature"
   300     "states"
   301     "structure"
   302     "to"
   303     "transitions"
   304     "transrel"
   305     "unchecked"
   306     "uses"
   307     "where"))
   308 
   309 (defconst isar-keywords-control
   310   '("Isabelle\\.command"
   311     "Isar\\.command"
   312     "Isar\\.insert"
   313     "Isar\\.remove"
   314     "ProofGeneral\\.inform_file_processed"
   315     "ProofGeneral\\.inform_file_retracted"
   316     "ProofGeneral\\.kill_proof"
   317     "ProofGeneral\\.process_pgip"
   318     "ProofGeneral\\.restart"
   319     "ProofGeneral\\.undo"
   320     "cannot_undo"
   321     "exit"
   322     "init_toplevel"
   323     "kill"
   324     "linear_undo"
   325     "quit"
   326     "undo"
   327     "undos_proof"))
   328 
   329 (defconst isar-keywords-diag
   330   '("ML_command"
   331     "ML_val"
   332     "atp_info"
   333     "atp_kill"
   334     "cd"
   335     "class_deps"
   336     "code_deps"
   337     "code_thms"
   338     "commit"
   339     "disable_pr"
   340     "display_drafts"
   341     "enable_pr"
   342     "export_code"
   343     "find_theorems"
   344     "full_prf"
   345     "header"
   346     "help"
   347     "kill_thy"
   348     "normal_form"
   349     "pr"
   350     "pretty_setmargin"
   351     "prf"
   352     "print_abbrevs"
   353     "print_antiquotations"
   354     "print_atps"
   355     "print_attributes"
   356     "print_binds"
   357     "print_cases"
   358     "print_claset"
   359     "print_classes"
   360     "print_codesetup"
   361     "print_commands"
   362     "print_configs"
   363     "print_context"
   364     "print_drafts"
   365     "print_facts"
   366     "print_induct_rules"
   367     "print_interps"
   368     "print_locale"
   369     "print_locales"
   370     "print_methods"
   371     "print_orders"
   372     "print_rules"
   373     "print_simpset"
   374     "print_statement"
   375     "print_syntax"
   376     "print_theorems"
   377     "print_theory"
   378     "print_trans_rules"
   379     "prop"
   380     "pwd"
   381     "quickcheck"
   382     "refute"
   383     "remove_thy"
   384     "sledgehammer"
   385     "term"
   386     "thm"
   387     "thm_deps"
   388     "thy_deps"
   389     "touch_thy"
   390     "typ"
   391     "unused_thms"
   392     "use_thy"
   393     "value"
   394     "welcome"))
   395 
   396 (defconst isar-keywords-theory-begin
   397   '("theory"))
   398 
   399 (defconst isar-keywords-theory-switch
   400   '())
   401 
   402 (defconst isar-keywords-theory-end
   403   '("end"))
   404 
   405 (defconst isar-keywords-theory-heading
   406   '("chapter"
   407     "section"
   408     "subsection"
   409     "subsubsection"))
   410 
   411 (defconst isar-keywords-theory-decl
   412   '("ML"
   413     "abbreviation"
   414     "arities"
   415     "atom_decl"
   416     "automaton"
   417     "axclass"
   418     "axiomatization"
   419     "axioms"
   420     "class"
   421     "classes"
   422     "classrel"
   423     "code_abort"
   424     "code_class"
   425     "code_const"
   426     "code_datatype"
   427     "code_include"
   428     "code_instance"
   429     "code_library"
   430     "code_module"
   431     "code_modulename"
   432     "code_monad"
   433     "code_reserved"
   434     "code_type"
   435     "coinductive"
   436     "coinductive_set"
   437     "constdefs"
   438     "consts"
   439     "consts_code"
   440     "context"
   441     "datatype"
   442     "declaration"
   443     "declare"
   444     "defaultsort"
   445     "defer_recdef"
   446     "definition"
   447     "defs"
   448     "domain"
   449     "equivariance"
   450     "extract"
   451     "extract_type"
   452     "finalconsts"
   453     "fixpat"
   454     "fixrec"
   455     "fun"
   456     "global"
   457     "hide"
   458     "inductive"
   459     "inductive_set"
   460     "instantiation"
   461     "judgment"
   462     "lemmas"
   463     "local"
   464     "locale"
   465     "method_setup"
   466     "no_notation"
   467     "no_syntax"
   468     "no_translations"
   469     "nominal_datatype"
   470     "nonterminals"
   471     "notation"
   472     "oracle"
   473     "overloading"
   474     "parse_ast_translation"
   475     "parse_translation"
   476     "primrec"
   477     "print_ast_translation"
   478     "print_translation"
   479     "quickcheck_params"
   480     "realizability"
   481     "realizers"
   482     "recdef"
   483     "record"
   484     "refute_params"
   485     "setup"
   486     "simproc_setup"
   487     "statespace"
   488     "syntax"
   489     "text"
   490     "text_raw"
   491     "theorems"
   492     "translations"
   493     "typed_print_translation"
   494     "typedecl"
   495     "types"
   496     "types_code"
   497     "use"))
   498 
   499 (defconst isar-keywords-theory-script
   500   '("inductive_cases"))
   501 
   502 (defconst isar-keywords-theory-goal
   503   '("ax_specification"
   504     "corollary"
   505     "cpodef"
   506     "function"
   507     "instance"
   508     "interpretation"
   509     "lemma"
   510     "nominal_inductive"
   511     "nominal_inductive2"
   512     "nominal_primrec"
   513     "pcpodef"
   514     "recdef_tc"
   515     "rep_datatype"
   516     "specification"
   517     "subclass"
   518     "sublocale"
   519     "termination"
   520     "theorem"
   521     "typedef"))
   522 
   523 (defconst isar-keywords-qed
   524   '("\\."
   525     "\\.\\."
   526     "by"
   527     "done"
   528     "sorry"))
   529 
   530 (defconst isar-keywords-qed-block
   531   '("qed"))
   532 
   533 (defconst isar-keywords-qed-global
   534   '("oops"))
   535 
   536 (defconst isar-keywords-proof-heading
   537   '("sect"
   538     "subsect"
   539     "subsubsect"))
   540 
   541 (defconst isar-keywords-proof-goal
   542   '("have"
   543     "hence"
   544     "interpret"
   545     "invoke"))
   546 
   547 (defconst isar-keywords-proof-block
   548   '("next"
   549     "proof"))
   550 
   551 (defconst isar-keywords-proof-open
   552   '("{"))
   553 
   554 (defconst isar-keywords-proof-close
   555   '("}"))
   556 
   557 (defconst isar-keywords-proof-chain
   558   '("finally"
   559     "from"
   560     "then"
   561     "ultimately"
   562     "with"))
   563 
   564 (defconst isar-keywords-proof-decl
   565   '("ML_prf"
   566     "also"
   567     "let"
   568     "moreover"
   569     "note"
   570     "txt"
   571     "txt_raw"
   572     "unfolding"
   573     "using"))
   574 
   575 (defconst isar-keywords-proof-asm
   576   '("assume"
   577     "case"
   578     "def"
   579     "fix"
   580     "presume"))
   581 
   582 (defconst isar-keywords-proof-asm-goal
   583   '("guess"
   584     "obtain"
   585     "show"
   586     "thus"))
   587 
   588 (defconst isar-keywords-proof-script
   589   '("apply"
   590     "apply_end"
   591     "back"
   592     "defer"
   593     "prefer"))
   594 
   595 (provide 'isar-keywords)