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