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