etc/isar-keywords.el
author wenzelm
Fri Sep 28 11:46:57 2012 +0200 (2012-09-28)
changeset 49640 47431a27fefe
parent 49635 fc0777f04205
child 50106 e12e4ad93183
permissions -rw-r--r--
updated keywords using proper "isabelle update_keywords";
     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     "shows"
   346     "structure"
   347     "unchecked"
   348     "unsafe"
   349     "uses"
   350     "where"))
   351 
   352 (defconst isar-keywords-control
   353   '("Isabelle\\.command"
   354     "ProofGeneral\\.inform_file_processed"
   355     "ProofGeneral\\.inform_file_retracted"
   356     "ProofGeneral\\.kill_proof"
   357     "ProofGeneral\\.process_pgip"
   358     "ProofGeneral\\.restart"
   359     "ProofGeneral\\.undo"
   360     "cannot_undo"
   361     "cd"
   362     "commit"
   363     "disable_pr"
   364     "enable_pr"
   365     "exit"
   366     "init_toplevel"
   367     "kill"
   368     "kill_thy"
   369     "linear_undo"
   370     "quit"
   371     "remove_thy"
   372     "undo"
   373     "undos_proof"
   374     "use_thy"))
   375 
   376 (defconst isar-keywords-diag
   377   '("ML_command"
   378     "ML_val"
   379     "ProofGeneral\\.pr"
   380     "boogie_status"
   381     "class_deps"
   382     "code_deps"
   383     "code_thms"
   384     "display_drafts"
   385     "export_code"
   386     "find_consts"
   387     "find_theorems"
   388     "find_unused_assms"
   389     "full_prf"
   390     "header"
   391     "help"
   392     "locale_deps"
   393     "nitpick"
   394     "pr"
   395     "pretty_setmargin"
   396     "prf"
   397     "print_abbrevs"
   398     "print_antiquotations"
   399     "print_attributes"
   400     "print_binds"
   401     "print_bnfs"
   402     "print_bundles"
   403     "print_cases"
   404     "print_claset"
   405     "print_classes"
   406     "print_codeproc"
   407     "print_codesetup"
   408     "print_coercion_maps"
   409     "print_coercions"
   410     "print_commands"
   411     "print_configs"
   412     "print_context"
   413     "print_dependencies"
   414     "print_drafts"
   415     "print_facts"
   416     "print_induct_rules"
   417     "print_interps"
   418     "print_locale"
   419     "print_locales"
   420     "print_methods"
   421     "print_orders"
   422     "print_quotconsts"
   423     "print_quotients"
   424     "print_quotientsQ3"
   425     "print_quotmaps"
   426     "print_quotmapsQ3"
   427     "print_rules"
   428     "print_simpset"
   429     "print_statement"
   430     "print_syntax"
   431     "print_theorems"
   432     "print_theory"
   433     "print_trans_rules"
   434     "prop"
   435     "pwd"
   436     "quickcheck"
   437     "refute"
   438     "sledgehammer"
   439     "smt_status"
   440     "solve_direct"
   441     "spark_status"
   442     "term"
   443     "thm"
   444     "thm_deps"
   445     "thy_deps"
   446     "try"
   447     "try0"
   448     "typ"
   449     "unused_thms"
   450     "value"
   451     "values"
   452     "welcome"))
   453 
   454 (defconst isar-keywords-theory-begin
   455   '("theory"))
   456 
   457 (defconst isar-keywords-theory-switch
   458   '())
   459 
   460 (defconst isar-keywords-theory-end
   461   '("end"))
   462 
   463 (defconst isar-keywords-theory-heading
   464   '("chapter"
   465     "section"
   466     "subsection"
   467     "subsubsection"))
   468 
   469 (defconst isar-keywords-theory-decl
   470   '("ML"
   471     "ML_file"
   472     "abbreviation"
   473     "arities"
   474     "atom_decl"
   475     "attribute_setup"
   476     "axiomatization"
   477     "axioms"
   478     "boogie_end"
   479     "boogie_open"
   480     "bundle"
   481     "class"
   482     "classes"
   483     "classrel"
   484     "codata"
   485     "codata_raw"
   486     "code_abort"
   487     "code_class"
   488     "code_const"
   489     "code_datatype"
   490     "code_include"
   491     "code_instance"
   492     "code_modulename"
   493     "code_monad"
   494     "code_reflect"
   495     "code_reserved"
   496     "code_type"
   497     "coinductive"
   498     "coinductive_set"
   499     "consts"
   500     "context"
   501     "data"
   502     "data_raw"
   503     "datatype"
   504     "declaration"
   505     "declare"
   506     "default_sort"
   507     "defer_recdef"
   508     "definition"
   509     "defs"
   510     "domain"
   511     "domain_isomorphism"
   512     "domaindef"
   513     "equivariance"
   514     "extract"
   515     "extract_type"
   516     "fixrec"
   517     "fun"
   518     "hide_class"
   519     "hide_const"
   520     "hide_fact"
   521     "hide_type"
   522     "import_const_map"
   523     "import_file"
   524     "import_tptp"
   525     "import_type_map"
   526     "inductive"
   527     "inductive_set"
   528     "instantiation"
   529     "judgment"
   530     "lemmas"
   531     "local_setup"
   532     "locale"
   533     "method_setup"
   534     "nitpick_params"
   535     "no_notation"
   536     "no_syntax"
   537     "no_translations"
   538     "no_type_notation"
   539     "nominal_datatype"
   540     "nonterminal"
   541     "notation"
   542     "notepad"
   543     "oracle"
   544     "overloading"
   545     "parse_ast_translation"
   546     "parse_translation"
   547     "partial_function"
   548     "primrec"
   549     "print_ast_translation"
   550     "print_translation"
   551     "quickcheck_generator"
   552     "quickcheck_params"
   553     "realizability"
   554     "realizers"
   555     "recdef"
   556     "record"
   557     "refute_params"
   558     "setup"
   559     "setup_lifting"
   560     "simproc_setup"
   561     "sledgehammer_params"
   562     "spark_end"
   563     "spark_open"
   564     "spark_open_siv"
   565     "spark_open_vcg"
   566     "spark_proof_functions"
   567     "spark_types"
   568     "statespace"
   569     "syntax"
   570     "syntax_declaration"
   571     "text"
   572     "text_raw"
   573     "theorems"
   574     "translations"
   575     "type_notation"
   576     "type_synonym"
   577     "typed_print_translation"
   578     "typedecl"
   579     "use"))
   580 
   581 (defconst isar-keywords-theory-script
   582   '("inductive_cases"
   583     "inductive_simps"))
   584 
   585 (defconst isar-keywords-theory-goal
   586   '("ax_specification"
   587     "bnf_def"
   588     "boogie_vc"
   589     "code_pred"
   590     "corollary"
   591     "cpodef"
   592     "enriched_type"
   593     "function"
   594     "instance"
   595     "interpretation"
   596     "lemma"
   597     "lift_definition"
   598     "nominal_inductive"
   599     "nominal_inductive2"
   600     "nominal_primrec"
   601     "pcpodef"
   602     "quotient_definition"
   603     "quotient_type"
   604     "recdef_tc"
   605     "rep_datatype"
   606     "schematic_corollary"
   607     "schematic_lemma"
   608     "schematic_theorem"
   609     "spark_vc"
   610     "specification"
   611     "subclass"
   612     "sublocale"
   613     "termination"
   614     "theorem"
   615     "typedef"
   616     "wrap_data"))
   617 
   618 (defconst isar-keywords-qed
   619   '("\\."
   620     "\\.\\."
   621     "by"
   622     "done"
   623     "sorry"))
   624 
   625 (defconst isar-keywords-qed-block
   626   '("qed"))
   627 
   628 (defconst isar-keywords-qed-global
   629   '("oops"))
   630 
   631 (defconst isar-keywords-proof-heading
   632   '("sect"
   633     "subsect"
   634     "subsubsect"))
   635 
   636 (defconst isar-keywords-proof-goal
   637   '("have"
   638     "hence"
   639     "interpret"))
   640 
   641 (defconst isar-keywords-proof-block
   642   '("next"
   643     "proof"))
   644 
   645 (defconst isar-keywords-proof-open
   646   '("{"))
   647 
   648 (defconst isar-keywords-proof-close
   649   '("}"))
   650 
   651 (defconst isar-keywords-proof-chain
   652   '("finally"
   653     "from"
   654     "then"
   655     "ultimately"
   656     "with"))
   657 
   658 (defconst isar-keywords-proof-decl
   659   '("ML_prf"
   660     "also"
   661     "include"
   662     "including"
   663     "let"
   664     "moreover"
   665     "note"
   666     "txt"
   667     "txt_raw"
   668     "unfolding"
   669     "using"
   670     "write"))
   671 
   672 (defconst isar-keywords-proof-asm
   673   '("assume"
   674     "case"
   675     "def"
   676     "fix"
   677     "presume"))
   678 
   679 (defconst isar-keywords-proof-asm-goal
   680   '("guess"
   681     "obtain"
   682     "show"
   683     "thus"))
   684 
   685 (defconst isar-keywords-proof-script
   686   '("apply"
   687     "apply_end"
   688     "back"
   689     "defer"
   690     "prefer"))
   691 
   692 (provide 'isar-keywords)