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