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