etc/isar-keywords.el
author krauss
Fri, 04 Aug 2006 18:01:45 +0200
changeset 20338 ecdfc96cf4d0
parent 19891 2857fac35e6d
child 20358 ccad73da6f61
permissions -rw-r--r--
Added Keywords: "otherwise" and "sequential", needed for function package's
sequential mode.
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; This file was generated by Isabelle/HOLCF/IOA -- DO NOT EDIT!
     4 ;;
     5 ;; $Id$
     6 ;;
     7 
     8 (defconst isar-keywords-major
     9   '("\\."
    10     "\\.\\."
    11     "ML"
    12     "ML_command"
    13     "ML_setup"
    14     "ProofGeneral\\.call_atp"
    15     "ProofGeneral\\.context_thy_only"
    16     "ProofGeneral\\.inform_file_processed"
    17     "ProofGeneral\\.inform_file_retracted"
    18     "ProofGeneral\\.kill_proof"
    19     "ProofGeneral\\.process_pgip"
    20     "ProofGeneral\\.redo"
    21     "ProofGeneral\\.restart"
    22     "ProofGeneral\\.try_context_thy_only"
    23     "ProofGeneral\\.undo"
    24     "abbreviation"
    25     "also"
    26     "apply"
    27     "apply_end"
    28     "arities"
    29     "assume"
    30     "automaton"
    31     "ax_specification"
    32     "axclass"
    33     "axiomatization"
    34     "axioms"
    35     "back"
    36     "by"
    37     "cannot_undo"
    38     "case"
    39     "cd"
    40     "chapter"
    41     "class"
    42     "classes"
    43     "classrel"
    44     "clear_undos"
    45     "code_alias"
    46     "code_classapp"
    47     "code_constapp"
    48     "code_generate"
    49     "code_library"
    50     "code_module"
    51     "code_purge"
    52     "code_serialize"
    53     "code_simtype"
    54     "code_typapp"
    55     "coinductive"
    56     "commit"
    57     "const_syntax"
    58     "constdefs"
    59     "consts"
    60     "consts_code"
    61     "context"
    62     "corollary"
    63     "cpodef"
    64     "datatype"
    65     "declare"
    66     "def"
    67     "defaultsort"
    68     "defer"
    69     "defer_recdef"
    70     "definition"
    71     "defs"
    72     "disable_pr"
    73     "display_drafts"
    74     "domain"
    75     "done"
    76     "enable_pr"
    77     "end"
    78     "exit"
    79     "extract"
    80     "extract_type"
    81     "finalconsts"
    82     "finally"
    83     "find_theorems"
    84     "fix"
    85     "fixpat"
    86     "fixrec"
    87     "from"
    88     "full_prf"
    89     "function"
    90     "global"
    91     "guess"
    92     "have"
    93     "header"
    94     "hence"
    95     "hide"
    96     "inductive"
    97     "inductive_cases"
    98     "init_toplevel"
    99     "instance"
   100     "interpret"
   101     "interpretation"
   102     "invoke"
   103     "judgment"
   104     "kill"
   105     "kill_thy"
   106     "lemma"
   107     "lemmas"
   108     "let"
   109     "local"
   110     "locale"
   111     "method_setup"
   112     "moreover"
   113     "next"
   114     "no_syntax"
   115     "no_translations"
   116     "nonterminals"
   117     "normal_form"
   118     "note"
   119     "obtain"
   120     "oops"
   121     "oracle"
   122     "parse_ast_translation"
   123     "parse_translation"
   124     "pcpodef"
   125     "pr"
   126     "prefer"
   127     "presume"
   128     "pretty_setmargin"
   129     "prf"
   130     "primrec"
   131     "print_antiquotations"
   132     "print_ast_translation"
   133     "print_attributes"
   134     "print_binds"
   135     "print_cases"
   136     "print_claset"
   137     "print_commands"
   138     "print_context"
   139     "print_drafts"
   140     "print_facts"
   141     "print_induct_rules"
   142     "print_interps"
   143     "print_locale"
   144     "print_locales"
   145     "print_methods"
   146     "print_rules"
   147     "print_simpset"
   148     "print_statement"
   149     "print_syntax"
   150     "print_theorems"
   151     "print_theory"
   152     "print_trans_rules"
   153     "print_translation"
   154     "proof"
   155     "prop"
   156     "pwd"
   157     "qed"
   158     "quickcheck"
   159     "quickcheck_params"
   160     "quit"
   161     "realizability"
   162     "realizers"
   163     "recdef"
   164     "recdef_tc"
   165     "record"
   166     "redo"
   167     "refute"
   168     "refute_params"
   169     "remove_thy"
   170     "rep_datatype"
   171     "sect"
   172     "section"
   173     "setup"
   174     "show"
   175     "sorry"
   176     "specification"
   177     "subsect"
   178     "subsection"
   179     "subsubsect"
   180     "subsubsection"
   181     "syntax"
   182     "term"
   183     "termination"
   184     "text"
   185     "text_raw"
   186     "then"
   187     "theorem"
   188     "theorems"
   189     "theory"
   190     "thm"
   191     "thm_deps"
   192     "thus"
   193     "token_translation"
   194     "touch_all_thys"
   195     "touch_child_thys"
   196     "touch_thy"
   197     "translations"
   198     "txt"
   199     "txt_raw"
   200     "typ"
   201     "typed_print_translation"
   202     "typedecl"
   203     "typedef"
   204     "types"
   205     "types_code"
   206     "ultimately"
   207     "undo"
   208     "undos_proof"
   209     "unfolding"
   210     "update_thy"
   211     "update_thy_only"
   212     "use"
   213     "use_thy"
   214     "use_thy_only"
   215     "using"
   216     "value"
   217     "welcome"
   218     "with"
   219     "{"
   220     "}"))
   221 
   222 (defconst isar-keywords-minor
   223   '("actions"
   224     "advanced"
   225     "and"
   226     "assumes"
   227     "attach"
   228     "begin"
   229     "binder"
   230     "compose"
   231     "concl"
   232     "congs"
   233     "constrains"
   234     "contains"
   235     "defines"
   236     "distinct"
   237     "file"
   238     "fixes"
   239     "for"
   240     "hide_action"
   241     "hints"
   242     "if"
   243     "imports"
   244     "in"
   245     "includes"
   246     "induction"
   247     "infix"
   248     "infixl"
   249     "infixr"
   250     "initially"
   251     "inject"
   252     "inputs"
   253     "internals"
   254     "intros"
   255     "is"
   256     "lazy"
   257     "monos"
   258     "morphisms"
   259     "notes"
   260     "obtains"
   261     "open"
   262     "otherwise"
   263     "output"
   264     "outputs"
   265     "overloaded"
   266     "permissive"
   267     "post"
   268     "pre"
   269     "rename"
   270     "restrict"
   271     "sequential"
   272     "shows"
   273     "signature"
   274     "states"
   275     "structure"
   276     "target_atom"
   277     "to"
   278     "transitions"
   279     "transrel"
   280     "unchecked"
   281     "uses"
   282     "where"))
   283 
   284 (defconst isar-keywords-control
   285   '("ProofGeneral\\.context_thy_only"
   286     "ProofGeneral\\.inform_file_processed"
   287     "ProofGeneral\\.inform_file_retracted"
   288     "ProofGeneral\\.kill_proof"
   289     "ProofGeneral\\.process_pgip"
   290     "ProofGeneral\\.redo"
   291     "ProofGeneral\\.restart"
   292     "ProofGeneral\\.try_context_thy_only"
   293     "ProofGeneral\\.undo"
   294     "cannot_undo"
   295     "clear_undos"
   296     "exit"
   297     "init_toplevel"
   298     "kill"
   299     "quit"
   300     "redo"
   301     "undo"
   302     "undos_proof"))
   303 
   304 (defconst isar-keywords-diag
   305   '("ML"
   306     "ML_command"
   307     "ProofGeneral\\.call_atp"
   308     "cd"
   309     "commit"
   310     "disable_pr"
   311     "display_drafts"
   312     "enable_pr"
   313     "find_theorems"
   314     "full_prf"
   315     "header"
   316     "kill_thy"
   317     "pr"
   318     "pretty_setmargin"
   319     "prf"
   320     "print_antiquotations"
   321     "print_attributes"
   322     "print_binds"
   323     "print_cases"
   324     "print_claset"
   325     "print_commands"
   326     "print_context"
   327     "print_drafts"
   328     "print_facts"
   329     "print_induct_rules"
   330     "print_interps"
   331     "print_locale"
   332     "print_locales"
   333     "print_methods"
   334     "print_rules"
   335     "print_simpset"
   336     "print_statement"
   337     "print_syntax"
   338     "print_theorems"
   339     "print_theory"
   340     "print_trans_rules"
   341     "prop"
   342     "pwd"
   343     "quickcheck"
   344     "refute"
   345     "remove_thy"
   346     "term"
   347     "thm"
   348     "thm_deps"
   349     "touch_all_thys"
   350     "touch_child_thys"
   351     "touch_thy"
   352     "typ"
   353     "update_thy"
   354     "update_thy_only"
   355     "use"
   356     "use_thy"
   357     "use_thy_only"
   358     "value"
   359     "welcome"))
   360 
   361 (defconst isar-keywords-theory-begin
   362   '("theory"))
   363 
   364 (defconst isar-keywords-theory-switch
   365   '("context"))
   366 
   367 (defconst isar-keywords-theory-end
   368   '("end"))
   369 
   370 (defconst isar-keywords-theory-heading
   371   '("chapter"
   372     "section"
   373     "subsection"
   374     "subsubsection"))
   375 
   376 (defconst isar-keywords-theory-decl
   377   '("ML_setup"
   378     "abbreviation"
   379     "arities"
   380     "automaton"
   381     "axclass"
   382     "axiomatization"
   383     "axioms"
   384     "class"
   385     "classes"
   386     "classrel"
   387     "code_alias"
   388     "code_classapp"
   389     "code_constapp"
   390     "code_generate"
   391     "code_library"
   392     "code_module"
   393     "code_purge"
   394     "code_serialize"
   395     "code_typapp"
   396     "coinductive"
   397     "const_syntax"
   398     "constdefs"
   399     "consts"
   400     "consts_code"
   401     "datatype"
   402     "defaultsort"
   403     "defer_recdef"
   404     "definition"
   405     "defs"
   406     "domain"
   407     "extract"
   408     "extract_type"
   409     "finalconsts"
   410     "fixpat"
   411     "fixrec"
   412     "global"
   413     "hide"
   414     "inductive"
   415     "judgment"
   416     "lemmas"
   417     "local"
   418     "locale"
   419     "method_setup"
   420     "no_syntax"
   421     "no_translations"
   422     "nonterminals"
   423     "normal_form"
   424     "oracle"
   425     "parse_ast_translation"
   426     "parse_translation"
   427     "primrec"
   428     "print_ast_translation"
   429     "print_translation"
   430     "quickcheck_params"
   431     "realizability"
   432     "realizers"
   433     "recdef"
   434     "record"
   435     "refute_params"
   436     "rep_datatype"
   437     "setup"
   438     "syntax"
   439     "text"
   440     "text_raw"
   441     "theorems"
   442     "token_translation"
   443     "translations"
   444     "typed_print_translation"
   445     "typedecl"
   446     "types"
   447     "types_code"))
   448 
   449 (defconst isar-keywords-theory-script
   450   '("declare"
   451     "inductive_cases"))
   452 
   453 (defconst isar-keywords-theory-goal
   454   '("ax_specification"
   455     "code_simtype"
   456     "corollary"
   457     "cpodef"
   458     "function"
   459     "instance"
   460     "interpretation"
   461     "lemma"
   462     "pcpodef"
   463     "recdef_tc"
   464     "specification"
   465     "termination"
   466     "theorem"
   467     "typedef"))
   468 
   469 (defconst isar-keywords-qed
   470   '("\\."
   471     "\\.\\."
   472     "by"
   473     "done"
   474     "sorry"))
   475 
   476 (defconst isar-keywords-qed-block
   477   '("qed"))
   478 
   479 (defconst isar-keywords-qed-global
   480   '("oops"))
   481 
   482 (defconst isar-keywords-proof-heading
   483   '("sect"
   484     "subsect"
   485     "subsubsect"))
   486 
   487 (defconst isar-keywords-proof-goal
   488   '("have"
   489     "hence"
   490     "interpret"
   491     "invoke"
   492     "show"
   493     "thus"))
   494 
   495 (defconst isar-keywords-proof-block
   496   '("next"
   497     "proof"))
   498 
   499 (defconst isar-keywords-proof-open
   500   '("{"))
   501 
   502 (defconst isar-keywords-proof-close
   503   '("}"))
   504 
   505 (defconst isar-keywords-proof-chain
   506   '("finally"
   507     "from"
   508     "then"
   509     "ultimately"
   510     "with"))
   511 
   512 (defconst isar-keywords-proof-decl
   513   '("also"
   514     "let"
   515     "moreover"
   516     "note"
   517     "txt"
   518     "txt_raw"
   519     "unfolding"
   520     "using"))
   521 
   522 (defconst isar-keywords-proof-asm
   523   '("assume"
   524     "case"
   525     "def"
   526     "fix"
   527     "presume"))
   528 
   529 (defconst isar-keywords-proof-asm-goal
   530   '("guess"
   531     "obtain"))
   532 
   533 (defconst isar-keywords-proof-script
   534   '("apply"
   535     "apply_end"
   536     "back"
   537     "defer"
   538     "prefer"))
   539 
   540 (provide 'isar-keywords)