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