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