etc/isar-keywords.el
author blanchet
Fri, 23 Oct 2009 19:00:36 +0200
changeset 33198 bfb9a790d1e7
parent 32788 ca430e6aee1c
child 33685 29106208ccf7
permissions -rw-r--r--
updated keyword files to include "nitpick" and "nitpick_params"
     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\\.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\\.process_pgip"
    23     "ProofGeneral\\.restart"
    24     "ProofGeneral\\.undo"
    25     "abbreviation"
    26     "also"
    27     "apply"
    28     "apply_end"
    29     "arities"
    30     "assume"
    31     "atom_decl"
    32     "atp_info"
    33     "atp_kill"
    34     "atp_messages"
    35     "atp_minimize"
    36     "attribute_setup"
    37     "automaton"
    38     "ax_specification"
    39     "axclass"
    40     "axiomatization"
    41     "axioms"
    42     "back"
    43     "by"
    44     "cannot_undo"
    45     "case"
    46     "cd"
    47     "chapter"
    48     "class"
    49     "class_deps"
    50     "classes"
    51     "classrel"
    52     "code_abort"
    53     "code_class"
    54     "code_const"
    55     "code_datatype"
    56     "code_deps"
    57     "code_include"
    58     "code_instance"
    59     "code_library"
    60     "code_module"
    61     "code_modulename"
    62     "code_monad"
    63     "code_pred"
    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_consts"
    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     "judgment"
   123     "kill"
   124     "kill_thy"
   125     "lemma"
   126     "lemmas"
   127     "let"
   128     "linear_undo"
   129     "local"
   130     "local_setup"
   131     "locale"
   132     "method_setup"
   133     "moreover"
   134     "next"
   135     "nitpick"
   136     "nitpick_params"
   137     "no_notation"
   138     "no_syntax"
   139     "no_translations"
   140     "nominal_datatype"
   141     "nominal_inductive"
   142     "nominal_inductive2"
   143     "nominal_primrec"
   144     "nonterminals"
   145     "normal_form"
   146     "notation"
   147     "note"
   148     "obtain"
   149     "oops"
   150     "oracle"
   151     "overloading"
   152     "parse_ast_translation"
   153     "parse_translation"
   154     "pcpodef"
   155     "pr"
   156     "prefer"
   157     "presume"
   158     "pretty_setmargin"
   159     "prf"
   160     "primrec"
   161     "print_abbrevs"
   162     "print_antiquotations"
   163     "print_ast_translation"
   164     "print_atps"
   165     "print_attributes"
   166     "print_binds"
   167     "print_cases"
   168     "print_claset"
   169     "print_classes"
   170     "print_codeproc"
   171     "print_codesetup"
   172     "print_commands"
   173     "print_configs"
   174     "print_context"
   175     "print_drafts"
   176     "print_facts"
   177     "print_induct_rules"
   178     "print_interps"
   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\\.define_command"
   320     "Isar\\.edit_document"
   321     "Isar\\.end_document"
   322     "ProofGeneral\\.inform_file_processed"
   323     "ProofGeneral\\.inform_file_retracted"
   324     "ProofGeneral\\.kill_proof"
   325     "ProofGeneral\\.process_pgip"
   326     "ProofGeneral\\.restart"
   327     "ProofGeneral\\.undo"
   328     "cannot_undo"
   329     "exit"
   330     "init_toplevel"
   331     "kill"
   332     "linear_undo"
   333     "quit"
   334     "undo"
   335     "undos_proof"))
   336 
   337 (defconst isar-keywords-diag
   338   '("ML_command"
   339     "ML_val"
   340     "atp_info"
   341     "atp_kill"
   342     "atp_messages"
   343     "atp_minimize"
   344     "cd"
   345     "class_deps"
   346     "code_deps"
   347     "code_thms"
   348     "commit"
   349     "disable_pr"
   350     "display_drafts"
   351     "enable_pr"
   352     "export_code"
   353     "find_consts"
   354     "find_theorems"
   355     "full_prf"
   356     "header"
   357     "help"
   358     "kill_thy"
   359     "nitpick"
   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_codeproc"
   373     "print_codesetup"
   374     "print_commands"
   375     "print_configs"
   376     "print_context"
   377     "print_drafts"
   378     "print_facts"
   379     "print_induct_rules"
   380     "print_interps"
   381     "print_locale"
   382     "print_locales"
   383     "print_methods"
   384     "print_orders"
   385     "print_rules"
   386     "print_simpset"
   387     "print_statement"
   388     "print_syntax"
   389     "print_theorems"
   390     "print_theory"
   391     "print_trans_rules"
   392     "prop"
   393     "pwd"
   394     "quickcheck"
   395     "refute"
   396     "remove_thy"
   397     "sledgehammer"
   398     "term"
   399     "thm"
   400     "thm_deps"
   401     "thy_deps"
   402     "touch_thy"
   403     "typ"
   404     "unused_thms"
   405     "use_thy"
   406     "value"
   407     "values"
   408     "welcome"))
   409 
   410 (defconst isar-keywords-theory-begin
   411   '("theory"))
   412 
   413 (defconst isar-keywords-theory-switch
   414   '())
   415 
   416 (defconst isar-keywords-theory-end
   417   '("end"))
   418 
   419 (defconst isar-keywords-theory-heading
   420   '("chapter"
   421     "section"
   422     "subsection"
   423     "subsubsection"))
   424 
   425 (defconst isar-keywords-theory-decl
   426   '("ML"
   427     "abbreviation"
   428     "arities"
   429     "atom_decl"
   430     "attribute_setup"
   431     "automaton"
   432     "axclass"
   433     "axiomatization"
   434     "axioms"
   435     "class"
   436     "classes"
   437     "classrel"
   438     "code_abort"
   439     "code_class"
   440     "code_const"
   441     "code_datatype"
   442     "code_include"
   443     "code_instance"
   444     "code_library"
   445     "code_module"
   446     "code_modulename"
   447     "code_monad"
   448     "code_reserved"
   449     "code_type"
   450     "coinductive"
   451     "coinductive_set"
   452     "constdefs"
   453     "consts"
   454     "consts_code"
   455     "context"
   456     "datatype"
   457     "declaration"
   458     "declare"
   459     "defaultsort"
   460     "defer_recdef"
   461     "definition"
   462     "defs"
   463     "domain"
   464     "equivariance"
   465     "extract"
   466     "extract_type"
   467     "finalconsts"
   468     "fixpat"
   469     "fixrec"
   470     "fun"
   471     "global"
   472     "hide"
   473     "inductive"
   474     "inductive_set"
   475     "instantiation"
   476     "judgment"
   477     "lemmas"
   478     "local"
   479     "local_setup"
   480     "locale"
   481     "method_setup"
   482     "nitpick_params"
   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)