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