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