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