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