etc/isar-keywords.el
author ballarin
Sun, 14 Dec 2008 18:45:16 +0100
changeset 29232 712c5281d4a4
parent 28895 4e2914c2f8c5
child 29252 ea97aa6aeba2
permissions -rw-r--r--
Fixed legacy locale keywords (went to ZF rather than default keywords file).
     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     "automaton"
    36     "ax_specification"
    37     "axclass"
    38     "axiomatization"
    39     "axioms"
    40     "back"
    41     "by"
    42     "cannot_undo"
    43     "case"
    44     "cd"
    45     "chapter"
    46     "class"
    47     "class_deps"
    48     "class_interpret"
    49     "class_interpretation"
    50     "class_locale"
    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_theorems"
    99     "fix"
   100     "fixpat"
   101     "fixrec"
   102     "from"
   103     "full_prf"
   104     "fun"
   105     "function"
   106     "global"
   107     "guess"
   108     "have"
   109     "header"
   110     "help"
   111     "hence"
   112     "hide"
   113     "inductive"
   114     "inductive_cases"
   115     "inductive_set"
   116     "init_toplevel"
   117     "instance"
   118     "instantiation"
   119     "interpret"
   120     "interpretation"
   121     "invoke"
   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_interps"
   175     "print_locale"
   176     "print_locales"
   177     "print_methods"
   178     "print_orders"
   179     "print_rules"
   180     "print_simpset"
   181     "print_statement"
   182     "print_syntax"
   183     "print_theorems"
   184     "print_theory"
   185     "print_trans_rules"
   186     "print_translation"
   187     "proof"
   188     "prop"
   189     "pwd"
   190     "qed"
   191     "quickcheck"
   192     "quickcheck_params"
   193     "quit"
   194     "realizability"
   195     "realizers"
   196     "recdef"
   197     "recdef_tc"
   198     "record"
   199     "refute"
   200     "refute_params"
   201     "remove_thy"
   202     "rep_datatype"
   203     "sect"
   204     "section"
   205     "setup"
   206     "show"
   207     "simproc_setup"
   208     "sledgehammer"
   209     "sorry"
   210     "specification"
   211     "statespace"
   212     "subclass"
   213     "sublocale"
   214     "subsect"
   215     "subsection"
   216     "subsubsect"
   217     "subsubsection"
   218     "syntax"
   219     "term"
   220     "termination"
   221     "text"
   222     "text_raw"
   223     "then"
   224     "theorem"
   225     "theorems"
   226     "theory"
   227     "thm"
   228     "thm_deps"
   229     "thus"
   230     "thy_deps"
   231     "touch_thy"
   232     "translations"
   233     "txt"
   234     "txt_raw"
   235     "typ"
   236     "typed_print_translation"
   237     "typedecl"
   238     "typedef"
   239     "types"
   240     "types_code"
   241     "ultimately"
   242     "undo"
   243     "undos_proof"
   244     "unfolding"
   245     "unused_thms"
   246     "use"
   247     "use_thy"
   248     "using"
   249     "value"
   250     "welcome"
   251     "with"
   252     "{"
   253     "}"))
   254 
   255 (defconst isar-keywords-minor
   256   '("actions"
   257     "advanced"
   258     "and"
   259     "assumes"
   260     "attach"
   261     "avoids"
   262     "begin"
   263     "binder"
   264     "compose"
   265     "congs"
   266     "constrains"
   267     "contains"
   268     "defines"
   269     "file"
   270     "fixes"
   271     "for"
   272     "hide_action"
   273     "hints"
   274     "identifier"
   275     "if"
   276     "imports"
   277     "in"
   278     "infix"
   279     "infixl"
   280     "infixr"
   281     "initially"
   282     "inputs"
   283     "internals"
   284     "is"
   285     "lazy"
   286     "module_name"
   287     "monos"
   288     "morphisms"
   289     "notes"
   290     "obtains"
   291     "open"
   292     "otherwise"
   293     "output"
   294     "outputs"
   295     "overloaded"
   296     "permissive"
   297     "post"
   298     "pre"
   299     "rename"
   300     "restrict"
   301     "shows"
   302     "signature"
   303     "states"
   304     "structure"
   305     "to"
   306     "transitions"
   307     "transrel"
   308     "unchecked"
   309     "uses"
   310     "where"))
   311 
   312 (defconst isar-keywords-control
   313   '("Isabelle\\.command"
   314     "Isar\\.command"
   315     "Isar\\.insert"
   316     "Isar\\.remove"
   317     "ProofGeneral\\.inform_file_processed"
   318     "ProofGeneral\\.inform_file_retracted"
   319     "ProofGeneral\\.kill_proof"
   320     "ProofGeneral\\.process_pgip"
   321     "ProofGeneral\\.restart"
   322     "ProofGeneral\\.undo"
   323     "cannot_undo"
   324     "exit"
   325     "init_toplevel"
   326     "kill"
   327     "linear_undo"
   328     "quit"
   329     "undo"
   330     "undos_proof"))
   331 
   332 (defconst isar-keywords-diag
   333   '("ML_command"
   334     "ML_val"
   335     "atp_info"
   336     "atp_kill"
   337     "cd"
   338     "class_deps"
   339     "code_deps"
   340     "code_thms"
   341     "commit"
   342     "disable_pr"
   343     "display_drafts"
   344     "enable_pr"
   345     "export_code"
   346     "find_theorems"
   347     "full_prf"
   348     "header"
   349     "help"
   350     "kill_thy"
   351     "normal_form"
   352     "pr"
   353     "pretty_setmargin"
   354     "prf"
   355     "print_abbrevs"
   356     "print_antiquotations"
   357     "print_atps"
   358     "print_attributes"
   359     "print_binds"
   360     "print_cases"
   361     "print_claset"
   362     "print_classes"
   363     "print_codesetup"
   364     "print_commands"
   365     "print_configs"
   366     "print_context"
   367     "print_drafts"
   368     "print_facts"
   369     "print_induct_rules"
   370     "print_interps"
   371     "print_locale"
   372     "print_locales"
   373     "print_methods"
   374     "print_orders"
   375     "print_rules"
   376     "print_simpset"
   377     "print_statement"
   378     "print_syntax"
   379     "print_theorems"
   380     "print_theory"
   381     "print_trans_rules"
   382     "prop"
   383     "pwd"
   384     "quickcheck"
   385     "refute"
   386     "remove_thy"
   387     "sledgehammer"
   388     "term"
   389     "thm"
   390     "thm_deps"
   391     "thy_deps"
   392     "touch_thy"
   393     "typ"
   394     "unused_thms"
   395     "use_thy"
   396     "value"
   397     "welcome"))
   398 
   399 (defconst isar-keywords-theory-begin
   400   '("theory"))
   401 
   402 (defconst isar-keywords-theory-switch
   403   '())
   404 
   405 (defconst isar-keywords-theory-end
   406   '("end"))
   407 
   408 (defconst isar-keywords-theory-heading
   409   '("chapter"
   410     "section"
   411     "subsection"
   412     "subsubsection"))
   413 
   414 (defconst isar-keywords-theory-decl
   415   '("ML"
   416     "abbreviation"
   417     "arities"
   418     "atom_decl"
   419     "automaton"
   420     "axclass"
   421     "axiomatization"
   422     "axioms"
   423     "class"
   424     "class_locale"
   425     "classes"
   426     "classrel"
   427     "code_abort"
   428     "code_class"
   429     "code_const"
   430     "code_datatype"
   431     "code_include"
   432     "code_instance"
   433     "code_library"
   434     "code_module"
   435     "code_modulename"
   436     "code_monad"
   437     "code_reserved"
   438     "code_type"
   439     "coinductive"
   440     "coinductive_set"
   441     "constdefs"
   442     "consts"
   443     "consts_code"
   444     "context"
   445     "datatype"
   446     "declaration"
   447     "declare"
   448     "defaultsort"
   449     "defer_recdef"
   450     "definition"
   451     "defs"
   452     "domain"
   453     "equivariance"
   454     "extract"
   455     "extract_type"
   456     "finalconsts"
   457     "fixpat"
   458     "fixrec"
   459     "fun"
   460     "global"
   461     "hide"
   462     "inductive"
   463     "inductive_set"
   464     "instantiation"
   465     "judgment"
   466     "lemmas"
   467     "local"
   468     "locale"
   469     "method_setup"
   470     "no_notation"
   471     "no_syntax"
   472     "no_translations"
   473     "nominal_datatype"
   474     "nonterminals"
   475     "notation"
   476     "oracle"
   477     "overloading"
   478     "parse_ast_translation"
   479     "parse_translation"
   480     "primrec"
   481     "print_ast_translation"
   482     "print_translation"
   483     "quickcheck_params"
   484     "realizability"
   485     "realizers"
   486     "recdef"
   487     "record"
   488     "refute_params"
   489     "setup"
   490     "simproc_setup"
   491     "statespace"
   492     "syntax"
   493     "text"
   494     "text_raw"
   495     "theorems"
   496     "translations"
   497     "typed_print_translation"
   498     "typedecl"
   499     "types"
   500     "types_code"
   501     "use"))
   502 
   503 (defconst isar-keywords-theory-script
   504   '("inductive_cases"))
   505 
   506 (defconst isar-keywords-theory-goal
   507   '("ax_specification"
   508     "class_interpretation"
   509     "corollary"
   510     "cpodef"
   511     "function"
   512     "instance"
   513     "interpretation"
   514     "lemma"
   515     "nominal_inductive"
   516     "nominal_inductive2"
   517     "nominal_primrec"
   518     "pcpodef"
   519     "recdef_tc"
   520     "rep_datatype"
   521     "specification"
   522     "subclass"
   523     "sublocale"
   524     "termination"
   525     "theorem"
   526     "typedef"))
   527 
   528 (defconst isar-keywords-qed
   529   '("\\."
   530     "\\.\\."
   531     "by"
   532     "done"
   533     "sorry"))
   534 
   535 (defconst isar-keywords-qed-block
   536   '("qed"))
   537 
   538 (defconst isar-keywords-qed-global
   539   '("oops"))
   540 
   541 (defconst isar-keywords-proof-heading
   542   '("sect"
   543     "subsect"
   544     "subsubsect"))
   545 
   546 (defconst isar-keywords-proof-goal
   547   '("class_interpret"
   548     "have"
   549     "hence"
   550     "interpret"
   551     "invoke"))
   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)