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