etc/isar-keywords.el
author wenzelm
Tue Mar 25 13:18:10 2014 +0100 (2014-03-25 ago)
changeset 56275 600f432ab556
parent 56270 ce9c7a527c4b
child 56618 874bdedb2313
permissions -rw-r--r--
added command 'SML_file' for Standard ML without Isabelle/ML add-ons;
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from HOL + HOL-Auth + HOL-BNF_Examples + HOL-Bali + HOL-Decision_Procs + HOL-IMP + HOL-Imperative_HOL + HOL-Import + HOL-Library + HOL-Mutabelle + HOL-Nominal + HOL-Predicate_Compile_Examples + HOL-Proofs + HOL-Proofs-Extraction + HOL-SPARK + HOL-Statespace + HOL-TPTP + HOL-Word-SMT_Examples + HOL-ex + HOLCF + Pure.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 
     7 (defconst isar-keywords-major
     8   '("\\."
     9     "\\.\\."
    10     "Isabelle\\.command"
    11     "ML"
    12     "ML_command"
    13     "ML_file"
    14     "ML_prf"
    15     "ML_val"
    16     "ProofGeneral\\.inform_file_processed"
    17     "ProofGeneral\\.inform_file_retracted"
    18     "ProofGeneral\\.kill_proof"
    19     "ProofGeneral\\.pr"
    20     "ProofGeneral\\.process_pgip"
    21     "ProofGeneral\\.restart"
    22     "ProofGeneral\\.undo"
    23     "SML_file"
    24     "abbreviation"
    25     "adhoc_overloading"
    26     "also"
    27     "apply"
    28     "apply_end"
    29     "assume"
    30     "atom_decl"
    31     "attribute_setup"
    32     "axiomatization"
    33     "back"
    34     "bnf"
    35     "bnf_decl"
    36     "boogie_file"
    37     "bundle"
    38     "by"
    39     "cannot_undo"
    40     "cartouche"
    41     "case"
    42     "case_of_simps"
    43     "cd"
    44     "chapter"
    45     "class"
    46     "class_deps"
    47     "codatatype"
    48     "code_datatype"
    49     "code_deps"
    50     "code_identifier"
    51     "code_monad"
    52     "code_pred"
    53     "code_printing"
    54     "code_reflect"
    55     "code_reserved"
    56     "code_thms"
    57     "coinductive"
    58     "coinductive_set"
    59     "commit"
    60     "consts"
    61     "context"
    62     "corollary"
    63     "cpodef"
    64     "datatype"
    65     "datatype_compat"
    66     "datatype_new"
    67     "declaration"
    68     "declare"
    69     "def"
    70     "default_sort"
    71     "defer"
    72     "defer_recdef"
    73     "definition"
    74     "defs"
    75     "disable_pr"
    76     "display_drafts"
    77     "domain"
    78     "domain_isomorphism"
    79     "domaindef"
    80     "done"
    81     "enable_pr"
    82     "end"
    83     "equivariance"
    84     "exit"
    85     "export_code"
    86     "extract"
    87     "extract_type"
    88     "finally"
    89     "find_consts"
    90     "find_theorems"
    91     "find_unused_assms"
    92     "fix"
    93     "fixrec"
    94     "free_constructors"
    95     "from"
    96     "full_prf"
    97     "fun"
    98     "fun_cases"
    99     "function"
   100     "functor"
   101     "guess"
   102     "have"
   103     "header"
   104     "help"
   105     "hence"
   106     "hide_class"
   107     "hide_const"
   108     "hide_fact"
   109     "hide_type"
   110     "import_const_map"
   111     "import_file"
   112     "import_tptp"
   113     "import_type_map"
   114     "include"
   115     "including"
   116     "inductive"
   117     "inductive_cases"
   118     "inductive_set"
   119     "inductive_simps"
   120     "init_toplevel"
   121     "instance"
   122     "instantiation"
   123     "interpret"
   124     "interpretation"
   125     "judgment"
   126     "kill"
   127     "kill_thy"
   128     "lemma"
   129     "lemmas"
   130     "let"
   131     "lift_definition"
   132     "lifting_forget"
   133     "lifting_update"
   134     "linear_undo"
   135     "local_setup"
   136     "locale"
   137     "locale_deps"
   138     "method_setup"
   139     "moreover"
   140     "next"
   141     "nitpick"
   142     "nitpick_params"
   143     "no_adhoc_overloading"
   144     "no_notation"
   145     "no_syntax"
   146     "no_translations"
   147     "no_type_notation"
   148     "nominal_datatype"
   149     "nominal_inductive"
   150     "nominal_inductive2"
   151     "nominal_primrec"
   152     "nonterminal"
   153     "notation"
   154     "note"
   155     "notepad"
   156     "obtain"
   157     "oops"
   158     "oracle"
   159     "overloading"
   160     "parse_ast_translation"
   161     "parse_translation"
   162     "partial_function"
   163     "pcpodef"
   164     "permanent_interpretation"
   165     "pr"
   166     "prefer"
   167     "presume"
   168     "pretty_setmargin"
   169     "prf"
   170     "primcorec"
   171     "primcorecursive"
   172     "primrec"
   173     "print_ML_antiquotations"
   174     "print_abbrevs"
   175     "print_antiquotations"
   176     "print_ast_translation"
   177     "print_attributes"
   178     "print_binds"
   179     "print_bnfs"
   180     "print_bundles"
   181     "print_case_translations"
   182     "print_cases"
   183     "print_claset"
   184     "print_classes"
   185     "print_codeproc"
   186     "print_codesetup"
   187     "print_coercions"
   188     "print_commands"
   189     "print_context"
   190     "print_defn_rules"
   191     "print_dependencies"
   192     "print_facts"
   193     "print_induct_rules"
   194     "print_inductives"
   195     "print_interps"
   196     "print_locale"
   197     "print_locales"
   198     "print_methods"
   199     "print_options"
   200     "print_orders"
   201     "print_quot_maps"
   202     "print_quotconsts"
   203     "print_quotients"
   204     "print_quotientsQ3"
   205     "print_quotmapsQ3"
   206     "print_rules"
   207     "print_simpset"
   208     "print_state"
   209     "print_statement"
   210     "print_syntax"
   211     "print_theorems"
   212     "print_theory"
   213     "print_trans_rules"
   214     "print_translation"
   215     "proof"
   216     "prop"
   217     "pwd"
   218     "qed"
   219     "quickcheck"
   220     "quickcheck_generator"
   221     "quickcheck_params"
   222     "quit"
   223     "quotient_definition"
   224     "quotient_type"
   225     "realizability"
   226     "realizers"
   227     "recdef"
   228     "recdef_tc"
   229     "record"
   230     "refute"
   231     "refute_params"
   232     "remove_thy"
   233     "rep_datatype"
   234     "schematic_corollary"
   235     "schematic_lemma"
   236     "schematic_theorem"
   237     "sect"
   238     "section"
   239     "setup"
   240     "setup_lifting"
   241     "show"
   242     "simproc_setup"
   243     "simps_of_case"
   244     "sledgehammer"
   245     "sledgehammer_params"
   246     "smt2_status"
   247     "smt_status"
   248     "solve_direct"
   249     "sorry"
   250     "spark_end"
   251     "spark_open"
   252     "spark_open_siv"
   253     "spark_open_vcg"
   254     "spark_proof_functions"
   255     "spark_status"
   256     "spark_types"
   257     "spark_vc"
   258     "specification"
   259     "statespace"
   260     "subclass"
   261     "sublocale"
   262     "subsect"
   263     "subsection"
   264     "subsubsect"
   265     "subsubsection"
   266     "syntax"
   267     "syntax_declaration"
   268     "term"
   269     "term_cartouche"
   270     "termination"
   271     "text"
   272     "text_cartouche"
   273     "text_raw"
   274     "then"
   275     "theorem"
   276     "theorems"
   277     "theory"
   278     "thm"
   279     "thm_deps"
   280     "thus"
   281     "thy_deps"
   282     "translations"
   283     "try"
   284     "try0"
   285     "txt"
   286     "txt_raw"
   287     "typ"
   288     "type_notation"
   289     "type_synonym"
   290     "typed_print_translation"
   291     "typedecl"
   292     "typedef"
   293     "ultimately"
   294     "undo"
   295     "undos_proof"
   296     "unfolding"
   297     "unused_thms"
   298     "use_thy"
   299     "using"
   300     "value"
   301     "values"
   302     "values_prolog"
   303     "welcome"
   304     "with"
   305     "write"
   306     "{"
   307     "}"))
   308 
   309 (defconst isar-keywords-minor
   310   '("and"
   311     "assumes"
   312     "attach"
   313     "avoids"
   314     "begin"
   315     "binder"
   316     "checking"
   317     "class_instance"
   318     "class_relation"
   319     "code_module"
   320     "congs"
   321     "constant"
   322     "constrains"
   323     "datatypes"
   324     "defines"
   325     "defining"
   326     "file"
   327     "fixes"
   328     "for"
   329     "functions"
   330     "hints"
   331     "identifier"
   332     "if"
   333     "imports"
   334     "in"
   335     "includes"
   336     "infix"
   337     "infixl"
   338     "infixr"
   339     "is"
   340     "keywords"
   341     "lazy"
   342     "module_name"
   343     "monos"
   344     "morphisms"
   345     "notes"
   346     "obtains"
   347     "open"
   348     "output"
   349     "overloaded"
   350     "parametric"
   351     "permissive"
   352     "pervasive"
   353     "shows"
   354     "structure"
   355     "type_class"
   356     "type_constructor"
   357     "unchecked"
   358     "unsafe"
   359     "where"))
   360 
   361 (defconst isar-keywords-control
   362   '("Isabelle\\.command"
   363     "ProofGeneral\\.inform_file_processed"
   364     "ProofGeneral\\.inform_file_retracted"
   365     "ProofGeneral\\.kill_proof"
   366     "ProofGeneral\\.pr"
   367     "ProofGeneral\\.process_pgip"
   368     "ProofGeneral\\.restart"
   369     "ProofGeneral\\.undo"
   370     "cannot_undo"
   371     "cd"
   372     "commit"
   373     "disable_pr"
   374     "enable_pr"
   375     "exit"
   376     "init_toplevel"
   377     "kill"
   378     "kill_thy"
   379     "linear_undo"
   380     "pretty_setmargin"
   381     "quit"
   382     "remove_thy"
   383     "undo"
   384     "undos_proof"
   385     "use_thy"))
   386 
   387 (defconst isar-keywords-diag
   388   '("ML_command"
   389     "ML_val"
   390     "cartouche"
   391     "class_deps"
   392     "code_deps"
   393     "code_thms"
   394     "display_drafts"
   395     "find_consts"
   396     "find_theorems"
   397     "find_unused_assms"
   398     "full_prf"
   399     "header"
   400     "help"
   401     "locale_deps"
   402     "nitpick"
   403     "pr"
   404     "prf"
   405     "print_ML_antiquotations"
   406     "print_abbrevs"
   407     "print_antiquotations"
   408     "print_attributes"
   409     "print_binds"
   410     "print_bnfs"
   411     "print_bundles"
   412     "print_case_translations"
   413     "print_cases"
   414     "print_claset"
   415     "print_classes"
   416     "print_codeproc"
   417     "print_codesetup"
   418     "print_coercions"
   419     "print_commands"
   420     "print_context"
   421     "print_defn_rules"
   422     "print_dependencies"
   423     "print_facts"
   424     "print_induct_rules"
   425     "print_inductives"
   426     "print_interps"
   427     "print_locale"
   428     "print_locales"
   429     "print_methods"
   430     "print_options"
   431     "print_orders"
   432     "print_quot_maps"
   433     "print_quotconsts"
   434     "print_quotients"
   435     "print_quotientsQ3"
   436     "print_quotmapsQ3"
   437     "print_rules"
   438     "print_simpset"
   439     "print_state"
   440     "print_statement"
   441     "print_syntax"
   442     "print_theorems"
   443     "print_theory"
   444     "print_trans_rules"
   445     "prop"
   446     "pwd"
   447     "quickcheck"
   448     "refute"
   449     "sledgehammer"
   450     "smt2_status"
   451     "smt_status"
   452     "solve_direct"
   453     "spark_status"
   454     "term"
   455     "term_cartouche"
   456     "thm"
   457     "thm_deps"
   458     "thy_deps"
   459     "try"
   460     "try0"
   461     "typ"
   462     "unused_thms"
   463     "value"
   464     "values"
   465     "values_prolog"
   466     "welcome"))
   467 
   468 (defconst isar-keywords-theory-begin
   469   '("theory"))
   470 
   471 (defconst isar-keywords-theory-switch
   472   '())
   473 
   474 (defconst isar-keywords-theory-end
   475   '("end"))
   476 
   477 (defconst isar-keywords-theory-heading
   478   '("chapter"
   479     "section"
   480     "subsection"
   481     "subsubsection"))
   482 
   483 (defconst isar-keywords-theory-decl
   484   '("ML"
   485     "ML_file"
   486     "SML_file"
   487     "abbreviation"
   488     "adhoc_overloading"
   489     "atom_decl"
   490     "attribute_setup"
   491     "axiomatization"
   492     "bnf_decl"
   493     "boogie_file"
   494     "bundle"
   495     "case_of_simps"
   496     "class"
   497     "codatatype"
   498     "code_datatype"
   499     "code_identifier"
   500     "code_monad"
   501     "code_printing"
   502     "code_reflect"
   503     "code_reserved"
   504     "coinductive"
   505     "coinductive_set"
   506     "consts"
   507     "context"
   508     "datatype"
   509     "datatype_compat"
   510     "datatype_new"
   511     "declaration"
   512     "declare"
   513     "default_sort"
   514     "defer_recdef"
   515     "definition"
   516     "defs"
   517     "domain"
   518     "domain_isomorphism"
   519     "domaindef"
   520     "equivariance"
   521     "export_code"
   522     "extract"
   523     "extract_type"
   524     "fixrec"
   525     "fun"
   526     "fun_cases"
   527     "hide_class"
   528     "hide_const"
   529     "hide_fact"
   530     "hide_type"
   531     "import_const_map"
   532     "import_file"
   533     "import_tptp"
   534     "import_type_map"
   535     "inductive"
   536     "inductive_cases"
   537     "inductive_set"
   538     "inductive_simps"
   539     "instantiation"
   540     "judgment"
   541     "lemmas"
   542     "lifting_forget"
   543     "lifting_update"
   544     "local_setup"
   545     "locale"
   546     "method_setup"
   547     "nitpick_params"
   548     "no_adhoc_overloading"
   549     "no_notation"
   550     "no_syntax"
   551     "no_translations"
   552     "no_type_notation"
   553     "nominal_datatype"
   554     "nonterminal"
   555     "notation"
   556     "notepad"
   557     "oracle"
   558     "overloading"
   559     "parse_ast_translation"
   560     "parse_translation"
   561     "partial_function"
   562     "primcorec"
   563     "primrec"
   564     "print_ast_translation"
   565     "print_translation"
   566     "quickcheck_generator"
   567     "quickcheck_params"
   568     "realizability"
   569     "realizers"
   570     "recdef"
   571     "record"
   572     "refute_params"
   573     "setup"
   574     "setup_lifting"
   575     "simproc_setup"
   576     "simps_of_case"
   577     "sledgehammer_params"
   578     "spark_end"
   579     "spark_open"
   580     "spark_open_siv"
   581     "spark_open_vcg"
   582     "spark_proof_functions"
   583     "spark_types"
   584     "statespace"
   585     "syntax"
   586     "syntax_declaration"
   587     "text"
   588     "text_cartouche"
   589     "text_raw"
   590     "theorems"
   591     "translations"
   592     "type_notation"
   593     "type_synonym"
   594     "typed_print_translation"
   595     "typedecl"))
   596 
   597 (defconst isar-keywords-theory-script
   598   '())
   599 
   600 (defconst isar-keywords-theory-goal
   601   '("bnf"
   602     "code_pred"
   603     "corollary"
   604     "cpodef"
   605     "free_constructors"
   606     "function"
   607     "functor"
   608     "instance"
   609     "interpretation"
   610     "lemma"
   611     "lift_definition"
   612     "nominal_inductive"
   613     "nominal_inductive2"
   614     "nominal_primrec"
   615     "pcpodef"
   616     "permanent_interpretation"
   617     "primcorecursive"
   618     "quotient_definition"
   619     "quotient_type"
   620     "recdef_tc"
   621     "rep_datatype"
   622     "schematic_corollary"
   623     "schematic_lemma"
   624     "schematic_theorem"
   625     "spark_vc"
   626     "specification"
   627     "subclass"
   628     "sublocale"
   629     "termination"
   630     "theorem"
   631     "typedef"))
   632 
   633 (defconst isar-keywords-qed
   634   '("\\."
   635     "\\.\\."
   636     "by"
   637     "done"
   638     "sorry"))
   639 
   640 (defconst isar-keywords-qed-block
   641   '("qed"))
   642 
   643 (defconst isar-keywords-qed-global
   644   '("oops"))
   645 
   646 (defconst isar-keywords-proof-heading
   647   '("sect"
   648     "subsect"
   649     "subsubsect"))
   650 
   651 (defconst isar-keywords-proof-goal
   652   '("have"
   653     "hence"
   654     "interpret"))
   655 
   656 (defconst isar-keywords-proof-block
   657   '("next"
   658     "proof"))
   659 
   660 (defconst isar-keywords-proof-open
   661   '("{"))
   662 
   663 (defconst isar-keywords-proof-close
   664   '("}"))
   665 
   666 (defconst isar-keywords-proof-chain
   667   '("finally"
   668     "from"
   669     "then"
   670     "ultimately"
   671     "with"))
   672 
   673 (defconst isar-keywords-proof-decl
   674   '("ML_prf"
   675     "also"
   676     "include"
   677     "including"
   678     "let"
   679     "moreover"
   680     "note"
   681     "txt"
   682     "txt_raw"
   683     "unfolding"
   684     "using"
   685     "write"))
   686 
   687 (defconst isar-keywords-proof-asm
   688   '("assume"
   689     "case"
   690     "def"
   691     "fix"
   692     "presume"))
   693 
   694 (defconst isar-keywords-proof-asm-goal
   695   '("guess"
   696     "obtain"
   697     "show"
   698     "thus"))
   699 
   700 (defconst isar-keywords-proof-script
   701   '("apply"
   702     "apply_end"
   703     "back"
   704     "defer"
   705     "prefer"))
   706 
   707 (provide 'isar-keywords)