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