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