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