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