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