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