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