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