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