etc/isar-keywords.el
author wenzelm
Fri, 06 Sep 2013 12:00:58 +0200
changeset 54569 36ca6764027f
parent 54449 a1cf42366cea
child 54606 3356a148b783
permissions -rw-r--r--
updated keywords;
     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     "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_adhoc_overloading"
   147     "no_notation"
   148     "no_syntax"
   149     "no_translations"
   150     "no_type_notation"
   151     "nominal_datatype"
   152     "nominal_inductive"
   153     "nominal_inductive2"
   154     "nominal_primrec"
   155     "nonterminal"
   156     "notation"
   157     "note"
   158     "notepad"
   159     "obtain"
   160     "oops"
   161     "oracle"
   162     "overloading"
   163     "parse_ast_translation"
   164     "parse_translation"
   165     "partial_function"
   166     "pcpodef"
   167     "pr"
   168     "prefer"
   169     "presume"
   170     "pretty_setmargin"
   171     "prf"
   172     "primcorec"
   173     "primrec"
   174     "primrec_new"
   175     "print_abbrevs"
   176     "print_antiquotations"
   177     "print_ast_translation"
   178     "print_attributes"
   179     "print_binds"
   180     "print_bnfs"
   181     "print_bundles"
   182     "print_case_translations"
   183     "print_cases"
   184     "print_claset"
   185     "print_classes"
   186     "print_codeproc"
   187     "print_codesetup"
   188     "print_coercions"
   189     "print_commands"
   190     "print_context"
   191     "print_defn_rules"
   192     "print_dependencies"
   193     "print_facts"
   194     "print_induct_rules"
   195     "print_inductives"
   196     "print_interps"
   197     "print_locale"
   198     "print_locales"
   199     "print_methods"
   200     "print_options"
   201     "print_orders"
   202     "print_quot_maps"
   203     "print_quotconsts"
   204     "print_quotients"
   205     "print_quotientsQ3"
   206     "print_quotmapsQ3"
   207     "print_rules"
   208     "print_simpset"
   209     "print_state"
   210     "print_statement"
   211     "print_syntax"
   212     "print_theorems"
   213     "print_theory"
   214     "print_trans_rules"
   215     "print_translation"
   216     "proof"
   217     "prop"
   218     "pwd"
   219     "qed"
   220     "quickcheck"
   221     "quickcheck_generator"
   222     "quickcheck_params"
   223     "quit"
   224     "quotient_definition"
   225     "quotient_type"
   226     "realizability"
   227     "realizers"
   228     "recdef"
   229     "recdef_tc"
   230     "record"
   231     "refute"
   232     "refute_params"
   233     "remove_thy"
   234     "rep_datatype"
   235     "schematic_corollary"
   236     "schematic_lemma"
   237     "schematic_theorem"
   238     "sect"
   239     "section"
   240     "setup"
   241     "setup_lifting"
   242     "show"
   243     "simproc_setup"
   244     "simps_of_case"
   245     "sledgehammer"
   246     "sledgehammer_params"
   247     "smt_status"
   248     "solve_direct"
   249     "sorry"
   250     "spark_end"
   251     "spark_open"
   252     "spark_open_siv"
   253     "spark_open_vcg"
   254     "spark_proof_functions"
   255     "spark_status"
   256     "spark_types"
   257     "spark_vc"
   258     "specification"
   259     "statespace"
   260     "subclass"
   261     "sublocale"
   262     "subsect"
   263     "subsection"
   264     "subsubsect"
   265     "subsubsection"
   266     "syntax"
   267     "syntax_declaration"
   268     "term"
   269     "termination"
   270     "text"
   271     "text_raw"
   272     "then"
   273     "theorem"
   274     "theorems"
   275     "theory"
   276     "thm"
   277     "thm_deps"
   278     "thus"
   279     "thy_deps"
   280     "translations"
   281     "try"
   282     "try0"
   283     "txt"
   284     "txt_raw"
   285     "typ"
   286     "type_notation"
   287     "type_synonym"
   288     "typed_print_translation"
   289     "typedecl"
   290     "typedef"
   291     "ultimately"
   292     "undo"
   293     "undos_proof"
   294     "unfolding"
   295     "unused_thms"
   296     "use_thy"
   297     "using"
   298     "value"
   299     "values"
   300     "welcome"
   301     "with"
   302     "wrap_free_constructors"
   303     "write"
   304     "{"
   305     "}"))
   306 
   307 (defconst isar-keywords-minor
   308   '("and"
   309     "assumes"
   310     "attach"
   311     "avoids"
   312     "begin"
   313     "binder"
   314     "checking"
   315     "class_instance"
   316     "class_relation"
   317     "code_module"
   318     "congs"
   319     "constant"
   320     "constrains"
   321     "datatypes"
   322     "defaults"
   323     "defines"
   324     "file"
   325     "fixes"
   326     "for"
   327     "functions"
   328     "hints"
   329     "identifier"
   330     "if"
   331     "imports"
   332     "in"
   333     "includes"
   334     "infix"
   335     "infixl"
   336     "infixr"
   337     "is"
   338     "keywords"
   339     "lazy"
   340     "module_name"
   341     "monos"
   342     "morphisms"
   343     "no_discs_sels"
   344     "notes"
   345     "obtains"
   346     "open"
   347     "output"
   348     "overloaded"
   349     "parametric"
   350     "permissive"
   351     "pervasive"
   352     "rep_compat"
   353     "sequential"
   354     "shows"
   355     "structure"
   356     "type_class"
   357     "type_constructor"
   358     "unchecked"
   359     "unsafe"
   360     "where"))
   361 
   362 (defconst isar-keywords-control
   363   '("Isabelle\\.command"
   364     "ProofGeneral\\.inform_file_processed"
   365     "ProofGeneral\\.inform_file_retracted"
   366     "ProofGeneral\\.kill_proof"
   367     "ProofGeneral\\.pr"
   368     "ProofGeneral\\.process_pgip"
   369     "ProofGeneral\\.restart"
   370     "ProofGeneral\\.undo"
   371     "cannot_undo"
   372     "cd"
   373     "commit"
   374     "disable_pr"
   375     "enable_pr"
   376     "exit"
   377     "init_toplevel"
   378     "kill"
   379     "kill_thy"
   380     "linear_undo"
   381     "pretty_setmargin"
   382     "quit"
   383     "remove_thy"
   384     "undo"
   385     "undos_proof"
   386     "use_thy"))
   387 
   388 (defconst isar-keywords-diag
   389   '("ML_command"
   390     "ML_val"
   391     "class_deps"
   392     "code_deps"
   393     "code_thms"
   394     "display_drafts"
   395     "find_consts"
   396     "find_theorems"
   397     "find_unused_assms"
   398     "full_prf"
   399     "header"
   400     "help"
   401     "locale_deps"
   402     "nitpick"
   403     "pr"
   404     "prf"
   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     "thm"
   454     "thm_deps"
   455     "thy_deps"
   456     "try"
   457     "try0"
   458     "typ"
   459     "unused_thms"
   460     "value"
   461     "values"
   462     "welcome"))
   463 
   464 (defconst isar-keywords-theory-begin
   465   '("theory"))
   466 
   467 (defconst isar-keywords-theory-switch
   468   '())
   469 
   470 (defconst isar-keywords-theory-end
   471   '("end"))
   472 
   473 (defconst isar-keywords-theory-heading
   474   '("chapter"
   475     "section"
   476     "subsection"
   477     "subsubsection"))
   478 
   479 (defconst isar-keywords-theory-decl
   480   '("ML"
   481     "ML_file"
   482     "abbreviation"
   483     "adhoc_overloading"
   484     "arities"
   485     "atom_decl"
   486     "attribute_setup"
   487     "axiomatization"
   488     "bundle"
   489     "case_of_simps"
   490     "class"
   491     "classes"
   492     "classrel"
   493     "codatatype"
   494     "code_abort"
   495     "code_class"
   496     "code_const"
   497     "code_datatype"
   498     "code_identifier"
   499     "code_include"
   500     "code_instance"
   501     "code_modulename"
   502     "code_monad"
   503     "code_printing"
   504     "code_reflect"
   505     "code_reserved"
   506     "code_type"
   507     "coinductive"
   508     "coinductive_set"
   509     "consts"
   510     "context"
   511     "datatype"
   512     "datatype_new"
   513     "datatype_new_compat"
   514     "declaration"
   515     "declare"
   516     "default_sort"
   517     "defer_recdef"
   518     "definition"
   519     "defs"
   520     "domain"
   521     "domain_isomorphism"
   522     "domaindef"
   523     "equivariance"
   524     "export_code"
   525     "extract"
   526     "extract_type"
   527     "fixrec"
   528     "fun"
   529     "hide_class"
   530     "hide_const"
   531     "hide_fact"
   532     "hide_type"
   533     "import_const_map"
   534     "import_file"
   535     "import_tptp"
   536     "import_type_map"
   537     "inductive"
   538     "inductive_set"
   539     "instantiation"
   540     "judgment"
   541     "lemmas"
   542     "local_setup"
   543     "locale"
   544     "method_setup"
   545     "nitpick_params"
   546     "no_adhoc_overloading"
   547     "no_notation"
   548     "no_syntax"
   549     "no_translations"
   550     "no_type_notation"
   551     "nominal_datatype"
   552     "nonterminal"
   553     "notation"
   554     "notepad"
   555     "oracle"
   556     "overloading"
   557     "parse_ast_translation"
   558     "parse_translation"
   559     "partial_function"
   560     "primrec"
   561     "primrec_new"
   562     "print_ast_translation"
   563     "print_translation"
   564     "quickcheck_generator"
   565     "quickcheck_params"
   566     "realizability"
   567     "realizers"
   568     "recdef"
   569     "record"
   570     "refute_params"
   571     "setup"
   572     "setup_lifting"
   573     "simproc_setup"
   574     "simps_of_case"
   575     "sledgehammer_params"
   576     "spark_end"
   577     "spark_open"
   578     "spark_open_siv"
   579     "spark_open_vcg"
   580     "spark_proof_functions"
   581     "spark_types"
   582     "statespace"
   583     "syntax"
   584     "syntax_declaration"
   585     "text"
   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   '("inductive_cases"
   596     "inductive_simps"))
   597 
   598 (defconst isar-keywords-theory-goal
   599   '("ax_specification"
   600     "bnf"
   601     "code_pred"
   602     "corollary"
   603     "cpodef"
   604     "enriched_type"
   605     "function"
   606     "instance"
   607     "interpretation"
   608     "lemma"
   609     "lift_definition"
   610     "nominal_inductive"
   611     "nominal_inductive2"
   612     "nominal_primrec"
   613     "pcpodef"
   614     "primcorec"
   615     "quotient_definition"
   616     "quotient_type"
   617     "recdef_tc"
   618     "rep_datatype"
   619     "schematic_corollary"
   620     "schematic_lemma"
   621     "schematic_theorem"
   622     "spark_vc"
   623     "specification"
   624     "subclass"
   625     "sublocale"
   626     "termination"
   627     "theorem"
   628     "typedef"
   629     "wrap_free_constructors"))
   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)