etc/isar-keywords.el
author wenzelm
Tue Mar 25 21:01:00 2008 +0100 (2008-03-25)
changeset 26394 ddd7825ea4cd
parent 26184 64ee6a2ca6d6
child 26482 e7f677b85bfd
permissions -rw-r--r--
*** empty log message ***
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Nominal + HOL-Statespace.
     4 ;; *** DO NOT EDIT *** DO NOT EDIT *** DO NOT EDIT ***
     5 ;;
     6 ;; $Id$
     7 ;;
     8 
     9 (defconst isar-keywords-major
    10   '("\\."
    11     "\\.\\."
    12     "Isabelle\\.command"
    13     "ML"
    14     "ML_command"
    15     "ML_setup"
    16     "ML_val"
    17     "ProofGeneral\\.inform_file_processed"
    18     "ProofGeneral\\.inform_file_retracted"
    19     "ProofGeneral\\.kill_proof"
    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     "automaton"
    31     "ax_specification"
    32     "axclass"
    33     "axiomatization"
    34     "axioms"
    35     "back"
    36     "by"
    37     "cannot_undo"
    38     "case"
    39     "cd"
    40     "chapter"
    41     "class"
    42     "class_deps"
    43     "classes"
    44     "classrel"
    45     "code_class"
    46     "code_const"
    47     "code_datatype"
    48     "code_deps"
    49     "code_exception"
    50     "code_include"
    51     "code_instance"
    52     "code_library"
    53     "code_module"
    54     "code_modulename"
    55     "code_monad"
    56     "code_props"
    57     "code_reserved"
    58     "code_thms"
    59     "code_type"
    60     "coinductive"
    61     "coinductive_set"
    62     "commit"
    63     "constdefs"
    64     "consts"
    65     "consts_code"
    66     "context"
    67     "corollary"
    68     "cpodef"
    69     "datatype"
    70     "declaration"
    71     "declare"
    72     "def"
    73     "defaultsort"
    74     "defer"
    75     "defer_recdef"
    76     "definition"
    77     "defs"
    78     "disable_pr"
    79     "display_drafts"
    80     "domain"
    81     "done"
    82     "enable_pr"
    83     "end"
    84     "equivariance"
    85     "exit"
    86     "export_code"
    87     "extract"
    88     "extract_type"
    89     "finalconsts"
    90     "finally"
    91     "find_theorems"
    92     "fix"
    93     "fixpat"
    94     "fixrec"
    95     "from"
    96     "full_prf"
    97     "fun"
    98     "function"
    99     "global"
   100     "guess"
   101     "have"
   102     "header"
   103     "help"
   104     "hence"
   105     "hide"
   106     "inductive"
   107     "inductive_cases"
   108     "inductive_set"
   109     "init_toplevel"
   110     "instance"
   111     "instantiation"
   112     "interpret"
   113     "interpretation"
   114     "invoke"
   115     "judgment"
   116     "kill"
   117     "kill_thy"
   118     "lemma"
   119     "lemmas"
   120     "let"
   121     "local"
   122     "locale"
   123     "method_setup"
   124     "moreover"
   125     "next"
   126     "no_notation"
   127     "no_syntax"
   128     "no_translations"
   129     "nominal_datatype"
   130     "nominal_inductive"
   131     "nominal_primrec"
   132     "nonterminals"
   133     "normal_form"
   134     "notation"
   135     "note"
   136     "obtain"
   137     "oops"
   138     "oracle"
   139     "overloading"
   140     "parse_ast_translation"
   141     "parse_translation"
   142     "pcpodef"
   143     "pr"
   144     "prefer"
   145     "presume"
   146     "pretty_setmargin"
   147     "prf"
   148     "primrec"
   149     "print_abbrevs"
   150     "print_antiquotations"
   151     "print_ast_translation"
   152     "print_atp_rules"
   153     "print_attributes"
   154     "print_binds"
   155     "print_cases"
   156     "print_claset"
   157     "print_classes"
   158     "print_codesetup"
   159     "print_commands"
   160     "print_configs"
   161     "print_context"
   162     "print_drafts"
   163     "print_facts"
   164     "print_induct_rules"
   165     "print_interps"
   166     "print_locale"
   167     "print_locales"
   168     "print_methods"
   169     "print_noatp_rules"
   170     "print_orders"
   171     "print_rules"
   172     "print_simpset"
   173     "print_statement"
   174     "print_syntax"
   175     "print_theorems"
   176     "print_theory"
   177     "print_trans_rules"
   178     "print_translation"
   179     "proof"
   180     "prop"
   181     "pwd"
   182     "qed"
   183     "quickcheck"
   184     "quickcheck_params"
   185     "quit"
   186     "realizability"
   187     "realizers"
   188     "recdef"
   189     "recdef_tc"
   190     "record"
   191     "redo"
   192     "refute"
   193     "refute_params"
   194     "remove_thy"
   195     "rep_datatype"
   196     "sect"
   197     "section"
   198     "setup"
   199     "show"
   200     "simproc_setup"
   201     "sledgehammer"
   202     "sorry"
   203     "specification"
   204     "statespace"
   205     "subclass"
   206     "subsect"
   207     "subsection"
   208     "subsubsect"
   209     "subsubsection"
   210     "syntax"
   211     "term"
   212     "termination"
   213     "text"
   214     "text_raw"
   215     "then"
   216     "theorem"
   217     "theorems"
   218     "theory"
   219     "thm"
   220     "thm_deps"
   221     "thus"
   222     "thy_deps"
   223     "token_translation"
   224     "touch_child_thys"
   225     "touch_thy"
   226     "translations"
   227     "txt"
   228     "txt_raw"
   229     "typ"
   230     "typed_print_translation"
   231     "typedecl"
   232     "typedef"
   233     "types"
   234     "types_code"
   235     "ultimately"
   236     "undo"
   237     "undos_proof"
   238     "unfolding"
   239     "unused_thms"
   240     "use"
   241     "use_thy"
   242     "using"
   243     "value"
   244     "welcome"
   245     "with"
   246     "{"
   247     "}"))
   248 
   249 (defconst isar-keywords-minor
   250   '("actions"
   251     "advanced"
   252     "and"
   253     "assumes"
   254     "attach"
   255     "avoids"
   256     "begin"
   257     "binder"
   258     "compose"
   259     "concl"
   260     "congs"
   261     "constrains"
   262     "contains"
   263     "defines"
   264     "distinct"
   265     "file"
   266     "fixes"
   267     "for"
   268     "hide_action"
   269     "hints"
   270     "identifier"
   271     "if"
   272     "imports"
   273     "in"
   274     "includes"
   275     "induction"
   276     "infix"
   277     "infixl"
   278     "infixr"
   279     "initially"
   280     "inject"
   281     "inputs"
   282     "internals"
   283     "is"
   284     "lazy"
   285     "module_name"
   286     "monos"
   287     "morphisms"
   288     "notes"
   289     "obtains"
   290     "open"
   291     "otherwise"
   292     "output"
   293     "outputs"
   294     "overloaded"
   295     "permissive"
   296     "post"
   297     "pre"
   298     "rename"
   299     "restrict"
   300     "shows"
   301     "signature"
   302     "states"
   303     "structure"
   304     "to"
   305     "transitions"
   306     "transrel"
   307     "unchecked"
   308     "uses"
   309     "where"))
   310 
   311 (defconst isar-keywords-control
   312   '("Isabelle\\.command"
   313     "ProofGeneral\\.inform_file_processed"
   314     "ProofGeneral\\.inform_file_retracted"
   315     "ProofGeneral\\.kill_proof"
   316     "ProofGeneral\\.process_pgip"
   317     "ProofGeneral\\.restart"
   318     "ProofGeneral\\.undo"
   319     "cannot_undo"
   320     "exit"
   321     "init_toplevel"
   322     "kill"
   323     "quit"
   324     "redo"
   325     "undo"
   326     "undos_proof"))
   327 
   328 (defconst isar-keywords-diag
   329   '("ML"
   330     "ML_command"
   331     "ML_val"
   332     "cd"
   333     "class_deps"
   334     "code_deps"
   335     "code_thms"
   336     "commit"
   337     "disable_pr"
   338     "display_drafts"
   339     "enable_pr"
   340     "export_code"
   341     "find_theorems"
   342     "full_prf"
   343     "header"
   344     "help"
   345     "kill_thy"
   346     "normal_form"
   347     "pr"
   348     "pretty_setmargin"
   349     "prf"
   350     "print_abbrevs"
   351     "print_antiquotations"
   352     "print_atp_rules"
   353     "print_attributes"
   354     "print_binds"
   355     "print_cases"
   356     "print_claset"
   357     "print_classes"
   358     "print_codesetup"
   359     "print_commands"
   360     "print_configs"
   361     "print_context"
   362     "print_drafts"
   363     "print_facts"
   364     "print_induct_rules"
   365     "print_interps"
   366     "print_locale"
   367     "print_locales"
   368     "print_methods"
   369     "print_noatp_rules"
   370     "print_orders"
   371     "print_rules"
   372     "print_simpset"
   373     "print_statement"
   374     "print_syntax"
   375     "print_theorems"
   376     "print_theory"
   377     "print_trans_rules"
   378     "prop"
   379     "pwd"
   380     "quickcheck"
   381     "refute"
   382     "remove_thy"
   383     "sledgehammer"
   384     "term"
   385     "thm"
   386     "thm_deps"
   387     "thy_deps"
   388     "touch_child_thys"
   389     "touch_thy"
   390     "typ"
   391     "unused_thms"
   392     "use"
   393     "use_thy"
   394     "value"
   395     "welcome"))
   396 
   397 (defconst isar-keywords-theory-begin
   398   '("theory"))
   399 
   400 (defconst isar-keywords-theory-switch
   401   '())
   402 
   403 (defconst isar-keywords-theory-end
   404   '("end"))
   405 
   406 (defconst isar-keywords-theory-heading
   407   '("chapter"
   408     "section"
   409     "subsection"
   410     "subsubsection"))
   411 
   412 (defconst isar-keywords-theory-decl
   413   '("ML_setup"
   414     "abbreviation"
   415     "arities"
   416     "atom_decl"
   417     "automaton"
   418     "axclass"
   419     "axiomatization"
   420     "axioms"
   421     "class"
   422     "classes"
   423     "classrel"
   424     "code_class"
   425     "code_const"
   426     "code_datatype"
   427     "code_exception"
   428     "code_include"
   429     "code_instance"
   430     "code_library"
   431     "code_module"
   432     "code_modulename"
   433     "code_monad"
   434     "code_props"
   435     "code_reserved"
   436     "code_type"
   437     "coinductive"
   438     "coinductive_set"
   439     "constdefs"
   440     "consts"
   441     "consts_code"
   442     "context"
   443     "datatype"
   444     "declaration"
   445     "declare"
   446     "defaultsort"
   447     "defer_recdef"
   448     "definition"
   449     "defs"
   450     "domain"
   451     "equivariance"
   452     "extract"
   453     "extract_type"
   454     "finalconsts"
   455     "fixpat"
   456     "fixrec"
   457     "fun"
   458     "global"
   459     "hide"
   460     "inductive"
   461     "inductive_set"
   462     "instantiation"
   463     "judgment"
   464     "lemmas"
   465     "local"
   466     "locale"
   467     "method_setup"
   468     "no_notation"
   469     "no_syntax"
   470     "no_translations"
   471     "nominal_datatype"
   472     "nonterminals"
   473     "notation"
   474     "oracle"
   475     "overloading"
   476     "parse_ast_translation"
   477     "parse_translation"
   478     "primrec"
   479     "print_ast_translation"
   480     "print_translation"
   481     "quickcheck_params"
   482     "realizability"
   483     "realizers"
   484     "recdef"
   485     "record"
   486     "refute_params"
   487     "rep_datatype"
   488     "setup"
   489     "simproc_setup"
   490     "statespace"
   491     "syntax"
   492     "text"
   493     "text_raw"
   494     "theorems"
   495     "token_translation"
   496     "translations"
   497     "typed_print_translation"
   498     "typedecl"
   499     "types"
   500     "types_code"))
   501 
   502 (defconst isar-keywords-theory-script
   503   '("inductive_cases"))
   504 
   505 (defconst isar-keywords-theory-goal
   506   '("ax_specification"
   507     "corollary"
   508     "cpodef"
   509     "function"
   510     "instance"
   511     "interpretation"
   512     "lemma"
   513     "nominal_inductive"
   514     "nominal_primrec"
   515     "pcpodef"
   516     "recdef_tc"
   517     "specification"
   518     "subclass"
   519     "termination"
   520     "theorem"
   521     "typedef"))
   522 
   523 (defconst isar-keywords-qed
   524   '("\\."
   525     "\\.\\."
   526     "by"
   527     "done"
   528     "sorry"))
   529 
   530 (defconst isar-keywords-qed-block
   531   '("qed"))
   532 
   533 (defconst isar-keywords-qed-global
   534   '("oops"))
   535 
   536 (defconst isar-keywords-proof-heading
   537   '("sect"
   538     "subsect"
   539     "subsubsect"))
   540 
   541 (defconst isar-keywords-proof-goal
   542   '("have"
   543     "hence"
   544     "interpret"
   545     "invoke"))
   546 
   547 (defconst isar-keywords-proof-block
   548   '("next"
   549     "proof"))
   550 
   551 (defconst isar-keywords-proof-open
   552   '("{"))
   553 
   554 (defconst isar-keywords-proof-close
   555   '("}"))
   556 
   557 (defconst isar-keywords-proof-chain
   558   '("finally"
   559     "from"
   560     "then"
   561     "ultimately"
   562     "with"))
   563 
   564 (defconst isar-keywords-proof-decl
   565   '("also"
   566     "let"
   567     "moreover"
   568     "note"
   569     "txt"
   570     "txt_raw"
   571     "unfolding"
   572     "using"))
   573 
   574 (defconst isar-keywords-proof-asm
   575   '("assume"
   576     "case"
   577     "def"
   578     "fix"
   579     "presume"))
   580 
   581 (defconst isar-keywords-proof-asm-goal
   582   '("guess"
   583     "obtain"
   584     "show"
   585     "thus"))
   586 
   587 (defconst isar-keywords-proof-script
   588   '("apply"
   589     "apply_end"
   590     "back"
   591     "defer"
   592     "prefer"))
   593 
   594 (provide 'isar-keywords)