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