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