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