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