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