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