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