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