etc/isar-keywords.el
author wenzelm
Fri Apr 16 22:52:49 2010 +0200 (2010-04-16)
changeset 36180 2db3711b2b03
parent 36114 e49fd7b1d932
child 36321 58d4dc6000fc
permissions -rw-r--r--
updated keywords;
     1 ;;
     2 ;; Keyword classification tables for Isabelle/Isar.
     3 ;; Generated from Pure + Pure-ProofGeneral + HOL + HOLCF + IOA + HOL-Boogie + HOL-Nominal + HOL-SMT + 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     "atp_info"
    34     "atp_kill"
    35     "atp_messages"
    36     "atp_minimize"
    37     "attribute_setup"
    38     "automaton"
    39     "ax_specification"
    40     "axiomatization"
    41     "axioms"
    42     "back"
    43     "boogie_end"
    44     "boogie_open"
    45     "boogie_status"
    46     "boogie_vc"
    47     "by"
    48     "cannot_undo"
    49     "case"
    50     "cd"
    51     "chapter"
    52     "class"
    53     "class_deps"
    54     "classes"
    55     "classrel"
    56     "code_abort"
    57     "code_class"
    58     "code_const"
    59     "code_datatype"
    60     "code_deps"
    61     "code_include"
    62     "code_instance"
    63     "code_library"
    64     "code_module"
    65     "code_modulename"
    66     "code_monad"
    67     "code_pred"
    68     "code_reserved"
    69     "code_thms"
    70     "code_type"
    71     "coinductive"
    72     "coinductive_set"
    73     "commit"
    74     "constdefs"
    75     "consts"
    76     "consts_code"
    77     "context"
    78     "corollary"
    79     "cpodef"
    80     "datatype"
    81     "declaration"
    82     "declare"
    83     "def"
    84     "defaultsort"
    85     "defer"
    86     "defer_recdef"
    87     "definition"
    88     "defs"
    89     "disable_pr"
    90     "display_drafts"
    91     "domain"
    92     "domain_isomorphism"
    93     "done"
    94     "enable_pr"
    95     "end"
    96     "equivariance"
    97     "exit"
    98     "export_code"
    99     "extract"
   100     "extract_type"
   101     "finalconsts"
   102     "finally"
   103     "find_consts"
   104     "find_theorems"
   105     "fix"
   106     "fixpat"
   107     "fixrec"
   108     "from"
   109     "full_prf"
   110     "fun"
   111     "function"
   112     "global"
   113     "guess"
   114     "have"
   115     "header"
   116     "help"
   117     "hence"
   118     "hide_class"
   119     "hide_const"
   120     "hide_fact"
   121     "hide_type"
   122     "inductive"
   123     "inductive_cases"
   124     "inductive_set"
   125     "init_toplevel"
   126     "instance"
   127     "instantiation"
   128     "interpret"
   129     "interpretation"
   130     "judgment"
   131     "kill"
   132     "kill_thy"
   133     "lemma"
   134     "lemmas"
   135     "let"
   136     "linear_undo"
   137     "local"
   138     "local_setup"
   139     "locale"
   140     "method_setup"
   141     "moreover"
   142     "new_domain"
   143     "next"
   144     "nitpick"
   145     "nitpick_params"
   146     "no_notation"
   147     "no_syntax"
   148     "no_translations"
   149     "no_type_notation"
   150     "nominal_datatype"
   151     "nominal_inductive"
   152     "nominal_inductive2"
   153     "nominal_primrec"
   154     "nonterminals"
   155     "normal_form"
   156     "notation"
   157     "note"
   158     "obtain"
   159     "oops"
   160     "oracle"
   161     "overloading"
   162     "parse_ast_translation"
   163     "parse_translation"
   164     "pcpodef"
   165     "pr"
   166     "prefer"
   167     "presume"
   168     "pretty_setmargin"
   169     "prf"
   170     "primrec"
   171     "print_abbrevs"
   172     "print_antiquotations"
   173     "print_ast_translation"
   174     "print_atps"
   175     "print_attributes"
   176     "print_binds"
   177     "print_cases"
   178     "print_claset"
   179     "print_classes"
   180     "print_codeproc"
   181     "print_codesetup"
   182     "print_commands"
   183     "print_configs"
   184     "print_context"
   185     "print_drafts"
   186     "print_facts"
   187     "print_induct_rules"
   188     "print_interps"
   189     "print_locale"
   190     "print_locales"
   191     "print_methods"
   192     "print_orders"
   193     "print_quotconsts"
   194     "print_quotients"
   195     "print_quotmaps"
   196     "print_rules"
   197     "print_simpset"
   198     "print_statement"
   199     "print_syntax"
   200     "print_theorems"
   201     "print_theory"
   202     "print_trans_rules"
   203     "print_translation"
   204     "proof"
   205     "prop"
   206     "pwd"
   207     "qed"
   208     "quickcheck"
   209     "quickcheck_params"
   210     "quit"
   211     "quotient_definition"
   212     "quotient_type"
   213     "realizability"
   214     "realizers"
   215     "recdef"
   216     "recdef_tc"
   217     "record"
   218     "refute"
   219     "refute_params"
   220     "remove_thy"
   221     "rep_datatype"
   222     "repdef"
   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     "{"
   277     "}"))
   278 
   279 (defconst isar-keywords-minor
   280   '("actions"
   281     "advanced"
   282     "and"
   283     "assumes"
   284     "attach"
   285     "avoids"
   286     "begin"
   287     "binder"
   288     "compose"
   289     "congs"
   290     "constrains"
   291     "contains"
   292     "defines"
   293     "file"
   294     "fixes"
   295     "for"
   296     "hide_action"
   297     "hints"
   298     "identifier"
   299     "if"
   300     "imports"
   301     "in"
   302     "infix"
   303     "infixl"
   304     "infixr"
   305     "initially"
   306     "inputs"
   307     "internals"
   308     "is"
   309     "lazy"
   310     "module_name"
   311     "monos"
   312     "morphisms"
   313     "notes"
   314     "obtains"
   315     "open"
   316     "output"
   317     "outputs"
   318     "overloaded"
   319     "permissive"
   320     "pervasive"
   321     "post"
   322     "pre"
   323     "rename"
   324     "restrict"
   325     "shows"
   326     "signature"
   327     "states"
   328     "structure"
   329     "to"
   330     "transitions"
   331     "transrel"
   332     "unchecked"
   333     "uses"
   334     "where"))
   335 
   336 (defconst isar-keywords-control
   337   '("Isabelle\\.command"
   338     "Isar\\.begin_document"
   339     "Isar\\.define_command"
   340     "Isar\\.edit_document"
   341     "Isar\\.end_document"
   342     "ProofGeneral\\.inform_file_processed"
   343     "ProofGeneral\\.inform_file_retracted"
   344     "ProofGeneral\\.kill_proof"
   345     "ProofGeneral\\.process_pgip"
   346     "ProofGeneral\\.restart"
   347     "ProofGeneral\\.undo"
   348     "cannot_undo"
   349     "exit"
   350     "init_toplevel"
   351     "kill"
   352     "linear_undo"
   353     "quit"
   354     "undo"
   355     "undos_proof"))
   356 
   357 (defconst isar-keywords-diag
   358   '("ML_command"
   359     "ML_val"
   360     "ProofGeneral\\.pr"
   361     "atp_info"
   362     "atp_kill"
   363     "atp_messages"
   364     "atp_minimize"
   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_atps"
   389     "print_attributes"
   390     "print_binds"
   391     "print_cases"
   392     "print_claset"
   393     "print_classes"
   394     "print_codeproc"
   395     "print_codesetup"
   396     "print_commands"
   397     "print_configs"
   398     "print_context"
   399     "print_drafts"
   400     "print_facts"
   401     "print_induct_rules"
   402     "print_interps"
   403     "print_locale"
   404     "print_locales"
   405     "print_methods"
   406     "print_orders"
   407     "print_quotconsts"
   408     "print_quotients"
   409     "print_quotmaps"
   410     "print_rules"
   411     "print_simpset"
   412     "print_statement"
   413     "print_syntax"
   414     "print_theorems"
   415     "print_theory"
   416     "print_trans_rules"
   417     "prop"
   418     "pwd"
   419     "quickcheck"
   420     "refute"
   421     "remove_thy"
   422     "sledgehammer"
   423     "smt_status"
   424     "term"
   425     "thm"
   426     "thm_deps"
   427     "thy_deps"
   428     "touch_thy"
   429     "typ"
   430     "unused_thms"
   431     "use_thy"
   432     "value"
   433     "values"
   434     "welcome"))
   435 
   436 (defconst isar-keywords-theory-begin
   437   '("theory"))
   438 
   439 (defconst isar-keywords-theory-switch
   440   '())
   441 
   442 (defconst isar-keywords-theory-end
   443   '("end"))
   444 
   445 (defconst isar-keywords-theory-heading
   446   '("chapter"
   447     "section"
   448     "subsection"
   449     "subsubsection"))
   450 
   451 (defconst isar-keywords-theory-decl
   452   '("ML"
   453     "abbreviation"
   454     "arities"
   455     "atom_decl"
   456     "attribute_setup"
   457     "automaton"
   458     "axiomatization"
   459     "axioms"
   460     "boogie_end"
   461     "boogie_open"
   462     "class"
   463     "classes"
   464     "classrel"
   465     "code_abort"
   466     "code_class"
   467     "code_const"
   468     "code_datatype"
   469     "code_include"
   470     "code_instance"
   471     "code_library"
   472     "code_module"
   473     "code_modulename"
   474     "code_monad"
   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     "defaultsort"
   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 
   556 (defconst isar-keywords-theory-goal
   557   '("ax_specification"
   558     "boogie_vc"
   559     "code_pred"
   560     "corollary"
   561     "cpodef"
   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     "specification"
   574     "subclass"
   575     "sublocale"
   576     "termination"
   577     "theorem"
   578     "typedef"))
   579 
   580 (defconst isar-keywords-qed
   581   '("\\."
   582     "\\.\\."
   583     "by"
   584     "done"
   585     "sorry"))
   586 
   587 (defconst isar-keywords-qed-block
   588   '("qed"))
   589 
   590 (defconst isar-keywords-qed-global
   591   '("oops"))
   592 
   593 (defconst isar-keywords-proof-heading
   594   '("sect"
   595     "subsect"
   596     "subsubsect"))
   597 
   598 (defconst isar-keywords-proof-goal
   599   '("have"
   600     "hence"
   601     "interpret"))
   602 
   603 (defconst isar-keywords-proof-block
   604   '("next"
   605     "proof"))
   606 
   607 (defconst isar-keywords-proof-open
   608   '("{"))
   609 
   610 (defconst isar-keywords-proof-close
   611   '("}"))
   612 
   613 (defconst isar-keywords-proof-chain
   614   '("finally"
   615     "from"
   616     "then"
   617     "ultimately"
   618     "with"))
   619 
   620 (defconst isar-keywords-proof-decl
   621   '("ML_prf"
   622     "also"
   623     "let"
   624     "moreover"
   625     "note"
   626     "txt"
   627     "txt_raw"
   628     "unfolding"
   629     "using"))
   630 
   631 (defconst isar-keywords-proof-asm
   632   '("assume"
   633     "case"
   634     "def"
   635     "fix"
   636     "presume"))
   637 
   638 (defconst isar-keywords-proof-asm-goal
   639   '("guess"
   640     "obtain"
   641     "show"
   642     "thus"))
   643 
   644 (defconst isar-keywords-proof-script
   645   '("apply"
   646     "apply_end"
   647     "back"
   648     "defer"
   649     "prefer"))
   650 
   651 (provide 'isar-keywords)