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