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