etc/isar-keywords.el
author blanchet
Fri Feb 21 00:09:56 2014 +0100 (2014-02-21)
changeset 55642 63beb38e9258
parent 55638 9b1805ff3aae
child 56069 451d5b73f8cf
permissions -rw-r--r--
adapted to renaming of datatype 'cases' and 'recs' to 'case' and 'rec'
     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     "oops"
   158     "oracle"
   159     "overloading"
   160     "parse_ast_translation"
   161     "parse_translation"
   162     "partial_function"
   163     "pcpodef"
   164     "permanent_interpretation"
   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     "defining"
   324     "file"
   325     "fixes"
   326     "for"
   327     "functions"
   328     "hints"
   329     "identifier"
   330     "if"
   331     "imports"
   332     "in"
   333     "includes"
   334     "infix"
   335     "infixl"
   336     "infixr"
   337     "is"
   338     "keywords"
   339     "lazy"
   340     "module_name"
   341     "monos"
   342     "morphisms"
   343     "notes"
   344     "obtains"
   345     "open"
   346     "output"
   347     "overloaded"
   348     "parametric"
   349     "permissive"
   350     "pervasive"
   351     "shows"
   352     "structure"
   353     "type_class"
   354     "type_constructor"
   355     "unchecked"
   356     "unsafe"
   357     "where"))
   358 
   359 (defconst isar-keywords-control
   360   '("Isabelle\\.command"
   361     "ProofGeneral\\.inform_file_processed"
   362     "ProofGeneral\\.inform_file_retracted"
   363     "ProofGeneral\\.kill_proof"
   364     "ProofGeneral\\.pr"
   365     "ProofGeneral\\.process_pgip"
   366     "ProofGeneral\\.restart"
   367     "ProofGeneral\\.undo"
   368     "cannot_undo"
   369     "cd"
   370     "commit"
   371     "disable_pr"
   372     "enable_pr"
   373     "exit"
   374     "init_toplevel"
   375     "kill"
   376     "kill_thy"
   377     "linear_undo"
   378     "pretty_setmargin"
   379     "quit"
   380     "remove_thy"
   381     "undo"
   382     "undos_proof"
   383     "use_thy"))
   384 
   385 (defconst isar-keywords-diag
   386   '("ML_command"
   387     "ML_val"
   388     "cartouche"
   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     "term_cartouche"
   452     "thm"
   453     "thm_deps"
   454     "thy_deps"
   455     "try"
   456     "try0"
   457     "typ"
   458     "unused_thms"
   459     "value"
   460     "values"
   461     "values_prolog"
   462     "welcome"))
   463 
   464 (defconst isar-keywords-theory-begin
   465   '("theory"))
   466 
   467 (defconst isar-keywords-theory-switch
   468   '())
   469 
   470 (defconst isar-keywords-theory-end
   471   '("end"))
   472 
   473 (defconst isar-keywords-theory-heading
   474   '("chapter"
   475     "section"
   476     "subsection"
   477     "subsubsection"))
   478 
   479 (defconst isar-keywords-theory-decl
   480   '("ML"
   481     "ML_file"
   482     "abbreviation"
   483     "adhoc_overloading"
   484     "atom_decl"
   485     "attribute_setup"
   486     "axiomatization"
   487     "bnf_decl"
   488     "boogie_file"
   489     "bundle"
   490     "case_of_simps"
   491     "class"
   492     "codatatype"
   493     "code_datatype"
   494     "code_identifier"
   495     "code_monad"
   496     "code_printing"
   497     "code_reflect"
   498     "code_reserved"
   499     "coinductive"
   500     "coinductive_set"
   501     "consts"
   502     "context"
   503     "datatype"
   504     "datatype_compat"
   505     "datatype_new"
   506     "declaration"
   507     "declare"
   508     "default_sort"
   509     "defer_recdef"
   510     "definition"
   511     "defs"
   512     "domain"
   513     "domain_isomorphism"
   514     "domaindef"
   515     "equivariance"
   516     "export_code"
   517     "extract"
   518     "extract_type"
   519     "fixrec"
   520     "fun"
   521     "fun_cases"
   522     "hide_class"
   523     "hide_const"
   524     "hide_fact"
   525     "hide_type"
   526     "import_const_map"
   527     "import_file"
   528     "import_tptp"
   529     "import_type_map"
   530     "inductive"
   531     "inductive_set"
   532     "instantiation"
   533     "judgment"
   534     "lemmas"
   535     "lifting_forget"
   536     "lifting_update"
   537     "local_setup"
   538     "locale"
   539     "method_setup"
   540     "nitpick_params"
   541     "no_adhoc_overloading"
   542     "no_notation"
   543     "no_syntax"
   544     "no_translations"
   545     "no_type_notation"
   546     "nominal_datatype"
   547     "nonterminal"
   548     "notation"
   549     "notepad"
   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     "permanent_interpretation"
   612     "primcorecursive"
   613     "quotient_definition"
   614     "quotient_type"
   615     "recdef_tc"
   616     "rep_datatype"
   617     "schematic_corollary"
   618     "schematic_lemma"
   619     "schematic_theorem"
   620     "spark_vc"
   621     "specification"
   622     "subclass"
   623     "sublocale"
   624     "termination"
   625     "theorem"
   626     "typedef"))
   627 
   628 (defconst isar-keywords-qed
   629   '("\\."
   630     "\\.\\."
   631     "by"
   632     "done"
   633     "sorry"))
   634 
   635 (defconst isar-keywords-qed-block
   636   '("qed"))
   637 
   638 (defconst isar-keywords-qed-global
   639   '("oops"))
   640 
   641 (defconst isar-keywords-proof-heading
   642   '("sect"
   643     "subsect"
   644     "subsubsect"))
   645 
   646 (defconst isar-keywords-proof-goal
   647   '("have"
   648     "hence"
   649     "interpret"))
   650 
   651 (defconst isar-keywords-proof-block
   652   '("next"
   653     "proof"))
   654 
   655 (defconst isar-keywords-proof-open
   656   '("{"))
   657 
   658 (defconst isar-keywords-proof-close
   659   '("}"))
   660 
   661 (defconst isar-keywords-proof-chain
   662   '("finally"
   663     "from"
   664     "then"
   665     "ultimately"
   666     "with"))
   667 
   668 (defconst isar-keywords-proof-decl
   669   '("ML_prf"
   670     "also"
   671     "include"
   672     "including"
   673     "let"
   674     "moreover"
   675     "note"
   676     "txt"
   677     "txt_raw"
   678     "unfolding"
   679     "using"
   680     "write"))
   681 
   682 (defconst isar-keywords-proof-asm
   683   '("assume"
   684     "case"
   685     "def"
   686     "fix"
   687     "presume"))
   688 
   689 (defconst isar-keywords-proof-asm-goal
   690   '("guess"
   691     "obtain"
   692     "show"
   693     "thus"))
   694 
   695 (defconst isar-keywords-proof-script
   696   '("apply"
   697     "apply_end"
   698     "back"
   699     "defer"
   700     "prefer"))
   701 
   702 (provide 'isar-keywords)